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

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

Issue 1265983007: Popular sites on the NTP (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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
« 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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 const char kDisableFieldTrialTestingConfig[] = "disable-field-trial-config"; 274 const char kDisableFieldTrialTestingConfig[] = "disable-field-trial-config";
275 275
276 // Disable the behavior that the second click on a launcher item (the click when 276 // Disable the behavior that the second click on a launcher item (the click when
277 // the item is already active) minimizes the item. 277 // the item is already active) minimizes the item.
278 const char kDisableMinimizeOnSecondLauncherItemClick[] = 278 const char kDisableMinimizeOnSecondLauncherItemClick[] =
279 "disable-minimize-on-second-launcher-item-click"; 279 "disable-minimize-on-second-launcher-item-click";
280 280
281 // Disables the new bookmark app system. 281 // Disables the new bookmark app system.
282 const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps"; 282 const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps";
283 283
284 // Disables showing popular sites on the NTP.
285 const char kDisableNTPPopularSites[] = "disable-ntp-popular-sites";
286
284 // Disable auto-reload of error pages if offline. 287 // Disable auto-reload of error pages if offline.
285 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; 288 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload";
286 289
287 // Disable only auto-reloading error pages when the tab is visible. 290 // Disable only auto-reloading error pages when the tab is visible.
288 const char kDisableOfflineAutoReloadVisibleOnly[] = 291 const char kDisableOfflineAutoReloadVisibleOnly[] =
289 "disable-offline-auto-reload-visible-only"; 292 "disable-offline-auto-reload-visible-only";
290 293
291 // Disable out-of-process V8 proxy resolver. 294 // Disable out-of-process V8 proxy resolver.
292 const char kDisableOutOfProcessPac[] = "disable-out-of-process-pac"; 295 const char kDisableOutOfProcessPac[] = "disable-out-of-process-pac";
293 296
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 // for 10s, until the buffer is full, or until the next navigation. 466 // for 10s, until the buffer is full, or until the next navigation.
464 // It only works if a URL was provided by --trace-upload-url. 467 // It only works if a URL was provided by --trace-upload-url.
465 const char kEnableNavigationTracing[] = "enable-navigation-tracing"; 468 const char kEnableNavigationTracing[] = "enable-navigation-tracing";
466 469
467 // Enables the network-related benchmarking extensions. 470 // Enables the network-related benchmarking extensions.
468 const char kEnableNetBenchmarking[] = "enable-net-benchmarking"; 471 const char kEnableNetBenchmarking[] = "enable-net-benchmarking";
469 472
470 // Enables the new bookmark app system. 473 // Enables the new bookmark app system.
471 const char kEnableNewBookmarkApps[] = "enable-new-bookmark-apps"; 474 const char kEnableNewBookmarkApps[] = "enable-new-bookmark-apps";
472 475
476 // Enables showing popular sites on the NTP.
477 const char kEnableNTPPopularSites[] = "enable-ntp-popular-sites";
478
473 // Enable auto-reload of error pages if offline. 479 // Enable auto-reload of error pages if offline.
474 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; 480 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload";
475 481
476 // Only auto-reload error pages when the tab is visible. 482 // Only auto-reload error pages when the tab is visible.
477 const char kEnableOfflineAutoReloadVisibleOnly[] = 483 const char kEnableOfflineAutoReloadVisibleOnly[] =
478 "enable-offline-auto-reload-visible-only"; 484 "enable-offline-auto-reload-visible-only";
479 485
480 // Enables panels (always on-top docked pop-up windows). 486 // Enables panels (always on-top docked pop-up windows).
481 const char kEnablePanels[] = "enable-panels"; 487 const char kEnablePanels[] = "enable-panels";
482 488
(...skipping 929 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