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

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

Issue 2188133002: Scroll with Layers in views::ScrollView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20160728-MacViews-ScrollTrack
Patch Set: bugref, scale_delta DCHECK + comment Created 4 years, 4 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/input/input_handler.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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 bool IsCurrentlyScrollingInnerViewport() const override; 195 bool IsCurrentlyScrollingInnerViewport() const override;
196 bool IsCurrentlyScrollingLayerAt( 196 bool IsCurrentlyScrollingLayerAt(
197 const gfx::Point& viewport_point, 197 const gfx::Point& viewport_point,
198 InputHandler::ScrollInputType type) const override; 198 InputHandler::ScrollInputType type) const override;
199 EventListenerProperties GetEventListenerProperties( 199 EventListenerProperties GetEventListenerProperties(
200 EventListenerClass event_class) const override; 200 EventListenerClass event_class) const override;
201 bool DoTouchEventsBlockScrollAt(const gfx::Point& viewport_port) override; 201 bool DoTouchEventsBlockScrollAt(const gfx::Point& viewport_port) override;
202 std::unique_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor( 202 std::unique_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor(
203 ui::LatencyInfo* latency) override; 203 ui::LatencyInfo* latency) override;
204 ScrollElasticityHelper* CreateScrollElasticityHelper() override; 204 ScrollElasticityHelper* CreateScrollElasticityHelper() override;
205 bool GetScrollOffsetForLayer(int layer_id,
206 gfx::ScrollOffset* offset) override;
207 bool ScrollLayerTo(int layer_id, const gfx::ScrollOffset& offset) override;
205 208
206 // TopControlsManagerClient implementation. 209 // TopControlsManagerClient implementation.
207 float TopControlsHeight() const override; 210 float TopControlsHeight() const override;
208 void SetCurrentTopControlsShownRatio(float offset) override; 211 void SetCurrentTopControlsShownRatio(float offset) override;
209 float CurrentTopControlsShownRatio() const override; 212 float CurrentTopControlsShownRatio() const override;
210 void DidChangeTopControlsPosition() override; 213 void DidChangeTopControlsPosition() override;
211 bool HaveRootScrollLayer() const override; 214 bool HaveRootScrollLayer() const override;
212 215
213 void UpdateViewportContainerSizes(); 216 void UpdateViewportContainerSizes();
214 217
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
844 847
845 std::unique_ptr<PendingTreeDurationHistogramTimer> 848 std::unique_ptr<PendingTreeDurationHistogramTimer>
846 pending_tree_duration_timer_; 849 pending_tree_duration_timer_;
847 850
848 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 851 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
849 }; 852 };
850 853
851 } // namespace cc 854 } // namespace cc
852 855
853 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 856 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/input/input_handler.h ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698