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 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
607 }, | 607 }, |
608 #endif | 608 #endif |
609 { | 609 { |
610 "show-autofill-type-predictions", | 610 "show-autofill-type-predictions", |
611 IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_NAME, | 611 IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_NAME, |
612 IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_DESCRIPTION, | 612 IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_DESCRIPTION, |
613 kOsAll, | 613 kOsAll, |
614 SINGLE_VALUE_TYPE(autofill::switches::kShowAutofillTypePredictions) | 614 SINGLE_VALUE_TYPE(autofill::switches::kShowAutofillTypePredictions) |
615 }, | 615 }, |
616 { | 616 { |
617 "disambiguate-autofill-server-name-types", | |
618 IDS_FLAGS_DISAMBIGUATE_SERVER_NAME_TYPES_NAME, | |
619 IDS_FLAGS_DISAMBIGUATE_SERVER_NAME_TYPES_DESCRIPTION, | |
620 kOsAll, | |
621 ENABLE_DISABLE_VALUE_TYPE( | |
622 autofill::switches::kDisambiguateAutofillServerNameTypes, | |
623 autofill::switches::kTrustAutofillServerNameTypes) | |
624 }, | |
625 { | |
626 "enable-smooth-scrolling", // FLAGS:RECORD_UMA | 617 "enable-smooth-scrolling", // FLAGS:RECORD_UMA |
627 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME, | 618 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME, |
628 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION, | 619 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION, |
629 // Can't expose the switch unless the code is compiled in. | 620 // Can't expose the switch unless the code is compiled in. |
630 // On by default for the Mac (different implementation in WebKit). | 621 // On by default for the Mac (different implementation in WebKit). |
631 kOsLinux, | 622 kOsLinux, |
632 SINGLE_VALUE_TYPE(switches::kEnableSmoothScrolling) | 623 SINGLE_VALUE_TYPE(switches::kEnableSmoothScrolling) |
633 }, | 624 }, |
634 #if defined(USE_AURA) || defined(OS_LINUX) | 625 #if defined(USE_AURA) || defined(OS_LINUX) |
635 { | 626 { |
(...skipping 2013 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2649 } | 2640 } |
2650 | 2641 |
2651 const Experiment* GetExperiments(size_t* count) { | 2642 const Experiment* GetExperiments(size_t* count) { |
2652 *count = num_experiments; | 2643 *count = num_experiments; |
2653 return experiments; | 2644 return experiments; |
2654 } | 2645 } |
2655 | 2646 |
2656 } // namespace testing | 2647 } // namespace testing |
2657 | 2648 |
2658 } // namespace about_flags | 2649 } // namespace about_flags |
OLD | NEW |