Bug 1690340 - Part 1: Hide all the panel tools in the developer tools menu. r=jdescottes
[gecko.git] / parser / html / nsHtml5Module.h
blob2e582333629f574c7f3fe5ca63ae4767c9ff538e
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
8 #include "nsIThread.h"
10 class nsHtml5Parser;
12 class nsHtml5Module {
13 public:
14 static void InitializeStatics();
15 static void ReleaseStatics();
16 static already_AddRefed<nsHtml5Parser> NewHtml5Parser();
17 static nsIThread* GetStreamParserThread();
19 private:
20 #ifdef DEBUG
21 static bool sNsHtml5ModuleInitialized;
22 #endif
23 static nsIThread* sStreamParserThread;
24 static nsIThread* sMainThread;
27 #endif // nsHtml5Module_h