2012-05-29 15:52:43 +00: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 22:07:54 +00:00
|
|
|
|
2013-08-23 15:07:10 +00:00
|
|
|
#ifndef nsHtml5SVGLoadDispatcher_h
|
|
|
|
#define nsHtml5SVGLoadDispatcher_h
|
2010-07-18 22:07:54 +00:00
|
|
|
|
|
|
|
#include "nsThreadUtils.h"
|
|
|
|
#include "nsIContent.h"
|
|
|
|
|
2016-04-26 00:23:21 +00:00
|
|
|
class nsHtml5SVGLoadDispatcher : public mozilla::Runnable {
|
2018-03-16 15:26:06 +00:00
|
|
|
private:
|
|
|
|
nsCOMPtr<nsIContent> mElement;
|
2019-01-02 13:05:23 +00:00
|
|
|
RefPtr<mozilla::dom::Document> mDocument;
|
2018-03-16 15:26:06 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
explicit nsHtml5SVGLoadDispatcher(nsIContent* aElement);
|
|
|
|
NS_IMETHOD Run() override;
|
2010-07-18 22:07:54 +00:00
|
|
|
};
|
|
|
|
|
2013-08-23 15:07:10 +00:00
|
|
|
#endif // nsHtml5SVGLoadDispatcher_h
|