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

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

Issue 2873074: Add a command line switch to control accelerated 2d canvas (Closed)
Patch Set: Serialize the preference over IPC so the renderer can see it Created 10 years, 4 months 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/render_messages.h » ('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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 const char kDomAutomationController[] = "dom-automation"; 261 const char kDomAutomationController[] = "dom-automation";
262 262
263 // Dump any accumualted histograms to the log when browser terminates (requires 263 // Dump any accumualted histograms to the log when browser terminates (requires
264 // logging to be enabled to really do anything). Used by developers and test 264 // logging to be enabled to really do anything). Used by developers and test
265 // scripts. 265 // scripts.
266 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit"; 266 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit";
267 267
268 // Enable gpu-accelerated compositing. 268 // Enable gpu-accelerated compositing.
269 const char kEnableAcceleratedCompositing[] = "enable-accelerated-compositing"; 269 const char kEnableAcceleratedCompositing[] = "enable-accelerated-compositing";
270 270
271 // Enable gpu-accelerated 2d canvas.
272 const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas";
273
271 // Enables AeroPeek for each tab. (This switch only works on Windows 7). 274 // Enables AeroPeek for each tab. (This switch only works on Windows 7).
272 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs"; 275 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs";
273 276
274 // Enable experimental extension apps. 277 // Enable experimental extension apps.
275 const char kEnableApps[] = "enable-apps"; 278 const char kEnableApps[] = "enable-apps";
276 279
277 // Enable the inclusion of non-standard ports when generating the Kerberos SPN 280 // Enable the inclusion of non-standard ports when generating the Kerberos SPN
278 // in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN 281 // in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN
279 // for more background. 282 // for more background.
280 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; 283 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port";
281 284
282 // Enables the benchmarking extensions. 285 // Enables the benchmarking extensions.
283 const char kEnableBenchmarking[] = "enable-benchmarking"; 286 const char kEnableBenchmarking[] = "enable-benchmarking";
284 287
285 // This applies only when the process type is "service". Enables the 288 // This applies only when the process type is "service". Enables the
286 // Chromoting Host Process within the service process. 289 // Chromoting Host Process within the service process.
287 const char kEnableChromoting[] = "enable-chromoting"; 290 const char kEnableChromoting[] = "enable-chromoting";
288 291
289 // Enable click-to-play for blocked plugins. 292 // Enable click-to-play for blocked plugins.
290 const char kEnableClickToPlay[] = "enable-click-to-play"; 293 const char kEnableClickToPlay[] = "enable-click-to-play";
jamesr 2010/07/29 02:19:21 I don't know why this is here. I do not think git
291 294
292 // This applies only when the process type is "service". Enables the 295 // This applies only when the process type is "service". Enables the
293 // Cloud Print Proxy component within the service process. 296 // Cloud Print Proxy component within the service process.
294 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; 297 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy";
295 298
296 // Enables the Cloud Print dialog hosting code. 299 // Enables the Cloud Print dialog hosting code.
297 const char kEnableCloudPrint[] = "enable-cloud-print"; 300 const char kEnableCloudPrint[] = "enable-cloud-print";
298 301
299 // Enables device orientation events. 302 // Enables device orientation events.
300 const char kEnableDeviceOrientation[] = "enable-device-orientation"; 303 const char kEnableDeviceOrientation[] = "enable-device-orientation";
(...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after
1124 1127
1125 // ----------------------------------------------------------------------------- 1128 // -----------------------------------------------------------------------------
1126 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1129 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1127 // 1130 //
1128 // You were going to just dump your switches here, weren't you? Instead, 1131 // You were going to just dump your switches here, weren't you? Instead,
1129 // please put them in alphabetical order above, or in order inside the 1132 // please put them in alphabetical order above, or in order inside the
1130 // appropriate ifdef at the bottom. The order should match the header. 1133 // appropriate ifdef at the bottom. The order should match the header.
1131 // ----------------------------------------------------------------------------- 1134 // -----------------------------------------------------------------------------
1132 1135
1133 } // namespace switches 1136 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698