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

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

Issue 1577263004: Communicate whether passive event listeners exist to cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_wheel_passive_listeners
Patch Set: Fix nits 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 void PinchGestureEnd() override; 185 void PinchGestureEnd() override;
186 void StartPageScaleAnimation(const gfx::Vector2d& target_offset, 186 void StartPageScaleAnimation(const gfx::Vector2d& target_offset,
187 bool anchor_point, 187 bool anchor_point,
188 float page_scale, 188 float page_scale,
189 base::TimeDelta duration); 189 base::TimeDelta duration);
190 void SetNeedsAnimateInput() override; 190 void SetNeedsAnimateInput() override;
191 bool IsCurrentlyScrollingInnerViewport() const override; 191 bool IsCurrentlyScrollingInnerViewport() const override;
192 bool IsCurrentlyScrollingLayerAt( 192 bool IsCurrentlyScrollingLayerAt(
193 const gfx::Point& viewport_point, 193 const gfx::Point& viewport_point,
194 InputHandler::ScrollInputType type) const override; 194 InputHandler::ScrollInputType type) const override;
195 bool HaveWheelEventHandlers() const override; 195 EventListenerProperties GetEventListenerProperties(
196 EventListenerClass event_class) const override;
196 bool DoTouchEventsBlockScrollAt(const gfx::Point& viewport_port) override; 197 bool DoTouchEventsBlockScrollAt(const gfx::Point& viewport_port) override;
197 scoped_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor( 198 scoped_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor(
198 ui::LatencyInfo* latency) override; 199 ui::LatencyInfo* latency) override;
199 ScrollElasticityHelper* CreateScrollElasticityHelper() override; 200 ScrollElasticityHelper* CreateScrollElasticityHelper() override;
200 201
201 // TopControlsManagerClient implementation. 202 // TopControlsManagerClient implementation.
202 float TopControlsHeight() const override; 203 float TopControlsHeight() const override;
203 void SetCurrentTopControlsShownRatio(float offset) override; 204 void SetCurrentTopControlsShownRatio(float offset) override;
204 float CurrentTopControlsShownRatio() const override; 205 float CurrentTopControlsShownRatio() const override;
205 void DidChangeTopControlsPosition() override; 206 void DidChangeTopControlsPosition() override;
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; 832 scoped_ptr<FrameTimingTracker> frame_timing_tracker_;
832 833
833 scoped_ptr<Viewport> viewport_; 834 scoped_ptr<Viewport> viewport_;
834 835
835 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 836 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
836 }; 837 };
837 838
838 } // namespace cc 839 } // namespace cc
839 840
840 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 841 #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