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

Unified Diff: sdk/lib/html/scripts/generator.py

Issue 11642035: Renaming Window to WindowBase and LocalWindow to Window. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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: sdk/lib/html/scripts/generator.py
diff --git a/sdk/lib/html/scripts/generator.py b/sdk/lib/html/scripts/generator.py
index 707814715332a56f610f193426eaa4b96d94154c..070b2faf98c1cd98b9c66eea471e10df41929337 100644
--- a/sdk/lib/html/scripts/generator.py
+++ b/sdk/lib/html/scripts/generator.py
@@ -508,7 +508,7 @@ dart2js_conversions = {
# as well. Note, there are no functions that take a non-local Window
# as a parameter / setter.
'DOMWindow get':
- Conversion('_convertNativeToDart_Window', 'dynamic', 'Window'),
+ Conversion('_convertNativeToDart_Window', 'dynamic', 'WindowBase'),
'EventTarget get':
Conversion('_convertNativeToDart_EventTarget', 'dynamic',
'EventTarget'),
@@ -619,7 +619,7 @@ dart2js_annotations = {
# Methods returning Window can return a local window, or a cross-frame
# window (=Object) that needs wrapping.
'DOMWindow':
- "@Creates('LocalWindow|=Object') @Returns('LocalWindow|=Object')",
+ "@Creates('Window|=Object') @Returns('Window|=Object')",
'DOMWindow.openDatabase': "@Creates('Database') @Creates('DatabaseSync')",

Powered by Google App Engine
This is Rietveld 408576698