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 HasPotentiallyRunningFilterAnimation(const LayerImpl* layer) const; | 349 bool HasPotentiallyRunningFilterAnimation(const LayerImpl* layer) const; |
351 bool HasPotentiallyRunningOpacityAnimation(const LayerImpl* layer) const; | 350 bool HasPotentiallyRunningOpacityAnimation(const LayerImpl* layer) const; |
352 bool HasPotentiallyRunningTransformAnimation(const LayerImpl* layer) const; | 351 bool HasPotentiallyRunningTransformAnimation(const LayerImpl* layer) const; |
353 | 352 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 | 453 |
455 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; | 454 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; |
456 | 455 |
457 private: | 456 private: |
458 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 457 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
459 }; | 458 }; |
460 | 459 |
461 } // namespace cc | 460 } // namespace cc |
462 | 461 |
463 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 462 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
OLD | NEW |