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

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: android webview init fix merged in. Created 7 years, 3 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/public/test/mock_resource_context.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) 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // Path to the exe to run for the renderer and plugin subprocesses. 56 // Path to the exe to run for the renderer and plugin subprocesses.
57 const char kBrowserSubprocessPath[] = "browser-subprocess-path"; 57 const char kBrowserSubprocessPath[] = "browser-subprocess-path";
58 58
59 // Dumps extra logging about plugin loading to the log file. 59 // Dumps extra logging about plugin loading to the log file.
60 const char kDebugPluginLoading[] = "debug-plugin-loading"; 60 const char kDebugPluginLoading[] = "debug-plugin-loading";
61 61
62 // Sets the tile size used by composited layers. 62 // Sets the tile size used by composited layers.
63 const char kDefaultTileWidth[] = "default-tile-width"; 63 const char kDefaultTileWidth[] = "default-tile-width";
64 const char kDefaultTileHeight[] = "default-tile-height"; 64 const char kDefaultTileHeight[] = "default-tile-height";
65 65
66 // By default, cookies are not allowed on file://. They are needed for testing,
67 // for example page cycler and layout tests. See bug 1157243.
68 const char kEnableFileCookies[] = "enable-file-cookies";
69
66 // Disable antialiasing on 2d canvas. 70 // Disable antialiasing on 2d canvas.
67 const char kDisable2dCanvasAntialiasing[] = "disable-canvas-aa"; 71 const char kDisable2dCanvasAntialiasing[] = "disable-canvas-aa";
68 72
69 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. 73 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D.
70 // This is controlled by policy and is kept separate from the other 74 // This is controlled by policy and is kept separate from the other
71 // enable/disable switches to avoid accidentally regressing the policy 75 // enable/disable switches to avoid accidentally regressing the policy
72 // support for controlling access to these APIs. 76 // support for controlling access to these APIs.
73 const char kDisable3DAPIs[] = "disable-3d-apis"; 77 const char kDisable3DAPIs[] = "disable-3d-apis";
74 78
75 // Disable gpu-accelerated 2d canvas. 79 // Disable gpu-accelerated 2d canvas.
(...skipping 867 matching lines...) Expand 10 before | Expand all | Expand 10 after
943 #endif 947 #endif
944 948
945 #if defined(USE_AURA) 949 #if defined(USE_AURA)
946 // Forces usage of the test compositor. Needed to run ui tests on bots. 950 // Forces usage of the test compositor. Needed to run ui tests on bots.
947 extern const char kTestCompositor[] = "test-compositor"; 951 extern const char kTestCompositor[] = "test-compositor";
948 #endif 952 #endif
949 953
950 // Don't dump stuff here, follow the same order as the header. 954 // Don't dump stuff here, follow the same order as the header.
951 955
952 } // namespace switches 956 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/test/mock_resource_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698