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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 10166024: Browser compat for window.requestAnimationFrame (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 | « lib/dom/templates/html/interface/interface_Window.darttemplate ('k') | lib/html/frog/html_frog.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/dartium/html_dartium.dart
diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart
index 2db035463ca0fd2b9f3c6cb2d9271509b0cc1534..544f3b0bbfd2100e43759ee0e2b6b77fa33a7a2a 100644
--- a/lib/html/dartium/html_dartium.dart
+++ b/lib/html/dartium/html_dartium.dart
@@ -21314,6 +21314,9 @@ class _WindowImpl extends _EventTargetImpl implements Window {
_addMeasurementFrameCallback(callback);
}
+ int requestAnimationFrame(RequestAnimationFrameCallback callback) =>
+ webkitRequestAnimationFrame(callback);
+
_WindowImpl._wrap(ptr) : super._wrap(ptr);
_WindowEventsImpl get on() {
@@ -39782,6 +39785,10 @@ interface Window extends EventTarget {
void requestLayoutFrame(TimeoutHandler callback);
+ /** @domName DOMWindow.webkitRequestAnimationFrame */
+ int requestAnimationFrame(RequestAnimationFrameCallback callback);
+
+
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
*/
« no previous file with comments | « lib/dom/templates/html/interface/interface_Window.darttemplate ('k') | lib/html/frog/html_frog.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698