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

Unified Diff: Source/bindings/scripts/unstable/code_generator_v8.py

Issue 24867002: Add static attributes to IDL compiler (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revised Created 7 years, 3 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/scripts/code_generator_v8.pm ('k') | Source/bindings/scripts/unstable/v8_attributes.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/scripts/unstable/code_generator_v8.py
diff --git a/Source/bindings/scripts/unstable/code_generator_v8.py b/Source/bindings/scripts/unstable/code_generator_v8.py
index 3f15c26a76dbd30674ca61200c3bbefe20b3131c..1a81565750c47271c119956da37a06f6912e7405 100644
--- a/Source/bindings/scripts/unstable/code_generator_v8.py
+++ b/Source/bindings/scripts/unstable/code_generator_v8.py
@@ -53,7 +53,7 @@ templates_dir = os.path.join(module_path, os.pardir, os.pardir, 'templates')
import v8_callback_interface
import v8_interface
-from v8_utilities import cpp_class_name, generate_conditional_string, v8_class_name
+from v8_utilities import cpp_implemented_as_name, generate_conditional_string, v8_class_name
class CodeGeneratorV8:
@@ -86,7 +86,7 @@ class CodeGeneratorV8:
self.header_template = jinja_env.get_template(header_template_filename)
self.cpp_template = jinja_env.get_template(cpp_template_filename)
- class_name = cpp_class_name(self.interface)
+ class_name = cpp_implemented_as_name(self.interface)
self.include_for_cpp_class = posixpath.join(relative_dir_posix, class_name + '.h')
def write_dummy_header_and_cpp(self):
« no previous file with comments | « Source/bindings/scripts/code_generator_v8.pm ('k') | Source/bindings/scripts/unstable/v8_attributes.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698