1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef nsHtml5Module_h
6 #define nsHtml5Module_h
13 friend class nsHtml5ParserThreadTerminator
;
16 static void InitializeStatics();
17 static void ReleaseStatics();
18 static already_AddRefed
<nsHtml5Parser
> NewHtml5Parser();
19 static already_AddRefed
<nsISerialEventTarget
> GetStreamParserEventTarget();
23 static bool sNsHtml5ModuleInitialized
;
25 static nsIThread
* sStreamParserThread
;
28 #endif // nsHtml5Module_h