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

Unified 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, 3 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/input/selection_event_type.h
diff --git a/content/browser/renderer_host/input/selection_event_type.h b/content/browser/renderer_host/input/selection_event_type.h
index 0bf76735f85ab46e27e25b305b5baf392956b298..567259f04962db62d1183372ffece2943f5eaae3 100644
--- a/content/browser/renderer_host/input/selection_event_type.h
+++ b/content/browser/renderer_host/input/selection_event_type.h
@@ -7,10 +7,21 @@
namespace content {
+// This file contains a list of events relating to selection and insertion, used
+// for notifying Java when the renderer selection has changed.
+//
+// A Java counterpart will be generated for this enum.
+// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.content.browser.input
enum SelectionEventType {
-#define DEFINE_SELECTION_EVENT_TYPE(name, value) name = value,
-#include "content/browser/renderer_host/input/selection_event_type_list.h"
-#undef DEFINE_SELECTION_EVENT_TYPE
+ SELECTION_SHOWN,
+ SELECTION_CLEARED,
+ SELECTION_DRAG_STARTED,
+ SELECTION_DRAG_STOPPED,
+ INSERTION_SHOWN,
+ INSERTION_MOVED,
+ INSERTION_TAPPED,
+ INSERTION_CLEARED,
+ INSERTION_DRAG_STARTED,
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698