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

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

Issue 1646603004: Move scroll event handlers from layer to layer tree view. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_cc_listeners
Patch Set: Rebase Created 4 years, 10 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/trees/layer_tree_host.cc ('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 <set> 10 #include <set>
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 676
677 void ClearCurrentlyScrollingLayer(); 677 void ClearCurrentlyScrollingLayer();
678 678
679 void HandleMouseOverScrollbar(LayerImpl* layer_impl); 679 void HandleMouseOverScrollbar(LayerImpl* layer_impl);
680 680
681 LayerImpl* FindScrollLayerForDeviceViewportPoint( 681 LayerImpl* FindScrollLayerForDeviceViewportPoint(
682 const gfx::PointF& device_viewport_point, 682 const gfx::PointF& device_viewport_point,
683 InputHandler::ScrollInputType type, 683 InputHandler::ScrollInputType type,
684 LayerImpl* layer_hit_by_point, 684 LayerImpl* layer_hit_by_point,
685 bool* scroll_on_main_thread, 685 bool* scroll_on_main_thread,
686 bool* optional_has_ancestor_scroll_handler,
687 uint32_t* main_thread_scrolling_reason) const; 686 uint32_t* main_thread_scrolling_reason) const;
688 float DeviceSpaceDistanceToLayer(const gfx::PointF& device_viewport_point, 687 float DeviceSpaceDistanceToLayer(const gfx::PointF& device_viewport_point,
689 LayerImpl* layer_impl); 688 LayerImpl* layer_impl);
690 void StartScrollbarFadeRecursive(LayerImpl* layer); 689 void StartScrollbarFadeRecursive(LayerImpl* layer);
691 void SetManagedMemoryPolicy(const ManagedMemoryPolicy& policy); 690 void SetManagedMemoryPolicy(const ManagedMemoryPolicy& policy);
692 691
693 void MarkUIResourceNotEvicted(UIResourceId uid); 692 void MarkUIResourceNotEvicted(UIResourceId uid);
694 void ClearUIResources(); 693 void ClearUIResources();
695 694
696 void NotifySwapPromiseMonitorsOfSetNeedsRedraw(); 695 void NotifySwapPromiseMonitorsOfSetNeedsRedraw();
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; 831 scoped_ptr<FrameTimingTracker> frame_timing_tracker_;
833 832
834 scoped_ptr<Viewport> viewport_; 833 scoped_ptr<Viewport> viewport_;
835 834
836 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 835 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
837 }; 836 };
838 837
839 } // namespace cc 838 } // namespace cc
840 839
841 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 840 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698