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

Unified Diff: client/html/release/html.dart

Issue 9478021: Add some sweet XML classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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..029627196fccd98632448f8524e584e263c7ac61 100644
--- a/client/html/release/html.dart
+++ b/client/html/release/html.dart
@@ -11281,6 +11281,11 @@ interface DocumentFragment extends Element default DocumentFragmentWrappingImple
DocumentFragment.html(String html);
+ /** WARNING: Currently this doesn't work on Dartium (issue 649). */
+ 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 +13456,29 @@ 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 {
+
+ /** WARNING: Currently this doesn't work on Dartium (issue 649). */
+ XMLDocument.xml(String xml);
+
+ 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 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 +13517,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