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

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: Rebase Created 3 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 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 4d030777373f4007ac6290adbd7d887c0f18a9bf..453ac9f0ae33e9cafd276e33c8253065c0f5f923 100644
--- a/content/renderer/input/render_widget_input_handler.h
+++ b/content/renderer/input/render_widget_input_handler.h
@@ -19,6 +19,7 @@
namespace blink {
struct WebFloatPoint;
struct WebFloatSize;
+struct WebScrollBoundaryBehavior;
}
namespace ui {
@@ -45,11 +46,11 @@ class CONTENT_EXPORT RenderWidgetInputHandler {
HandledEventCallback callback);
// 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) {
« no previous file with comments | « content/renderer/input/input_handler_wrapper.cc ('k') | content/renderer/input/render_widget_input_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698