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

Unified Diff: third_party/WebKit/Source/core/page/ChromeClientImpl.h

Issue 2884423003: Use scroll-boundary-behavior to control overscroll-refresh/glow on android. (Closed)
Patch Set: rebase 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: third_party/WebKit/Source/core/page/ChromeClientImpl.h
diff --git a/third_party/WebKit/Source/core/page/ChromeClientImpl.h b/third_party/WebKit/Source/core/page/ChromeClientImpl.h
index 37acdaf8da705687c9066af0460aaaaeadf4d6ea..56c3b4a734ba11da89d7425823ad215ae8173906 100644
--- a/third_party/WebKit/Source/core/page/ChromeClientImpl.h
+++ b/third_party/WebKit/Source/core/page/ChromeClientImpl.h
@@ -80,7 +80,8 @@ class CORE_EXPORT ChromeClientImpl final : public ChromeClient {
void DidOverscroll(const FloatSize& overscroll_delta,
const FloatSize& accumulated_overscroll,
const FloatPoint& position_in_viewport,
- const FloatSize& velocity_in_viewport) override;
+ const FloatSize& velocity_in_viewport,
+ const WebScrollBoundaryBehavior&) override;
bool ShouldReportDetailedMessageForSource(LocalFrame&,
const String&) override;
void AddMessageToConsole(LocalFrame*,
@@ -211,6 +212,7 @@ class CORE_EXPORT ChromeClientImpl final : public ChromeClient {
void ShowUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override;
void OnMouseDown(Node&) override;
void DidUpdateBrowserControls() const override;
+ void SetScrollBoundaryBehavior(const WebScrollBoundaryBehavior&) override;
FloatSize ElasticOverscroll() const override;

Powered by Google App Engine
This is Rietveld 408576698