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

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

Issue 2201853002: Blink handle selection handle visibility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move mouse/keyboard handle clearing to blink Created 4 years, 2 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 | « no previous file | cc/trees/layer_tree_host_impl.cc » ('j') | cc/trees/layer_tree_host_impl.cc » ('J')
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 648 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 bool AnimateTopControls(base::TimeTicks monotonic_time); 659 bool AnimateTopControls(base::TimeTicks monotonic_time);
660 660
661 void TrackDamageForAllSurfaces( 661 void TrackDamageForAllSurfaces(
662 const LayerImplList& render_surface_layer_list); 662 const LayerImplList& render_surface_layer_list);
663 663
664 void UpdateTileManagerMemoryPolicy(const ManagedMemoryPolicy& policy); 664 void UpdateTileManagerMemoryPolicy(const ManagedMemoryPolicy& policy);
665 665
666 // This function should only be called from PrepareToDraw, as DidDrawAllLayers 666 // This function should only be called from PrepareToDraw, as DidDrawAllLayers
667 // must be called if this helper function is called. Returns DRAW_SUCCESS if 667 // must be called if this helper function is called. Returns DRAW_SUCCESS if
668 // the frame should be drawn. 668 // the frame should be drawn.
669 DrawResult CalculateRenderPasses(FrameData* frame); 669 DrawResult CalculateRenderPasses(FrameData* frame,
670 bool handle_visibility_changed);
670 671
671 void ClearCurrentlyScrollingLayer(); 672 void ClearCurrentlyScrollingLayer();
672 673
673 void HandleMouseOverScrollbar(LayerImpl* layer_impl); 674 void HandleMouseOverScrollbar(LayerImpl* layer_impl);
674 675
675 LayerImpl* FindScrollLayerForDeviceViewportPoint( 676 LayerImpl* FindScrollLayerForDeviceViewportPoint(
676 const gfx::PointF& device_viewport_point, 677 const gfx::PointF& device_viewport_point,
677 InputHandler::ScrollInputType type, 678 InputHandler::ScrollInputType type,
678 LayerImpl* layer_hit_by_point, 679 LayerImpl* layer_hit_by_point,
679 bool* scroll_on_main_thread, 680 bool* scroll_on_main_thread,
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 841
841 std::unique_ptr<PendingTreeDurationHistogramTimer> 842 std::unique_ptr<PendingTreeDurationHistogramTimer>
842 pending_tree_duration_timer_; 843 pending_tree_duration_timer_;
843 844
844 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 845 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
845 }; 846 };
846 847
847 } // namespace cc 848 } // namespace cc
848 849
849 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 850 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_impl.cc » ('j') | cc/trees/layer_tree_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698