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 abc75b59ce7f588b603d2148bcba957cfc304eec..e25814e7c2397150a44f55fc502d4ffb34701789 100644 |
--- a/ui/touch_selection/touch_selection_controller.h |
+++ b/ui/touch_selection/touch_selection_controller.h |
@@ -47,7 +47,9 @@ class UI_TOUCH_SELECTION_EXPORT TouchSelectionController |
// Note that such updates will trigger handle updates only if preceded |
// by an appropriate call to allow automatic showing. |
void OnSelectionBoundsChanged(const SelectionBound& start, |
- const SelectionBound& end); |
+ const SelectionBound& end, |
+ const gfx::SizeF& root_layer_size, |
+ const gfx::Vector2dF& offset); |
// Allows touch-dragging of the handle. |
// Returns true iff the event was consumed, in which case the caller should |
@@ -117,6 +119,8 @@ class UI_TOUCH_SELECTION_EXPORT TouchSelectionController |
bool GetEndVisible() const; |
TouchHandle::AnimationStyle GetAnimationStyle(bool was_active) const; |
+ void SetInvertedOrientation(); |
+ |
void LogSelectionEnd(); |
TouchSelectionControllerClient* const client_; |
@@ -148,6 +152,10 @@ class UI_TOUCH_SELECTION_EXPORT TouchSelectionController |
bool temporarily_hidden_; |
+ gfx::SizeF root_layer_size_; |
+ gfx::Vector2dF content_offset_; |
+ gfx::RectF viewport_rect_; |
+ |
base::TimeTicks selection_start_time_; |
// Whether a selection handle was dragged during the current 'selection |
// session' - i.e. since the current selection has been activated. |