2012-05-29 08:52:43 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2010-07-18 15:07:54 -07:00
|
|
|
|
2013-08-23 08:07:10 -07:00
|
|
|
#ifndef nsHtml5SVGLoadDispatcher_h
|
|
|
|
#define nsHtml5SVGLoadDispatcher_h
|
2010-07-18 15:07:54 -07:00
|
|
|
|
|
|
|
#include "nsThreadUtils.h"
|
|
|
|
#include "nsIContent.h"
|
|
|
|
|
|
|
|
class nsHtml5SVGLoadDispatcher : public nsRunnable
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
nsCOMPtr<nsIContent> mElement;
|
|
|
|
nsCOMPtr<nsIDocument> mDocument;
|
|
|
|
public:
|
2014-09-01 15:04:52 -07:00
|
|
|
explicit nsHtml5SVGLoadDispatcher(nsIContent* aElement);
|
2010-07-18 15:07:54 -07:00
|
|
|
NS_IMETHOD Run();
|
|
|
|
};
|
|
|
|
|
2013-08-23 08:07:10 -07:00
|
|
|
#endif // nsHtml5SVGLoadDispatcher_h
|