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

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

Issue 2765083002: Hardcode extensions::util::IsNewBookmarkAppsEnabled() to true, except on Mac. (Closed)
Patch Set: respond to comments Created 3 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') | 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 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "ppapi/features/features.h" 10 #include "ppapi/features/features.h"
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 "disable-extensions-http-throttling"; 225 "disable-extensions-http-throttling";
226 226
227 // Disables the HTTP/2 protocol. 227 // Disables the HTTP/2 protocol.
228 const char kDisableHttp2[] = "disable-http2"; 228 const char kDisableHttp2[] = "disable-http2";
229 229
230 // Disable the behavior that the second click on a launcher item (the click when 230 // Disable the behavior that the second click on a launcher item (the click when
231 // the item is already active) minimizes the item. 231 // the item is already active) minimizes the item.
232 const char kDisableMinimizeOnSecondLauncherItemClick[] = 232 const char kDisableMinimizeOnSecondLauncherItemClick[] =
233 "disable-minimize-on-second-launcher-item-click"; 233 "disable-minimize-on-second-launcher-item-click";
234 234
235 // Disables the new bookmark app system.
236 const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps";
237
238 // Disable auto-reload of error pages if offline. 235 // Disable auto-reload of error pages if offline.
239 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; 236 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload";
240 237
241 // Disable only auto-reloading error pages when the tab is visible. 238 // Disable only auto-reloading error pages when the tab is visible.
242 const char kDisableOfflineAutoReloadVisibleOnly[] = 239 const char kDisableOfflineAutoReloadVisibleOnly[] =
243 "disable-offline-auto-reload-visible-only"; 240 "disable-offline-auto-reload-visible-only";
244 241
245 // Disables permission action reporting to Safe Browsing servers for opted in 242 // Disables permission action reporting to Safe Browsing servers for opted in
246 // users. 243 // users.
247 const char kDisablePermissionActionReporting[] = 244 const char kDisablePermissionActionReporting[] =
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 const char kEnableNaCl[] = "enable-nacl"; 358 const char kEnableNaCl[] = "enable-nacl";
362 359
363 // Enables tracing for each navigation. It will attempt to trace each navigation 360 // Enables tracing for each navigation. It will attempt to trace each navigation
364 // for 10s, until the buffer is full, or until the next navigation. 361 // for 10s, until the buffer is full, or until the next navigation.
365 // It only works if a URL was provided by --trace-upload-url. 362 // It only works if a URL was provided by --trace-upload-url.
366 const char kEnableNavigationTracing[] = "enable-navigation-tracing"; 363 const char kEnableNavigationTracing[] = "enable-navigation-tracing";
367 364
368 // Enables the network-related benchmarking extensions. 365 // Enables the network-related benchmarking extensions.
369 const char kEnableNetBenchmarking[] = "enable-net-benchmarking"; 366 const char kEnableNetBenchmarking[] = "enable-net-benchmarking";
370 367
371 // Enables the new bookmark app system.
372 const char kEnableNewBookmarkApps[] = "enable-new-bookmark-apps";
373
374 // Enable auto-reload of error pages if offline. 368 // Enable auto-reload of error pages if offline.
375 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; 369 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload";
376 370
377 // Only auto-reload error pages when the tab is visible. 371 // Only auto-reload error pages when the tab is visible.
378 const char kEnableOfflineAutoReloadVisibleOnly[] = 372 const char kEnableOfflineAutoReloadVisibleOnly[] =
379 "enable-offline-auto-reload-visible-only"; 373 "enable-offline-auto-reload-visible-only";
380 374
381 // Enables permission action reporting to Safe Browsing servers for opted in 375 // Enables permission action reporting to Safe Browsing servers for opted in
382 // users. 376 // users.
383 const char kEnablePermissionActionReporting[] = 377 const char kEnablePermissionActionReporting[] =
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
1173 1167
1174 // ----------------------------------------------------------------------------- 1168 // -----------------------------------------------------------------------------
1175 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1169 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1176 // 1170 //
1177 // You were going to just dump your switches here, weren't you? Instead, please 1171 // You were going to just dump your switches here, weren't you? Instead, please
1178 // put them in alphabetical order above, or in order inside the appropriate 1172 // put them in alphabetical order above, or in order inside the appropriate
1179 // ifdef at the bottom. The order should match the header. 1173 // ifdef at the bottom. The order should match the header.
1180 // ----------------------------------------------------------------------------- 1174 // -----------------------------------------------------------------------------
1181 1175
1182 } // namespace switches 1176 } // 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