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

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

Issue 12546016: Remove the Extensions URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix silly compile error Created 7 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 | Annotate | Revision Log
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 // Path to the exe to run for the renderer and plugin subprocesses. 47 // Path to the exe to run for the renderer and plugin subprocesses.
48 const char kBrowserSubprocessPath[] = "browser-subprocess-path"; 48 const char kBrowserSubprocessPath[] = "browser-subprocess-path";
49 49
50 // Dumps extra logging about plugin loading to the log file. 50 // Dumps extra logging about plugin loading to the log file.
51 const char kDebugPluginLoading[] = "debug-plugin-loading"; 51 const char kDebugPluginLoading[] = "debug-plugin-loading";
52 52
53 // Sets the tile size used by composited layers. 53 // Sets the tile size used by composited layers.
54 const char kDefaultTileWidth[] = "default-tile-width"; 54 const char kDefaultTileWidth[] = "default-tile-width";
55 const char kDefaultTileHeight[] = "default-tile-height"; 55 const char kDefaultTileHeight[] = "default-tile-height";
56 56
57 // By default, cookies are not allowed on file://. They are needed for testing,
58 // for example page cycler and layout tests. See bug 1157243.
59 const char kEnableFileCookies[] = "enable-file-cookies";
60
57 // Disable antialiasing on 2d canvas. 61 // Disable antialiasing on 2d canvas.
58 const char kDisable2dCanvasAntialiasing[] = "disable-canvas-aa"; 62 const char kDisable2dCanvasAntialiasing[] = "disable-canvas-aa";
59 63
60 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. 64 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D.
61 // This is controlled by policy and is kept separate from the other 65 // This is controlled by policy and is kept separate from the other
62 // enable/disable switches to avoid accidentally regressing the policy 66 // enable/disable switches to avoid accidentally regressing the policy
63 // support for controlling access to these APIs. 67 // support for controlling access to these APIs.
64 const char kDisable3DAPIs[] = "disable-3d-apis"; 68 const char kDisable3DAPIs[] = "disable-3d-apis";
65 69
66 // Disable gpu-accelerated 2d canvas. 70 // Disable gpu-accelerated 2d canvas.
(...skipping 867 matching lines...) Expand 10 before | Expand all | Expand 10 after
934 // Forces usage of the test compositor. Needed to run ui tests on bots. 938 // Forces usage of the test compositor. Needed to run ui tests on bots.
935 extern const char kTestCompositor[] = "test-compositor"; 939 extern const char kTestCompositor[] = "test-compositor";
936 #endif 940 #endif
937 941
938 // Don't dump stuff here, follow the same order as the header. 942 // Don't dump stuff here, follow the same order as the header.
939 943
940 // Allows filters (SkImageFilter objects) to be sent between processes over IPC 944 // Allows filters (SkImageFilter objects) to be sent between processes over IPC
941 const char kAllowFiltersOverIPC[] = "allow-filters-over-ipc"; 945 const char kAllowFiltersOverIPC[] = "allow-filters-over-ipc";
942 946
943 } // namespace switches 947 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698