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

Unified Diff: Source/bindings/scripts/v8_types.py

Issue 181513006: IDL compiler: delete Perl compiler, remove unstable/ directory (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/bindings/scripts/v8_methods.py ('k') | Source/bindings/scripts/v8_utilities.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/scripts/v8_types.py
diff --git a/Source/bindings/scripts/unstable/v8_types.py b/Source/bindings/scripts/v8_types.py
similarity index 99%
rename from Source/bindings/scripts/unstable/v8_types.py
rename to Source/bindings/scripts/v8_types.py
index b08780ac4580bf9a6be7b824ad19307e51334a00..49a8e500054e79c56ca5c960e5778b88915c5632 100644
--- a/Source/bindings/scripts/unstable/v8_types.py
+++ b/Source/bindings/scripts/v8_types.py
@@ -247,6 +247,7 @@ CPP_SPECIAL_CONVERSION_RULES = {
'boolean': 'bool',
}
+
def cpp_type(idl_type, extended_attributes=None, used_as_argument=False):
"""Returns C++ type corresponding to IDL type."""
def string_mode():
@@ -366,6 +367,7 @@ INCLUDES_FOR_TYPE = {
'ScriptValue': set(['bindings/v8/ScriptValue.h']),
}
+
def includes_for_type(idl_type):
idl_type = preprocess_idl_type(idl_type)
if idl_type in INCLUDES_FOR_TYPE:
« no previous file with comments | « Source/bindings/scripts/v8_methods.py ('k') | Source/bindings/scripts/v8_utilities.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698