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

Unified Diff: ui/touch_selection/touch_handle_orientation.h

Issue 701823002: Separate out Touch Selection Orientation enum (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « ui/touch_selection/touch_handle.cc ('k') | ui/touch_selection/touch_handle_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/touch_selection/touch_handle_orientation.h
diff --git a/ui/touch_selection/touch_handle_orientation.h b/ui/touch_selection/touch_handle_orientation.h
new file mode 100644
index 0000000000000000000000000000000000000000..e76e73e9e69ac2d3e888fd983bcee97ee18d6934
--- /dev/null
+++ b/ui/touch_selection/touch_handle_orientation.h
@@ -0,0 +1,24 @@
+// Copyright 2014 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_HANDLE_ORIENTATION_
+#define UI_TOUCH_SELECTION_TOUCH_HANDLE_ORIENTATION_
+
+namespace ui {
+
+// Orientation types for Touch handles, used for setting the type of
+// handle orientation on java and native side.
+
+// A Java counterpart will be generated for this enum.
+// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.ui.touch_selection
+enum class TouchHandleOrientation {
+ LEFT,
+ CENTER,
+ RIGHT,
+ UNDEFINED,
+};
+
+} // namespace ui
+
+#endif // UI_TOUCH_SELECTION_TOUCH_HANDLE_ORIENTATION_
« no previous file with comments | « ui/touch_selection/touch_handle.cc ('k') | ui/touch_selection/touch_handle_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698