| Index: ui/touch_selection/touch_selection_controller_test_api.cc
|
| diff --git a/ui/touch_selection/touch_selection_controller_test_api.cc b/ui/touch_selection/touch_selection_controller_test_api.cc
|
| index abe89de528791d52ddc76e340fb6b62cf2f66111..17bdfa6691c0669076da0fd26879f88abbc17dda 100644
|
| --- a/ui/touch_selection/touch_selection_controller_test_api.cc
|
| +++ b/ui/touch_selection/touch_selection_controller_test_api.cc
|
| @@ -20,4 +20,18 @@ bool TouchSelectionControllerTestApi::GetEndVisible() const {
|
| return controller_->GetEndVisible();
|
| }
|
|
|
| +TouchHandleOrientation
|
| +TouchSelectionControllerTestApi::GetStartHandleOrientation() const {
|
| + if (controller_->active_status_ != TouchSelectionController::SELECTION_ACTIVE)
|
| + return TouchHandleOrientation::UNDEFINED;
|
| + return controller_->start_selection_handle_->orientation();
|
| +}
|
| +
|
| +TouchHandleOrientation
|
| +TouchSelectionControllerTestApi::GetEndHandleOrientation() const {
|
| + if (controller_->active_status_ != TouchSelectionController::SELECTION_ACTIVE)
|
| + return TouchHandleOrientation::UNDEFINED;
|
| + return controller_->end_selection_handle_->orientation();
|
| +}
|
| +
|
| } // namespace ui
|
|
|