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

Side by Side Diff: content/browser/android/gesture_event_type.h

Issue 625543002: Revert of Use the new java_cpp_enum rule in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 CONTENT_BROWSER_ANDROID_GESTURE_EVENT_TYPE_ 5 #ifndef CONTENT_BROWSER_ANDROID_GESTURE_EVENT_TYPE_
6 #define CONTENT_BROWSER_ANDROID_GESTURE_EVENT_TYPE_ 6 #define CONTENT_BROWSER_ANDROID_GESTURE_EVENT_TYPE_
7 7
8 namespace content { 8 namespace content {
9 9
10 // This file contains a list of GestureEventType's usable by ContentViewCore,
11 // providing a direct mapping to and from their corresponding
12 // blink::WebGestureEvent types.
13 //
14 // A Java counterpart will be generated for this enum.
15 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.content.browser
16 enum GestureEventType { 10 enum GestureEventType {
17 GESTURE_EVENT_TYPE_SHOW_PRESS, 11 #define DEFINE_GESTURE_EVENT_TYPE(name, value) name = value,
18 GESTURE_EVENT_TYPE_DOUBLE_TAP, 12 #include "content/browser/android/gesture_event_type_list.h"
19 GESTURE_EVENT_TYPE_SINGLE_TAP_UP, 13 #undef DEFINE_GESTURE_EVENT_TYPE
20 GESTURE_EVENT_TYPE_SINGLE_TAP_CONFIRMED,
21 GESTURE_EVENT_TYPE_SINGLE_TAP_UNCONFIRMED,
22 GESTURE_EVENT_TYPE_LONG_PRESS,
23 GESTURE_EVENT_TYPE_SCROLL_START,
24 GESTURE_EVENT_TYPE_SCROLL_BY,
25 GESTURE_EVENT_TYPE_SCROLL_END,
26 GESTURE_EVENT_TYPE_FLING_START,
27 GESTURE_EVENT_TYPE_FLING_CANCEL,
28 GESTURE_EVENT_TYPE_FLING_END,
29 GESTURE_EVENT_TYPE_PINCH_BEGIN,
30 GESTURE_EVENT_TYPE_PINCH_BY,
31 GESTURE_EVENT_TYPE_PINCH_END,
32 GESTURE_EVENT_TYPE_TAP_CANCEL,
33 GESTURE_EVENT_TYPE_LONG_TAP,
34 GESTURE_EVENT_TYPE_TAP_DOWN,
35 }; 14 };
36 15
37 } // namespace content 16 } // namespace content
38 17
39 #endif // CONTENT_BROWSER_ANDROID_GESTURE_EVENT_TYPE_ 18 #endif // CONTENT_BROWSER_ANDROID_GESTURE_EVENT_TYPE_
40 19
OLDNEW
« no previous file with comments | « content/browser/android/content_view_core_impl.cc ('k') | content/browser/android/gesture_event_type_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698