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

Unified Diff: Source/modules/InitModules.cpp

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/modules/InitModules.cpp
diff --git a/Source/modules/InitModules.cpp b/Source/modules/InitModules.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..82a0e897db2870ebf8e4e27298a3fc9eef83ec33
--- /dev/null
+++ b/Source/modules/InitModules.cpp
@@ -0,0 +1,21 @@
+// Copyright (c) 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "config.h"
+#include "InitModules.h"
+
+#include "EventNames.h"
+#include "EventTargetModulesNames.h"
+#include "EventTargetNames.h"
+#include "EventTypeNames.h"
+
+namespace WebCore {
+
+void ModulesInitializer::initEventTargetNames()
+{
+ EventTargetNames::init();
+ EventTargetNames::initModules();
+}
+
+} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698