| 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 1722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2412 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2413 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 2413 | 2414 |
| 2414 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2415 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2415 *count = arraysize(kFeatureEntries); | 2416 *count = arraysize(kFeatureEntries); |
| 2416 return kFeatureEntries; | 2417 return kFeatureEntries; |
| 2417 } | 2418 } |
| 2418 | 2419 |
| 2419 } // namespace testing | 2420 } // namespace testing |
| 2420 | 2421 |
| 2421 } // namespace about_flags | 2422 } // namespace about_flags |
| OLD | NEW |