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

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

Issue 1951273003: Add an about flag to toggle the visibility of "All bookmarks" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
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 10
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 const char kDiagnosticsRecovery[] = "diagnostics-recovery"; 197 const char kDiagnosticsRecovery[] = "diagnostics-recovery";
198 198
199 // When kEnableSettingsWindow is used, About is shown as an overlay in Settings 199 // When kEnableSettingsWindow is used, About is shown as an overlay in Settings
200 // instead of as a separate page, unless this flag is specified. 200 // instead of as a separate page, unless this flag is specified.
201 const char kDisableAboutInSettings[] = "disable-about-in-settings"; 201 const char kDisableAboutInSettings[] = "disable-about-in-settings";
202 202
203 // Disables the display of a banner allowing the user to add a web 203 // Disables the display of a banner allowing the user to add a web
204 // app to their shelf (or platform-specific equivalent) 204 // app to their shelf (or platform-specific equivalent)
205 const char kDisableAddToShelf[] = "disable-add-to-shelf"; 205 const char kDisableAddToShelf[] = "disable-add-to-shelf";
206 206
207 // Disables all bookmarks view in bookmark manager.
208 const char kDisableAllBookmarksView[] = "disable-all-bookmarks-view";
gone 2016/05/05 21:50:14 You'll run afoul of the AboutFlagsHistogramTest be
Ian Wen 2016/05/05 23:27:08 Done.
209
207 // Disables the experimental asynchronous DNS client. 210 // Disables the experimental asynchronous DNS client.
208 const char kDisableAsyncDns[] = "disable-async-dns"; 211 const char kDisableAsyncDns[] = "disable-async-dns";
209 212
210 // Disable several subsystems which run network requests in the background. 213 // Disable several subsystems which run network requests in the background.
211 // This is for use when doing network performance testing to avoid noise in the 214 // This is for use when doing network performance testing to avoid noise in the
212 // measurements. 215 // measurements.
213 const char kDisableBackgroundNetworking[] = "disable-background-networking"; 216 const char kDisableBackgroundNetworking[] = "disable-background-networking";
214 217
215 // Disables the bundled PPAPI version of Flash. 218 // Disables the bundled PPAPI version of Flash.
216 const char kDisableBundledPpapiFlash[] = "disable-bundled-ppapi-flash"; 219 const char kDisableBundledPpapiFlash[] = "disable-bundled-ppapi-flash";
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 // given file. The file is overwritten if it exists. 358 // given file. The file is overwritten if it exists.
356 const char kDumpBrowserHistograms[] = "dump-browser-histograms"; 359 const char kDumpBrowserHistograms[] = "dump-browser-histograms";
357 360
358 // Overrides the path of Easy Unlock component app. 361 // Overrides the path of Easy Unlock component app.
359 const char kEasyUnlockAppPath[] = "easy-unlock-app-path"; 362 const char kEasyUnlockAppPath[] = "easy-unlock-app-path";
360 363
361 // Enables the display of a banner allowing the user to add a web 364 // Enables the display of a banner allowing the user to add a web
362 // app to their shelf (or platform-specific equivalent) 365 // app to their shelf (or platform-specific equivalent)
363 const char kEnableAddToShelf[] = "enable-add-to-shelf"; 366 const char kEnableAddToShelf[] = "enable-add-to-shelf";
364 367
368 // Enables all bookmarks view in bookmark manager.
369 const char kEnableAllBookmarksView[] = "enable-all-bookmarks-view";
370
365 // Enable OS integration for Chrome app file associations. 371 // Enable OS integration for Chrome app file associations.
366 const char kEnableAppsFileAssociations[] = "enable-apps-file-associations"; 372 const char kEnableAppsFileAssociations[] = "enable-apps-file-associations";
367 373
368 // If the WebRTC logging private API is active, enables audio debug recordings. 374 // If the WebRTC logging private API is active, enables audio debug recordings.
369 const char kEnableAudioDebugRecordingsFromExtension[] = 375 const char kEnableAudioDebugRecordingsFromExtension[] =
370 "enable-audio-debug-recordings-from-extension"; 376 "enable-audio-debug-recordings-from-extension";
371 377
372 // Enables the benchmarking extensions. 378 // Enables the benchmarking extensions.
373 const char kEnableBenchmarking[] = "enable-benchmarking"; 379 const char kEnableBenchmarking[] = "enable-benchmarking";
374 380
(...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after
1352 1358
1353 // ----------------------------------------------------------------------------- 1359 // -----------------------------------------------------------------------------
1354 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1360 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1355 // 1361 //
1356 // You were going to just dump your switches here, weren't you? Instead, please 1362 // You were going to just dump your switches here, weren't you? Instead, please
1357 // put them in alphabetical order above, or in order inside the appropriate 1363 // put them in alphabetical order above, or in order inside the appropriate
1358 // ifdef at the bottom. The order should match the header. 1364 // ifdef at the bottom. The order should match the header.
1359 // ----------------------------------------------------------------------------- 1365 // -----------------------------------------------------------------------------
1360 1366
1361 } // namespace switches 1367 } // namespace switches
OLDNEW
« chrome/browser/about_flags.cc ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698