Index: ui/touch_selection/touch_selection_controller_unittest.cc |
diff --git a/ui/touch_selection/touch_selection_controller_unittest.cc b/ui/touch_selection/touch_selection_controller_unittest.cc |
index b0f05767dfc026e1618605e863d869641ae7420c..adb09c7bc4901084cb58311d6688e5de92358992 100644 |
--- a/ui/touch_selection/touch_selection_controller_unittest.cc |
+++ b/ui/touch_selection/touch_selection_controller_unittest.cc |
@@ -9,7 +9,6 @@ |
#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,6 +42,21 @@ |
}; |
} // 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 { |