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

Side by Side Diff: ios/chrome/browser/chrome_switches.cc

Issue 2666833003: Revert of Removing "All Bookmarks" (Closed)
Patch Set: Created 3 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 | « ios/chrome/browser/chrome_switches.h ('k') | ios/chrome/browser/experimental_flags.h » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "ios/chrome/browser/chrome_switches.h" 5 #include "ios/chrome/browser/chrome_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // ----------------------------------------------------------------------------- 9 // -----------------------------------------------------------------------------
10 // When commenting your switch, please use the same voice as surrounding 10 // When commenting your switch, please use the same voice as surrounding
11 // comments. Imagine "This switch..." at the beginning of the phrase, and it'll 11 // comments. Imagine "This switch..." at the beginning of the phrase, and it'll
12 // all work out. 12 // all work out.
13 // ----------------------------------------------------------------------------- 13 // -----------------------------------------------------------------------------
14 14
15 // Disables all bookmarks view in bookmark manager.
16 const char kDisableAllBookmarksView[] = "disable-all-bookmarks-view";
17
15 // Disables Contextual Search. 18 // Disables Contextual Search.
16 const char kDisableContextualSearch[] = "disable-contextual-search"; 19 const char kDisableContextualSearch[] = "disable-contextual-search";
17 20
18 // Disables a workaround for fast inset updates for UIWebView.scrollView. 21 // Disables a workaround for fast inset updates for UIWebView.scrollView.
19 const char kDisableIOSFastWebScrollViewInsets[] = 22 const char kDisableIOSFastWebScrollViewInsets[] =
20 "disable-fast-web-scroll-view-insets"; 23 "disable-fast-web-scroll-view-insets";
21 24
22 // Lists separated by commas the name of features to disable. 25 // Lists separated by commas the name of features to disable.
23 // See base::FeatureList::InitializeFromCommandLine for details. 26 // See base::FeatureList::InitializeFromCommandLine for details.
24 const char kDisableIOSFeatures[] = "disable-features"; 27 const char kDisableIOSFeatures[] = "disable-features";
(...skipping 30 matching lines...) Expand all
55 58
56 // Disables Physical Web scanning for nearby URLs. 59 // Disables Physical Web scanning for nearby URLs.
57 const char kDisableIOSPhysicalWeb[] = "disable-ios-physical-web"; 60 const char kDisableIOSPhysicalWeb[] = "disable-ios-physical-web";
58 61
59 // Disables the string change from "Save Image" to "Download Image". 62 // Disables the string change from "Save Image" to "Download Image".
60 const char kDisableDownloadImageRenaming[] = "disable-download-image-renaming"; 63 const char kDisableDownloadImageRenaming[] = "disable-download-image-renaming";
61 64
62 // Disables the Suggestions UI 65 // Disables the Suggestions UI
63 const char kDisableSuggestionsUI[] = "disable-suggestions-ui"; 66 const char kDisableSuggestionsUI[] = "disable-suggestions-ui";
64 67
68 // Enables all bookmarks view in bookmark manager.
69 const char kEnableAllBookmarksView[] = "enable-all-bookmarks-view";
70
65 // Enables Contextual Search. 71 // Enables Contextual Search.
66 const char kEnableContextualSearch[] = "enable-contextual-search"; 72 const char kEnableContextualSearch[] = "enable-contextual-search";
67 73
68 // Enables a workaround for fast inset updates for UIWebView.scrollView. 74 // Enables a workaround for fast inset updates for UIWebView.scrollView.
69 const char kEnableIOSFastWebScrollViewInsets[] = 75 const char kEnableIOSFastWebScrollViewInsets[] =
70 "enable-fast-web-scroll-view-insets"; 76 "enable-fast-web-scroll-view-insets";
71 77
72 // Lists separated by commas the name of features to disable. 78 // Lists separated by commas the name of features to disable.
73 // See base::FeatureList::InitializeFromCommandLine for details. 79 // See base::FeatureList::InitializeFromCommandLine for details.
74 const char kEnableIOSFeatures[] = "enable-features"; 80 const char kEnableIOSFeatures[] = "enable-features";
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 const char kIOSIgnoreCertificateErrors[] = "ignore-certificate-errors"; 139 const char kIOSIgnoreCertificateErrors[] = "ignore-certificate-errors";
134 140
135 // Allows for forcing socket connections to http/https to use fixed ports. 141 // Allows for forcing socket connections to http/https to use fixed ports.
136 const char kIOSTestingFixedHttpPort[] = "testing-fixed-http-port"; 142 const char kIOSTestingFixedHttpPort[] = "testing-fixed-http-port";
137 const char kIOSTestingFixedHttpsPort[] = "testing-fixed-https-port"; 143 const char kIOSTestingFixedHttpsPort[] = "testing-fixed-https-port";
138 144
139 // Enables grouping websites by domain and filtering them by period. 145 // Enables grouping websites by domain and filtering them by period.
140 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history"; 146 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history";
141 147
142 } // namespace switches 148 } // namespace switches
OLDNEW
« no previous file with comments | « ios/chrome/browser/chrome_switches.h ('k') | ios/chrome/browser/experimental_flags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698