OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ui/touch_selection/touch_selection_controller_test_api.h" | 5 #include "ui/touch_selection/touch_selection_controller_test_api.h" |
6 | 6 |
7 namespace ui { | 7 namespace ui { |
8 | 8 |
9 TouchSelectionControllerTestApi::TouchSelectionControllerTestApi( | 9 TouchSelectionControllerTestApi::TouchSelectionControllerTestApi( |
10 TouchSelectionController* controller) | 10 TouchSelectionController* controller) |
11 : controller_(controller) {} | 11 : controller_(controller) {} |
12 | 12 |
13 TouchSelectionControllerTestApi::~TouchSelectionControllerTestApi() {} | 13 TouchSelectionControllerTestApi::~TouchSelectionControllerTestApi() {} |
14 | 14 |
15 bool TouchSelectionControllerTestApi::GetStartVisible() const { | 15 bool TouchSelectionControllerTestApi::GetStartVisible() const { |
16 return controller_->GetStartVisible(); | 16 return controller_->GetStartVisible(); |
17 } | 17 } |
18 | 18 |
19 bool TouchSelectionControllerTestApi::GetEndVisible() const { | 19 bool TouchSelectionControllerTestApi::GetEndVisible() const { |
20 return controller_->GetEndVisible(); | 20 return controller_->GetEndVisible(); |
21 } | 21 } |
22 | 22 |
| 23 TouchHandleOrientation |
| 24 TouchSelectionControllerTestApi::GetStartHandleOrientation() const { |
| 25 return controller_->GetStartHandleOrientation(); |
| 26 } |
| 27 |
| 28 TouchHandleOrientation |
| 29 TouchSelectionControllerTestApi::GetEndHandleOrientation() const { |
| 30 return controller_->GetEndHandleOrientation(); |
| 31 } |
| 32 |
23 } // namespace ui | 33 } // namespace ui |
OLD | NEW |