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

Side by Side Diff: cc/test/animation_timelines_test_common.h

Issue 1222243005: Fix unused variables errors in cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nacl_private_fields
Patch Set: review comments Created 5 years, 5 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
« no previous file with comments | « cc/raster/gpu_tile_task_worker_pool.cc ('k') | cc/test/animation_timelines_test_common.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef CC_TEST_ANIMATION_TIMELINES_TEST_COMMON_H_ 5 #ifndef CC_TEST_ANIMATION_TIMELINES_TEST_COMMON_H_
6 #define CC_TEST_ANIMATION_TIMELINES_TEST_COMMON_H_ 6 #define CC_TEST_ANIMATION_TIMELINES_TEST_COMMON_H_
7 7
8 #include "base/containers/scoped_ptr_hash_map.h" 8 #include "base/containers/scoped_ptr_hash_map.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "cc/animation/animation.h" 10 #include "cc/animation/animation.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 float opacity_; 62 float opacity_;
63 float brightness_; 63 float brightness_;
64 gfx::ScrollOffset scroll_offset_; 64 gfx::ScrollOffset scroll_offset_;
65 65
66 bool mutated_properties_[Animation::LAST_TARGET_PROPERTY + 1]; 66 bool mutated_properties_[Animation::LAST_TARGET_PROPERTY + 1];
67 }; 67 };
68 68
69 class TestHostClient : public MutatorHostClient { 69 class TestHostClient : public MutatorHostClient {
70 public: 70 public:
71 explicit TestHostClient(ThreadInstance thread_instance); 71 TestHostClient();
72 ~TestHostClient(); 72 ~TestHostClient();
73 73
74 void ClearMutatedProperties(); 74 void ClearMutatedProperties();
75 75
76 bool IsLayerInTree(int layer_id, LayerTreeType tree_type) const override; 76 bool IsLayerInTree(int layer_id, LayerTreeType tree_type) const override;
77 77
78 void SetMutatorsNeedCommit() override; 78 void SetMutatorsNeedCommit() override;
79 79
80 void SetLayerFilterMutated(int layer_id, 80 void SetLayerFilterMutated(int layer_id,
81 LayerTreeType tree_type, 81 LayerTreeType tree_type,
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 scoped_refptr<AnimationTimeline> timeline_; 181 scoped_refptr<AnimationTimeline> timeline_;
182 scoped_refptr<AnimationPlayer> player_; 182 scoped_refptr<AnimationPlayer> player_;
183 183
184 scoped_refptr<AnimationTimeline> timeline_impl_; 184 scoped_refptr<AnimationTimeline> timeline_impl_;
185 scoped_refptr<AnimationPlayer> player_impl_; 185 scoped_refptr<AnimationPlayer> player_impl_;
186 }; 186 };
187 187
188 } // namespace cc 188 } // namespace cc
189 189
190 #endif // CC_TEST_ANIMATION_TIMELINES_TEST_COMMON_H_ 190 #endif // CC_TEST_ANIMATION_TIMELINES_TEST_COMMON_H_
OLDNEW
« no previous file with comments | « cc/raster/gpu_tile_task_worker_pool.cc ('k') | cc/test/animation_timelines_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698