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

Unified 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, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/html/htmlimpl.dart ('k') | client/html/release/htmlimpl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/html/release/html.dart
diff --git a/client/html/release/html.dart b/client/html/release/html.dart
index f2bac6dd81d263a52c9fec8be6d1db17e5b7bb41..273b8808940fe741bdf56f2cb3dc5f635c1fc9dc 100644
--- a/client/html/release/html.dart
+++ b/client/html/release/html.dart
@@ -11281,6 +11281,10 @@ interface DocumentFragment extends Element default DocumentFragmentWrappingImple
DocumentFragment.html(String html);
+ DocumentFragment.xml(String xml);
+
+ DocumentFragment.svg(String svg);
+
DocumentFragment clone(bool deep);
}
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
@@ -13451,6 +13455,45 @@ interface Worker extends AbstractWorker {
WorkerEvents get on();
}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+interface XMLDocument extends Document, XMLElement
+ default XMLDocumentWrappingImplementation {
+ XMLDocument.xml(String xml);
+
+ XMLElement get activeElement();
+
+ XMLDocument clone(bool deep);
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+interface XMLElement extends Element default XMLElementWrappingImplementation {
+
+ XMLElement.tag(String tag);
+ XMLElement.xml(String tag);
+
+ XMLElement get firstElementChild();
+
+ XMLElement get lastElementChild();
+
+ XMLElement get nextElementSibling();
+
+ XMLElement get previousElementSibling();
+
+ XMLElement get offsetParent();
+
+ XMLElement get parent();
+
+ XMLElement insertAdjacentElement([String where, XMLElement element]);
+
+ XMLElement query(String selectors);
+
+ XMLElement clone(bool deep);
+}
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -13489,7 +13532,7 @@ interface XMLHttpRequest extends EventTarget default XMLHttpRequestWrappingImple
void set responseType(String value);
- Document get responseXML();
+ XMLDocument get responseXML();
int get status();
« 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