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

Unified Diff: samples/total/client/InnerMenuView.dart

Issue 10067009: Migrate the samples to one-argument version of requestAnimationFrame and re-enable the test. (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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samples/spirodraw/Spirodraw.dart ('k') | samples/ui_lib/base/AnimationScheduler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/total/client/InnerMenuView.dart
diff --git a/samples/total/client/InnerMenuView.dart b/samples/total/client/InnerMenuView.dart
index 4218ad02fb1e9920d4abb6d89618020b0229de8d..afc0c5d4bbc48aa141681ce8ef4823a098bdbf02 100644
--- a/samples/total/client/InnerMenuView.dart
+++ b/samples/total/client/InnerMenuView.dart
@@ -165,7 +165,7 @@ class InnerMenuView {
_row.on.transitionEnd.add(f);
_window.webkitRequestAnimationFrame((int time) {
_onRequestAnimationFrame(time);
- }, _row);
+ });
_row.on['DOMNodeRemoved'].add(void g(Event event) {
if (_row == event.target) {
@@ -199,7 +199,7 @@ class InnerMenuView {
_row.on.transitionEnd.add(f);
_window.webkitRequestAnimationFrame((int time) {
_onRequestAnimationFrame(time);
- }, _row);
+ });
}
bool isAttachedTo(TableRowElement row) => _row == row;
@@ -342,7 +342,7 @@ class InnerMenuView {
if (!_transitionDidComplete) {
_window.webkitRequestAnimationFrame((int time_) {
_onRequestAnimationFrame(time_);
- }, _row);
+ });
}
}
« no previous file with comments | « samples/spirodraw/Spirodraw.dart ('k') | samples/ui_lib/base/AnimationScheduler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698