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 <algorithm> | 7 #include <algorithm> |
8 #include <iterator> | 8 #include <iterator> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 1986 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1997 }, | 1997 }, |
1998 { | 1998 { |
1999 "out-of-process-pdf", | 1999 "out-of-process-pdf", |
2000 IDS_FLAGS_OUT_OF_PROCESS_PDF_NAME, | 2000 IDS_FLAGS_OUT_OF_PROCESS_PDF_NAME, |
2001 IDS_FLAGS_OUT_OF_PROCESS_PDF_DESCRIPTION, | 2001 IDS_FLAGS_OUT_OF_PROCESS_PDF_DESCRIPTION, |
2002 kOsDesktop, | 2002 kOsDesktop, |
2003 SINGLE_VALUE_TYPE(switches::kOutOfProcessPdf) | 2003 SINGLE_VALUE_TYPE(switches::kOutOfProcessPdf) |
2004 }, | 2004 }, |
2005 #if defined(OS_ANDROID) | 2005 #if defined(OS_ANDROID) |
2006 { | 2006 { |
2007 "app-banners", | |
2008 IDS_FLAGS_DISABLE_APP_BANNERS_NAME, | |
2009 IDS_FLAGS_DISABLE_APP_BANNERS_DESCRIPTION, | |
2010 kOsAndroid, | |
2011 SINGLE_VALUE_TYPE(switches::kDisableAppBanners) | |
2012 }, | |
2013 { | |
2014 "enable-fast-text-autosizing", | 2007 "enable-fast-text-autosizing", |
2015 IDS_FLAGS_ENABLE_FAST_TEXT_AUTOSIZING_NAME, | 2008 IDS_FLAGS_ENABLE_FAST_TEXT_AUTOSIZING_NAME, |
2016 IDS_FLAGS_ENABLE_FAST_TEXT_AUTOSIZING_DESCRIPTION, | 2009 IDS_FLAGS_ENABLE_FAST_TEXT_AUTOSIZING_DESCRIPTION, |
2017 kOsAndroid, | 2010 kOsAndroid, |
2018 SINGLE_VALUE_TYPE(switches::kEnableFastTextAutosizing) | 2011 SINGLE_VALUE_TYPE(switches::kEnableFastTextAutosizing) |
2019 }, | 2012 }, |
2020 #endif | 2013 #endif |
2021 }; | 2014 }; |
2022 | 2015 |
2023 const Experiment* experiments = kExperiments; | 2016 const Experiment* experiments = kExperiments; |
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2522 } | 2515 } |
2523 | 2516 |
2524 const Experiment* GetExperiments(size_t* count) { | 2517 const Experiment* GetExperiments(size_t* count) { |
2525 *count = num_experiments; | 2518 *count = num_experiments; |
2526 return experiments; | 2519 return experiments; |
2527 } | 2520 } |
2528 | 2521 |
2529 } // namespace testing | 2522 } // namespace testing |
2530 | 2523 |
2531 } // namespace about_flags | 2524 } // namespace about_flags |
OLD | NEW |