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

Unified Diff: ui/touch_selection/touch_handle_drawable_aura.h

Issue 481683003: Support for Adaptive Handle Orientation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update handles for explicit handle visibility calls Created 5 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: ui/touch_selection/touch_handle_drawable_aura.h
diff --git a/ui/touch_selection/touch_handle_drawable_aura.h b/ui/touch_selection/touch_handle_drawable_aura.h
index cb9dc9cd7561d7dee1a8acf335fe32845d877acb..a049efab82448510fec6f2a988790a10724cabee 100644
--- a/ui/touch_selection/touch_handle_drawable_aura.h
+++ b/ui/touch_selection/touch_handle_drawable_aura.h
@@ -32,10 +32,13 @@ class UI_TOUCH_SELECTION_EXPORT TouchHandleDrawableAura
// TouchHandleDrawable:
void SetEnabled(bool enabled) override;
- void SetOrientation(TouchHandleOrientation orientation) override;
+ void SetOrientation(TouchHandleOrientation orientation,
+ bool mirror_vertical,
+ bool mirror_horizontal) override;
+ void SetOrigin(const gfx::PointF& position) override;
void SetAlpha(float alpha) override;
- void SetFocus(const gfx::PointF& position) override;
gfx::RectF GetVisibleBounds() const override;
+ const float GetDrawableHorizontalPaddingRatio() const override;
aura_extra::ImageWindowDelegate* window_delegate_;
scoped_ptr<aura::Window> window_;

Powered by Google App Engine
This is Rietveld 408576698