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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso
lver, int type, XPathResult inResult) { | 257 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso
lver, int type, XPathResult inResult) { |
258 return _evaluate(this, expression, contextNode, resolver, type, inResult); | 258 return _evaluate(this, expression, contextNode, resolver, type, inResult); |
259 } | 259 } |
260 static XPathResult _evaluate(receiver, expression, contextNode, resolver, type
, inResult) native; | 260 static XPathResult _evaluate(receiver, expression, contextNode, resolver, type
, inResult) native; |
261 | 261 |
262 bool execCommand(String command, bool userInterface, String value) { | 262 bool execCommand(String command, bool userInterface, String value) { |
263 return _execCommand(this, command, userInterface, value); | 263 return _execCommand(this, command, userInterface, value); |
264 } | 264 } |
265 static bool _execCommand(receiver, command, userInterface, value) native; | 265 static bool _execCommand(receiver, command, userInterface, value) native; |
266 | 266 |
267 Object getCSSCanvasContext(String contextId, String name, int width, int heigh
t) { | 267 CanvasRenderingContext getCSSCanvasContext(String contextId, String name, int
width, int height) { |
268 return _getCSSCanvasContext(this, contextId, name, width, height); | 268 return _getCSSCanvasContext(this, contextId, name, width, height); |
269 } | 269 } |
270 static Object _getCSSCanvasContext(receiver, contextId, name, width, height) n
ative; | 270 static CanvasRenderingContext _getCSSCanvasContext(receiver, contextId, name,
width, height) native; |
271 | 271 |
272 Element getElementById(String elementId) { | 272 Element getElementById(String elementId) { |
273 return _getElementById(this, elementId); | 273 return _getElementById(this, elementId); |
274 } | 274 } |
275 static Element _getElementById(receiver, elementId) native; | 275 static Element _getElementById(receiver, elementId) native; |
276 | 276 |
277 NodeList getElementsByClassName(String tagname) { | 277 NodeList getElementsByClassName(String tagname) { |
278 return _getElementsByClassName(this, tagname); | 278 return _getElementsByClassName(this, tagname); |
279 } | 279 } |
280 static NodeList _getElementsByClassName(receiver, tagname) native; | 280 static NodeList _getElementsByClassName(receiver, tagname) native; |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 } | 355 } |
356 static void _webkitCancelFullScreen(receiver) native; | 356 static void _webkitCancelFullScreen(receiver) native; |
357 | 357 |
358 WebKitNamedFlow webkitGetFlowByName(String name) { | 358 WebKitNamedFlow webkitGetFlowByName(String name) { |
359 return _webkitGetFlowByName(this, name); | 359 return _webkitGetFlowByName(this, name); |
360 } | 360 } |
361 static WebKitNamedFlow _webkitGetFlowByName(receiver, name) native; | 361 static WebKitNamedFlow _webkitGetFlowByName(receiver, name) native; |
362 | 362 |
363 String get typeName() { return "Document"; } | 363 String get typeName() { return "Document"; } |
364 } | 364 } |
OLD | NEW |