Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 4643007: Move click-to-play to about:flags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 // Disable several subsystems which run network requests in the background. 147 // Disable several subsystems which run network requests in the background.
148 // This is for use when doing network performance testing to avoid noise 148 // This is for use when doing network performance testing to avoid noise
149 // in the measurements. 149 // in the measurements.
150 const char kDisableBackgroundNetworking[] = "disable-background-networking"; 150 const char kDisableBackgroundNetworking[] = "disable-background-networking";
151 151
152 // Disable limits on the number of backing stores. Can prevent blinking for 152 // Disable limits on the number of backing stores. Can prevent blinking for
153 // users with many windows/tabs and lots of memory. 153 // users with many windows/tabs and lots of memory.
154 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit"; 154 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit";
155 155
156 // Disable click-to-play for blocked plug-ins.
157 const char kDisableClickToPlay[] = "disable-click-to-play";
158
159 // Disables establishing a backup TCP connection if a specified timeout is 156 // Disables establishing a backup TCP connection if a specified timeout is
160 // exceeded. 157 // exceeded.
161 const char kDisableConnectBackupJobs[] = "disable-connect-backup-jobs"; 158 const char kDisableConnectBackupJobs[] = "disable-connect-backup-jobs";
162 159
163 // Disable requests that webkit labels TargetIsPrefetch. As of 160 // Disable requests that webkit labels TargetIsPrefetch. As of
164 // writing only <link rel=prefetch...> but also eventually 161 // writing only <link rel=prefetch...> but also eventually
165 // Link: headers. 162 // Link: headers.
166 const char kDisableContentPrefetch[] = "disable-content-prefetch"; 163 const char kDisableContentPrefetch[] = "disable-content-prefetch";
167 164
168 // Disables the custom JumpList on Windows 7. 165 // Disables the custom JumpList on Windows 7.
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 // background and allow chrome to launch on startup). 377 // background and allow chrome to launch on startup).
381 const char kEnableBackgroundMode[] = "enable-background-mode"; 378 const char kEnableBackgroundMode[] = "enable-background-mode";
382 379
383 // Enables the benchmarking extensions. 380 // Enables the benchmarking extensions.
384 const char kEnableBenchmarking[] = "enable-benchmarking"; 381 const char kEnableBenchmarking[] = "enable-benchmarking";
385 382
386 // This flag enables UI for clearing server data. Temporarily in place 383 // This flag enables UI for clearing server data. Temporarily in place
387 // until there's a server endpoint deployed. 384 // until there's a server endpoint deployed.
388 const char kEnableClearServerData[] = "enable-clear-server-data"; 385 const char kEnableClearServerData[] = "enable-clear-server-data";
389 386
387 // Enable click-to-play for blocked plug-ins.
388 const char kEnableClickToPlay[] = "enable-click-to-play";
389
390 // This applies only when the process type is "service". Enables the 390 // This applies only when the process type is "service". Enables the
391 // Cloud Print Proxy component within the service process. 391 // Cloud Print Proxy component within the service process.
392 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; 392 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy";
393 393
394 // Enables the Cloud Print dialog hosting code. 394 // Enables the Cloud Print dialog hosting code.
395 const char kEnableCloudPrint[] = "enable-cloud-print"; 395 const char kEnableCloudPrint[] = "enable-cloud-print";
396 396
397 // Enable the Confirm to Quit experiment. 397 // Enable the Confirm to Quit experiment.
398 const char kEnableConfirmToQuit[] = "enable-confirm-to-quit"; 398 const char kEnableConfirmToQuit[] = "enable-confirm-to-quit";
399 399
(...skipping 905 matching lines...) Expand 10 before | Expand all | Expand 10 after
1305 1305
1306 // ----------------------------------------------------------------------------- 1306 // -----------------------------------------------------------------------------
1307 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1307 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1308 // 1308 //
1309 // You were going to just dump your switches here, weren't you? Instead, 1309 // You were going to just dump your switches here, weren't you? Instead,
1310 // please put them in alphabetical order above, or in order inside the 1310 // please put them in alphabetical order above, or in order inside the
1311 // appropriate ifdef at the bottom. The order should match the header. 1311 // appropriate ifdef at the bottom. The order should match the header.
1312 // ----------------------------------------------------------------------------- 1312 // -----------------------------------------------------------------------------
1313 1313
1314 } // namespace switches 1314 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698