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 891 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
902 SINGLE_VALUE_TYPE(switches::kEnableDownloadResumption) | 902 SINGLE_VALUE_TYPE(switches::kEnableDownloadResumption) |
903 }, | 903 }, |
904 { | 904 { |
905 "allow-nacl-socket-api", | 905 "allow-nacl-socket-api", |
906 IDS_FLAGS_ALLOW_NACL_SOCKET_API_NAME, | 906 IDS_FLAGS_ALLOW_NACL_SOCKET_API_NAME, |
907 IDS_FLAGS_ALLOW_NACL_SOCKET_API_DESCRIPTION, | 907 IDS_FLAGS_ALLOW_NACL_SOCKET_API_DESCRIPTION, |
908 kOsDesktop, | 908 kOsDesktop, |
909 SINGLE_VALUE_TYPE_AND_VALUE(switches::kAllowNaClSocketAPI, "*") | 909 SINGLE_VALUE_TYPE_AND_VALUE(switches::kAllowNaClSocketAPI, "*") |
910 }, | 910 }, |
911 { | 911 { |
912 "stacked-tab-strip", | |
913 IDS_FLAGS_STACKED_TAB_STRIP_NAME, | |
914 IDS_FLAGS_STACKED_TAB_STRIP_DESCRIPTION, | |
915 kOsWin, | |
916 SINGLE_VALUE_TYPE(switches::kEnableStackedTabStrip) | |
917 }, | |
918 { | |
919 "force-device-scale-factor", | 912 "force-device-scale-factor", |
920 IDS_FLAGS_FORCE_HIGH_DPI_NAME, | 913 IDS_FLAGS_FORCE_HIGH_DPI_NAME, |
921 IDS_FLAGS_FORCE_HIGH_DPI_DESCRIPTION, | 914 IDS_FLAGS_FORCE_HIGH_DPI_DESCRIPTION, |
922 kOsCrOS, | 915 kOsCrOS, |
923 SINGLE_VALUE_TYPE_AND_VALUE(switches::kForceDeviceScaleFactor, "2") | 916 SINGLE_VALUE_TYPE_AND_VALUE(switches::kForceDeviceScaleFactor, "2") |
924 }, | 917 }, |
925 #if defined(OS_CHROMEOS) | 918 #if defined(OS_CHROMEOS) |
926 { | 919 { |
927 "allow-touchpad-three-finger-click", | 920 "allow-touchpad-three-finger-click", |
928 IDS_FLAGS_ALLOW_TOUCHPAD_THREE_FINGER_CLICK_NAME, | 921 IDS_FLAGS_ALLOW_TOUCHPAD_THREE_FINGER_CLICK_NAME, |
(...skipping 1418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2347 } | 2340 } |
2348 | 2341 |
2349 const Experiment* GetExperiments(size_t* count) { | 2342 const Experiment* GetExperiments(size_t* count) { |
2350 *count = num_experiments; | 2343 *count = num_experiments; |
2351 return experiments; | 2344 return experiments; |
2352 } | 2345 } |
2353 | 2346 |
2354 } // namespace testing | 2347 } // namespace testing |
2355 | 2348 |
2356 } // namespace about_flags | 2349 } // namespace about_flags |
OLD | NEW |