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

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

Issue 10913191: Migrate templates to new getter syntax. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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_Window.darttemplate
diff --git a/lib/html/templates/html/dart2js/impl_Window.darttemplate b/lib/html/templates/html/dart2js/impl_Window.darttemplate
index f776d87ee5d4e6311955d89eee99d234e47e84bc..e7e156add95e27cef4b4feb5d22c99ed070d0f38 100644
--- a/lib/html/templates/html/dart2js/impl_Window.darttemplate
+++ b/lib/html/templates/html/dart2js/impl_Window.darttemplate
@@ -9,7 +9,7 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS native "@*DOMWindow" {
Window get _top() native "return this.top;";
// Override top to return secure wrapper.
- Window get top() => _DOMWindowCrossFrameImpl._createSafe(_top);
+ Window get top => _DOMWindowCrossFrameImpl._createSafe(_top);
Window _open2(url, name) native "return this.open(url, name);";
@@ -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();
+ Location get location => _get_location();
// TODO: consider forcing users to do: window.location.assign('string').
/**
@@ -113,7 +113,7 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS native "@*DOMWindow" {
''';
- _IDBFactoryImpl get indexedDB() => _get_indexedDB();
+ _IDBFactoryImpl get indexedDB => _get_indexedDB();
_IDBFactoryImpl _get_indexedDB() native
'return this.indexedDB || this.webkitIndexedDB || this.mozIndexedDB';

Powered by Google App Engine
This is Rietveld 408576698