| // 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_ANDROID_GESTURE_EVENT_TYPE_ |
| #define CONTENT_BROWSER_ANDROID_GESTURE_EVENT_TYPE_ |
| |
| namespace content { |
| |
| // This file contains a list of GestureEventType's usable by ContentViewCore, |
| // providing a direct mapping to and from their corresponding |
| // blink::WebGestureEvent types. |
| // |
| // A Java counterpart will be generated for this enum. |
| // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.content.browser |
| enum GestureEventType { |
| GESTURE_EVENT_TYPE_SHOW_PRESS, |
| GESTURE_EVENT_TYPE_DOUBLE_TAP, |
| GESTURE_EVENT_TYPE_SINGLE_TAP_UP, |
| GESTURE_EVENT_TYPE_SINGLE_TAP_CONFIRMED, |
| GESTURE_EVENT_TYPE_SINGLE_TAP_UNCONFIRMED, |
| GESTURE_EVENT_TYPE_LONG_PRESS, |
| GESTURE_EVENT_TYPE_SCROLL_START, |
| GESTURE_EVENT_TYPE_SCROLL_BY, |
| GESTURE_EVENT_TYPE_SCROLL_END, |
| GESTURE_EVENT_TYPE_FLING_START, |
| GESTURE_EVENT_TYPE_FLING_CANCEL, |
| GESTURE_EVENT_TYPE_FLING_END, |
| GESTURE_EVENT_TYPE_PINCH_BEGIN, |
| GESTURE_EVENT_TYPE_PINCH_BY, |
| GESTURE_EVENT_TYPE_PINCH_END, |
| GESTURE_EVENT_TYPE_TAP_CANCEL, |
| GESTURE_EVENT_TYPE_LONG_TAP, |
| GESTURE_EVENT_TYPE_TAP_DOWN, |
| }; |
| |
| } // namespace content |
| |
| #endif // CONTENT_BROWSER_ANDROID_GESTURE_EVENT_TYPE_ |
| |