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

Side by Side Diff: ui/touch_selection/touch_handle_orientation.h

Issue 481683003: Support for Adaptive Handle Orientation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Initial patchset Created 5 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_TOUCH_SELECTION_TOUCH_HANDLE_ORIENTATION_ 5 #ifndef UI_TOUCH_SELECTION_TOUCH_HANDLE_ORIENTATION_
6 #define UI_TOUCH_SELECTION_TOUCH_HANDLE_ORIENTATION_ 6 #define UI_TOUCH_SELECTION_TOUCH_HANDLE_ORIENTATION_
7 7
8 namespace ui { 8 namespace ui {
9 9
10 // Orientation types for Touch handles, used for setting the type of 10 // Orientation types for Touch handles, used for setting the type of
11 // handle orientation on java and native side. 11 // handle orientation on java and native side.
12 12
13 // A Java counterpart will be generated for this enum. 13 // A Java counterpart will be generated for this enum.
14 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.ui.touch_selection 14 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.ui.touch_selection
15 enum class TouchHandleOrientation { 15 enum class TouchHandleOrientation {
16 LEFT, 16 LEFT,
17 CENTER, 17 CENTER,
18 RIGHT, 18 RIGHT,
19 LEFT_INVERTED,
20 LEFT_FLIPPED,
21 LEFT_FLIPPED_INVERTED,
22 RIGHT_INVERTED,
23 RIGHT_FLIPPED,
24 RIGHT_FLIPPED_INVERTED,
25 CENTER_INVERTED,
19 UNDEFINED, 26 UNDEFINED,
20 }; 27 };
21 28
22 } // namespace ui 29 } // namespace ui
23 30
24 #endif // UI_TOUCH_SELECTION_TOUCH_HANDLE_ORIENTATION_ 31 #endif // UI_TOUCH_SELECTION_TOUCH_HANDLE_ORIENTATION_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698