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

Unified Diff: lib/html/templates/html/dart2js/impl_LocalWindow.darttemplate

Issue 11047021: New cross frame base types (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Regen dart:html Created 8 years, 2 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
Index: lib/html/templates/html/dart2js/impl_LocalWindow.darttemplate
diff --git a/lib/html/templates/html/dart2js/impl_Window.darttemplate b/lib/html/templates/html/dart2js/impl_LocalWindow.darttemplate
similarity index 98%
rename from lib/html/templates/html/dart2js/impl_Window.darttemplate
rename to lib/html/templates/html/dart2js/impl_LocalWindow.darttemplate
index 6de6a1d3912957efc89983a6872c4bc896af8e85..7b6d86e2ffb875784838e6e55d4d267c7cdfba16 100644
--- a/lib/html/templates/html/dart2js/impl_Window.darttemplate
+++ b/lib/html/templates/html/dart2js/impl_LocalWindow.darttemplate
@@ -26,7 +26,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.
- Location get location => _get_location();
+ LocalLocation get location => _get_location();
// TODO: consider forcing users to do: window.location.assign('string').
/**
@@ -38,7 +38,7 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS native "@*DOMWindow" {
// Firefox work-around for Location. The Firefox location object cannot be
// made to behave like a Dart object so must be wrapped.
- Location _get_location() {
+ LocalLocation _get_location() {
var result = _location;
if (_isDartLocation(result)) return result; // e.g. on Chrome.
if (null == _location_wrapper) {
« no previous file with comments | « lib/html/templates/html/dart2js/html_dart2js.darttemplate ('k') | lib/html/templates/html/dart2js/impl_Window.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698