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

Unified Diff: third_party/WebKit/public/web/WebViewClient.h

Issue 2605193002: Fix mouse wheel over-scrolls when display is scaled and scroll is paginated (Closed)
Patch Set: Created 3 years, 11 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 af3fe7c18514915fa668e2101eac7a937cc7fbe9..9040e13f840be5cfca316bc21cd4714c8dcbba09 100644
--- a/third_party/WebKit/public/web/WebViewClient.h
+++ b/third_party/WebKit/public/web/WebViewClient.h
@@ -271,6 +271,7 @@ class WebViewClient : protected WebWidgetClient {
const WebFloatSize& accumulatedOverscroll,
const WebFloatPoint& positionInViewport,
const WebFloatSize& velocityInViewport) override {}
+ float GetOriginalDeviceScaleFactor() const override { return 1.0f; }
chengx 2017/01/06 23:46:36 Bret: Be careful adding functions to the public in
void hasTouchEventHandlers(bool) override {}
void initializeLayerTreeView() override {}
void resetInputMethod() override {}

Powered by Google App Engine
This is Rietveld 408576698