summaryrefslogtreecommitdiffstats
path: root/ui/touch_selection/touch_selection_controller_test_api.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/touch_selection/touch_selection_controller_test_api.cc')
-rw-r--r--ui/touch_selection/touch_selection_controller_test_api.cc23
1 files changed, 23 insertions, 0 deletions
diff --git a/ui/touch_selection/touch_selection_controller_test_api.cc b/ui/touch_selection/touch_selection_controller_test_api.cc
new file mode 100644
index 0000000..abe89de
--- /dev/null
+++ b/ui/touch_selection/touch_selection_controller_test_api.cc
@@ -0,0 +1,23 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ui/touch_selection/touch_selection_controller_test_api.h"
+
+namespace ui {
+
+TouchSelectionControllerTestApi::TouchSelectionControllerTestApi(
+ TouchSelectionController* controller)
+ : controller_(controller) {}
+
+TouchSelectionControllerTestApi::~TouchSelectionControllerTestApi() {}
+
+bool TouchSelectionControllerTestApi::GetStartVisible() const {
+ return controller_->GetStartVisible();
+}
+
+bool TouchSelectionControllerTestApi::GetEndVisible() const {
+ return controller_->GetEndVisible();
+}
+
+} // namespace ui