Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: cc/trees/layer_tree_host_impl.h

Issue 2720713004: Reland: Refactor unreliable hit test code to avoid owning_layers (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/layers/layer_impl.h ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 // Returns true if status changed. 650 // Returns true if status changed.
651 bool UpdateGpuRasterizationStatus(); 651 bool UpdateGpuRasterizationStatus();
652 void UpdateTreeResourcesForGpuRasterizationIfNeeded(); 652 void UpdateTreeResourcesForGpuRasterizationIfNeeded();
653 653
654 Viewport* viewport() const { return viewport_.get(); } 654 Viewport* viewport() const { return viewport_.get(); }
655 655
656 InputHandler::ScrollStatus ScrollBeginImpl( 656 InputHandler::ScrollStatus ScrollBeginImpl(
657 ScrollState* scroll_state, 657 ScrollState* scroll_state,
658 LayerImpl* scrolling_layer_impl, 658 LayerImpl* scrolling_layer_impl,
659 InputHandler::ScrollInputType type); 659 InputHandler::ScrollInputType type);
660 bool IsInitialScrollHitTestReliable(LayerImpl* layer, const gfx::PointF&);
660 void DistributeScrollDelta(ScrollState* scroll_state); 661 void DistributeScrollDelta(ScrollState* scroll_state);
661 662
662 bool AnimatePageScale(base::TimeTicks monotonic_time); 663 bool AnimatePageScale(base::TimeTicks monotonic_time);
663 bool AnimateScrollbars(base::TimeTicks monotonic_time); 664 bool AnimateScrollbars(base::TimeTicks monotonic_time);
664 bool AnimateBrowserControls(base::TimeTicks monotonic_time); 665 bool AnimateBrowserControls(base::TimeTicks monotonic_time);
665 666
666 void TrackDamageForAllSurfaces( 667 void TrackDamageForAllSurfaces(
667 const LayerImplList& render_surface_layer_list); 668 const LayerImplList& render_surface_layer_list);
668 669
669 void UpdateTileManagerMemoryPolicy(const ManagedMemoryPolicy& policy); 670 void UpdateTileManagerMemoryPolicy(const ManagedMemoryPolicy& policy);
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 840
840 std::unique_ptr<PendingTreeDurationHistogramTimer> 841 std::unique_ptr<PendingTreeDurationHistogramTimer>
841 pending_tree_duration_timer_; 842 pending_tree_duration_timer_;
842 843
843 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 844 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
844 }; 845 };
845 846
846 } // namespace cc 847 } // namespace cc
847 848
848 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 849 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/layer_impl.h ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698