| 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 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 class _DocumentWrappingImplementation extends _NodeWrappingImplementation implem
ents Document { | 7 class _DocumentWrappingImplementation extends _NodeWrappingImplementation implem
ents Document { |
| 8 _DocumentWrappingImplementation() : super() {} | 8 _DocumentWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__DocumentWrappingImplementation() native { | 10 static create__DocumentWrappingImplementation() native { |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 CSSStyleDeclaration getOverrideStyle(Element element, String pseudoElement) { | 297 CSSStyleDeclaration getOverrideStyle(Element element, String pseudoElement) { |
| 298 return _getOverrideStyle(this, element, pseudoElement); | 298 return _getOverrideStyle(this, element, pseudoElement); |
| 299 } | 299 } |
| 300 static CSSStyleDeclaration _getOverrideStyle(receiver, element, pseudoElement)
native; | 300 static CSSStyleDeclaration _getOverrideStyle(receiver, element, pseudoElement)
native; |
| 301 | 301 |
| 302 DOMSelection getSelection() { | 302 DOMSelection getSelection() { |
| 303 return _getSelection(this); | 303 return _getSelection(this); |
| 304 } | 304 } |
| 305 static DOMSelection _getSelection(receiver) native; | 305 static DOMSelection _getSelection(receiver) native; |
| 306 | 306 |
| 307 Node importNode(Node importedNode, bool deep) { | 307 Node importNode(Node importedNode, [bool deep = null]) { |
| 308 return _importNode(this, importedNode, deep); | 308 if (deep === null) { |
| 309 return _importNode(this, importedNode); |
| 310 } else { |
| 311 return _importNode_2(this, importedNode, deep); |
| 312 } |
| 309 } | 313 } |
| 310 static Node _importNode(receiver, importedNode, deep) native; | 314 static Node _importNode(receiver, importedNode) native; |
| 315 static Node _importNode_2(receiver, importedNode, deep) native; |
| 311 | 316 |
| 312 bool queryCommandEnabled(String command) { | 317 bool queryCommandEnabled(String command) { |
| 313 return _queryCommandEnabled(this, command); | 318 return _queryCommandEnabled(this, command); |
| 314 } | 319 } |
| 315 static bool _queryCommandEnabled(receiver, command) native; | 320 static bool _queryCommandEnabled(receiver, command) native; |
| 316 | 321 |
| 317 bool queryCommandIndeterm(String command) { | 322 bool queryCommandIndeterm(String command) { |
| 318 return _queryCommandIndeterm(this, command); | 323 return _queryCommandIndeterm(this, command); |
| 319 } | 324 } |
| 320 static bool _queryCommandIndeterm(receiver, command) native; | 325 static bool _queryCommandIndeterm(receiver, command) native; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 343 return _querySelectorAll(this, selectors); | 348 return _querySelectorAll(this, selectors); |
| 344 } | 349 } |
| 345 static NodeList _querySelectorAll(receiver, selectors) native; | 350 static NodeList _querySelectorAll(receiver, selectors) native; |
| 346 | 351 |
| 347 void webkitCancelFullScreen() { | 352 void webkitCancelFullScreen() { |
| 348 _webkitCancelFullScreen(this); | 353 _webkitCancelFullScreen(this); |
| 349 return; | 354 return; |
| 350 } | 355 } |
| 351 static void _webkitCancelFullScreen(receiver) native; | 356 static void _webkitCancelFullScreen(receiver) native; |
| 352 | 357 |
| 358 WebKitNamedFlow webkitGetFlowByName(String name) { |
| 359 return _webkitGetFlowByName(this, name); |
| 360 } |
| 361 static WebKitNamedFlow _webkitGetFlowByName(receiver, name) native; |
| 362 |
| 353 String get typeName() { return "Document"; } | 363 String get typeName() { return "Document"; } |
| 354 } | 364 } |
| OLD | NEW |