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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 // excludes the URL bar and non-overlay scrollbars and is in DIP (and | 216 // excludes the URL bar and non-overlay scrollbars and is in DIP (and |
217 // invariant relative to page scale). | 217 // invariant relative to page scale). |
218 gfx::SizeF UnscaledScrollableViewportSize() const; | 218 gfx::SizeF UnscaledScrollableViewportSize() const; |
219 float VerticalAdjust() const; | 219 float VerticalAdjust() const; |
220 | 220 |
221 // RendererClient implementation. | 221 // RendererClient implementation. |
222 virtual void SetFullRootLayerDamage() OVERRIDE; | 222 virtual void SetFullRootLayerDamage() OVERRIDE; |
223 | 223 |
224 // TileManagerClient implementation. | 224 // TileManagerClient implementation. |
225 virtual void NotifyReadyToActivate() OVERRIDE; | 225 virtual void NotifyReadyToActivate() OVERRIDE; |
| 226 virtual void NotifyTileInitialized(const Tile* tile) OVERRIDE; |
226 | 227 |
227 // OutputSurfaceClient implementation. | 228 // OutputSurfaceClient implementation. |
228 virtual void DeferredInitialize() OVERRIDE; | 229 virtual void DeferredInitialize() OVERRIDE; |
229 virtual void ReleaseGL() OVERRIDE; | 230 virtual void ReleaseGL() OVERRIDE; |
230 virtual void CommitVSyncParameters(base::TimeTicks timebase, | 231 virtual void CommitVSyncParameters(base::TimeTicks timebase, |
231 base::TimeDelta interval) OVERRIDE; | 232 base::TimeDelta interval) OVERRIDE; |
232 virtual void SetNeedsRedrawRect(const gfx::Rect& rect) OVERRIDE; | 233 virtual void SetNeedsRedrawRect(const gfx::Rect& rect) OVERRIDE; |
233 virtual void BeginFrame(const BeginFrameArgs& args) OVERRIDE; | 234 virtual void BeginFrame(const BeginFrameArgs& args) OVERRIDE; |
234 virtual void SetExternalDrawConstraints( | 235 virtual void SetExternalDrawConstraints( |
235 const gfx::Transform& transform, | 236 const gfx::Transform& transform, |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
655 int id_; | 656 int id_; |
656 | 657 |
657 std::set<SwapPromiseMonitor*> swap_promise_monitor_; | 658 std::set<SwapPromiseMonitor*> swap_promise_monitor_; |
658 | 659 |
659 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 660 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
660 }; | 661 }; |
661 | 662 |
662 } // namespace cc | 663 } // namespace cc |
663 | 664 |
664 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 665 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |