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

Side by Side Diff: content/browser/renderer_host/input/selection_event_type.h

Issue 615893003: Use the new java_cpp_enum rule in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix aosp 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_RENDERER_HOST_INPUT_SELECTION_EVENT_TYPE_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_SELECTION_EVENT_TYPE_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_SELECTION_EVENT_TYPE_ 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_SELECTION_EVENT_TYPE_
7 7
8 namespace content { 8 namespace content {
9 9
10 // This file contains a list of events relating to selection and insertion, used
11 // for notifying Java when the renderer selection has changed.
12 //
13 // A Java counterpart will be generated for this enum.
14 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.content.browser.input
10 enum SelectionEventType { 15 enum SelectionEventType {
11 #define DEFINE_SELECTION_EVENT_TYPE(name, value) name = value, 16 SELECTION_SHOWN,
12 #include "content/browser/renderer_host/input/selection_event_type_list.h" 17 SELECTION_CLEARED,
13 #undef DEFINE_SELECTION_EVENT_TYPE 18 SELECTION_DRAG_STARTED,
19 SELECTION_DRAG_STOPPED,
20 INSERTION_SHOWN,
21 INSERTION_MOVED,
22 INSERTION_TAPPED,
23 INSERTION_CLEARED,
24 INSERTION_DRAG_STARTED,
14 }; 25 };
15 26
16 } // namespace content 27 } // namespace content
17 28
18 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_SELECTION_EVENT_TYPE_ 29 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_SELECTION_EVENT_TYPE_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698