| 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 115dd0d637046b44aa49c42e832fc5e82489cc95..370d89c5a981afec172fe5c54d4fcb22e92ad7f7 100644
|
| --- a/ui/touch_selection/touch_selection_controller.h
|
| +++ b/ui/touch_selection/touch_selection_controller.h
|
| @@ -55,11 +55,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.
|
| @@ -113,6 +113,7 @@ class UI_TOUCH_SELECTION_EXPORT TouchSelectionController
|
|
|
| void ShowInsertionHandleAutomatically();
|
| void ShowSelectionHandlesAutomatically();
|
| + bool WillHandleTapOrLongPress(const gfx::PointF& location);
|
|
|
| void OnInsertionChanged();
|
| void OnSelectionChanged();
|
|
|