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 898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
909 SINGLE_VALUE_TYPE(switches::kEnableDownloadResumption) | 909 SINGLE_VALUE_TYPE(switches::kEnableDownloadResumption) |
910 }, | 910 }, |
911 #if defined(ENABLE_PLUGINS) | 911 #if defined(ENABLE_PLUGINS) |
912 { | 912 { |
913 "allow-nacl-socket-api", | 913 "allow-nacl-socket-api", |
914 IDS_FLAGS_ALLOW_NACL_SOCKET_API_NAME, | 914 IDS_FLAGS_ALLOW_NACL_SOCKET_API_NAME, |
915 IDS_FLAGS_ALLOW_NACL_SOCKET_API_DESCRIPTION, | 915 IDS_FLAGS_ALLOW_NACL_SOCKET_API_DESCRIPTION, |
916 kOsDesktop, | 916 kOsDesktop, |
917 SINGLE_VALUE_TYPE_AND_VALUE(switches::kAllowNaClSocketAPI, "*") | 917 SINGLE_VALUE_TYPE_AND_VALUE(switches::kAllowNaClSocketAPI, "*") |
918 }, | 918 }, |
| 919 { |
| 920 "enable-plugin-power-saver", |
| 921 IDS_FLAGS_ENABLE_PLUGIN_POWER_SAVER_NAME, |
| 922 IDS_FLAGS_ENABLE_PLUGIN_POWER_SAVER_DESCRIPTION, |
| 923 kOsDesktop, |
| 924 SINGLE_VALUE_TYPE(switches::kEnablePluginPowerSaver) |
| 925 }, |
919 #endif | 926 #endif |
920 #if defined(OS_CHROMEOS) | 927 #if defined(OS_CHROMEOS) |
921 { | 928 { |
922 "allow-touchpad-three-finger-click", | 929 "allow-touchpad-three-finger-click", |
923 IDS_FLAGS_ALLOW_TOUCHPAD_THREE_FINGER_CLICK_NAME, | 930 IDS_FLAGS_ALLOW_TOUCHPAD_THREE_FINGER_CLICK_NAME, |
924 IDS_FLAGS_ALLOW_TOUCHPAD_THREE_FINGER_CLICK_DESCRIPTION, | 931 IDS_FLAGS_ALLOW_TOUCHPAD_THREE_FINGER_CLICK_DESCRIPTION, |
925 kOsCrOS, | 932 kOsCrOS, |
926 SINGLE_VALUE_TYPE(chromeos::switches::kEnableTouchpadThreeFingerClick) | 933 SINGLE_VALUE_TYPE(chromeos::switches::kEnableTouchpadThreeFingerClick) |
927 }, | 934 }, |
928 { | 935 { |
(...skipping 1595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2524 } | 2531 } |
2525 | 2532 |
2526 const Experiment* GetExperiments(size_t* count) { | 2533 const Experiment* GetExperiments(size_t* count) { |
2527 *count = num_experiments; | 2534 *count = num_experiments; |
2528 return experiments; | 2535 return experiments; |
2529 } | 2536 } |
2530 | 2537 |
2531 } // namespace testing | 2538 } // namespace testing |
2532 | 2539 |
2533 } // namespace about_flags | 2540 } // namespace about_flags |
OLD | NEW |