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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.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:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index 5f54dcc4b2fd96cc0decd7ae404558a5b713f686..eac7ee472c6438775c734d487550c919fe3300e0 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -24165,9 +24165,10 @@ class Window extends EventTarget implements WindowBase native "Window,DOMWindow"
@DocsEditable()
void moveBy(num x, num y) native;
+ @JSName('moveTo')
@DomName('Window.moveTo')
@DocsEditable()
- void moveTo(num x, num y) native;
+ void $dom_moveTo(num x, num y) native;
@DomName('Window.openDatabase')
@DocsEditable()
@@ -24552,6 +24553,8 @@ class Window extends EventTarget implements WindowBase native "Window,DOMWindow"
@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 | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | tools/dom/templates/html/impl/impl_Window.darttemplate » ('J')

Powered by Google App Engine
This is Rietveld 408576698