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 <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 void DidAnimateScrollOffset(); | 111 void DidAnimateScrollOffset(); |
112 bool use_gpu_rasterization() const; | 112 bool use_gpu_rasterization() const; |
113 GpuRasterizationStatus GetGpuRasterizationStatus() const; | 113 GpuRasterizationStatus GetGpuRasterizationStatus() const; |
114 bool create_low_res_tiling() const; | 114 bool create_low_res_tiling() const; |
115 bool RequiresHighResToDraw() const; | 115 bool RequiresHighResToDraw() const; |
116 bool SmoothnessTakesPriority() const; | 116 bool SmoothnessTakesPriority() const; |
117 VideoFrameControllerClient* GetVideoFrameControllerClient() const; | 117 VideoFrameControllerClient* GetVideoFrameControllerClient() const; |
118 AnimationHost* animation_host() const { | 118 AnimationHost* animation_host() const { |
119 return layer_tree_host_impl_->animation_host(); | 119 return layer_tree_host_impl_->animation_host(); |
120 } | 120 } |
| 121 void SetFixedRasterScaleHasBlurryContent(); |
| 122 void SetFixedRasterScaleAttemptedToChangeScale(); |
121 | 123 |
122 // Tree specific methods exposed to layer-impl tree. | 124 // Tree specific methods exposed to layer-impl tree. |
123 // --------------------------------------------------------------------------- | 125 // --------------------------------------------------------------------------- |
124 void SetNeedsRedraw(); | 126 void SetNeedsRedraw(); |
125 | 127 |
126 // Tracing methods. | 128 // Tracing methods. |
127 // --------------------------------------------------------------------------- | 129 // --------------------------------------------------------------------------- |
128 void GetAllPrioritizedTilesForTracing( | 130 void GetAllPrioritizedTilesForTracing( |
129 std::vector<PrioritizedTile>* prioritized_tiles) const; | 131 std::vector<PrioritizedTile>* prioritized_tiles) const; |
130 void AsValueInto(base::trace_event::TracedValue* dict) const; | 132 void AsValueInto(base::trace_event::TracedValue* dict) const; |
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
588 | 590 |
589 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; | 591 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; |
590 | 592 |
591 private: | 593 private: |
592 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 594 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
593 }; | 595 }; |
594 | 596 |
595 } // namespace cc | 597 } // namespace cc |
596 | 598 |
597 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 599 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
OLD | NEW |