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

Unified Diff: cc/input/input_handler.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: cc/input/input_handler.h
diff --git a/cc/input/input_handler.h b/cc/input/input_handler.h
index 4e68a3d86e0749481d2cd9c0b5ec019efd253802..86144e4c8e14deb82091abcec7644e8a8d66e26c 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/trees/swap_promise_monitor.h"
@@ -44,6 +45,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