| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 // DO NOT EDIT | 5 // DO NOT EDIT |
| 6 // Auto-generated Dart DOM library. | 6 // Auto-generated Dart DOM library. |
| 7 | 7 |
| 8 #library("dom"); | 8 #library("dom"); |
| 9 #native("frog_dom.js"); | 9 #native("frog_dom.js"); |
| 10 | 10 |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 #source('generated/src/frog/XPathExpression.dart'); | 347 #source('generated/src/frog/XPathExpression.dart'); |
| 348 #source('generated/src/frog/XPathNSResolver.dart'); | 348 #source('generated/src/frog/XPathNSResolver.dart'); |
| 349 #source('generated/src/frog/XPathResult.dart'); | 349 #source('generated/src/frog/XPathResult.dart'); |
| 350 #source('generated/src/frog/XSLTProcessor.dart'); | 350 #source('generated/src/frog/XSLTProcessor.dart'); |
| 351 | 351 |
| 352 #source('src/EventListener.dart'); | 352 #source('src/EventListener.dart'); |
| 353 #source('src/RequestAnimationFrameCallback.dart'); | 353 #source('src/RequestAnimationFrameCallback.dart'); |
| 354 #source('src/TimeoutHandler.dart'); | 354 #source('src/TimeoutHandler.dart'); |
| 355 | 355 |
| 356 class Window extends DOMWindow {} | 356 class Window extends DOMWindow {} |
| 357 Window window; | 357 DOMWindow get window() native "return window;"; |
| 358 HTMLDocument get document() => window.document; | 358 // TODO(vsm): Revert to Dart method when 508 is fixed. |
| 359 HTMLDocument get document() native "return window.document;"; |
| OLD | NEW |