OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #ifndef CC_TREES_LAYER_TREE_IMPL_H_ | 5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_ |
6 #define CC_TREES_LAYER_TREE_IMPL_H_ | 6 #define CC_TREES_LAYER_TREE_IMPL_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 void set_top_controls_height(float top_controls_height); | 333 void set_top_controls_height(float top_controls_height); |
334 float top_controls_height() const { return top_controls_height_; } | 334 float top_controls_height() const { return top_controls_height_; } |
335 void PushTopControlsFromMainThread(float top_controls_shown_ratio); | 335 void PushTopControlsFromMainThread(float top_controls_shown_ratio); |
336 | 336 |
337 void SetPendingPageScaleAnimation( | 337 void SetPendingPageScaleAnimation( |
338 scoped_ptr<PendingPageScaleAnimation> pending_animation); | 338 scoped_ptr<PendingPageScaleAnimation> pending_animation); |
339 scoped_ptr<PendingPageScaleAnimation> TakePendingPageScaleAnimation(); | 339 scoped_ptr<PendingPageScaleAnimation> TakePendingPageScaleAnimation(); |
340 | 340 |
341 void GatherFrameTimingRequestIds(std::vector<int64_t>* request_ids); | 341 void GatherFrameTimingRequestIds(std::vector<int64_t>* request_ids); |
342 | 342 |
343 bool IsExternalScrollActive() const; | |
344 void DidUpdateScrollOffset(int layer_id); | 343 void DidUpdateScrollOffset(int layer_id); |
345 | 344 |
346 bool IsAnimatingFilterProperty(const LayerImpl* layer) const; | 345 bool IsAnimatingFilterProperty(const LayerImpl* layer) const; |
347 bool IsAnimatingOpacityProperty(const LayerImpl* layer) const; | 346 bool IsAnimatingOpacityProperty(const LayerImpl* layer) const; |
348 bool IsAnimatingTransformProperty(const LayerImpl* layer) const; | 347 bool IsAnimatingTransformProperty(const LayerImpl* layer) const; |
349 | 348 |
350 bool HasPotentiallyRunningOpacityAnimation(const LayerImpl* layer) const; | 349 bool HasPotentiallyRunningOpacityAnimation(const LayerImpl* layer) const; |
351 bool HasPotentiallyRunningTransformAnimation(const LayerImpl* layer) const; | 350 bool HasPotentiallyRunningTransformAnimation(const LayerImpl* layer) const; |
352 | 351 |
353 bool HasAnyAnimationTargetingProperty( | 352 bool HasAnyAnimationTargetingProperty( |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 | 452 |
454 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; | 453 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; |
455 | 454 |
456 private: | 455 private: |
457 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 456 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
458 }; | 457 }; |
459 | 458 |
460 } // namespace cc | 459 } // namespace cc |
461 | 460 |
462 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 461 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
OLD | NEW |