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

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

Issue 1970163002: Adding flags and finch trial for the removal of All Bookmarks view. (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
« 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 17 matching lines...) Expand all
42 45
43 // Disable auto-reload of error pages if offline. 46 // Disable auto-reload of error pages if offline.
44 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; 47 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload";
45 48
46 // Disables the tab eviction policy. (applicable iff WKWebView is enabled) 49 // Disables the tab eviction policy. (applicable iff WKWebView is enabled)
47 const char kDisableTabEviction[] = "disable-tab-eviction"; 50 const char kDisableTabEviction[] = "disable-tab-eviction";
48 51
49 // Disables the tab switcher. 52 // Disables the tab switcher.
50 const char kDisableTabSwitcher[] = "disable-tab-switcher"; 53 const char kDisableTabSwitcher[] = "disable-tab-switcher";
51 54
55 // Enables all bookmarks view in bookmark manager.
56 const char kEnableAllBookmarksView[] = "enable-all-bookmarks-view";
57
52 // Enables Contextual Search. 58 // Enables Contextual Search.
53 const char kEnableContextualSearch[] = "enable-contextual-search"; 59 const char kEnableContextualSearch[] = "enable-contextual-search";
54 60
55 // Enable the experimental Credential Manager JavaScript API. 61 // Enable the experimental Credential Manager JavaScript API.
56 const char kEnableCredentialManagerAPI[] = "enable-credential-manager-api"; 62 const char kEnableCredentialManagerAPI[] = "enable-credential-manager-api";
57 63
58 // Enables a workaround for fast inset updates for UIWebView.scrollView. 64 // Enables a workaround for fast inset updates for UIWebView.scrollView.
59 const char kEnableIOSFastWebScrollViewInsets[] = 65 const char kEnableIOSFastWebScrollViewInsets[] =
60 "enable-fast-web-scroll-view-insets"; 66 "enable-fast-web-scroll-view-insets";
61 67
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 125
120 // Enables grouping websites by domain and filtering them by period. 126 // Enables grouping websites by domain and filtering them by period.
121 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history"; 127 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history";
122 128
123 // Use to opt-in to marking HTTP as non-secure. 129 // Use to opt-in to marking HTTP as non-secure.
124 const char kMarkNonSecureAs[] = "mark-non-secure-as"; 130 const char kMarkNonSecureAs[] = "mark-non-secure-as";
125 const char kMarkNonSecureAsNeutral[] = "neutral"; 131 const char kMarkNonSecureAsNeutral[] = "neutral";
126 const char kMarkNonSecureAsNonSecure[] = "non-secure"; 132 const char kMarkNonSecureAsNonSecure[] = "non-secure";
127 133
128 } // namespace switches 134 } // 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