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

Side by Side Diff: Source/modules/InitModules.h

Issue 464043002: Refactor module initialization. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed one-line functions and added isInitialized 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 unified diff | Download patch
« no previous file with comments | « Source/core/Init.cpp ('k') | Source/modules/InitModules.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef InitModules_h 5 #ifndef InitModules_h
6 #define InitModules_h 6 #define InitModules_h
7 7
8 #include "core/Init.h" 8 #include "core/Init.h"
9 #include "platform/heap/Handle.h"
10 9
11 namespace blink { 10 namespace blink {
12 11
13 class Event;
14 class ExceptionState;
15
16 class ModulesInitializer : public CoreInitializer { 12 class ModulesInitializer : public CoreInitializer {
17 public: 13 public:
18 virtual void registerEventFactory() OVERRIDE; 14 virtual void init() OVERRIDE;
19 virtual void initEventNames() OVERRIDE;
20 virtual void initEventTargetNames() OVERRIDE;
21 virtual void initBindings() OVERRIDE;
22 }; 15 };
23 16
24 PassRefPtrWillBeRawPtr<Event> createEventModules(const String& eventType, Except ionState&);
cmumford 2014/08/12 22:26:35 It looks like createEventModules was deleted in r1
25
26 } // namespace blink 17 } // namespace blink
27 18
28 #endif // InitModules_h 19 #endif // InitModules_h
OLDNEW
« no previous file with comments | « Source/core/Init.cpp ('k') | Source/modules/InitModules.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698