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

Unified Diff: tools/dom/src/CrossFrameTypes.dart

Issue 66843009: Even more docs changes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | « tools/dom/docs/docs.json ('k') | tools/dom/templates/html/impl/impl_Window.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/src/CrossFrameTypes.dart
diff --git a/tools/dom/src/CrossFrameTypes.dart b/tools/dom/src/CrossFrameTypes.dart
index 679092d47cc3698d0db40082bb5e138f644cf96c..cda5957dd8f652019845c437ba0f2f31c4ccabca 100644
--- a/tools/dom/src/CrossFrameTypes.dart
+++ b/tools/dom/src/CrossFrameTypes.dart
@@ -33,6 +33,16 @@ abstract class WindowBase implements EventTarget {
* print(currentLocation.href); // 'http://www.example.com:80/'
*/
LocationBase get location;
+
+ /**
+ * The current session history for this window.
+ *
+ * ## Other resources
+ *
+ * * [Session history and navigation specification]
+ * (http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html)
+ * from WHATWG.
+ */
HistoryBase get history;
/**
@@ -118,6 +128,19 @@ abstract class WindowBase implements EventTarget {
* * [Window close discussion](http://www.w3.org/TR/html5/browsers.html#dom-window-close) from the W3C
*/
void close();
+
+ /**
+ * Sends a cross-origin message.
+ *
+ * ## Other resources
+ *
+ * * [window.postMessage]
+ * (https://developer.mozilla.org/en-US/docs/Web/API/Window.postMessage) from
+ * MDN.
+ * * [Cross-document messaging]
+ * (http://www.whatwg.org/specs/web-apps/current-work/multipage/web-messaging.html)
+ * from WHATWG.
+ */
void postMessage(var message, String targetOrigin, [List messagePorts]);
}
« no previous file with comments | « tools/dom/docs/docs.json ('k') | tools/dom/templates/html/impl/impl_Window.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698