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

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

Issue 938603002: Disable bookmark apps on non-ChromeOS platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 // bugs if something isn't working properly in the presence of IPv6. This flag 263 // bugs if something isn't working properly in the presence of IPv6. This flag
264 // can be overidden by the "enable-ipv6" flag. 264 // can be overidden by the "enable-ipv6" flag.
265 const char kDisableIPv6[] = "disable-ipv6"; 265 const char kDisableIPv6[] = "disable-ipv6";
266 266
267 // Disable the behavior that the second click on a launcher item (the click when 267 // Disable the behavior that the second click on a launcher item (the click when
268 // the item is already active) minimizes the item. 268 // the item is already active) minimizes the item.
269 const char kDisableMinimizeOnSecondLauncherItemClick[] = 269 const char kDisableMinimizeOnSecondLauncherItemClick[] =
270 "disable-minimize-on-second-launcher-item-click"; 270 "disable-minimize-on-second-launcher-item-click";
271 271
272 // Disables the new bookmark app system. 272 // Disables the new bookmark app system.
273 const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps"; 273 const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps";
274 274
275 // Disables the new offline error page generated by NetErrorHelper for ChromeOS 275 // Disables the new offline error page generated by NetErrorHelper for ChromeOS
276 // and instead uses the old error page generated by OfflineResourceThrottle. 276 // and instead uses the old error page generated by OfflineResourceThrottle.
277 const char kDisableNewOfflineErrorPage[] = "disable-new-offline-error-page"; 277 const char kDisableNewOfflineErrorPage[] = "disable-new-offline-error-page";
278 278
279 // Disables the menu on the NTP for accessing sessions from other devices. 279 // Disables the menu on the NTP for accessing sessions from other devices.
280 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; 280 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu";
281 281
282 // Disable auto-reload of error pages if offline. 282 // Disable auto-reload of error pages if offline.
283 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; 283 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload";
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 // Enables the material design Settings feature. 460 // Enables the material design Settings feature.
461 const char kEnableMaterialDesignSettings[] = "enable-md-settings"; 461 const char kEnableMaterialDesignSettings[] = "enable-md-settings";
462 462
463 // Runs the Native Client inside the renderer process and enables GPU plugin 463 // Runs the Native Client inside the renderer process and enables GPU plugin
464 // (internally adds lEnableGpuPlugin to the command line). 464 // (internally adds lEnableGpuPlugin to the command line).
465 const char kEnableNaCl[] = "enable-nacl"; 465 const char kEnableNaCl[] = "enable-nacl";
466 466
467 // Enables the network-related benchmarking extensions. 467 // Enables the network-related benchmarking extensions.
468 const char kEnableNetBenchmarking[] = "enable-net-benchmarking"; 468 const char kEnableNetBenchmarking[] = "enable-net-benchmarking";
469 469
470 // Enables the new bookmark app system.
471 const char kEnableNewBookmarkApps[] = "enable-new-bookmark-apps";
472
470 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used. 473 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used.
471 // HTTP is still used for all requests. 474 // HTTP is still used for all requests.
472 const char kEnableNpnHttpOnly[] = "enable-npn-http"; 475 const char kEnableNpnHttpOnly[] = "enable-npn-http";
473 476
474 // Enable auto-reload of error pages if offline. 477 // Enable auto-reload of error pages if offline.
475 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; 478 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload";
476 479
477 // Only auto-reload error pages when the tab is visible. 480 // Only auto-reload error pages when the tab is visible.
478 const char kEnableOfflineAutoReloadVisibleOnly[] = 481 const char kEnableOfflineAutoReloadVisibleOnly[] =
479 "enable-offline-auto-reload-visible-only"; 482 "enable-offline-auto-reload-visible-only";
(...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after
1382 1385
1383 // ----------------------------------------------------------------------------- 1386 // -----------------------------------------------------------------------------
1384 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1387 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1385 // 1388 //
1386 // You were going to just dump your switches here, weren't you? Instead, please 1389 // You were going to just dump your switches here, weren't you? Instead, please
1387 // put them in alphabetical order above, or in order inside the appropriate 1390 // put them in alphabetical order above, or in order inside the appropriate
1388 // ifdef at the bottom. The order should match the header. 1391 // ifdef at the bottom. The order should match the header.
1389 // ----------------------------------------------------------------------------- 1392 // -----------------------------------------------------------------------------
1390 1393
1391 } // namespace switches 1394 } // 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