Index: views/touchui/touch_selection_controller_impl.h |
diff --git a/views/touchui/touch_selection_controller_impl.h b/views/touchui/touch_selection_controller_impl.h |
index 00ade4103c9f8dc752cbdc9001e3795a1f8b8473..bd2816456ce6b834148d9c29160d0b174cf6e162 100644 |
--- a/views/touchui/touch_selection_controller_impl.h |
+++ b/views/touchui/touch_selection_controller_impl.h |
@@ -39,6 +39,10 @@ class TouchSelectionControllerImpl : public TouchSelectionController { |
// system to that of the client view. |
void ConvertPointToClientView(SelectionHandleView* source, gfx::Point* point); |
+ // Convenience method to check if a point lies inside or on the boundary of |
+ // client_view_. |
+ bool isPointInClientView(const gfx::Point& p); |
+ |
// Convenience methods for testing. |
gfx::Point GetSelectionHandle1Position(); |
gfx::Point GetSelectionHandle2Position(); |