| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 abstract class Window { |
| 6 // Fields. |
| 7 Location get location; |
| 8 History get history; |
| 9 |
| 10 bool get closed; |
| 11 Window get opener; |
| 12 Window get parent; |
| 13 Window get top; |
| 14 |
| 15 // TODO(vsm): Add frames to navigate subframes. See 2312. |
| 16 |
| 17 // Methods. |
| 18 void focus(); |
| 19 void blur(); |
| 20 void close(); |
| 21 void postMessage(Dynamic message, |
| 22 String targetOrigin, |
| 23 [List messagePorts = null]); |
| 24 } |
| 25 |
| 26 abstract class Location { |
| 27 void set href(String val); |
| 28 } |
| 29 |
| 30 abstract class History { |
| 31 void back(); |
| 32 void forward(); |
| 33 void go(int distance); |
| 34 } |
| OLD | NEW |