| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <bitset> | 10 #include <bitset> |
| (...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 680 void NotifySwapPromiseMonitorsOfForwardingToMainThread(); | 680 void NotifySwapPromiseMonitorsOfForwardingToMainThread(); |
| 681 | 681 |
| 682 void UpdateRootLayerStateForSynchronousInputHandler(); | 682 void UpdateRootLayerStateForSynchronousInputHandler(); |
| 683 | 683 |
| 684 void ScrollAnimationAbort(LayerImpl* layer_impl); | 684 void ScrollAnimationAbort(LayerImpl* layer_impl); |
| 685 | 685 |
| 686 bool ScrollAnimationUpdateTarget(ScrollNode* scroll_node, | 686 bool ScrollAnimationUpdateTarget(ScrollNode* scroll_node, |
| 687 const gfx::Vector2dF& scroll_delta, | 687 const gfx::Vector2dF& scroll_delta, |
| 688 base::TimeDelta delayed_by); | 688 base::TimeDelta delayed_by); |
| 689 | 689 |
| 690 void SetCompositorContextVisibility(bool is_visible); | 690 void SetContextVisibility(bool is_visible); |
| 691 void SetWorkerContextVisibility(bool is_visible); | |
| 692 | 691 |
| 693 using UIResourceMap = std::unordered_map<UIResourceId, UIResourceData>; | 692 using UIResourceMap = std::unordered_map<UIResourceId, UIResourceData>; |
| 694 UIResourceMap ui_resource_map_; | 693 UIResourceMap ui_resource_map_; |
| 695 | 694 |
| 696 // Resources that were evicted by EvictAllUIResources. Resources are removed | 695 // Resources that were evicted by EvictAllUIResources. Resources are removed |
| 697 // from this when they are touched by a create or destroy from the UI resource | 696 // from this when they are touched by a create or destroy from the UI resource |
| 698 // request queue. | 697 // request queue. |
| 699 std::set<UIResourceId> evicted_ui_resources_; | 698 std::set<UIResourceId> evicted_ui_resources_; |
| 700 | 699 |
| 701 CompositorFrameSink* compositor_frame_sink_; | 700 CompositorFrameSink* compositor_frame_sink_; |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 827 | 826 |
| 828 std::unique_ptr<PendingTreeDurationHistogramTimer> | 827 std::unique_ptr<PendingTreeDurationHistogramTimer> |
| 829 pending_tree_duration_timer_; | 828 pending_tree_duration_timer_; |
| 830 | 829 |
| 831 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 830 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 832 }; | 831 }; |
| 833 | 832 |
| 834 } // namespace cc | 833 } // namespace cc |
| 835 | 834 |
| 836 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 835 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |