OLD | NEW |
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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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( |
221 Animation::TargetProperty property) const; | 221 AnimationTargetProperty::Enum property) const; |
222 | 222 |
223 bool ScrollOffsetAnimationWasInterrupted() const; | 223 bool ScrollOffsetAnimationWasInterrupted() const; |
224 | 224 |
225 void SetScrollParent(Layer* parent); | 225 void SetScrollParent(Layer* parent); |
226 | 226 |
227 Layer* scroll_parent() { return scroll_parent_; } | 227 Layer* scroll_parent() { return scroll_parent_; } |
228 const Layer* scroll_parent() const { return scroll_parent_; } | 228 const Layer* scroll_parent() const { return scroll_parent_; } |
229 | 229 |
230 void AddScrollChild(Layer* child); | 230 void AddScrollChild(Layer* child); |
231 void RemoveScrollChild(Layer* child); | 231 void RemoveScrollChild(Layer* child); |
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
792 | 792 |
793 std::vector<FrameTimingRequest> frame_timing_requests_; | 793 std::vector<FrameTimingRequest> frame_timing_requests_; |
794 bool frame_timing_requests_dirty_; | 794 bool frame_timing_requests_dirty_; |
795 | 795 |
796 DISALLOW_COPY_AND_ASSIGN(Layer); | 796 DISALLOW_COPY_AND_ASSIGN(Layer); |
797 }; | 797 }; |
798 | 798 |
799 } // namespace cc | 799 } // namespace cc |
800 | 800 |
801 #endif // CC_LAYERS_LAYER_H_ | 801 #endif // CC_LAYERS_LAYER_H_ |
OLD | NEW |