| Index: ui/touch_selection/touch_selection_controller.h
|
| diff --git a/ui/touch_selection/touch_selection_controller.h b/ui/touch_selection/touch_selection_controller.h
|
| index 4f6a57832a20fafd5e17ce8fc7c0f37937025563..7ec25d1d442e6d13bbdcb9c7990f4e61120e039d 100644
|
| --- a/ui/touch_selection/touch_selection_controller.h
|
| +++ b/ui/touch_selection/touch_selection_controller.h
|
| @@ -61,11 +61,11 @@ class UI_TOUCH_SELECTION_EXPORT TouchSelectionController
|
|
|
| // To be called before forwarding a tap event. This allows automatically
|
| // showing the insertion handle from subsequent bounds changes.
|
| - void OnTapEvent();
|
| + bool WillHandleTapEvent(const gfx::PointF& location);
|
|
|
| // To be called before forwarding a longpress event. This allows automatically
|
| // showing the selection or insertion handles from subsequent bounds changes.
|
| - void OnLongPressEvent();
|
| + bool WillHandleLongPressEvent(const gfx::PointF& location);
|
|
|
| // Allow showing the selection handles from the most recent selection bounds
|
| // update (if valid), or a future valid bounds update.
|
| @@ -124,6 +124,7 @@ class UI_TOUCH_SELECTION_EXPORT TouchSelectionController
|
|
|
| void ShowInsertionHandleAutomatically();
|
| void ShowSelectionHandlesAutomatically();
|
| + bool WillHandleTapOrLongPress(const gfx::PointF& location);
|
|
|
| void OnInsertionChanged();
|
| void OnSelectionChanged();
|
|
|