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

Unified Diff: Source/build/scripts/templates/EventFactory.cpp.tmpl

Issue 297103002: Move modules-dependent Event code out of core. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address review comments. 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
« no previous file with comments | « Source/bindings/v8/custom/V8DocumentCustom.cpp ('k') | Source/core/dom/Document.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/build/scripts/templates/EventFactory.cpp.tmpl
diff --git a/Source/build/scripts/templates/EventFactory.cpp.tmpl b/Source/build/scripts/templates/EventFactory.cpp.tmpl
index edab6a44e098a4ba1ad8ee70ea2ac58dbc163d03..1751698b19e99ff65e07f1bc462be35058d55255 100644
--- a/Source/build/scripts/templates/EventFactory.cpp.tmpl
+++ b/Source/build/scripts/templates/EventFactory.cpp.tmpl
@@ -2,7 +2,11 @@
{{license()}}
#include "config.h"
+{% if suffix == 'Modules' %}
+#include "modules/{{namespace}}{{suffix}}Factory.h"
+{% else %}
#include "core/events/{{namespace}}Factory.h"
+{% endif %}
#include "{{namespace}}{{suffix}}Headers.h"
#include "RuntimeEnabledFeatures.h"
« no previous file with comments | « Source/bindings/v8/custom/V8DocumentCustom.cpp ('k') | Source/core/dom/Document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698