OLD | NEW |
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 // This enum defines item identifiers for Autofill popup controller. | 5 // This enum defines item identifiers for Autofill popup controller. |
6 | 6 |
7 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_POPUP_ITEM_ID_H_ | 7 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_POPUP_ITEM_ID_H_ |
8 #define COMPONENTS_AUTOFILL_CORE_BROWSER_POPUP_ITEM_ID_H_ | 8 #define COMPONENTS_AUTOFILL_CORE_BROWSER_POPUP_ITEM_ID_H_ |
9 | 9 |
10 namespace autofill { | 10 namespace autofill { |
11 | 11 |
12 enum PopupItemId { | 12 enum PopupItemId { |
13 POPUP_ITEM_ID_AUTOCOMPLETE_ENTRY = 0, | 13 POPUP_ITEM_ID_AUTOCOMPLETE_ENTRY = 0, |
14 POPUP_ITEM_ID_WARNING_MESSAGE = -1, | 14 POPUP_ITEM_ID_WARNING_MESSAGE = -1, |
15 POPUP_ITEM_ID_PASSWORD_ENTRY = -2, | 15 POPUP_ITEM_ID_PASSWORD_ENTRY = -2, |
16 POPUP_ITEM_ID_SEPARATOR = -3, | 16 POPUP_ITEM_ID_SEPARATOR = -3, |
17 POPUP_ITEM_ID_CLEAR_FORM = -4, | 17 POPUP_ITEM_ID_CLEAR_FORM = -4, |
18 POPUP_ITEM_ID_AUTOFILL_OPTIONS = -5, | 18 POPUP_ITEM_ID_AUTOFILL_OPTIONS = -5, |
19 POPUP_ITEM_ID_DATALIST_ENTRY = -6, | 19 POPUP_ITEM_ID_DATALIST_ENTRY = -6, |
20 POPUP_ITEM_ID_MAC_ACCESS_CONTACTS = -7, | 20 POPUP_ITEM_ID_MAC_ACCESS_CONTACTS = -7, |
| 21 POPUP_ITEM_ID_TITLE = -8, |
21 }; | 22 }; |
22 | 23 |
23 } // namespace autofill | 24 } // namespace autofill |
24 | 25 |
25 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_POPUP_ITEM_ID_H_ | 26 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_POPUP_ITEM_ID_H_ |
OLD | NEW |