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

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

Issue 2684773003: [WebAgent API]: Implement name style handling. (Closed)
Patch Set: Feedback addressed. 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 84%
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..b86dc511e8b79cc9e4f0026bcb01a708b83b4ffe 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.snake_case}}.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.upper_camel_case}}::{{method.name}}
{% endfor %}
} // namespace api

Powered by Google App Engine
This is Rietveld 408576698