Upstream version 11.39.266.0
[platform/framework/web/crosswalk.git] / src / content / browser / android / popup_item_type_list.h
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)