| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 SINGLE_VALUE_TYPE(switches::kDisableGpuVsync) | 169 SINGLE_VALUE_TYPE(switches::kDisableGpuVsync) |
| 170 }, | 170 }, |
| 171 #if !defined(GOOGLE_CHROME_BUILD) || defined(OS_MACOSX) | 171 #if !defined(GOOGLE_CHROME_BUILD) || defined(OS_MACOSX) |
| 172 // Only expose this for Chromium builds where users may not have the PDF | 172 // Only expose this for Chromium builds where users may not have the PDF |
| 173 // plugin. Do not give Google Chrome users the option to disable it here, | 173 // plugin. Do not give Google Chrome users the option to disable it here, |
| 174 // except on Mac, where it is disabled. | 174 // except on Mac, where it is disabled. |
| 175 { | 175 { |
| 176 "print-preview", // FLAGS:RECORD_UMA | 176 "print-preview", // FLAGS:RECORD_UMA |
| 177 IDS_FLAGS_PRINT_PREVIEW_NAME, | 177 IDS_FLAGS_PRINT_PREVIEW_NAME, |
| 178 IDS_FLAGS_PRINT_PREVIEW_DESCRIPTION, | 178 IDS_FLAGS_PRINT_PREVIEW_DESCRIPTION, |
| 179 kOsMac | kOsWin | kOsLinux, // This switch is not available in CrOS. | 179 kOsAll, |
| 180 SINGLE_VALUE_TYPE(switches::kEnablePrintPreview) | 180 SINGLE_VALUE_TYPE(switches::kEnablePrintPreview) |
| 181 }, | 181 }, |
| 182 #endif | 182 #endif |
| 183 // TODO(dspringer): When NaCl is on by default, remove this flag entry. | 183 // TODO(dspringer): When NaCl is on by default, remove this flag entry. |
| 184 { | 184 { |
| 185 switches::kEnableNaCl, // FLAGS:RECORD_UMA | 185 switches::kEnableNaCl, // FLAGS:RECORD_UMA |
| 186 IDS_FLAGS_ENABLE_NACL_NAME, | 186 IDS_FLAGS_ENABLE_NACL_NAME, |
| 187 IDS_FLAGS_ENABLE_NACL_DESCRIPTION, | 187 IDS_FLAGS_ENABLE_NACL_DESCRIPTION, |
| 188 kOsAll, | 188 kOsAll, |
| 189 SINGLE_VALUE_TYPE(switches::kEnableNaCl) | 189 SINGLE_VALUE_TYPE(switches::kEnableNaCl) |
| (...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 757 } | 757 } |
| 758 | 758 |
| 759 const Experiment* GetExperiments(size_t* count) { | 759 const Experiment* GetExperiments(size_t* count) { |
| 760 *count = num_experiments; | 760 *count = num_experiments; |
| 761 return experiments; | 761 return experiments; |
| 762 } | 762 } |
| 763 | 763 |
| 764 } // namespace testing | 764 } // namespace testing |
| 765 | 765 |
| 766 } // namespace about_flags | 766 } // namespace about_flags |
| OLD | NEW |