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

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

Issue 481683003: Support for Adaptive Handle Orientation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed few inverting issues checked on Chrome Public apk Created 5 years, 7 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/popup_touch_handle_drawable.h
diff --git a/content/browser/android/popup_touch_handle_drawable.h b/content/browser/android/popup_touch_handle_drawable.h
index 5b5c334e8a5ad2fb658eeaf0aaee40d2a73e14de..d41c4409b66658a5dc6ff3ecf2f718d7ba7f6733 100644
--- a/content/browser/android/popup_touch_handle_drawable.h
+++ b/content/browser/android/popup_touch_handle_drawable.h
@@ -20,9 +20,12 @@ class PopupTouchHandleDrawable : public ui::TouchHandleDrawable {
// ui::TouchHandleDrawable implementation.
void SetEnabled(bool enabled) override;
- void SetOrientation(ui::TouchHandleOrientation orientation) override;
+ void SetLayout(const gfx::PointF& position,
+ ui::TouchHandleOrientation orientation,
+ bool mirror_vertical,
+ bool mirror_horizontal,
+ bool mirror_changed) override;
void SetAlpha(float alpha) override;
- void SetFocus(const gfx::PointF& position) override;
gfx::RectF GetVisibleBounds() const override;
static bool RegisterPopupTouchHandleDrawable(JNIEnv* env);

Powered by Google App Engine
This is Rietveld 408576698