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"
|
|
|
|
|
|
|
|
class nsHtml5SVGLoadDispatcher : public nsRunnable
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
nsCOMPtr<nsIContent> mElement;
|
|
|
|
nsCOMPtr<nsIDocument> mDocument;
|
|
|
|
public:
|
|
|
|
nsHtml5SVGLoadDispatcher(nsIContent* aElement);
|
|
|
|
NS_IMETHOD Run();
|
|
|
|
};
|
|
|
|
|
2013-08-23 15:07:10 +00:00
|
|
|
#endif // nsHtml5SVGLoadDispatcher_h
|