| Index: ui/touch_selection/touch_handle.h
|
| diff --git a/ui/touch_selection/touch_handle.h b/ui/touch_selection/touch_handle.h
|
| index 12c66d09983626db3c3f9b4a356aa80a2a9d9178..f46a07fd761e2ee34b5dde89632cc42364e0746f 100644
|
| --- a/ui/touch_selection/touch_handle.h
|
| +++ b/ui/touch_selection/touch_handle.h
|
| @@ -84,6 +84,11 @@ class UI_TOUCH_SELECTION_EXPORT TouchHandle {
|
| // Returns true if an animation is active and requires further ticking.
|
| bool Animate(base::TimeTicks frame_time);
|
|
|
| + // Get the visible bounds of the handle, based on the current position and
|
| + // the drawable's size/orientation. If the handle is invisible or disabled,
|
| + // the bounds will be empty.
|
| + gfx::RectF GetVisibleBounds() const;
|
| +
|
| bool is_dragging() const { return is_dragging_; }
|
| const gfx::PointF& position() const { return position_; }
|
| TouchHandleOrientation orientation() const { return orientation_; }
|
|
|