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
14 static void InitializeStatics();
15 static void ReleaseStatics();
16 static already_AddRefed
<nsIParser
> NewHtml5Parser();
17 static nsresult
Initialize(nsIParser
* aParser
,
20 nsISupports
* aContainer
,
21 nsIChannel
* aChannel
);
22 static nsIThread
* GetStreamParserThread();
26 static bool sNsHtml5ModuleInitialized
;
28 static nsIThread
* sStreamParserThread
;
29 static nsIThread
* sMainThread
;
32 #endif // nsHtml5Module_h