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

Side by Side Diff: content/browser/renderer_host/input/selection_event_type_list.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
(Empty)
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
3 // found in the LICENSE file.
4
5 // This file intentionally does not have header guards because this file
6 // is meant to be included inside a macro to generate enum values.
7
8 // This file contains a list of events relating to selection and insertion, used
9 // for notifying Java when the renderer selection has changed.
10
11 #ifndef DEFINE_SELECTION_EVENT_TYPE
12 #error "Please define DEFINE_SELECTION_EVENT_TYPE before including this file."
13 #endif
14
15 DEFINE_SELECTION_EVENT_TYPE(SELECTION_SHOWN, 0)
16 DEFINE_SELECTION_EVENT_TYPE(SELECTION_CLEARED, 1)
17 DEFINE_SELECTION_EVENT_TYPE(SELECTION_DRAG_STARTED, 2)
18 DEFINE_SELECTION_EVENT_TYPE(SELECTION_DRAG_STOPPED, 3)
19 DEFINE_SELECTION_EVENT_TYPE(INSERTION_SHOWN, 4)
20 DEFINE_SELECTION_EVENT_TYPE(INSERTION_MOVED, 5)
21 DEFINE_SELECTION_EVENT_TYPE(INSERTION_TAPPED, 6)
22 DEFINE_SELECTION_EVENT_TYPE(INSERTION_CLEARED, 7)
23 DEFINE_SELECTION_EVENT_TYPE(INSERTION_DRAG_STARTED, 8)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/input/selection_event_type.h ('k') | content/child/assert_matching_enums.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698