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 f1a434d5b9b8d2ea7593eaa5da20a25a1f39d6a9..4f6a57832a20fafd5e17ce8fc7c0f37937025563 100644 |
--- a/ui/touch_selection/touch_selection_controller.h |
+++ b/ui/touch_selection/touch_selection_controller.h |
@@ -132,7 +132,7 @@ class UI_TOUCH_SELECTION_EXPORT TouchSelectionController |
void DeactivateInsertion(); |
void ActivateSelection(); |
void DeactivateSelection(); |
- void ResetCachedValuesIfInactive(); |
+ void ForceNextUpdateIfInactive(); |
gfx::Vector2dF GetStartLineOffset() const; |
gfx::Vector2dF GetEndLineOffset() const; |
@@ -146,6 +146,10 @@ class UI_TOUCH_SELECTION_EXPORT TouchSelectionController |
const base::TimeDelta tap_timeout_; |
const float tap_slop_; |
+ // Whether to force an update on the next selection event even if the |
+ // cached selection matches the new selection. |
+ bool force_next_update_; |
+ |
// Controls whether an insertion handle is shown on a tap for an empty |
// editable text. |
bool show_on_tap_for_empty_editable_; |