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

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

Issue 1026053003: [Icons NTP] Add a flag to enable large icons on the NTP. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 9 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') | tools/metrics/histograms/histograms.xml » ('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 9
10 namespace switches { 10 namespace switches {
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 // Disable checking for user opt-in for extensions that want to inject script 258 // Disable checking for user opt-in for extensions that want to inject script
259 // into file URLs (ie, always allow it). This is used during automated testing. 259 // into file URLs (ie, always allow it). This is used during automated testing.
260 const char kDisableExtensionsFileAccessCheck[] = 260 const char kDisableExtensionsFileAccessCheck[] =
261 "disable-extensions-file-access-check"; 261 "disable-extensions-file-access-check";
262 262
263 // Disable the net::URLRequestThrottlerManager functionality for 263 // Disable the net::URLRequestThrottlerManager functionality for
264 // requests originating from extensions. 264 // requests originating from extensions.
265 const char kDisableExtensionsHttpThrottling[] = 265 const char kDisableExtensionsHttpThrottling[] =
266 "disable-extensions-http-throttling"; 266 "disable-extensions-http-throttling";
267 267
268 // Disables large icons on the New Tab page.
269 const char kDisableIconNtp[] = "disable-icon-ntp";
270
268 // Don't resolve hostnames to IPv6 addresses. This can be used when debugging 271 // Don't resolve hostnames to IPv6 addresses. This can be used when debugging
269 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file 272 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file
270 // bugs if something isn't working properly in the presence of IPv6. This flag 273 // bugs if something isn't working properly in the presence of IPv6. This flag
271 // can be overidden by the "enable-ipv6" flag. 274 // can be overidden by the "enable-ipv6" flag.
272 const char kDisableIPv6[] = "disable-ipv6"; 275 const char kDisableIPv6[] = "disable-ipv6";
273 276
274 // Disable the behavior that the second click on a launcher item (the click when 277 // Disable the behavior that the second click on a launcher item (the click when
275 // the item is already active) minimizes the item. 278 // the item is already active) minimizes the item.
276 const char kDisableMinimizeOnSecondLauncherItemClick[] = 279 const char kDisableMinimizeOnSecondLauncherItemClick[] =
277 "disable-minimize-on-second-launcher-item-click"; 280 "disable-minimize-on-second-launcher-item-click";
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 "enable-extension-activity-logging"; 453 "enable-extension-activity-logging";
451 454
452 const char kEnableExtensionActivityLogTesting[] = 455 const char kEnableExtensionActivityLogTesting[] =
453 "enable-extension-activity-log-testing"; 456 "enable-extension-activity-log-testing";
454 457
455 // Enable the fast unload controller, which speeds up tab/window close by 458 // Enable the fast unload controller, which speeds up tab/window close by
456 // running a tab's onunload js handler independently of the GUI - 459 // running a tab's onunload js handler independently of the GUI -
457 // crbug.com/142458 . 460 // crbug.com/142458 .
458 const char kEnableFastUnload[] = "enable-fast-unload"; 461 const char kEnableFastUnload[] = "enable-fast-unload";
459 462
463 // Enables large icons on the New Tab page.
464 const char kEnableIconNtp[] = "enable-icon-ntp";
465
460 // Enable opt-in for the collection of invalid TLS/SSL certificate chains. 466 // Enable opt-in for the collection of invalid TLS/SSL certificate chains.
461 const char kEnableInvalidCertCollection[] = "enable-invalid-cert-collection"; 467 const char kEnableInvalidCertCollection[] = "enable-invalid-cert-collection";
462 468
463 // Enables IPv6 support, even if probes suggest that it may not be fully 469 // Enables IPv6 support, even if probes suggest that it may not be fully
464 // supported. Some probes may require internet connections, and this flag will 470 // supported. Some probes may require internet connections, and this flag will
465 // allow support independent of application testing. This flag overrides 471 // allow support independent of application testing. This flag overrides
466 // "disable-ipv6" which appears elswhere in this file. 472 // "disable-ipv6" which appears elswhere in this file.
467 const char kEnableIPv6[] = "enable-ipv6"; 473 const char kEnableIPv6[] = "enable-ipv6";
468 474
469 // Enables experimentation with launching ephemeral apps via hyperlinks. 475 // Enables experimentation with launching ephemeral apps via hyperlinks.
(...skipping 942 matching lines...) Expand 10 before | Expand all | Expand 10 after
1412 1418
1413 // ----------------------------------------------------------------------------- 1419 // -----------------------------------------------------------------------------
1414 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1420 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1415 // 1421 //
1416 // You were going to just dump your switches here, weren't you? Instead, please 1422 // You were going to just dump your switches here, weren't you? Instead, please
1417 // put them in alphabetical order above, or in order inside the appropriate 1423 // put them in alphabetical order above, or in order inside the appropriate
1418 // ifdef at the bottom. The order should match the header. 1424 // ifdef at the bottom. The order should match the header.
1419 // ----------------------------------------------------------------------------- 1425 // -----------------------------------------------------------------------------
1420 1426
1421 } // namespace switches 1427 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698