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

Side by Side Diff: tools/dom/src/CrossFrameTypes.dart

Issue 1448963002: Fixing dart:html links _not_ found in docs.json (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « tools/dom/src/CanvasImageSource.dart ('k') | tools/dom/src/EventStreamProvider.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of html; 5 part of html;
6 6
7 /** 7 /**
8 * Top-level container for a browser tab or window. 8 * Top-level container for a browser tab or window.
9 * 9 *
10 * In a web browser, a [WindowBase] object represents any browser window. This 10 * In a web browser, a [WindowBase] object represents any browser window. This
(...skipping 21 matching lines...) Expand all
32 * Location currentLocation = window.location; 32 * Location currentLocation = window.location;
33 * print(currentLocation.href); // 'http://www.example.com:80/' 33 * print(currentLocation.href); // 'http://www.example.com:80/'
34 */ 34 */
35 LocationBase get location; 35 LocationBase get location;
36 36
37 /** 37 /**
38 * The current session history for this window. 38 * The current session history for this window.
39 * 39 *
40 * ## Other resources 40 * ## Other resources
41 * 41 *
42 * * [Session history and navigation specification] 42 * * [Session history and navigation
43 * (http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html) 43 * specification](https://html.spec.whatwg.org/multipage/browsers.html#histo ry)
44 * from WHATWG. 44 * from WHATWG.
45 */ 45 */
46 HistoryBase get history; 46 HistoryBase get history;
47 47
48 /** 48 /**
49 * Indicates whether this window has been closed. 49 * Indicates whether this window has been closed.
50 * 50 *
51 * print(window.closed); // 'false' 51 * print(window.closed); // 'false'
52 * window.close(); 52 * window.close();
53 * print(window.closed); // 'true' 53 * print(window.closed); // 'true'
54 */ 54 */
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 * 127 *
128 * * [Window close discussion](http://www.w3.org/TR/html5/browsers.html#dom-wi ndow-close) from the W3C 128 * * [Window close discussion](http://www.w3.org/TR/html5/browsers.html#dom-wi ndow-close) from the W3C
129 */ 129 */
130 void close(); 130 void close();
131 131
132 /** 132 /**
133 * Sends a cross-origin message. 133 * Sends a cross-origin message.
134 * 134 *
135 * ## Other resources 135 * ## Other resources
136 * 136 *
137 * * [window.postMessage] 137 * * [window.postMessage](https://developer.mozilla.org/en-US/docs/Web/API/Win dow.postMessage)
138 * (https://developer.mozilla.org/en-US/docs/Web/API/Window.postMessage) from 138 * from MDN.
139 * MDN. 139 * * [Cross-document messaging](https://html.spec.whatwg.org/multipage/comms.h tml#web-messaging)
140 * * [Cross-document messaging] 140 * from WHATWG.
141 * (http://www.whatwg.org/specs/web-apps/current-work/multipage/web-messaging. html)
142 * from WHATWG.
143 */ 141 */
144 void postMessage(var message, String targetOrigin, [List messagePorts]); 142 void postMessage(var message, String targetOrigin, [List messagePorts]);
145 } 143 }
146 144
147 abstract class LocationBase { 145 abstract class LocationBase {
148 void set href(String val); 146 void set href(String val);
149 } 147 }
150 148
151 abstract class HistoryBase { 149 abstract class HistoryBase {
152 void back(); 150 void back();
153 void forward(); 151 void forward();
154 void go(int distance); 152 void go(int distance);
155 } 153 }
OLDNEW
« no previous file with comments | « tools/dom/src/CanvasImageSource.dart ('k') | tools/dom/src/EventStreamProvider.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698