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

Unified Diff: client/dom/scripts/template_frog_dom.darttemplate

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/scripts/dartgenerator.py ('k') | frog/frogsh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/scripts/template_frog_dom.darttemplate
diff --git a/client/dom/scripts/template_frog_dom.darttemplate b/client/dom/scripts/template_frog_dom.darttemplate
index 58afba08c5dbea2368046516988f9bf4516367b1..5c94bf053719e9cbf0908232b5c84a55b4e74c8a 100644
--- a/client/dom/scripts/template_frog_dom.darttemplate
+++ b/client/dom/scripts/template_frog_dom.darttemplate
@@ -14,5 +14,6 @@ $!GENERATED_DART_FILES
#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/scripts/dartgenerator.py ('k') | frog/frogsh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698