diff options
Diffstat (limited to 'ui/touch_selection/touch_selection_controller_unittest.cc')
-rw-r--r-- | ui/touch_selection/touch_selection_controller_unittest.cc | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/ui/touch_selection/touch_selection_controller_unittest.cc b/ui/touch_selection/touch_selection_controller_unittest.cc index adb09c7..b0f0576 100644 --- a/ui/touch_selection/touch_selection_controller_unittest.cc +++ b/ui/touch_selection/touch_selection_controller_unittest.cc @@ -9,6 +9,7 @@ #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/events/test/motion_event_test_utils.h" +#include "ui/touch_selection/touch_selection_controller_test_api.h" using testing::ElementsAre; using testing::IsEmpty; @@ -43,21 +44,6 @@ class MockTouchHandleDrawable : public TouchHandleDrawable { } // namespace -class TouchSelectionControllerTestApi { - public: - explicit TouchSelectionControllerTestApi(TouchSelectionController* controller) - : controller_(controller) {} - ~TouchSelectionControllerTestApi() {} - - bool GetStartVisible() const { return controller_->GetStartVisible(); } - bool GetEndVisible() const { return controller_->GetEndVisible(); } - - private: - TouchSelectionController* controller_; - - DISALLOW_COPY_AND_ASSIGN(TouchSelectionControllerTestApi); -}; - class TouchSelectionControllerTest : public testing::Test, public TouchSelectionControllerClient { public: |