OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 // TODO(sashab, sra): Detect whether this is the current window, or an | 5 // TODO(sashab, sra): Detect whether this is the current window, or an |
6 // external one, and return an appropriately-typed object | 6 // external one, and return an appropriately-typed object |
7 WindowBase get contentWindow => | 7 WindowBase get contentWindow => JS("Window", "#.contentWindow", this._jsObject); |
8 JS("Window", "#.contentWindow", this._jsObject); | |
OLD | NEW |