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

Unified Diff: content/renderer/input/render_widget_input_handler.h

Issue 2884423003: Use scroll-boundary-behavior to control overscroll-refresh/glow on android. (Closed)
Patch Set: Fixed the comments Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/input/render_widget_input_handler.h
diff --git a/content/renderer/input/render_widget_input_handler.h b/content/renderer/input/render_widget_input_handler.h
index 53018dd23a49262a65ee1f339759d77115e9e5da..ec296907b03a842a7f5b255b26895886af85789d 100644
--- a/content/renderer/input/render_widget_input_handler.h
+++ b/content/renderer/input/render_widget_input_handler.h
@@ -18,6 +18,7 @@
namespace blink {
struct WebFloatPoint;
struct WebFloatSize;
+struct WebScrollBoundaryBehavior;
}
namespace ui {
@@ -44,11 +45,11 @@ class CONTENT_EXPORT RenderWidgetInputHandler {
InputEventDispatchType dispatch_type);
// Handle overscroll from Blink.
- void DidOverscrollFromBlink(
- const blink::WebFloatSize& overscrollDelta,
- const blink::WebFloatSize& accumulatedOverscroll,
- const blink::WebFloatPoint& position,
- const blink::WebFloatSize& velocity);
+ void DidOverscrollFromBlink(const blink::WebFloatSize& overscrollDelta,
+ const blink::WebFloatSize& accumulatedOverscroll,
+ const blink::WebFloatPoint& position,
+ const blink::WebFloatSize& velocity,
+ const blink::WebScrollBoundaryBehavior& behavior);
bool handling_input_event() const { return handling_input_event_; }
void set_handling_input_event(bool handling_input_event) {

Powered by Google App Engine
This is Rietveld 408576698