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

Unified Diff: cc/input/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
« no previous file with comments | « cc/BUILD.gn ('k') | cc/input/scroll_boundary_behavior.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/input/input_handler.h
diff --git a/cc/input/input_handler.h b/cc/input/input_handler.h
index 8ba5b1e80588b9a25e65b64f7c34b779e79fe716..c9779240bd5c63e6dd9b8e7d6696550fa7385177 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 {
« no previous file with comments | « cc/BUILD.gn ('k') | cc/input/scroll_boundary_behavior.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698