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

Unified Diff: ui/touch_selection/touch_selection_controller_unittest.cc

Issue 698253004: Reland: Implement Aura side of unified touch text selection for contents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased after blink issue fixed: r200194 Created 5 years, 4 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 adb09c7bc4901084cb58311d6688e5de92358992..b0f05767dfc026e1618605e863d869641ae7420c 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:
« 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