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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 18920008: Add point to Window class and Window polyfills of screen. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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:
Download patch
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index fbe12b7ebf314a721ad55c8fcbc70f4d5087a426..d308ceb4ddacf7cd9fb6dc6578525ba7b8cd8ba1 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -25484,7 +25484,7 @@ class Window extends EventTarget implements WindowBase {
@DomName('Window.moveTo')
@DocsEditable()
- void moveTo(num x, num y) native "DOMWindow_moveTo_Callback";
+ void $dom_moveTo(num x, num y) native "DOMWindow_moveTo_Callback";
@DomName('Window.open')
@DocsEditable()
@@ -25839,6 +25839,10 @@ class Window extends EventTarget implements WindowBase {
@DomName('DOMWindow.onbeforeunload')
@DocsEditable()
Stream<Event> get onBeforeUnload => beforeUnloadEvent.forTarget(this);
+
+ void moveTo(Point p) {
+ $dom_moveTo(p.x, p.y);
+ }
}
/**
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698