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

Side by Side Diff: cc/layers/layer.h

Issue 1698813002: CC Animation: Expose TargetProperty enum to be aliased in Blink Platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use custom hash in unordered_set. Created 4 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 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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_LAYERS_LAYER_H_ 5 #ifndef CC_LAYERS_LAYER_H_
6 #define CC_LAYERS_LAYER_H_ 6 #define CC_LAYERS_LAYER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 bool HasOnlyTranslationTransforms() const; 210 bool HasOnlyTranslationTransforms() const;
211 bool AnimationsPreserveAxisAlignment() const; 211 bool AnimationsPreserveAxisAlignment() const;
212 bool transform_is_invertible() const { return transform_is_invertible_; } 212 bool transform_is_invertible() const { return transform_is_invertible_; }
213 213
214 bool MaximumTargetScale(float* max_scale) const; 214 bool MaximumTargetScale(float* max_scale) const;
215 bool AnimationStartScale(float* start_scale) const; 215 bool AnimationStartScale(float* start_scale) const;
216 216
217 void SetTransformOrigin(const gfx::Point3F&); 217 void SetTransformOrigin(const gfx::Point3F&);
218 gfx::Point3F transform_origin() const { return transform_origin_; } 218 gfx::Point3F transform_origin() const { return transform_origin_; }
219 219
220 bool HasAnyAnimationTargetingProperty( 220 bool HasAnyAnimationTargetingProperty(AnimationTargetProperty property) const;
221 Animation::TargetProperty property) const;
222 221
223 bool ScrollOffsetAnimationWasInterrupted() const; 222 bool ScrollOffsetAnimationWasInterrupted() const;
224 223
225 void SetScrollParent(Layer* parent); 224 void SetScrollParent(Layer* parent);
226 225
227 Layer* scroll_parent() { return scroll_parent_; } 226 Layer* scroll_parent() { return scroll_parent_; }
228 const Layer* scroll_parent() const { return scroll_parent_; } 227 const Layer* scroll_parent() const { return scroll_parent_; }
229 228
230 void AddScrollChild(Layer* child); 229 void AddScrollChild(Layer* child);
231 void RemoveScrollChild(Layer* child); 230 void RemoveScrollChild(Layer* child);
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 791
793 std::vector<FrameTimingRequest> frame_timing_requests_; 792 std::vector<FrameTimingRequest> frame_timing_requests_;
794 bool frame_timing_requests_dirty_; 793 bool frame_timing_requests_dirty_;
795 794
796 DISALLOW_COPY_AND_ASSIGN(Layer); 795 DISALLOW_COPY_AND_ASSIGN(Layer);
797 }; 796 };
798 797
799 } // namespace cc 798 } // namespace cc
800 799
801 #endif // CC_LAYERS_LAYER_H_ 800 #endif // CC_LAYERS_LAYER_H_
OLDNEW
« cc/animation/layer_animation_controller.h ('K') | « cc/cc.gyp ('k') | cc/layers/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698