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

Unified Diff: third_party/WebKit/Source/core/page/scrolling/OverscrollController.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
Index: third_party/WebKit/Source/core/page/scrolling/OverscrollController.h
diff --git a/third_party/WebKit/Source/core/page/scrolling/OverscrollController.h b/third_party/WebKit/Source/core/page/scrolling/OverscrollController.h
index 88ed8c80d95d62ac360718219bbe4291020cbe78..3f159b32887964ec5bac022f3488673be6aef387 100644
--- a/third_party/WebKit/Source/core/page/scrolling/OverscrollController.h
+++ b/third_party/WebKit/Source/core/page/scrolling/OverscrollController.h
@@ -7,6 +7,7 @@
#include "platform/geometry/FloatSize.h"
#include "platform/heap/Handle.h"
+#include "public/platform/WebScrollBoundaryBehavior.h"
namespace blink {
@@ -38,6 +39,8 @@ class OverscrollController : public GarbageCollected<OverscrollController> {
const FloatPoint& position_in_root_frame,
const FloatSize& velocity_in_root_frame);
+ void SetScrollBoundaryBehavior(const WebScrollBoundaryBehavior&);
+
DECLARE_TRACE();
private:
@@ -47,6 +50,8 @@ class OverscrollController : public GarbageCollected<OverscrollController> {
WeakMember<ChromeClient> chrome_client_;
FloatSize accumulated_root_overscroll_;
+
+ WebScrollBoundaryBehavior scroll_boundary_behavior_;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698