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

Unified Diff: lib/html/dart2js/html_dart2js.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 10990013: Reapply webkitRequestAimationFrame->requestAnimationFrame with fix for dartium (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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 | « no previous file | lib/html/dartium/html_dartium.dart » ('j') | tests/html/callbacks_test.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/dart2js/html_dart2js.dart
===================================================================
--- lib/html/dart2js/html_dart2js.dart (revision 12823)
+++ lib/html/dart2js/html_dart2js.dart (working copy)
@@ -37643,12 +37643,6 @@
*/
void requestLayoutFrame(TimeoutHandler callback);
-
- /** @domName DOMWindow.webkitRequestAnimationFrame */
- int requestAnimationFrame(RequestAnimationFrameCallback callback);
-
- void cancelAnimationFrame(int id);
-
IDBFactory get indexedDB;
/**
@@ -37927,10 +37921,10 @@
void stop();
/** @domName DOMWindow.webkitCancelAnimationFrame */
- void webkitCancelAnimationFrame(int id);
+ void cancelAnimationFrame(int id);
blois 2012/09/25 23:19:15 I believe that cancelAnimationFrame is the old syn
/** @domName DOMWindow.webkitCancelRequestAnimationFrame */
- void webkitCancelRequestAnimationFrame(int id);
+ void cancelRequestAnimationFrame(int id);
/** @domName DOMWindow.webkitConvertPointFromNodeToPage */
Point webkitConvertPointFromNodeToPage(Node node, Point p);
@@ -37942,7 +37936,7 @@
void webkitPostMessage(/*SerializedScriptValue*/ message, String targetOrigin, [List transferList]);
/** @domName DOMWindow.webkitRequestAnimationFrame */
- int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback);
+ int requestAnimationFrame(RequestAnimationFrameCallback callback);
/** @domName DOMWindow.webkitRequestFileSystem */
void webkitRequestFileSystem(int type, int size, FileSystemCallback successCallback, [ErrorCallback errorCallback]);
@@ -38197,8 +38191,7 @@
int _requestAnimationFrame(RequestAnimationFrameCallback callback)
native 'requestAnimationFrame';
- void _cancelAnimationFrame(int id)
- native 'cancelAnimationFrame';
+ void _cancelAnimationFrame(int id) native 'cancelAnimationFrame';
_ensureRequestAnimationFrame() native '''
if (this.requestAnimationFrame && this.cancelAnimationFrame) return;
@@ -38410,18 +38403,14 @@
void stop() native;
- void webkitCancelAnimationFrame(int id) native;
+ void cancelRequestAnimationFrame(int id) native "webkitCancelRequestAnimationFrame";
- void webkitCancelRequestAnimationFrame(int id) native;
-
_PointImpl webkitConvertPointFromNodeToPage(_NodeImpl node, _PointImpl p) native;
_PointImpl webkitConvertPointFromPageToNode(_NodeImpl node, _PointImpl p) native;
void webkitPostMessage(message, String targetOrigin, [List transferList]) native;
- int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback) native;
-
void webkitRequestFileSystem(int type, int size, FileSystemCallback successCallback, [ErrorCallback errorCallback]) native;
void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallback, ErrorCallback errorCallback]) native;
« no previous file with comments | « no previous file | lib/html/dartium/html_dartium.dart » ('j') | tests/html/callbacks_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698