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

Unified Diff: client/view/ConveyorView.dart

Issue 8360025: Move the individual property definitions from client/base/Css to CSSStyleDeclaration. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes. Created 9 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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/touch/Scroller.dart ('k') | client/view/PagedViews.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/view/ConveyorView.dart
diff --git a/client/view/ConveyorView.dart b/client/view/ConveyorView.dart
index 6b48ebdf436977627e0600ca99524ce5c78589a9..efcec80d40a528a8041af17c8d8f43e8dbd114d5 100644
--- a/client/view/ConveyorView.dart
+++ b/client/view/ConveyorView.dart
@@ -55,9 +55,9 @@ class ConveyorView extends CompositeView {
final style = container.style;
// TODO(jacobr): modify setTransitionDuration so the input is always
// specified in miliseconds rather than accepting a string.
- Css.setTransitionDuration(style, '${durationSeconds}s');
+ style.transitionDuration = '${durationSeconds}s';
final xTranslationPercent = -index * 100;
- Css.setTransform(style, 'translate3d(${xTranslationPercent}%, 0px, 0px)');
+ style.transform = 'translate3d(${xTranslationPercent}%, 0px, 0px)';
if (animationTimeoutId != null) {
window.clearTimeout(animationTimeoutId);
« no previous file with comments | « client/touch/Scroller.dart ('k') | client/view/PagedViews.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698