| 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_SCAN_CREDIT_CARD = -8, | 21 POPUP_ITEM_ID_SCAN_CREDIT_CARD = -8, |
| 22 POPUP_ITEM_ID_TITLE = -9, | 22 POPUP_ITEM_ID_TITLE = -9, |
| 23 // TODO(estade): remove this when real masked instruments |
| 24 // are hooked up. |
| 25 POPUP_ITEM_ID_FAKE_MASKED_INSTRUMENT = -10, |
| 23 }; | 26 }; |
| 24 | 27 |
| 25 } // namespace autofill | 28 } // namespace autofill |
| 26 | 29 |
| 27 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_POPUP_ITEM_ID_H_ | 30 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_POPUP_ITEM_ID_H_ |
| OLD | NEW |