Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(273)

Side by Side Diff: client/html/release/html.dart

Issue 9430066: Add some sweet XML classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « client/html/htmlimpl.dart ('k') | client/html/release/htmlimpl.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('html'); 1 #library('html');
2 2
3 #import('dart:dom', prefix:'dom'); 3 #import('dart:dom', prefix:'dom');
4 #import('dart:htmlimpl'); 4 #import('dart:htmlimpl');
5 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 5 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6 // for details. All rights reserved. Use of this source code is governed by a 6 // for details. All rights reserved. Use of this source code is governed by a
7 // BSD-style license that can be found in the LICENSE file. 7 // BSD-style license that can be found in the LICENSE file.
8 8
9 // DO NOT EDIT 9 // DO NOT EDIT
10 // Auto-generated Dart HTML library. 10 // Auto-generated Dart HTML library.
(...skipping 11263 matching lines...) Expand 10 before | Expand all | Expand 10 after
11274 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 11274 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11275 // for details. All rights reserved. Use of this source code is governed by a 11275 // for details. All rights reserved. Use of this source code is governed by a
11276 // BSD-style license that can be found in the LICENSE file. 11276 // BSD-style license that can be found in the LICENSE file.
11277 11277
11278 interface DocumentFragment extends Element default DocumentFragmentWrappingImple mentation { 11278 interface DocumentFragment extends Element default DocumentFragmentWrappingImple mentation {
11279 11279
11280 DocumentFragment(); 11280 DocumentFragment();
11281 11281
11282 DocumentFragment.html(String html); 11282 DocumentFragment.html(String html);
11283 11283
11284 DocumentFragment.xml(String xml);
11285
11286 DocumentFragment.svg(String svg);
11287
11284 DocumentFragment clone(bool deep); 11288 DocumentFragment clone(bool deep);
11285 } 11289 }
11286 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 11290 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11287 // for details. All rights reserved. Use of this source code is governed by a 11291 // for details. All rights reserved. Use of this source code is governed by a
11288 // BSD-style license that can be found in the LICENSE file. 11292 // BSD-style license that can be found in the LICENSE file.
11289 11293
11290 interface DOMApplicationCacheEvents extends Events { 11294 interface DOMApplicationCacheEvents extends Events {
11291 EventListenerList get cached(); 11295 EventListenerList get cached();
11292 EventListenerList get checking(); 11296 EventListenerList get checking();
11293 EventListenerList get downloading(); 11297 EventListenerList get downloading();
(...skipping 2150 matching lines...) Expand 10 before | Expand all | Expand 10 after
13444 } 13448 }
13445 13449
13446 interface Worker extends AbstractWorker { 13450 interface Worker extends AbstractWorker {
13447 13451
13448 void postMessage(String message, [MessagePort messagePort]); 13452 void postMessage(String message, [MessagePort messagePort]);
13449 13453
13450 void terminate(); 13454 void terminate();
13451 13455
13452 WorkerEvents get on(); 13456 WorkerEvents get on();
13453 } 13457 }
13458 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13459 // for details. All rights reserved. Use of this source code is governed by a
13460 // BSD-style license that can be found in the LICENSE file.
13461
13462 interface XMLDocument extends Document, XMLElement
13463 default XMLDocumentWrappingImplementation {
13464 XMLDocument.xml(String xml);
13465
13466 XMLElement get activeElement();
13467
13468 XMLDocument clone(bool deep);
13469 }
13470 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13471 // for details. All rights reserved. Use of this source code is governed by a
13472 // BSD-style license that can be found in the LICENSE file.
13473
13474 interface XMLElement extends Element default XMLElementWrappingImplementation {
13475
13476 XMLElement.tag(String tag);
13477 XMLElement.xml(String tag);
13478
13479 XMLElement get firstElementChild();
13480
13481 XMLElement get lastElementChild();
13482
13483 XMLElement get nextElementSibling();
13484
13485 XMLElement get previousElementSibling();
13486
13487 XMLElement get offsetParent();
13488
13489 XMLElement get parent();
13490
13491 XMLElement insertAdjacentElement([String where, XMLElement element]);
13492
13493 XMLElement query(String selectors);
13494
13495 XMLElement clone(bool deep);
13496 }
13454 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 13497 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
13455 // for details. All rights reserved. Use of this source code is governed by a 13498 // for details. All rights reserved. Use of this source code is governed by a
13456 // BSD-style license that can be found in the LICENSE file. 13499 // BSD-style license that can be found in the LICENSE file.
13457 13500
13458 interface XMLHttpRequestEvents extends Events { 13501 interface XMLHttpRequestEvents extends Events {
13459 EventListenerList get abort(); 13502 EventListenerList get abort();
13460 EventListenerList get error(); 13503 EventListenerList get error();
13461 EventListenerList get load(); 13504 EventListenerList get load();
13462 EventListenerList get loadStart(); 13505 EventListenerList get loadStart();
13463 EventListenerList get progress(); 13506 EventListenerList get progress();
(...skipping 18 matching lines...) Expand all
13482 XMLHttpRequest.getTEMPNAME(String url, onSuccess(XMLHttpRequest request)); 13525 XMLHttpRequest.getTEMPNAME(String url, onSuccess(XMLHttpRequest request));
13483 13526
13484 int get readyState(); 13527 int get readyState();
13485 13528
13486 String get responseText(); 13529 String get responseText();
13487 13530
13488 String get responseType(); 13531 String get responseType();
13489 13532
13490 void set responseType(String value); 13533 void set responseType(String value);
13491 13534
13492 Document get responseXML(); 13535 XMLDocument get responseXML();
13493 13536
13494 int get status(); 13537 int get status();
13495 13538
13496 String get statusText(); 13539 String get statusText();
13497 13540
13498 XMLHttpRequestUpload get upload(); 13541 XMLHttpRequestUpload get upload();
13499 13542
13500 bool get withCredentials(); 13543 bool get withCredentials();
13501 13544
13502 void set withCredentials(bool value); 13545 void set withCredentials(bool value);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
13538 EventListenerList get abort(); 13581 EventListenerList get abort();
13539 EventListenerList get error(); 13582 EventListenerList get error();
13540 EventListenerList get load(); 13583 EventListenerList get load();
13541 EventListenerList get loadStart(); 13584 EventListenerList get loadStart();
13542 EventListenerList get progress(); 13585 EventListenerList get progress();
13543 } 13586 }
13544 13587
13545 interface XMLHttpRequestUpload extends EventTarget { 13588 interface XMLHttpRequestUpload extends EventTarget {
13546 XMLHttpRequestUploadEvents get on(); 13589 XMLHttpRequestUploadEvents get on();
13547 } 13590 }
OLDNEW
« no previous file with comments | « client/html/htmlimpl.dart ('k') | client/html/release/htmlimpl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698