| 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 29 matching lines...) Expand all Loading... |
| 40 class LayerTreeSettings; | 40 class LayerTreeSettings; |
| 41 class MemoryHistory; | 41 class MemoryHistory; |
| 42 class OutputSurface; | 42 class OutputSurface; |
| 43 class PageScaleAnimation; | 43 class PageScaleAnimation; |
| 44 class PaintTimeCounter; | 44 class PaintTimeCounter; |
| 45 class PictureLayerImpl; | 45 class PictureLayerImpl; |
| 46 class Proxy; | 46 class Proxy; |
| 47 class ResourceProvider; | 47 class ResourceProvider; |
| 48 class TileManager; | 48 class TileManager; |
| 49 class UIResourceRequest; | 49 class UIResourceRequest; |
| 50 class VideoFrameControllerClient; |
| 50 struct PendingPageScaleAnimation; | 51 struct PendingPageScaleAnimation; |
| 51 struct RendererCapabilities; | 52 struct RendererCapabilities; |
| 52 struct SelectionHandle; | 53 struct SelectionHandle; |
| 53 | 54 |
| 54 typedef std::vector<UIResourceRequest> UIResourceRequestQueue; | 55 typedef std::vector<UIResourceRequest> UIResourceRequestQueue; |
| 55 typedef SyncedProperty<AdditionGroup<float>> SyncedTopControls; | 56 typedef SyncedProperty<AdditionGroup<float>> SyncedTopControls; |
| 56 typedef SyncedProperty<AdditionGroup<gfx::Vector2dF>> SyncedElasticOverscroll; | 57 typedef SyncedProperty<AdditionGroup<gfx::Vector2dF>> SyncedElasticOverscroll; |
| 57 | 58 |
| 58 class CC_EXPORT LayerTreeImpl { | 59 class CC_EXPORT LayerTreeImpl { |
| 59 public: | 60 public: |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController( | 104 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController( |
| 104 LayerImpl* scrolling_layer); | 105 LayerImpl* scrolling_layer); |
| 105 void DidAnimateScrollOffset(); | 106 void DidAnimateScrollOffset(); |
| 106 void InputScrollAnimationFinished(); | 107 void InputScrollAnimationFinished(); |
| 107 bool use_gpu_rasterization() const; | 108 bool use_gpu_rasterization() const; |
| 108 GpuRasterizationStatus GetGpuRasterizationStatus() const; | 109 GpuRasterizationStatus GetGpuRasterizationStatus() const; |
| 109 bool create_low_res_tiling() const; | 110 bool create_low_res_tiling() const; |
| 110 BlockingTaskRunner* BlockingMainThreadTaskRunner() const; | 111 BlockingTaskRunner* BlockingMainThreadTaskRunner() const; |
| 111 bool RequiresHighResToDraw() const; | 112 bool RequiresHighResToDraw() const; |
| 112 bool SmoothnessTakesPriority() const; | 113 bool SmoothnessTakesPriority() const; |
| 114 VideoFrameControllerClient* GetVideoFrameControllerClient() const; |
| 113 | 115 |
| 114 // Tree specific methods exposed to layer-impl tree. | 116 // Tree specific methods exposed to layer-impl tree. |
| 115 // --------------------------------------------------------------------------- | 117 // --------------------------------------------------------------------------- |
| 116 void SetNeedsRedraw(); | 118 void SetNeedsRedraw(); |
| 117 | 119 |
| 118 // Tracing methods. | 120 // Tracing methods. |
| 119 // --------------------------------------------------------------------------- | 121 // --------------------------------------------------------------------------- |
| 120 void GetAllTilesAndPrioritiesForTracing( | 122 void GetAllTilesAndPrioritiesForTracing( |
| 121 std::map<const Tile*, TilePriority>* tile_map) const; | 123 std::map<const Tile*, TilePriority>* tile_map) const; |
| 122 void AsValueInto(base::trace_event::TracedValue* dict) const; | 124 void AsValueInto(base::trace_event::TracedValue* dict) const; |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 | 424 |
| 423 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; | 425 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; |
| 424 | 426 |
| 425 private: | 427 private: |
| 426 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 428 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
| 427 }; | 429 }; |
| 428 | 430 |
| 429 } // namespace cc | 431 } // namespace cc |
| 430 | 432 |
| 431 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 433 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
| OLD | NEW |