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

Unified Diff: client/dom/frog_dom.dart

Issue 8591026: Roll DOM APIs forward on IDL & update Frog DOM (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Change window and document to getters Created 9 years, 1 month 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 | « client/dom/frog/frog_dom.js ('k') | client/dom/frog_dom.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/frog_dom.dart
diff --git a/client/dom/frog_dom.dart b/client/dom/frog_dom.dart
index a128fb28dd061cb09d096224db755fac143f26b4..0e75c07f4729e76a3b7fdebe19c9dfc4e8d9e7e9 100644
--- a/client/dom/frog_dom.dart
+++ b/client/dom/frog_dom.dart
@@ -354,5 +354,6 @@
#source('src/TimeoutHandler.dart');
class Window extends DOMWindow {}
-Window window;
-HTMLDocument get document() => window.document;
+DOMWindow get window() native "return window;";
+// TODO(vsm): Revert to Dart method when 508 is fixed.
+HTMLDocument get document() native "return window.document;";
« no previous file with comments | « client/dom/frog/frog_dom.js ('k') | client/dom/frog_dom.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698