OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
6 | 6 |
7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 // in the measurements. | 155 // in the measurements. |
156 const char kDisableBackgroundNetworking[] = "disable-background-networking"; | 156 const char kDisableBackgroundNetworking[] = "disable-background-networking"; |
157 | 157 |
158 // Disable limits on the number of backing stores. Can prevent blinking for | 158 // Disable limits on the number of backing stores. Can prevent blinking for |
159 // users with many windows/tabs and lots of memory. | 159 // users with many windows/tabs and lots of memory. |
160 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit"; | 160 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit"; |
161 | 161 |
162 // Disable support for cached byte-ranges. | 162 // Disable support for cached byte-ranges. |
163 const char kDisableByteRangeSupport[] = "disable-byte-range-support"; | 163 const char kDisableByteRangeSupport[] = "disable-byte-range-support"; |
164 | 164 |
165 // Disable click-to-play for blocked plug-ins. | |
166 const char kDisableClickToPlay[] = "disable-click-to-play"; | |
167 | |
168 // Disables establishing a backup TCP connection if a specified timeout is | 165 // Disables establishing a backup TCP connection if a specified timeout is |
169 // exceeded. | 166 // exceeded. |
170 const char kDisableConnectBackupJobs[] = "disable-connect-backup-jobs"; | 167 const char kDisableConnectBackupJobs[] = "disable-connect-backup-jobs"; |
171 | 168 |
172 // Disable requests that webkit labels TargetIsPrefetch. As of | 169 // Disable requests that webkit labels TargetIsPrefetch. As of |
173 // writing only <link rel=prefetch...> but also eventually | 170 // writing only <link rel=prefetch...> but also eventually |
174 // Link: headers. | 171 // Link: headers. |
175 const char kDisableContentPrefetch[] = "disable-content-prefetch"; | 172 const char kDisableContentPrefetch[] = "disable-content-prefetch"; |
176 | 173 |
177 // Disables the custom JumpList on Windows 7. | 174 // Disables the custom JumpList on Windows 7. |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 // background and allow chrome to launch on startup). | 383 // background and allow chrome to launch on startup). |
387 const char kEnableBackgroundMode[] = "enable-background-mode"; | 384 const char kEnableBackgroundMode[] = "enable-background-mode"; |
388 | 385 |
389 // Enables the benchmarking extensions. | 386 // Enables the benchmarking extensions. |
390 const char kEnableBenchmarking[] = "enable-benchmarking"; | 387 const char kEnableBenchmarking[] = "enable-benchmarking"; |
391 | 388 |
392 // This flag enables UI for clearing server data. Temporarily in place | 389 // This flag enables UI for clearing server data. Temporarily in place |
393 // until there's a server endpoint deployed. | 390 // until there's a server endpoint deployed. |
394 const char kEnableClearServerData[] = "enable-clear-server-data"; | 391 const char kEnableClearServerData[] = "enable-clear-server-data"; |
395 | 392 |
| 393 // Enable click-to-play for blocked plug-ins. |
| 394 const char kEnableClickToPlay[] = "enable-click-to-play"; |
| 395 |
396 // This applies only when the process type is "service". Enables the | 396 // This applies only when the process type is "service". Enables the |
397 // Cloud Print Proxy component within the service process. | 397 // Cloud Print Proxy component within the service process. |
398 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; | 398 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; |
399 | 399 |
400 // Enables the Cloud Print dialog hosting code. | 400 // Enables the Cloud Print dialog hosting code. |
401 const char kEnableCloudPrint[] = "enable-cloud-print"; | 401 const char kEnableCloudPrint[] = "enable-cloud-print"; |
402 | 402 |
403 // Enables establishing a backup TCP connection if a specified timeout is | 403 // Enables establishing a backup TCP connection if a specified timeout is |
404 // exceeded. | 404 // exceeded. |
405 const char kEnableConnectBackupJobs[] = "enable-connect-backup-jobs"; | 405 const char kEnableConnectBackupJobs[] = "enable-connect-backup-jobs"; |
(...skipping 918 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1324 | 1324 |
1325 // ----------------------------------------------------------------------------- | 1325 // ----------------------------------------------------------------------------- |
1326 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1326 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1327 // | 1327 // |
1328 // You were going to just dump your switches here, weren't you? Instead, | 1328 // You were going to just dump your switches here, weren't you? Instead, |
1329 // please put them in alphabetical order above, or in order inside the | 1329 // please put them in alphabetical order above, or in order inside the |
1330 // appropriate ifdef at the bottom. The order should match the header. | 1330 // appropriate ifdef at the bottom. The order should match the header. |
1331 // ----------------------------------------------------------------------------- | 1331 // ----------------------------------------------------------------------------- |
1332 | 1332 |
1333 } // namespace switches | 1333 } // namespace switches |
OLD | NEW |