| 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 <list> | 8 #include <list> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 base::TimeDelta begin_impl_frame_interval() const; | 83 base::TimeDelta begin_impl_frame_interval() const; |
| 84 void SetNeedsCommit(); | 84 void SetNeedsCommit(); |
| 85 gfx::Rect DeviceViewport() const; | 85 gfx::Rect DeviceViewport() const; |
| 86 gfx::Size DrawViewportSize() const; | 86 gfx::Size DrawViewportSize() const; |
| 87 const gfx::Rect ViewportRectForTilePriority() const; | 87 const gfx::Rect ViewportRectForTilePriority() const; |
| 88 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController( | 88 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController( |
| 89 LayerImpl* scrolling_layer); | 89 LayerImpl* scrolling_layer); |
| 90 void DidAnimateScrollOffset(); | 90 void DidAnimateScrollOffset(); |
| 91 void InputScrollAnimationFinished(); | 91 void InputScrollAnimationFinished(); |
| 92 bool use_gpu_rasterization() const; | 92 bool use_gpu_rasterization() const; |
| 93 GpuRasterizationStatus GetGpuRasterizationStatus() const; |
| 93 bool create_low_res_tiling() const; | 94 bool create_low_res_tiling() const; |
| 94 BlockingTaskRunner* BlockingMainThreadTaskRunner() const; | 95 BlockingTaskRunner* BlockingMainThreadTaskRunner() const; |
| 95 bool RequiresHighResToDraw() const; | 96 bool RequiresHighResToDraw() const; |
| 96 bool SmoothnessTakesPriority() const; | 97 bool SmoothnessTakesPriority() const; |
| 97 | 98 |
| 98 // Tree specific methods exposed to layer-impl tree. | 99 // Tree specific methods exposed to layer-impl tree. |
| 99 // --------------------------------------------------------------------------- | 100 // --------------------------------------------------------------------------- |
| 100 void SetNeedsRedraw(); | 101 void SetNeedsRedraw(); |
| 101 | 102 |
| 102 // TODO(nduca): These are implemented in cc files temporarily, but will become | 103 // TODO(nduca): These are implemented in cc files temporarily, but will become |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 | 393 |
| 393 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; | 394 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; |
| 394 | 395 |
| 395 private: | 396 private: |
| 396 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 397 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
| 397 }; | 398 }; |
| 398 | 399 |
| 399 } // namespace cc | 400 } // namespace cc |
| 400 | 401 |
| 401 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 402 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
| OLD | NEW |