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

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

Issue 17035010: Revert "Rename DOMWindow interface to Window" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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/generate-bindings.pl ('k') | Source/bindings/v8/DOMWrapperWorld.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/scripts/preprocess_idls.py
diff --git a/Source/bindings/scripts/preprocess_idls.py b/Source/bindings/scripts/preprocess_idls.py
index 8c5799dc6cacda7a50593eda2f655b3f892cd4c9..affaa22ff7b53b312a752d502e922faf4d6611fc 100644
--- a/Source/bindings/scripts/preprocess_idls.py
+++ b/Source/bindings/scripts/preprocess_idls.py
@@ -166,9 +166,9 @@ def parse_idl_files(idl_files, window_constructors_filename, workercontext_const
supplementals[full_path] = []
# Generate Global constructors
- generate_global_constructors_partial_interface("Window", window_constructors_filename, window_constructor_attributes_list)
- if 'Window' in interface_name_to_idl_file:
- supplemental_dependencies[window_constructors_filename] = 'Window'
+ generate_global_constructors_partial_interface("DOMWindow", window_constructors_filename, window_constructor_attributes_list)
+ if 'DOMWindow' in interface_name_to_idl_file:
+ supplemental_dependencies[window_constructors_filename] = 'DOMWindow'
generate_global_constructors_partial_interface("WorkerContext", workercontext_constructors_filename, workercontext_constructor_attributes_list)
if 'WorkerContext' in interface_name_to_idl_file:
supplemental_dependencies[workercontext_constructors_filename] = 'WorkerContext'
@@ -188,13 +188,13 @@ def write_dependency_file(filename, supplementals, only_if_changed=False):
The format of a supplemental dependency file:
- Window.idl P.idl Q.idl R.idl
+ DOMWindow.idl P.idl Q.idl R.idl
Document.idl S.idl
Event.idl
...
The above indicates that:
- Window.idl is supplemented by P.idl, Q.idl and R.idl,
+ DOMWindow.idl is supplemented by P.idl, Q.idl and R.idl,
Document.idl is supplemented by S.idl, and
Event.idl is supplemented by no IDLs.
« no previous file with comments | « Source/bindings/scripts/generate-bindings.pl ('k') | Source/bindings/v8/DOMWrapperWorld.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698