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

Unified Diff: lib/html/templates/html/dartium/impl_Window.darttemplate

Issue 10979030: "Reverting 12887" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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
« no previous file with comments | « lib/html/scripts/systemhtml.py ('k') | lib/html/templates/html/interface/interface_Window.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/templates/html/dartium/impl_Window.darttemplate
diff --git a/lib/html/templates/html/dartium/impl_Window.darttemplate b/lib/html/templates/html/dartium/impl_Window.darttemplate
index ac6f2d15d45450a26acdfe3683a7629910f49c9c..fab97f7b8682737a37daebcb1489011c502990ce 100644
--- a/lib/html/templates/html/dartium/impl_Window.darttemplate
+++ b/lib/html/templates/html/dartium/impl_Window.darttemplate
@@ -8,6 +8,11 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
_addMeasurementFrameCallback(callback);
}
+ int requestAnimationFrame(RequestAnimationFrameCallback callback) =>
+ webkitRequestAnimationFrame(callback);
+
+ void cancelAnimationFrame(int id) => webkitCancelAnimationFrame(id);
+
// TODO(kasperl): Document these.
lookupPort(String name) {
var port = JSON.parse(localStorage['dart-port:$name']);
« no previous file with comments | « lib/html/scripts/systemhtml.py ('k') | lib/html/templates/html/interface/interface_Window.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698