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

Unified Diff: third_party/WebKit/Source/bindings/templates/web_module_interface.cc.tmpl

Issue 2684773003: [WebAgent API]: Implement name style handling. (Closed)
Patch Set: Fixed the deps. Created 3 years, 10 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: third_party/WebKit/Source/bindings/templates/web_module_interface.cc.tmpl
diff --git a/third_party/WebKit/Source/bindings/templates/web_module_interface.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/web_module_interface.cc.tmpl
similarity index 85%
rename from third_party/WebKit/Source/bindings/templates/web_module_interface.cpp.tmpl
rename to third_party/WebKit/Source/bindings/templates/web_module_interface.cc.tmpl
index b91832570379fa26d733f1a750f68d1074ba7f8b..d4fb7477b1a166289985673c6822e54920428d10 100644
--- a/third_party/WebKit/Source/bindings/templates/web_module_interface.cpp.tmpl
+++ b/third_party/WebKit/Source/bindings/templates/web_module_interface.cc.tmpl
@@ -2,7 +2,7 @@
{% include 'copyright_block.txt' %}
-#include "{{class_name}}.h"
+#include "{{class_name.hacker}}.h"
// TODO(dglazkov): Implement generating includes.
{% for filename in cpp_includes %}
@@ -26,7 +26,7 @@ namespace api {
// TODO(dglazkov): Implement method generation
{% for method in methods %}
-// {{method.return_type}} Cpp{{class_name}}::{{method.name}}
+// {{method.return_type}} {{class_name.pascal}}::{{method.name}}
{% endfor %}
} // namespace api

Powered by Google App Engine
This is Rietveld 408576698