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

Unified Diff: tools/dom/templates/html/dart2js/html_dart2js.darttemplate

Issue 19058002: Added some more documentation to top level Window. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/dart2js/html_dart2js.darttemplate
diff --git a/tools/dom/templates/html/dart2js/html_dart2js.darttemplate b/tools/dom/templates/html/dart2js/html_dart2js.darttemplate
index 89cc40e59937a17ea35fe312e16d268c56e4c874..89c40124a8be4db5fd01411b40f0bc2bdf59a9c7 100644
--- a/tools/dom/templates/html/dart2js/html_dart2js.darttemplate
+++ b/tools/dom/templates/html/dart2js/html_dart2js.darttemplate
@@ -63,7 +63,20 @@ part '$AUXILIARY_DIR/_ListIterators.dart';
/**
- * The top-level Window object.
+ * The current window.
Kathy Walrath 2013/07/11 17:15:35 You don't want to confuse an on-screen window with
Andrei Mouravski 2013/07/11 18:20:46 Done.
+ *
+ * Each web page loaded in the browser has its own [Window], which is a
+ * container for the web page.
+ *
+ * Each page's [Window] has an associated [HtmlDocument] that represents the
Kathy Walrath 2013/07/11 17:15:35 Why is this paragraph here? Either delete it or ma
Andrei Mouravski 2013/07/11 18:20:46 Done.
+ * content of the page.
+ *
+ * This getter usually retuns the only [Window] on the page, but any `<iframe>`
Kathy Walrath 2013/07/11 17:15:35 retuns -> returns Maybe combine this into the pre
+ * elements have their own [Window].
+ *
+ * See also:
+ *
+ * * [Window](https://developer.mozilla.org/en-US/docs/Web/API/window) from MDN.
*/
Window get window => JS('Window', 'window');
blois 2013/07/11 17:03:57 Can you duplicate this into the Dartium version as
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698