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

Unified Diff: ui/touch_selection/touch_selection_controller_aura_test_api.h

Issue 1046783002: wip: Aura-specific implementation of unified touch selection: touch_selection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moving the responsibility for showing the menu into the client. Created 5 years, 8 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_aura_test_api.h
diff --git a/ui/touch_selection/touch_selection_controller_aura_test_api.h b/ui/touch_selection/touch_selection_controller_aura_test_api.h
new file mode 100644
index 0000000000000000000000000000000000000000..112a7b9a8f4ff739e09107d0329628cf485ea5cf
--- /dev/null
+++ b/ui/touch_selection/touch_selection_controller_aura_test_api.h
@@ -0,0 +1,35 @@
+// 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.
+
+#ifndef UI_TOUCH_SELECTION_TOUCH_SELECTION_CONTROLLER_AURA_TEST_API_H_
+#define UI_TOUCH_SELECTION_TOUCH_SELECTION_CONTROLLER_AURA_TEST_API_H_
+
+#include "ui/touch_selection/touch_selection_controller_aura.h"
+#include "ui/touch_selection/ui_touch_selection_export.h"
+
+namespace ui {
+
+class TouchSelectionControllerAuraTestApi {
+ public:
+ explicit TouchSelectionControllerAuraTestApi(
+ TouchSelectionControllerAura* selection_controller);
+ ~TouchSelectionControllerAuraTestApi();
+
+ bool immediate_quick_menu() const { return immediate_quick_menu_; }
+
+ void set_immediate_quick_menu(bool immediate) {
+ immediate_quick_menu_ = immediate;
+ }
+
+ private:
+ TouchSelectionControllerAura* selection_controller_;
+
+ bool immediate_quick_menu_;
+
+ DISALLOW_COPY_AND_ASSIGN(TouchSelectionControllerAuraTestApi);
+};
+
+} // namespace ui
+
+#endif // UI_TOUCH_SELECTION_TOUCH_SELECTION_CONTROLLER_AURA_TEST_API_H_
« no previous file with comments | « ui/touch_selection/touch_selection_controller_aura.cc ('k') | ui/touch_selection/touch_selection_controller_aura_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698