Index: views/touchui/touch_selection_controller_impl.cc |
diff --git a/views/touchui/touch_selection_controller_impl.cc b/views/touchui/touch_selection_controller_impl.cc |
index 2a2801417f953c4c34877015d2c65ee21a6fb3b3..273f30bd96ac0dd2820734fadfc0b647076ed76b 100644 |
--- a/views/touchui/touch_selection_controller_impl.cc |
+++ b/views/touchui/touch_selection_controller_impl.cc |
@@ -233,6 +233,22 @@ void TouchSelectionControllerImpl::ConvertPointToClientView( |
View::ConvertPointFromWidget(client_view_, point); |
} |
+gfx::Point TouchSelectionControllerImpl::GetSelectionHandle1Position() { |
+ return selection_handle_1_->GetScreenPosition(); |
+} |
+ |
+gfx::Point TouchSelectionControllerImpl::GetSelectionHandle2Position() { |
+ return selection_handle_2_->GetScreenPosition(); |
+} |
+ |
+bool TouchSelectionControllerImpl::IsSelectionHandle1Visible() { |
+ return selection_handle_1_->IsVisible(); |
+} |
+ |
+bool TouchSelectionControllerImpl::IsSelectionHandle2Visible() { |
+ return selection_handle_2_->IsVisible(); |
+} |
+ |
TouchSelectionController* TouchSelectionController::create( |
TouchSelectionClientView* client_view) { |
return new TouchSelectionControllerImpl(client_view); |