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

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

Issue 1710083005: Remove old downloads UI; Material Design version is now the default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove testing/ Created 4 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/test/BUILD.gn » ('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 "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 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 // requests originating from extensions. 267 // requests originating from extensions.
268 const char kDisableExtensionsHttpThrottling[] = 268 const char kDisableExtensionsHttpThrottling[] =
269 "disable-extensions-http-throttling"; 269 "disable-extensions-http-throttling";
270 270
271 // Disable field trial tests configured in fieldtrial_testing_config.json. 271 // Disable field trial tests configured in fieldtrial_testing_config.json.
272 const char kDisableFieldTrialTestingConfig[] = "disable-field-trial-config"; 272 const char kDisableFieldTrialTestingConfig[] = "disable-field-trial-config";
273 273
274 // Disable HTTP/2 and SPDY/3.1 protocols. 274 // Disable HTTP/2 and SPDY/3.1 protocols.
275 const char kDisableHttp2[] = "disable-http2"; 275 const char kDisableHttp2[] = "disable-http2";
276 276
277 // Disables the Material Design version of chrome://downloads. 277 // Disable the behavior that the second click on a launcher item (the click when
278 const char kDisableMaterialDesignDownloads[] = "disable-md-downloads"; 278 // the item is already active) minimizes the item.
279 const char kDisableMinimizeOnSecondLauncherItemClick[] =
280 "disable-minimize-on-second-launcher-item-click";
279 281
280 // Disables the new bookmark app system. 282 // Disables the new bookmark app system.
281 const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps"; 283 const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps";
282 284
283 // Disables showing popular sites on the NTP. 285 // Disables showing popular sites on the NTP.
284 const char kDisableNTPPopularSites[] = "disable-ntp-popular-sites"; 286 const char kDisableNTPPopularSites[] = "disable-ntp-popular-sites";
285 287
286 // Disable auto-reload of error pages if offline. 288 // Disable auto-reload of error pages if offline.
287 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; 289 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload";
288 290
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 "enable-extension-activity-logging"; 410 "enable-extension-activity-logging";
409 411
410 const char kEnableExtensionActivityLogTesting[] = 412 const char kEnableExtensionActivityLogTesting[] =
411 "enable-extension-activity-log-testing"; 413 "enable-extension-activity-log-testing";
412 414
413 // Enable the fast unload controller, which speeds up tab/window close by 415 // Enable the fast unload controller, which speeds up tab/window close by
414 // running a tab's onunload js handler independently of the GUI - 416 // running a tab's onunload js handler independently of the GUI -
415 // crbug.com/142458 . 417 // crbug.com/142458 .
416 const char kEnableFastUnload[] = "enable-fast-unload"; 418 const char kEnableFastUnload[] = "enable-fast-unload";
417 419
418 // Enables the Material Design version of chrome://downloads.
419 const char kEnableMaterialDesignDownloads[] = "enable-md-downloads";
420
421 // Enables the Material Design version of chrome://extensions. 420 // Enables the Material Design version of chrome://extensions.
422 const char kEnableMaterialDesignExtensions[] = "enable-md-extensions"; 421 const char kEnableMaterialDesignExtensions[] = "enable-md-extensions";
423 422
424 // Enables the Material Design version of chrome://history. 423 // Enables the Material Design version of chrome://history.
425 const char kEnableMaterialDesignHistory[] = "enable-md-history"; 424 const char kEnableMaterialDesignHistory[] = "enable-md-history";
426 425
427 // Enables the Material Design policy page at chrome://md-policy. 426 // Enables the Material Design policy page at chrome://md-policy.
428 const char kEnableMaterialDesignPolicyPage[] = "enable-md-policy-page"; 427 const char kEnableMaterialDesignPolicyPage[] = "enable-md-policy-page";
429 428
430 // Runs the Native Client inside the renderer process and enables GPU plugin 429 // Runs the Native Client inside the renderer process and enables GPU plugin
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after
1372 1371
1373 // ----------------------------------------------------------------------------- 1372 // -----------------------------------------------------------------------------
1374 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1373 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1375 // 1374 //
1376 // You were going to just dump your switches here, weren't you? Instead, please 1375 // You were going to just dump your switches here, weren't you? Instead, please
1377 // put them in alphabetical order above, or in order inside the appropriate 1376 // put them in alphabetical order above, or in order inside the appropriate
1378 // ifdef at the bottom. The order should match the header. 1377 // ifdef at the bottom. The order should match the header.
1379 // ----------------------------------------------------------------------------- 1378 // -----------------------------------------------------------------------------
1380 1379
1381 } // namespace switches 1380 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698