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

Unified Diff: content/browser/renderer_host/input/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 6 years, 1 month 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: content/browser/renderer_host/input/touch_handle_orientation.h
diff --git a/content/browser/renderer_host/input/touch_handle_orientation.h b/content/browser/renderer_host/input/touch_handle_orientation.h
new file mode 100644
index 0000000000000000000000000000000000000000..f98b26d9924983485bf7b5548d737dc4cb99ff28
--- /dev/null
+++ b/content/browser/renderer_host/input/touch_handle_orientation.h
@@ -0,0 +1,25 @@
+// 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 CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_HANDLE_ORIENTATION_
+#define CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_HANDLE_ORIENTATION_
+
+namespace content {
+
+// 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.content.browser.input
+// GENERATED_JAVA_PREFIX_TO_STRIP: TOUCH_HANDLE_
+enum TouchHandleOrientation {
+ TOUCH_HANDLE_LEFT,
jdduke (slow) 2014/11/11 21:04:30 Can you make this "enum class TouchHandleOrientati
AviD 2015/02/25 05:49:05 Done.
+ TOUCH_HANDLE_CENTER,
+ TOUCH_HANDLE_RIGHT,
+ TOUCH_HANDLE_ORIENTATION_UNDEFINED,
+};
+
+} // namespace content
+
+#endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_HANDLE_ORIENTATION_

Powered by Google App Engine
This is Rietveld 408576698