Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(934)

Unified Diff: ui/touch_selection/touch_selection_controller_unittest.cc

Issue 1263703004: Revert of Implement Aura side of unified touch text selection for contents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 {
« no previous file with comments | « ui/touch_selection/touch_selection_controller_test_api.cc ('k') | ui/touch_selection/ui_touch_selection.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698