| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_IMPL_H_ | 5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_ |
| 6 #define CC_TREES_LAYER_TREE_IMPL_H_ | 6 #define CC_TREES_LAYER_TREE_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 void set_needs_full_tree_sync(bool needs) { needs_full_tree_sync_ = needs; } | 271 void set_needs_full_tree_sync(bool needs) { needs_full_tree_sync_ = needs; } |
| 272 bool needs_full_tree_sync() const { return needs_full_tree_sync_; } | 272 bool needs_full_tree_sync() const { return needs_full_tree_sync_; } |
| 273 | 273 |
| 274 void ForceRedrawNextActivation() { next_activation_forces_redraw_ = true; } | 274 void ForceRedrawNextActivation() { next_activation_forces_redraw_ = true; } |
| 275 | 275 |
| 276 void set_has_ever_been_drawn(bool has_drawn) { | 276 void set_has_ever_been_drawn(bool has_drawn) { |
| 277 has_ever_been_drawn_ = has_drawn; | 277 has_ever_been_drawn_ = has_drawn; |
| 278 } | 278 } |
| 279 bool has_ever_been_drawn() const { return has_ever_been_drawn_; } | 279 bool has_ever_been_drawn() const { return has_ever_been_drawn_; } |
| 280 | 280 |
| 281 void set_ui_resource_request_queue(const UIResourceRequestQueue& queue); | 281 void set_ui_resource_request_queue(UIResourceRequestQueue queue); |
| 282 | 282 |
| 283 const LayerImplList& RenderSurfaceLayerList() const; | 283 const LayerImplList& RenderSurfaceLayerList() const; |
| 284 const Region& UnoccludedScreenSpaceRegion() const; | 284 const Region& UnoccludedScreenSpaceRegion() const; |
| 285 | 285 |
| 286 // These return the size of the root scrollable area and the size of | 286 // These return the size of the root scrollable area and the size of |
| 287 // the user-visible scrolling viewport, in CSS layout coordinates. | 287 // the user-visible scrolling viewport, in CSS layout coordinates. |
| 288 gfx::SizeF ScrollableSize() const; | 288 gfx::SizeF ScrollableSize() const; |
| 289 gfx::SizeF ScrollableViewportSize() const; | 289 gfx::SizeF ScrollableViewportSize() const; |
| 290 | 290 |
| 291 gfx::Rect RootScrollLayerDeviceViewportBounds() const; | 291 gfx::Rect RootScrollLayerDeviceViewportBounds() const; |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 554 | 554 |
| 555 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; | 555 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; |
| 556 | 556 |
| 557 private: | 557 private: |
| 558 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 558 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
| 559 }; | 559 }; |
| 560 | 560 |
| 561 } // namespace cc | 561 } // namespace cc |
| 562 | 562 |
| 563 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 563 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
| OLD | NEW |