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

Unified Diff: sdk/lib/html/templates/html/dart2js/impl_Window.darttemplate

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/templates/html/dart2js/impl_Window.darttemplate
diff --git a/sdk/lib/html/templates/html/dart2js/impl_Window.darttemplate b/sdk/lib/html/templates/html/dart2js/impl_Window.darttemplate
index 2501816469cb4ca22927df427cdb78d0bca28e6a..f83f81649e9a070df3c672db4dff44a3a5e172b9 100644
--- a/sdk/lib/html/templates/html/dart2js/impl_Window.darttemplate
+++ b/sdk/lib/html/templates/html/dart2js/impl_Window.darttemplate
@@ -9,12 +9,12 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS native "@*DOMWindow" {
Document get document => JS('Document', '#.document', this);
- Window _open2(url, name) => JS('Window', '#.open(#,#)', this, url, name);
+ WindowBase _open2(url, name) => JS('Window', '#.open(#,#)', this, url, name);
- Window _open3(url, name, options) =>
+ WindowBase _open3(url, name, options) =>
JS('Window', '#.open(#,#,#)', this, url, name, options);
- Window open(String url, String name, [String options]) {
+ WindowBase open(String url, String name, [String options]) {
if (options == null) {
return _DOMWindowCrossFrame._createSafe(_open2(url, name));
} else {
@@ -25,7 +25,7 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS native "@*DOMWindow" {
// API level getter and setter for Location.
// TODO: The cross domain safe wrapper can be inserted here or folded into
// _LocationWrapper.
- LocalLocation get location {
+ Location get location {
// Firefox work-around for Location. The Firefox location object cannot be
// made to behave like a Dart object so must be wrapped.
var result = _location;

Powered by Google App Engine
This is Rietveld 408576698