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

Side by Side Diff: ui/compositor/test/test_layer_animation_delegate.cc

Issue 11896017: Thread ui opacity animations (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix ash_unittests Created 7 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/compositor/test/test_layer_animation_delegate.h" 5 #include "ui/compositor/test/test_layer_animation_delegate.h"
6 6
7 namespace ui { 7 namespace ui {
8 8
9 TestLayerAnimationDelegate::TestLayerAnimationDelegate() 9 TestLayerAnimationDelegate::TestLayerAnimationDelegate()
10 : opacity_(1.0f), 10 : opacity_(1.0f),
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 } 81 }
82 82
83 float TestLayerAnimationDelegate::GetGrayscaleForAnimation() const { 83 float TestLayerAnimationDelegate::GetGrayscaleForAnimation() const {
84 return grayscale_; 84 return grayscale_;
85 } 85 }
86 86
87 SkColor TestLayerAnimationDelegate::GetColorForAnimation() const { 87 SkColor TestLayerAnimationDelegate::GetColorForAnimation() const {
88 return color_; 88 return color_;
89 } 89 }
90 90
91 void TestLayerAnimationDelegate::AddThreadedAnimation(
92 scoped_ptr<cc::Animation> animation) {
93 }
94
95 void TestLayerAnimationDelegate::RemoveThreadedAnimation(int animation_id) {
96 }
97
91 } // namespace ui 98 } // namespace ui
OLDNEW
« no previous file with comments | « ui/compositor/test/test_layer_animation_delegate.h ('k') | webkit/compositor_bindings/compositor_bindings.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698