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

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

Issue 153823007: Fix more warnings for dart:html. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/dom/scripts/systemnative.py ('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
11 * object contains the window's state and its relation to other 11 * object contains the window's state and its relation to other
12 * windows, such as which window opened this window. 12 * windows, such as which window opened this window.
13 * 13 *
14 * **Note:** This class represents any window, while [Window] is 14 * **Note:** This class represents any window, while [Window] is
15 * used to access the properties and content of the current window or tab. 15 * used to access the properties and content of the current window or tab.
16 * 16 *
17 * ## See also 17 * ## See also
18 * 18 *
19 * * [Window] 19 * * [Window]
20 * 20 *
21 * ## Other resources 21 * ## Other resources
22 * 22 *
23 * * [DOM Window](https://developer.mozilla.org/en-US/docs/DOM/window) from MDN. 23 * * [DOM Window](https://developer.mozilla.org/en-US/docs/DOM/window) from MDN.
24 * * [Window](http://www.w3.org/TR/Window/) from the W3C. 24 * * [Window](http://www.w3.org/TR/Window/) from the W3C.
25 */ 25 */
26 abstract class WindowBase implements EventTarget { 26 abstract class WindowBase {
27 // Fields. 27 // Fields.
28 28
29 /** 29 /**
30 * The current location of this window. 30 * The current location of this window.
31 * 31 *
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
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 abstract class LocationBase { 147 abstract class LocationBase {
148 void set href(String val); 148 void set href(String val);
149 } 149 }
150 150
151 abstract class HistoryBase { 151 abstract class HistoryBase {
152 void back(); 152 void back();
153 void forward(); 153 void forward();
154 void go(int distance); 154 void go(int distance);
155 } 155 }
OLDNEW
« no previous file with comments | « tools/dom/scripts/systemnative.py ('k') | tools/dom/src/EventStreamProvider.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698