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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 // excludes the URL bar and non-overlay scrollbars and is in DIP (and | 212 // excludes the URL bar and non-overlay scrollbars and is in DIP (and |
213 // invariant relative to page scale). | 213 // invariant relative to page scale). |
214 gfx::SizeF UnscaledScrollableViewportSize() const; | 214 gfx::SizeF UnscaledScrollableViewportSize() const; |
215 float VerticalAdjust() const; | 215 float VerticalAdjust() const; |
216 | 216 |
217 // RendererClient implementation. | 217 // RendererClient implementation. |
218 virtual void SetFullRootLayerDamage() OVERRIDE; | 218 virtual void SetFullRootLayerDamage() OVERRIDE; |
219 | 219 |
220 // TileManagerClient implementation. | 220 // TileManagerClient implementation. |
221 virtual void NotifyReadyToActivate() OVERRIDE; | 221 virtual void NotifyReadyToActivate() OVERRIDE; |
| 222 virtual void NotifyTileInitialized(const Tile* tile) OVERRIDE; |
222 | 223 |
223 // OutputSurfaceClient implementation. | 224 // OutputSurfaceClient implementation. |
224 virtual bool DeferredInitialize( | 225 virtual bool DeferredInitialize( |
225 scoped_refptr<ContextProvider> offscreen_context_provider) OVERRIDE; | 226 scoped_refptr<ContextProvider> offscreen_context_provider) 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, |
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
658 int id_; | 659 int id_; |
659 | 660 |
660 std::set<SwapPromiseMonitor*> swap_promise_monitor_; | 661 std::set<SwapPromiseMonitor*> swap_promise_monitor_; |
661 | 662 |
662 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 663 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
663 }; | 664 }; |
664 | 665 |
665 } // namespace cc | 666 } // namespace cc |
666 | 667 |
667 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 668 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |