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