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

Unified Diff: client/dom/generated/src/wrapping/_DocumentWrappingImplementation.dart

Issue 9106002: Revert "Revert "Refresh dart:dom"" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix dartc issues Created 8 years, 12 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
Index: client/dom/generated/src/wrapping/_DocumentWrappingImplementation.dart
diff --git a/client/dom/generated/src/wrapping/_DocumentWrappingImplementation.dart b/client/dom/generated/src/wrapping/_DocumentWrappingImplementation.dart
index 14deac7c85064de408f36d92ca72f4d89d003cb4..0db4c9dd0031e644bc9b09b824f4e576a6149ba8 100644
--- a/client/dom/generated/src/wrapping/_DocumentWrappingImplementation.dart
+++ b/client/dom/generated/src/wrapping/_DocumentWrappingImplementation.dart
@@ -304,10 +304,15 @@ class _DocumentWrappingImplementation extends _NodeWrappingImplementation implem
}
static DOMSelection _getSelection(receiver) native;
- Node importNode(Node importedNode, bool deep) {
- return _importNode(this, importedNode, deep);
+ Node importNode(Node importedNode, [bool deep = null]) {
+ if (deep === null) {
+ return _importNode(this, importedNode);
+ } else {
+ return _importNode_2(this, importedNode, deep);
+ }
}
- static Node _importNode(receiver, importedNode, deep) native;
+ static Node _importNode(receiver, importedNode) native;
+ static Node _importNode_2(receiver, importedNode, deep) native;
bool queryCommandEnabled(String command) {
return _queryCommandEnabled(this, command);
@@ -350,5 +355,10 @@ class _DocumentWrappingImplementation extends _NodeWrappingImplementation implem
}
static void _webkitCancelFullScreen(receiver) native;
+ WebKitNamedFlow webkitGetFlowByName(String name) {
+ return _webkitGetFlowByName(this, name);
+ }
+ static WebKitNamedFlow _webkitGetFlowByName(receiver, name) native;
+
String get typeName() { return "Document"; }
}

Powered by Google App Engine
This is Rietveld 408576698