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

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: rebaseline 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/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..a65f4409c60d19a7940969bc024971920f7514fe 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" %}
Nils Barth (inactive) 2014/05/27 06:01:27 Style: single quotes in Python code.
c.shu 2014/05/27 15:28:02 Done.
+#include "modules/{{namespace}}{{suffix}}Factory.h"
Nils Barth (inactive) 2014/05/27 06:01:27 Should we have modules/events/{{namespace}}{{suffi
c.shu 2014/05/27 15:28:02 Sounds good, Nils. Is it Ok I move all event relat
Nils Barth (inactive) 2014/05/28 00:58:07 Yup, that's fine!
+{% else %}
#include "core/events/{{namespace}}Factory.h"
+{% endif %}
#include "{{namespace}}{{suffix}}Headers.h"
#include "RuntimeEnabledFeatures.h"

Powered by Google App Engine
This is Rietveld 408576698