diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/Init.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/Init.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/chromium/third_party/WebKit/Source/core/Init.h b/chromium/third_party/WebKit/Source/core/Init.h index 002a6b33265..a20cc3329e2 100644 --- a/chromium/third_party/WebKit/Source/core/Init.h +++ b/chromium/third_party/WebKit/Source/core/Init.h @@ -33,8 +33,19 @@ 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 registerEventFactory(); + virtual void initEventNames(); + virtual void initEventTargetNames(); + +private: + bool m_isInited; +}; void shutdown(); |