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

Unified Diff: android_webview/native/popup_touch_handle_drawable.h

Issue 2358893002: Remove DIP scale from PopupTouchHandleDrawable (Closed)
Patch Set: Fixed formatting Created 4 years, 3 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: android_webview/native/popup_touch_handle_drawable.h
diff --git a/android_webview/native/popup_touch_handle_drawable.h b/android_webview/native/popup_touch_handle_drawable.h
index 197ec0fa32fba98b90fd9311b93112a6a77d99ae..fbdca9fa4bf09fad166dbfec02dadbbf2085d7a0 100644
--- a/android_webview/native/popup_touch_handle_drawable.h
+++ b/android_webview/native/popup_touch_handle_drawable.h
@@ -18,8 +18,9 @@ namespace android_webview {
// Touch handle drawable backed by an Android PopupWindow.
class PopupTouchHandleDrawable : public ui::TouchHandleDrawable {
public:
- PopupTouchHandleDrawable(JNIEnv* env, jobject obj, float dpi_scale,
- float horizontal_padding_ratio);
+ PopupTouchHandleDrawable(JNIEnv* env,
+ jobject obj,
+ float horizontal_padding_ratio);
~PopupTouchHandleDrawable() override;
static bool RegisterPopupTouchHandleDrawable(JNIEnv* env);
@@ -38,7 +39,6 @@ class PopupTouchHandleDrawable : public ui::TouchHandleDrawable {
JavaObjectWeakGlobalRef java_ref_;
- const float dip_scale_;
const float drawable_horizontal_padding_ratio_;
DISALLOW_COPY_AND_ASSIGN(PopupTouchHandleDrawable);

Powered by Google App Engine
This is Rietveld 408576698