2012-05-29 19:52:43 +04: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-19 02:07:54 +04:00
|
|
|
|
2013-08-23 19:07:10 +04:00
|
|
|
#ifndef nsHtml5SVGLoadDispatcher_h
|
|
|
|
#define nsHtml5SVGLoadDispatcher_h
|
2010-07-19 02:07:54 +04:00
|
|
|
|
|
|
|
#include "nsThreadUtils.h"
|
|
|
|
#include "nsIContent.h"
|
|
|
|
|
2016-04-26 03:23:21 +03:00
|
|
|
class nsHtml5SVGLoadDispatcher : public mozilla::Runnable
|
2010-07-19 02:07:54 +04:00
|
|
|
{
|
|
|
|
private:
|
|
|
|
nsCOMPtr<nsIContent> mElement;
|
|
|
|
nsCOMPtr<nsIDocument> mDocument;
|
|
|
|
public:
|
2014-09-02 02:04:52 +04:00
|
|
|
explicit nsHtml5SVGLoadDispatcher(nsIContent* aElement);
|
2010-07-19 02:07:54 +04:00
|
|
|
NS_IMETHOD Run();
|
|
|
|
};
|
|
|
|
|
2013-08-23 19:07:10 +04:00
|
|
|
#endif // nsHtml5SVGLoadDispatcher_h
|