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

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

Issue 7605003: --downloads-new-ui completely disables the download shelf. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 const char kDisableCustomJumpList[] = "disable-custom-jumplist"; 225 const char kDisableCustomJumpList[] = "disable-custom-jumplist";
226 226
227 // Disables checking whether custom protocol handlers are registered with the 227 // Disables checking whether custom protocol handlers are registered with the
228 // OS and removing those that are not. This is used during automated testing. 228 // OS and removing those that are not. This is used during automated testing.
229 const char kDisableCustomProtocolOSCheck[] = 229 const char kDisableCustomProtocolOSCheck[] =
230 "disable-custom-protocol-os-check"; 230 "disable-custom-protocol-os-check";
231 231
232 // Disables retrieval of PAC URLs from DHCP as per the WPAD standard. 232 // Disables retrieval of PAC URLs from DHCP as per the WPAD standard.
233 const char kDisableDhcpWpad[] = "disable-dhcp-wpad"; 233 const char kDisableDhcpWpad[] = "disable-dhcp-wpad";
234 234
235 // Disables the download shelf.
236 const char kDisableDownloadShelf[] = "disable-download-shelf";
237
235 // Disable extensions. 238 // Disable extensions.
236 const char kDisableExtensions[] = "disable-extensions"; 239 const char kDisableExtensions[] = "disable-extensions";
237 240
238 // Disable checking for user opt-in for extensions that want to inject script 241 // Disable checking for user opt-in for extensions that want to inject script
239 // into file URLs (ie, always allow it). This is used during automated testing. 242 // into file URLs (ie, always allow it). This is used during automated testing.
240 const char kDisableExtensionsFileAccessCheck[] = 243 const char kDisableExtensionsFileAccessCheck[] =
241 "disable-extensions-file-access-check"; 244 "disable-extensions-file-access-check";
242 245
243 // Disables the sandbox for the built-in flash player. 246 // Disables the sandbox for the built-in flash player.
244 const char kDisableFlashSandbox[] = "disable-flash-sandbox"; 247 const char kDisableFlashSandbox[] = "disable-flash-sandbox";
(...skipping 984 matching lines...) Expand 10 before | Expand all | Expand 10 after
1229 1232
1230 // ----------------------------------------------------------------------------- 1233 // -----------------------------------------------------------------------------
1231 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1234 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1232 // 1235 //
1233 // You were going to just dump your switches here, weren't you? Instead, 1236 // You were going to just dump your switches here, weren't you? Instead,
1234 // please put them in alphabetical order above, or in order inside the 1237 // please put them in alphabetical order above, or in order inside the
1235 // appropriate ifdef at the bottom. The order should match the header. 1238 // appropriate ifdef at the bottom. The order should match the header.
1236 // ----------------------------------------------------------------------------- 1239 // -----------------------------------------------------------------------------
1237 1240
1238 } // namespace switches 1241 } // namespace switches
OLDNEW
« chrome/browser/ui/browser.cc ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698