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

Side by Side Diff: content/public/common/content_switches.cc

Issue 9307062: Do not use setDartFlags API as we're now passing flags by other means. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_process_impl.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) 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 "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 15 matching lines...) Expand all
26 // Causes the browser process to crash on startup. 26 // Causes the browser process to crash on startup.
27 const char kBrowserCrashTest[] = "crash-test"; 27 const char kBrowserCrashTest[] = "crash-test";
28 28
29 // Path to the exe to run for the renderer and plugin subprocesses. 29 // Path to the exe to run for the renderer and plugin subprocesses.
30 const char kBrowserSubprocessPath[] = "browser-subprocess-path"; 30 const char kBrowserSubprocessPath[] = "browser-subprocess-path";
31 31
32 // Run Chrome in Chrome Frame mode. This means that Chrome expects to be run 32 // Run Chrome in Chrome Frame mode. This means that Chrome expects to be run
33 // as a dependent process of the Chrome Frame plugin. 33 // as a dependent process of the Chrome Frame plugin.
34 const char kChromeFrame[] = "chrome-frame"; 34 const char kChromeFrame[] = "chrome-frame";
35 35
36 // Options to pass to the Dart VM.
37 const char kDartFlags[] = "dart-flags";
38
39 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. 36 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D.
40 // This is controlled by policy and is kept separate from the other 37 // This is controlled by policy and is kept separate from the other
41 // enable/disable switches to avoid accidentally regressing the policy 38 // enable/disable switches to avoid accidentally regressing the policy
42 // support for controlling access to these APIs. 39 // support for controlling access to these APIs.
43 const char kDisable3DAPIs[] = "disable-3d-apis"; 40 const char kDisable3DAPIs[] = "disable-3d-apis";
44 41
45 // Disable gpu-accelerated 2d canvas. 42 // Disable gpu-accelerated 2d canvas.
46 const char kDisableAccelerated2dCanvas[] = "disable-accelerated-2d-canvas"; 43 const char kDisableAccelerated2dCanvas[] = "disable-accelerated-2d-canvas";
47 44
48 // Disables accelerated compositing. 45 // Disables accelerated compositing.
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; 565 const char kRendererCheckFalseTest[] = "renderer-check-false-test";
569 #endif 566 #endif
570 567
571 // Enable per-tile page painting. 568 // Enable per-tile page painting.
572 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; 569 const char kEnablePerTilePainting[] = "enable-per-tile-painting";
573 570
574 // Disables the use of a 3D software rasterizer. 571 // Disables the use of a 3D software rasterizer.
575 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; 572 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer";
576 573
577 } // namespace switches 574 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698