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

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

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
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..e63fa6566ef2c500e3568f7770a58673cc6f24e0 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,8 @@ 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);
}
/**

Powered by Google App Engine
This is Rietveld 408576698