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

Unified Diff: cc/input/input_handler.h

Issue 2884423003: Use scroll-boundary-behavior to control overscroll-refresh/glow on android. (Closed)
Patch Set: format Created 3 years, 5 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: cc/input/input_handler.h
diff --git a/cc/input/input_handler.h b/cc/input/input_handler.h
index 899aca2c00f4479b6e4359a82ceb02e7a8e0852c..e4c83d4cd41cfdff47e4dab3ab8fcbcab9c2de25 100644
--- a/cc/input/input_handler.h
+++ b/cc/input/input_handler.h
@@ -12,6 +12,7 @@
#include "cc/cc_export.h"
#include "cc/input/event_listener_properties.h"
#include "cc/input/main_thread_scrolling_reason.h"
+#include "cc/input/scroll_boundary_behavior.h"
#include "cc/input/scroll_state.h"
#include "cc/input/scrollbar.h"
#include "cc/input/touch_action.h"
@@ -45,6 +46,9 @@ struct CC_EXPORT InputHandlerScrollResult {
// The amount of the scroll delta argument to this ScrollBy call that was not
// used for scrolling.
gfx::Vector2dF unused_scroll_delta;
+ // How the browser should handle the overscroll navigation based on the css
+ // property scroll-boundary-behavior.
+ ScrollBoundaryBehavior scroll_boundary_behavior;
};
class CC_EXPORT InputHandlerClient {

Powered by Google App Engine
This is Rietveld 408576698