Index: ui/touch_selection/touch_selection_controller_unittest.cc |
diff --git a/ui/touch_selection/touch_selection_controller_unittest.cc b/ui/touch_selection/touch_selection_controller_unittest.cc |
index be971b1034bd9a002e2bc60d044de4f67857a465..7ee8aac357d7c14bc100ac1fbf09e8ae4fd76f4e 100644 |
--- a/ui/touch_selection/touch_selection_controller_unittest.cc |
+++ b/ui/touch_selection/touch_selection_controller_unittest.cc |
@@ -28,13 +28,16 @@ class MockTouchHandleDrawable : public TouchHandleDrawable { |
: intersects_rect_(contains_point) {} |
~MockTouchHandleDrawable() override {} |
void SetEnabled(bool enabled) override {} |
- void SetOrientation(TouchHandleOrientation orientation) override {} |
+ void SetOrientation(ui::TouchHandleOrientation orientation, |
+ bool mirror_vertical, |
+ bool mirror_horizontal) override {} |
+ void SetOrigin(const gfx::PointF& origin) override {} |
void SetAlpha(float alpha) override {} |
- void SetFocus(const gfx::PointF& position) override {} |
gfx::RectF GetVisibleBounds() const override { |
return *intersects_rect_ ? gfx::RectF(-1000, -1000, 2000, 2000) |
: gfx::RectF(-1000, -1000, 0, 0); |
} |
+ const float GetDrawableHorizontalPaddingRatio() const override { return 0; } |
private: |
bool* intersects_rect_; |