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

Unified Diff: content/browser/android/overscroll_controller_android.h

Issue 2144703003: Remove ContentViewCore::GetDpiScale. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: content/browser/android/overscroll_controller_android.h
diff --git a/content/browser/android/overscroll_controller_android.h b/content/browser/android/overscroll_controller_android.h
index 564754ebc1bb7f6b26d4dd26eea094a27b558185..7db37c9bf0620e209215bc27de9c577c65994b94 100644
--- a/content/browser/android/overscroll_controller_android.h
+++ b/content/browser/android/overscroll_controller_android.h
@@ -37,7 +37,8 @@ struct DidOverscrollParams;
// Note that all input coordinates (both for events and overscroll) are in DIPs.
class OverscrollControllerAndroid : public ui::OverscrollGlowClient {
public:
- explicit OverscrollControllerAndroid(ContentViewCoreImpl* content_view_core);
+ explicit OverscrollControllerAndroid(ContentViewCoreImpl* content_view_core,
+ float dpi_scale);
~OverscrollControllerAndroid() override;
// Returns true if |event| is consumed by an overscroll effect, in which

Powered by Google App Engine
This is Rietveld 408576698