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 926 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
937 SINGLE_VALUE_TYPE(switches::kEnableDownloadResumption) | 937 SINGLE_VALUE_TYPE(switches::kEnableDownloadResumption) |
938 }, | 938 }, |
939 { | 939 { |
940 "allow-nacl-socket-api", | 940 "allow-nacl-socket-api", |
941 IDS_FLAGS_ALLOW_NACL_SOCKET_API_NAME, | 941 IDS_FLAGS_ALLOW_NACL_SOCKET_API_NAME, |
942 IDS_FLAGS_ALLOW_NACL_SOCKET_API_DESCRIPTION, | 942 IDS_FLAGS_ALLOW_NACL_SOCKET_API_DESCRIPTION, |
943 kOsDesktop, | 943 kOsDesktop, |
944 SINGLE_VALUE_TYPE_AND_VALUE(switches::kAllowNaClSocketAPI, "*") | 944 SINGLE_VALUE_TYPE_AND_VALUE(switches::kAllowNaClSocketAPI, "*") |
945 }, | 945 }, |
946 { | 946 { |
947 "stacked-tab-strip", | |
948 IDS_FLAGS_STACKED_TAB_STRIP_NAME, | |
949 IDS_FLAGS_STACKED_TAB_STRIP_DESCRIPTION, | |
950 kOsWin, | |
951 SINGLE_VALUE_TYPE(switches::kEnableStackedTabStrip) | |
952 }, | |
953 { | |
954 "force-device-scale-factor", | 947 "force-device-scale-factor", |
955 IDS_FLAGS_FORCE_HIGH_DPI_NAME, | 948 IDS_FLAGS_FORCE_HIGH_DPI_NAME, |
956 IDS_FLAGS_FORCE_HIGH_DPI_DESCRIPTION, | 949 IDS_FLAGS_FORCE_HIGH_DPI_DESCRIPTION, |
957 kOsCrOS, | 950 kOsCrOS, |
958 SINGLE_VALUE_TYPE_AND_VALUE(switches::kForceDeviceScaleFactor, "2") | 951 SINGLE_VALUE_TYPE_AND_VALUE(switches::kForceDeviceScaleFactor, "2") |
959 }, | 952 }, |
960 #if defined(OS_CHROMEOS) | 953 #if defined(OS_CHROMEOS) |
961 { | 954 { |
962 "allow-touchpad-three-finger-click", | 955 "allow-touchpad-three-finger-click", |
963 IDS_FLAGS_ALLOW_TOUCHPAD_THREE_FINGER_CLICK_NAME, | 956 IDS_FLAGS_ALLOW_TOUCHPAD_THREE_FINGER_CLICK_NAME, |
(...skipping 1442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2406 } | 2399 } |
2407 | 2400 |
2408 const Experiment* GetExperiments(size_t* count) { | 2401 const Experiment* GetExperiments(size_t* count) { |
2409 *count = num_experiments; | 2402 *count = num_experiments; |
2410 return experiments; | 2403 return experiments; |
2411 } | 2404 } |
2412 | 2405 |
2413 } // namespace testing | 2406 } // namespace testing |
2414 | 2407 |
2415 } // namespace about_flags | 2408 } // namespace about_flags |
OLD | NEW |