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_INSECURE_CONTEXT_PAYMENT_DISABLED_MESSAGE = -1, | 14 POPUP_ITEM_ID_INSECURE_CONTEXT_PAYMENT_DISABLED_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_SCAN_CREDIT_CARD = -7, | 20 POPUP_ITEM_ID_SCAN_CREDIT_CARD = -7, |
21 POPUP_ITEM_ID_TITLE = -8, | 21 POPUP_ITEM_ID_TITLE = -8, |
22 POPUP_ITEM_ID_CREDIT_CARD_SIGNIN_PROMO = -9, | 22 POPUP_ITEM_ID_CREDIT_CARD_SIGNIN_PROMO = -9, |
23 POPUP_ITEM_ID_HTTP_NOT_SECURE_WARNING_MESSAGE = -10, | 23 POPUP_ITEM_ID_HTTP_NOT_SECURE_WARNING_MESSAGE = -10, |
24 POPUP_ITEM_ID_USERNAME_ENTRY = -11, | 24 POPUP_ITEM_ID_USERNAME_ENTRY = -11, |
| 25 POPUP_ITEM_ID_CREATE_HINT = -12, |
25 }; | 26 }; |
26 | 27 |
27 } // namespace autofill | 28 } // namespace autofill |
28 | 29 |
29 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_POPUP_ITEM_ID_H_ | 30 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_POPUP_ITEM_ID_H_ |
OLD | NEW |