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

Unified Diff: Source/modules/InitModules.h

Issue 464043002: Refactor module initialization. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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/modules/InitModules.h
diff --git a/Source/modules/InitModules.h b/Source/modules/InitModules.h
index 024e761f6c6ec8f048df081fa0d67d6c2a9f5112..6ab7e9dbc65a2d97ec3013fb47e03c2ae7a64396 100644
--- a/Source/modules/InitModules.h
+++ b/Source/modules/InitModules.h
@@ -15,10 +15,13 @@ class ExceptionState;
class ModulesInitializer : public CoreInitializer {
public:
- virtual void registerEventFactory() OVERRIDE;
- virtual void initEventNames() OVERRIDE;
- virtual void initEventTargetNames() OVERRIDE;
- virtual void initBindings() OVERRIDE;
+ virtual void init() OVERRIDE;
+
+private:
+ void registerEventFactory();
+ void initEventNames();
+ void initEventTargetNames();
+ void initBindings();
};
PassRefPtrWillBeRawPtr<Event> createEventModules(const String& eventType, ExceptionState&);

Powered by Google App Engine
This is Rietveld 408576698