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

Unified Diff: cc/input/input_handler.h

Issue 2884423003: Use scroll-boundary-behavior to control overscroll-refresh/glow on android. (Closed)
Patch Set: Fixed the comments Created 3 years, 7 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 | « no previous file | cc/input/scroll_boundary_behavior.h » ('j') | cc/ipc/cc_param_traits.h » ('J')
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 6ffdcce57374f0effc35fac58535839c62b981a2..0e8dc4f95464912bddda821c679e431c0a189d33 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 {
« no previous file with comments | « no previous file | cc/input/scroll_boundary_behavior.h » ('j') | cc/ipc/cc_param_traits.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698