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

Unified Diff: tools/dom/src/native_DOMImplementation.dart

Issue 1234273003: - Update _blink library using dart:js instead of native keyword (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Enable --gen-interop Created 5 years, 5 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 | « tools/dom/scripts/go.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/src/native_DOMImplementation.dart
diff --git a/tools/dom/src/native_DOMImplementation.dart b/tools/dom/src/native_DOMImplementation.dart
index 34c032bb7377e674228c7e78276c1cbdbc2f9816..2a613c7f53d52ab71e905d4d5bb25bb070b37213 100644
--- a/tools/dom/src/native_DOMImplementation.dart
+++ b/tools/dom/src/native_DOMImplementation.dart
@@ -187,9 +187,9 @@ class _Utils {
return element;
}
- // TODO(terry): Enable below for Dartium w/ interop and remove other static window().
- // static window() => wrap_jso(_blink.Blink_Utils.window()['window']);
- static window() => _blink.Blink_Utils.window();
+ static window() => wrap_jso(_blink.Blink_Utils.window()['window']);
+ // TODO(terry): Above enabled for Dartium w/ interop and remove below static window() for C++.
+ // static window() => _blink.Blink_Utils.window();
static forwardingPrint(String message) => _blink.Blink_Utils.forwardingPrint(message);
static void spawnDomHelper(Function f, int replyTo) =>
« no previous file with comments | « tools/dom/scripts/go.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698