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

Side by Side Diff: cc/trees/property_animation_state.cc

Issue 2502663003: CC Animation: Move PropertyAnimationState and TargetProperty to trees. (Closed)
Patch Set: Created 4 years, 1 month 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/trees/property_animation_state.h ('k') | cc/trees/target_property.h » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "cc/animation/property_animation_state.h" 5 #include "cc/trees/property_animation_state.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace cc { 9 namespace cc {
10 10
11 PropertyAnimationState::PropertyAnimationState() {} 11 PropertyAnimationState::PropertyAnimationState() {}
12 12
13 PropertyAnimationState::PropertyAnimationState( 13 PropertyAnimationState::PropertyAnimationState(
14 const PropertyAnimationState& rhs) 14 const PropertyAnimationState& rhs)
15 : currently_running(rhs.currently_running), 15 : currently_running(rhs.currently_running),
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 TargetProperties result = potentially_animating | ~currently_running; 65 TargetProperties result = potentially_animating | ~currently_running;
66 return result.all(); 66 return result.all();
67 } 67 }
68 68
69 void PropertyAnimationState::Clear() { 69 void PropertyAnimationState::Clear() {
70 currently_running.reset(); 70 currently_running.reset();
71 potentially_animating.reset(); 71 potentially_animating.reset();
72 } 72 }
73 73
74 } // namespace cc 74 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/property_animation_state.h ('k') | cc/trees/target_property.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698