OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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_HOST_IMPL_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 gfx::Size DrawViewportSize() const; | 223 gfx::Size DrawViewportSize() const; |
224 | 224 |
225 // Viewport size for scrolling and fixed-position compensation. This value | 225 // Viewport size for scrolling and fixed-position compensation. This value |
226 // excludes the URL bar and non-overlay scrollbars and is in DIP (and | 226 // excludes the URL bar and non-overlay scrollbars and is in DIP (and |
227 // invariant relative to page scale). | 227 // invariant relative to page scale). |
228 gfx::SizeF UnscaledScrollableViewportSize() const; | 228 gfx::SizeF UnscaledScrollableViewportSize() const; |
229 float VerticalAdjust() const; | 229 float VerticalAdjust() const; |
230 | 230 |
231 // RendererClient implementation. | 231 // RendererClient implementation. |
232 virtual void SetFullRootLayerDamage() OVERRIDE; | 232 virtual void SetFullRootLayerDamage() OVERRIDE; |
| 233 virtual bool UseTaskGraphRunnerForOnDemandRaster() OVERRIDE; |
233 | 234 |
234 // TileManagerClient implementation. | 235 // TileManagerClient implementation. |
235 virtual const std::vector<PictureLayerImpl*>& GetPictureLayers() OVERRIDE; | 236 virtual const std::vector<PictureLayerImpl*>& GetPictureLayers() OVERRIDE; |
236 virtual void NotifyReadyToActivate() OVERRIDE; | 237 virtual void NotifyReadyToActivate() OVERRIDE; |
237 virtual void NotifyTileStateChanged(const Tile* tile) OVERRIDE; | 238 virtual void NotifyTileStateChanged(const Tile* tile) OVERRIDE; |
238 | 239 |
239 // ScrollbarAnimationControllerClient implementation. | 240 // ScrollbarAnimationControllerClient implementation. |
240 virtual void PostDelayedScrollbarFade(const base::Closure& start_fade, | 241 virtual void PostDelayedScrollbarFade(const base::Closure& start_fade, |
241 base::TimeDelta delay) OVERRIDE; | 242 base::TimeDelta delay) OVERRIDE; |
242 virtual void SetNeedsScrollbarAnimationFrame() OVERRIDE; | 243 virtual void SetNeedsScrollbarAnimationFrame() OVERRIDE; |
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
695 size_t transfer_buffer_memory_limit_; | 696 size_t transfer_buffer_memory_limit_; |
696 | 697 |
697 std::vector<PictureLayerImpl*> picture_layers_; | 698 std::vector<PictureLayerImpl*> picture_layers_; |
698 | 699 |
699 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 700 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
700 }; | 701 }; |
701 | 702 |
702 } // namespace cc | 703 } // namespace cc |
703 | 704 |
704 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 705 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |