Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(469)

Unified Diff: Source/core/Init.h

Issue 297493004: Move modules-dependent eventtarget code out of core. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/Init.h
diff --git a/Source/core/Init.h b/Source/core/Init.h
index 002a6b33265eab6f4772ce980c36833a5259497b..bb89bbac5e8085c8dec0a3306c4abfb85392ac1f 100644
--- a/Source/core/Init.h
+++ b/Source/core/Init.h
@@ -33,8 +33,16 @@
namespace WebCore {
-// Should be called by clients before trying to create Frames.
-void init();
+class CoreInitializer {
+public:
+ CoreInitializer() : m_isInited(false) { }
+ // Should be called by clients before trying to create Frames.
+ void init();
+ virtual void initEventTargetNames();
+
+private:
+ bool m_isInited;
+};
void shutdown();
« no previous file with comments | « Source/bindings/v8/Dictionary.h ('k') | Source/core/Init.cpp » ('j') | Source/web/WebKit.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698