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 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
922 kOsWin, | 922 kOsWin, |
923 MULTI_VALUE_TYPE(kTouchOptimizedUIChoices) | 923 MULTI_VALUE_TYPE(kTouchOptimizedUIChoices) |
924 }, | 924 }, |
925 { | 925 { |
926 "disable-touch-adjustment", | 926 "disable-touch-adjustment", |
927 IDS_DISABLE_TOUCH_ADJUSTMENT_NAME, | 927 IDS_DISABLE_TOUCH_ADJUSTMENT_NAME, |
928 IDS_DISABLE_TOUCH_ADJUSTMENT_DESCRIPTION, | 928 IDS_DISABLE_TOUCH_ADJUSTMENT_DESCRIPTION, |
929 kOsWin | kOsLinux | kOsCrOS, | 929 kOsWin | kOsLinux | kOsCrOS, |
930 SINGLE_VALUE_TYPE(switches::kDisableTouchAdjustment) | 930 SINGLE_VALUE_TYPE(switches::kDisableTouchAdjustment) |
931 }, | 931 }, |
932 { | |
933 "enable-tab-capture", | |
934 IDS_ENABLE_TAB_CAPTURE_NAME, | |
935 IDS_ENABLE_TAB_CAPTURE_DESCRIPTION, | |
936 kOsWin | kOsMac | kOsLinux | kOsCrOS, | |
937 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(switches::kTabCapture, "1", | |
938 switches::kTabCapture, "0") | |
939 }, | |
940 #if defined(OS_CHROMEOS) | 932 #if defined(OS_CHROMEOS) |
941 { | 933 { |
942 "ash-use-alternate-shelf", | 934 "ash-use-alternate-shelf", |
943 IDS_FLAGS_ALTERNATE_SHELF_LAYOUT_NAME, | 935 IDS_FLAGS_ALTERNATE_SHELF_LAYOUT_NAME, |
944 IDS_FLAGS_ALTERNATE_SHELF_LAYOUT_DESCRIPTION, | 936 IDS_FLAGS_ALTERNATE_SHELF_LAYOUT_DESCRIPTION, |
945 kOsCrOS, | 937 kOsCrOS, |
946 SINGLE_VALUE_TYPE(ash::switches::kAshUseAlternateShelfLayout) | 938 SINGLE_VALUE_TYPE(ash::switches::kAshUseAlternateShelfLayout) |
947 }, | 939 }, |
948 { | 940 { |
949 "enable-background-loader", | 941 "enable-background-loader", |
(...skipping 1164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2114 } | 2106 } |
2115 | 2107 |
2116 const Experiment* GetExperiments(size_t* count) { | 2108 const Experiment* GetExperiments(size_t* count) { |
2117 *count = num_experiments; | 2109 *count = num_experiments; |
2118 return experiments; | 2110 return experiments; |
2119 } | 2111 } |
2120 | 2112 |
2121 } // namespace testing | 2113 } // namespace testing |
2122 | 2114 |
2123 } // namespace about_flags | 2115 } // namespace about_flags |
OLD | NEW |