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

Unified Diff: tools/dom/templates/html/impl/impl_Window.darttemplate

Issue 19820007: Fixes for Blink roll. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Minors fixes 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: tools/dom/templates/html/impl/impl_Window.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Window.darttemplate b/tools/dom/templates/html/impl/impl_Window.darttemplate
index f977e81801a142f5491ec3f825fe7f667721a08e..cf2dd3a5d4ba1978336ce7694f873372059e60c5 100644
--- a/tools/dom/templates/html/impl/impl_Window.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Window.darttemplate
@@ -151,7 +151,7 @@ $if DART2JS
* Note: The supplied [callback] needs to call [requestAnimationFrame] again
* for the animation to continue.
*/
- @DomName('DOMWindow.requestAnimationFrame')
+ @DomName('Window.requestAnimationFrame')
int requestAnimationFrame(RequestAnimationFrameCallback callback) {
_ensureRequestAnimationFrame();
return _requestAnimationFrame(callback);
@@ -242,7 +242,7 @@ $endif
return _requestFileSystem(persistent? 1 : 0, size);
}
- @DomName('DOMWindow.convertPointFromNodeToPage')
+ @DomName('Window.convertPointFromNodeToPage')
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.SAFARI)
@Experimental()
@@ -252,7 +252,7 @@ $endif
return new Point(result.x, result.y);
}
- @DomName('DOMWindow.convertPointFromPageToNode')
+ @DomName('Window.convertPointFromPageToNode')
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.SAFARI)
@Experimental()
@@ -269,12 +269,12 @@ $endif
static bool get supportsPointConversions => _DomPoint.supported;
$!MEMBERS
- @DomName('DOMWindow.beforeunloadEvent')
+ @DomName('Window.beforeunloadEvent')
@DocsEditable()
static const EventStreamProvider<BeforeUnloadEvent> beforeUnloadEvent =
const _BeforeUnloadEventStreamProvider('beforeunload');
- @DomName('DOMWindow.onbeforeunload')
+ @DomName('Window.onbeforeunload')
@DocsEditable()
Stream<Event> get onBeforeUnload => beforeUnloadEvent.forTarget(this);

Powered by Google App Engine
This is Rietveld 408576698