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

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

Issue 298893006: Split modules-dependent Event code in 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
« no previous file with comments | « Source/bindings/v8/custom/V8EventCustom.cpp ('k') | Source/core/Init.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 2b14b41a19be06ccad2a270c5b88e52eb1ba36ff..edab6a44e098a4ba1ad8ee70ea2ac58dbc163d03 100644
--- a/Source/build/scripts/templates/EventFactory.cpp.tmpl
+++ b/Source/build/scripts/templates/EventFactory.cpp.tmpl
@@ -4,12 +4,12 @@
#include "config.h"
#include "core/events/{{namespace}}Factory.h"
-#include "{{namespace}}Headers.h"
+#include "{{namespace}}{{suffix}}Headers.h"
#include "RuntimeEnabledFeatures.h"
namespace WebCore {
-PassRefPtrWillBeRawPtr<{{namespace}}> {{namespace}}Factory::create(const String& type)
+PassRefPtrWillBeRawPtr<{{namespace}}> {{namespace}}{{suffix}}Factory::create(const String& type)
{
{% for event in events %}
{% filter enable_conditional(event.Conditional) %}
« no previous file with comments | « Source/bindings/v8/custom/V8EventCustom.cpp ('k') | Source/core/Init.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698