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

Unified Diff: ui/events/blink/did_overscroll_params.h

Issue 2884423003: Use scroll-boundary-behavior to control overscroll-refresh/glow on android. (Closed)
Patch Set: Update the test Created 3 years, 6 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: ui/events/blink/did_overscroll_params.h
diff --git a/ui/events/blink/did_overscroll_params.h b/ui/events/blink/did_overscroll_params.h
index 46eeb15d1a57717184559cdc26d1d34b577e8a9d..9c3ea4b186de6210449be126368f75170dc72631 100644
--- a/ui/events/blink/did_overscroll_params.h
+++ b/ui/events/blink/did_overscroll_params.h
@@ -5,6 +5,7 @@
#ifndef UI_EVENTS_BLINK_DID_OVERSCROLL_PARAMS_H_
#define UI_EVENTS_BLINK_DID_OVERSCROLL_PARAMS_H_
+#include "cc/input/scroll_boundary_behavior.h"
#include "ui/gfx/geometry/point_f.h"
#include "ui/gfx/geometry/vector2d_f.h"
@@ -17,6 +18,7 @@ struct DidOverscrollParams {
gfx::Vector2dF latest_overscroll_delta;
gfx::Vector2dF current_fling_velocity;
gfx::PointF causal_event_viewport_point;
+ cc::ScrollBoundaryBehavior scroll_boundary_behavior;
};
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698