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

Side by Side Diff: lib/html/src/CrossFrameTypes.dart

Issue 11065039: Remove window.length and window.frames (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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 | « lib/html/scripts/htmlrenamer.py ('k') | no next file » | 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 abstract class Window { 5 abstract class Window {
6 // Fields. 6 // Fields.
7 Location get location; 7 Location get location;
8 History get history; 8 History get history;
9 9
10 bool get closed; 10 bool get closed;
11 Window get opener; 11 Window get opener;
12 Window get parent; 12 Window get parent;
13 Window get top; 13 Window get top;
14 14
15 // TODO(vsm): Add frames to navigate subframes. See 2312.
16
17 // Methods. 15 // Methods.
18 void focus(); 16 void focus();
19 void blur(); 17 void blur();
20 void close(); 18 void close();
21 void postMessage(Dynamic message, 19 void postMessage(Dynamic message,
22 String targetOrigin, 20 String targetOrigin,
23 [List messagePorts = null]); 21 [List messagePorts = null]);
24 } 22 }
25 23
26 abstract class Location { 24 abstract class Location {
27 void set href(String val); 25 void set href(String val);
28 } 26 }
29 27
30 abstract class History { 28 abstract class History {
31 void back(); 29 void back();
32 void forward(); 30 void forward();
33 void go(int distance); 31 void go(int distance);
34 } 32 }
OLDNEW
« no previous file with comments | « lib/html/scripts/htmlrenamer.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698