| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2015 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 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_DIALOG_SECTION_H_ |
| 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_DIALOG_SECTION_H_ |
| 7 |
| 8 namespace autofill { |
| 9 |
| 10 // Sections of the dialog --- all fields that may be shown to the user fit under |
| 11 // one of these sections. |
| 12 enum DialogSection { |
| 13 // Lower boundary value for looping over all sections. |
| 14 SECTION_MIN, |
| 15 |
| 16 // The Autofill-backed dialog uses separate CC and billing sections. |
| 17 SECTION_CC = SECTION_MIN, |
| 18 SECTION_BILLING, |
| 19 // The wallet-backed dialog uses a combined CC and billing section. |
| 20 SECTION_CC_BILLING, |
| 21 SECTION_SHIPPING, |
| 22 |
| 23 // Upper boundary value for looping over all sections. |
| 24 SECTION_MAX = SECTION_SHIPPING, |
| 25 }; |
| 26 |
| 27 } // namespace autofill |
| 28 |
| 29 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_DIALOG_SECTION_H_ |
| OLD | NEW |