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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 // excludes the URL bar and non-overlay scrollbars and is in DIP (and | 213 // excludes the URL bar and non-overlay scrollbars and is in DIP (and |
214 // invariant relative to page scale). | 214 // invariant relative to page scale). |
215 gfx::SizeF UnscaledScrollableViewportSize() const; | 215 gfx::SizeF UnscaledScrollableViewportSize() const; |
216 float VerticalAdjust() const; | 216 float VerticalAdjust() const; |
217 | 217 |
218 // RendererClient implementation. | 218 // RendererClient implementation. |
219 virtual void SetFullRootLayerDamage() OVERRIDE; | 219 virtual void SetFullRootLayerDamage() OVERRIDE; |
220 | 220 |
221 // TileManagerClient implementation. | 221 // TileManagerClient implementation. |
222 virtual void NotifyReadyToActivate() OVERRIDE; | 222 virtual void NotifyReadyToActivate() OVERRIDE; |
| 223 virtual void NotifyTileInitialized(const Tile* tile) OVERRIDE; |
223 | 224 |
224 // OutputSurfaceClient implementation. | 225 // OutputSurfaceClient implementation. |
225 virtual void DeferredInitialize() OVERRIDE; | 226 virtual void DeferredInitialize() OVERRIDE; |
226 virtual void ReleaseGL() OVERRIDE; | 227 virtual void ReleaseGL() OVERRIDE; |
227 virtual void SetNeedsRedrawRect(const gfx::Rect& rect) OVERRIDE; | 228 virtual void SetNeedsRedrawRect(const gfx::Rect& rect) OVERRIDE; |
228 virtual void BeginFrame(const BeginFrameArgs& args) OVERRIDE; | 229 virtual void BeginFrame(const BeginFrameArgs& args) OVERRIDE; |
229 virtual void SetExternalDrawConstraints( | 230 virtual void SetExternalDrawConstraints( |
230 const gfx::Transform& transform, | 231 const gfx::Transform& transform, |
231 const gfx::Rect& viewport, | 232 const gfx::Rect& viewport, |
232 const gfx::Rect& clip, | 233 const gfx::Rect& clip, |
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
649 int id_; | 650 int id_; |
650 | 651 |
651 std::set<SwapPromiseMonitor*> swap_promise_monitor_; | 652 std::set<SwapPromiseMonitor*> swap_promise_monitor_; |
652 | 653 |
653 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 654 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
654 }; | 655 }; |
655 | 656 |
656 } // namespace cc | 657 } // namespace cc |
657 | 658 |
658 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 659 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |