Chromium Code Reviews| 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_ |