| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "chrome/browser/about_flags.h" | 5 #include "chrome/browser/about_flags.h" |
| 6 | 6 |
| 7 #include <iterator> | 7 #include <iterator> |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 669 kAutofillCreditCardPopupLayoutFeatureVariationIconAtStart[] = { | 669 kAutofillCreditCardPopupLayoutFeatureVariationIconAtStart[] = { |
| 670 {"is_credit_card_icon_at_start", "true"}}; | 670 {"is_credit_card_icon_at_start", "true"}}; |
| 671 | 671 |
| 672 const FeatureEntry::FeatureParam | 672 const FeatureEntry::FeatureParam |
| 673 kAutofillCreditCardPopupLayoutFeatureVariationDropdownItemHeight[] = { | 673 kAutofillCreditCardPopupLayoutFeatureVariationDropdownItemHeight[] = { |
| 674 {"dropdown_item_height", "56"}}; | 674 {"dropdown_item_height", "56"}}; |
| 675 | 675 |
| 676 const FeatureEntry::FeatureParam | 676 const FeatureEntry::FeatureParam |
| 677 kAutofillCreditCardPopupLayoutFeatureVariationExpanded[] = { | 677 kAutofillCreditCardPopupLayoutFeatureVariationExpanded[] = { |
| 678 {"is_credit_card_icon_at_start", "true"}, | 678 {"is_credit_card_icon_at_start", "true"}, |
| 679 {"dropdown_item_height", "56"}}; | 679 {"dropdown_item_height", "56"}, |
| 680 {"margin", "18"}}; |
| 680 | 681 |
| 681 const FeatureEntry::FeatureVariation | 682 const FeatureEntry::FeatureVariation |
| 682 kAutofillCreditCardPopupLayoutFeatureVariations[] = { | 683 kAutofillCreditCardPopupLayoutFeatureVariations[] = { |
| 683 {"Display credit card icon at start", | 684 {"Display credit card icon at start", |
| 684 kAutofillCreditCardPopupLayoutFeatureVariationIconAtStart, | 685 kAutofillCreditCardPopupLayoutFeatureVariationIconAtStart, |
| 685 arraysize(kAutofillCreditCardPopupLayoutFeatureVariationIconAtStart), | 686 arraysize(kAutofillCreditCardPopupLayoutFeatureVariationIconAtStart), |
| 686 nullptr}, | 687 nullptr}, |
| 687 {"Increase dropdown item height", | 688 {"Increase dropdown item height", |
| 688 kAutofillCreditCardPopupLayoutFeatureVariationDropdownItemHeight, | 689 kAutofillCreditCardPopupLayoutFeatureVariationDropdownItemHeight, |
| 689 arraysize( | 690 arraysize( |
| (...skipping 1730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2420 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2421 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 2421 | 2422 |
| 2422 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2423 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2423 *count = arraysize(kFeatureEntries); | 2424 *count = arraysize(kFeatureEntries); |
| 2424 return kFeatureEntries; | 2425 return kFeatureEntries; |
| 2425 } | 2426 } |
| 2426 | 2427 |
| 2427 } // namespace testing | 2428 } // namespace testing |
| 2428 | 2429 |
| 2429 } // namespace about_flags | 2430 } // namespace about_flags |
| OLD | NEW |