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

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

Issue 882343004: Enable the new bookmark apps system by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/renderer/web_apps.cc » ('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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file 252 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file
253 // bugs if something isn't working properly in the presence of IPv6. This flag 253 // bugs if something isn't working properly in the presence of IPv6. This flag
254 // can be overidden by the "enable-ipv6" flag. 254 // can be overidden by the "enable-ipv6" flag.
255 const char kDisableIPv6[] = "disable-ipv6"; 255 const char kDisableIPv6[] = "disable-ipv6";
256 256
257 // Disable the behavior that the second click on a launcher item (the click when 257 // Disable the behavior that the second click on a launcher item (the click when
258 // the item is already active) minimizes the item. 258 // the item is already active) minimizes the item.
259 const char kDisableMinimizeOnSecondLauncherItemClick[] = 259 const char kDisableMinimizeOnSecondLauncherItemClick[] =
260 "disable-minimize-on-second-launcher-item-click"; 260 "disable-minimize-on-second-launcher-item-click";
261 261
262 // Disables the new bookmark app system.
263 const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps";
264
262 // Disables the new offline error page generated by NetErrorHelper for ChromeOS 265 // Disables the new offline error page generated by NetErrorHelper for ChromeOS
263 // and instead uses the old error page generated by OfflineResourceThrottle. 266 // and instead uses the old error page generated by OfflineResourceThrottle.
264 const char kDisableNewOfflineErrorPage[] = "disable-new-offline-error-page"; 267 const char kDisableNewOfflineErrorPage[] = "disable-new-offline-error-page";
265 268
266 // Disables the menu on the NTP for accessing sessions from other devices. 269 // Disables the menu on the NTP for accessing sessions from other devices.
267 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; 270 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu";
268 271
269 // Disable auto-reload of error pages if offline. 272 // Disable auto-reload of error pages if offline.
270 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; 273 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload";
271 274
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 // Enables the material design Settings feature. 457 // Enables the material design Settings feature.
455 const char kEnableMaterialDesignSettings[] = "enable-md-settings"; 458 const char kEnableMaterialDesignSettings[] = "enable-md-settings";
456 459
457 // Runs the Native Client inside the renderer process and enables GPU plugin 460 // Runs the Native Client inside the renderer process and enables GPU plugin
458 // (internally adds lEnableGpuPlugin to the command line). 461 // (internally adds lEnableGpuPlugin to the command line).
459 const char kEnableNaCl[] = "enable-nacl"; 462 const char kEnableNaCl[] = "enable-nacl";
460 463
461 // Enables the network-related benchmarking extensions. 464 // Enables the network-related benchmarking extensions.
462 const char kEnableNetBenchmarking[] = "enable-net-benchmarking"; 465 const char kEnableNetBenchmarking[] = "enable-net-benchmarking";
463 466
464 // Enables the new bookmark app system.
465 const char kEnableNewBookmarkApps[] = "enable-new-bookmark-apps";
466
467 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used. 467 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used.
468 // HTTP is still used for all requests. 468 // HTTP is still used for all requests.
469 const char kEnableNpnHttpOnly[] = "enable-npn-http"; 469 const char kEnableNpnHttpOnly[] = "enable-npn-http";
470 470
471 // Enable auto-reload of error pages if offline. 471 // Enable auto-reload of error pages if offline.
472 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; 472 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload";
473 473
474 // Only auto-reload error pages when the tab is visible. 474 // Only auto-reload error pages when the tab is visible.
475 const char kEnableOfflineAutoReloadVisibleOnly[] = 475 const char kEnableOfflineAutoReloadVisibleOnly[] =
476 "enable-offline-auto-reload-visible-only"; 476 "enable-offline-auto-reload-visible-only";
(...skipping 924 matching lines...) Expand 10 before | Expand all | Expand 10 after
1401 1401
1402 // ----------------------------------------------------------------------------- 1402 // -----------------------------------------------------------------------------
1403 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1403 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1404 // 1404 //
1405 // You were going to just dump your switches here, weren't you? Instead, please 1405 // You were going to just dump your switches here, weren't you? Instead, please
1406 // put them in alphabetical order above, or in order inside the appropriate 1406 // put them in alphabetical order above, or in order inside the appropriate
1407 // ifdef at the bottom. The order should match the header. 1407 // ifdef at the bottom. The order should match the header.
1408 // ----------------------------------------------------------------------------- 1408 // -----------------------------------------------------------------------------
1409 1409
1410 } // namespace switches 1410 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/renderer/web_apps.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698