Chromium Code Reviews| Index: content/browser/android/composited_touch_handle_drawable.h |
| diff --git a/content/browser/android/composited_touch_handle_drawable.h b/content/browser/android/composited_touch_handle_drawable.h |
| index 28c6910b9d437dfa96c8a2962c2dc03c8ce6033f..625d4373d1e15354c78c33fd2fb629896fac392b 100644 |
| --- a/content/browser/android/composited_touch_handle_drawable.h |
| +++ b/content/browser/android/composited_touch_handle_drawable.h |
| @@ -22,10 +22,13 @@ class CompositedTouchHandleDrawable : 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) override; |
| void SetAlpha(float alpha) override; |
| - void SetFocus(const gfx::PointF& position) override; |
| gfx::RectF GetVisibleBounds() const override; |
| + gfx::SizeF GetDrawablePadding() const override; |
|
mfomitchev
2015/06/18 16:16:31
Hmm.. These methods are a little hard to understan
AviD
2015/06/19 07:20:47
Considering that GetBounds() would return the boun
mfomitchev
2015/06/19 13:43:29
So, considering that we don't actually have vertic
AviD
2015/07/30 15:09:55
Done.
|
| static bool RegisterHandleViewResources(JNIEnv* env); |
| @@ -34,6 +37,7 @@ class CompositedTouchHandleDrawable : public ui::TouchHandleDrawable { |
| void UpdateLayerPosition(); |
| const float dpi_scale_; |
| + gfx::SizeF drawable_padding_; |
| ui::TouchHandleOrientation orientation_; |
| gfx::PointF focal_position_; |
| gfx::Vector2dF focal_offset_from_origin_; |