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

Unified Diff: third_party/WebKit/public/web/WebViewClient.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: third_party/WebKit/public/web/WebViewClient.h
diff --git a/third_party/WebKit/public/web/WebViewClient.h b/third_party/WebKit/public/web/WebViewClient.h
index 8be346ca002530dda78ffc74c015a87d4927460a..c78a3cd4555c0370c5c475dc095ee91509653713 100644
--- a/third_party/WebKit/public/web/WebViewClient.h
+++ b/third_party/WebKit/public/web/WebViewClient.h
@@ -1,3 +1,4 @@
+
/*
* Copyright (C) 2009 Google Inc. All rights reserved.
*
@@ -245,7 +246,8 @@ class WebViewClient : protected WebWidgetClient {
void DidOverscroll(const WebFloatSize& overscroll_delta,
const WebFloatSize& accumulated_overscroll,
const WebFloatPoint& position_in_viewport,
- const WebFloatSize& velocity_in_viewport) override {}
+ const WebFloatSize& velocity_in_viewport,
+ const WebScrollBoundaryBehavior& behavior) override {}
void HasTouchEventHandlers(bool) override {}
WebLayerTreeView* InitializeLayerTreeView() override { return nullptr; }
WebScreenInfo GetScreenInfo() override { return WebScreenInfo(); }

Powered by Google App Engine
This is Rietveld 408576698