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

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

Issue 2841943002: Overlay scrollbars expand only when mouse is near thumb (Closed)
Patch Set: Created 3 years, 8 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
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 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 DrawResult CalculateRenderPasses(FrameData* frame); 672 DrawResult CalculateRenderPasses(FrameData* frame);
673 673
674 void ClearCurrentlyScrollingNode(); 674 void ClearCurrentlyScrollingNode();
675 675
676 ScrollNode* FindScrollNodeForDeviceViewportPoint( 676 ScrollNode* FindScrollNodeForDeviceViewportPoint(
677 const gfx::PointF& device_viewport_point, 677 const gfx::PointF& device_viewport_point,
678 InputHandler::ScrollInputType type, 678 InputHandler::ScrollInputType type,
679 LayerImpl* layer_hit_by_point, 679 LayerImpl* layer_hit_by_point,
680 bool* scroll_on_main_thread, 680 bool* scroll_on_main_thread,
681 uint32_t* main_thread_scrolling_reason) const; 681 uint32_t* main_thread_scrolling_reason) const;
682 float DeviceSpaceDistanceToLayer(const gfx::PointF& device_viewport_point,
683 LayerImpl* layer_impl);
684 void StartScrollbarFadeRecursive(LayerImpl* layer); 682 void StartScrollbarFadeRecursive(LayerImpl* layer);
685 void SetManagedMemoryPolicy(const ManagedMemoryPolicy& policy); 683 void SetManagedMemoryPolicy(const ManagedMemoryPolicy& policy);
686 684
687 void MarkUIResourceNotEvicted(UIResourceId uid); 685 void MarkUIResourceNotEvicted(UIResourceId uid);
688 void ClearUIResources(); 686 void ClearUIResources();
689 687
690 void NotifySwapPromiseMonitorsOfSetNeedsRedraw(); 688 void NotifySwapPromiseMonitorsOfSetNeedsRedraw();
691 void NotifySwapPromiseMonitorsOfForwardingToMainThread(); 689 void NotifySwapPromiseMonitorsOfForwardingToMainThread();
692 690
693 void UpdateRootLayerStateForSynchronousInputHandler(); 691 void UpdateRootLayerStateForSynchronousInputHandler();
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
869 bool has_scrolled_by_touch_; 867 bool has_scrolled_by_touch_;
870 868
871 bool touchpad_and_wheel_scroll_latching_enabled_; 869 bool touchpad_and_wheel_scroll_latching_enabled_;
872 870
873 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 871 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
874 }; 872 };
875 873
876 } // namespace cc 874 } // namespace cc
877 875
878 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 876 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698