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

Side by Side Diff: content/browser/android/popup_item_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 2013 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 sync PopupItemTypes which describe the type
9 // and enabled state of a select popup item. List is used by Android when
10 // displaying a new select popup menu.
11
12 #ifndef DEFINE_POPUP_ITEM_TYPE
13 #error "Please define DEFINE_POPUP_ITEM_TYPE before including this file."
14 #endif
15
16 // Popup item is of type group
17 DEFINE_POPUP_ITEM_TYPE(GROUP, 0)
18
19 // Popup item is disabled
20 DEFINE_POPUP_ITEM_TYPE(DISABLED, 1)
21
22 // Popup item is enabled
23 DEFINE_POPUP_ITEM_TYPE(ENABLED, 2)
OLDNEW
« no previous file with comments | « content/browser/android/gesture_event_type_list.h ('k') | content/browser/gamepad/canonical_axis_index_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698