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 8125c502a705cb11bbdfd635c5865d7603ed935a..2b5b5b1e40586920052a3f67d75d350e801715be 100644 |
--- a/ui/touch_selection/touch_selection_controller_unittest.cc |
+++ b/ui/touch_selection/touch_selection_controller_unittest.cc |
@@ -27,13 +27,16 @@ class MockTouchHandleDrawable : public TouchHandleDrawable { |
: intersects_rect_(contains_point) {} |
~MockTouchHandleDrawable() override {} |
void SetEnabled(bool enabled) override {} |
- void SetOrientation(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 { |
return *intersects_rect_ ? gfx::RectF(-1000, -1000, 2000, 2000) |
: gfx::RectF(-1000, -1000, 0, 0); |
} |
+ gfx::SizeF GetDrawablePadding() const override { return gfx::SizeF(); } |
private: |
bool* intersects_rect_; |