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

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

Issue 784463002: Add initial CC support for scroll-blocks-on (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: jdduke CR feedback Created 5 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/test/layer_tree_json_parser.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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 const gfx::Point& anchor) override; 160 const gfx::Point& anchor) override;
161 void PinchGestureEnd() override; 161 void PinchGestureEnd() override;
162 void StartPageScaleAnimation(const gfx::Vector2d& target_offset, 162 void StartPageScaleAnimation(const gfx::Vector2d& target_offset,
163 bool anchor_point, 163 bool anchor_point,
164 float page_scale, 164 float page_scale,
165 base::TimeDelta duration); 165 base::TimeDelta duration);
166 void SetNeedsAnimate() override; 166 void SetNeedsAnimate() override;
167 bool IsCurrentlyScrollingLayerAt(const gfx::Point& viewport_point, 167 bool IsCurrentlyScrollingLayerAt(const gfx::Point& viewport_point,
168 InputHandler::ScrollInputType type) override; 168 InputHandler::ScrollInputType type) override;
169 bool HaveWheelEventHandlersAt(const gfx::Point& viewport_point) override; 169 bool HaveWheelEventHandlersAt(const gfx::Point& viewport_point) override;
170 bool HaveTouchEventHandlersAt(const gfx::Point& viewport_port) override; 170 bool DoTouchEventsBlockScrollAt(const gfx::Point& viewport_port) override;
171 scoped_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor( 171 scoped_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor(
172 ui::LatencyInfo* latency) override; 172 ui::LatencyInfo* latency) override;
173 ScrollElasticityHelper* CreateScrollElasticityHelper() override; 173 ScrollElasticityHelper* CreateScrollElasticityHelper() override;
174 174
175 // TopControlsManagerClient implementation. 175 // TopControlsManagerClient implementation.
176 void SetControlsTopOffset(float offset) override; 176 void SetControlsTopOffset(float offset) override;
177 float ControlsTopOffset() const override; 177 float ControlsTopOffset() const override;
178 void DidChangeTopControlsPosition() override; 178 void DidChangeTopControlsPosition() override;
179 bool HaveRootScrollLayer() const override; 179 bool HaveRootScrollLayer() const override;
180 180
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 731
732 bool requires_high_res_to_draw_; 732 bool requires_high_res_to_draw_;
733 bool is_likely_to_require_a_draw_; 733 bool is_likely_to_require_a_draw_;
734 734
735 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 735 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
736 }; 736 };
737 737
738 } // namespace cc 738 } // namespace cc
739 739
740 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 740 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/test/layer_tree_json_parser.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698