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

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

Issue 2643753002: Add the suggestions UI in chrome (Closed)
Patch Set: Update comments Created 3 years, 11 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/content_suggestions/BUILD.gn » ('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
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // Disables the tab strip auto scroll new tabs. 52 // Disables the tab strip auto scroll new tabs.
53 const char kDisableTabStripAutoScrollNewTabs[] = 53 const char kDisableTabStripAutoScrollNewTabs[] =
54 "disable-tab-strip-autoscroll-new-tabs"; 54 "disable-tab-strip-autoscroll-new-tabs";
55 55
56 // Disables the tab switcher. 56 // Disables the tab switcher.
57 const char kDisableTabSwitcher[] = "disable-tab-switcher"; 57 const char kDisableTabSwitcher[] = "disable-tab-switcher";
58 58
59 // Disables Physical Web scanning for nearby URLs. 59 // Disables Physical Web scanning for nearby URLs.
60 const char kDisableIOSPhysicalWeb[] = "disable-ios-physical-web"; 60 const char kDisableIOSPhysicalWeb[] = "disable-ios-physical-web";
61 61
62 // Enables the string change from "Save Image" to "Download Image". 62 // Disables the string change from "Save Image" to "Download Image".
63 const char kDisableDownloadImageRenaming[] = "disable-download-image-renaming"; 63 const char kDisableDownloadImageRenaming[] = "disable-download-image-renaming";
64 64
65 // Disables the Suggestions UI
66 const char kDisableSuggestionsUI[] = "disable-suggestions-ui";
67
65 // Enables all bookmarks view in bookmark manager. 68 // Enables all bookmarks view in bookmark manager.
66 const char kEnableAllBookmarksView[] = "enable-all-bookmarks-view"; 69 const char kEnableAllBookmarksView[] = "enable-all-bookmarks-view";
67 70
68 // Enables Contextual Search. 71 // Enables Contextual Search.
69 const char kEnableContextualSearch[] = "enable-contextual-search"; 72 const char kEnableContextualSearch[] = "enable-contextual-search";
70 73
71 // Enable the experimental Credential Manager JavaScript API. 74 // Enable the experimental Credential Manager JavaScript API.
72 const char kEnableCredentialManagerAPI[] = "enable-credential-manager-api"; 75 const char kEnableCredentialManagerAPI[] = "enable-credential-manager-api";
73 76
74 // Enables a workaround for fast inset updates for UIWebView.scrollView. 77 // Enables a workaround for fast inset updates for UIWebView.scrollView.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 110
108 // Enables the tab switcher. 111 // Enables the tab switcher.
109 const char kEnableTabSwitcher[] = "enable-tab-switcher"; 112 const char kEnableTabSwitcher[] = "enable-tab-switcher";
110 113
111 // Enables Physical Web scanning for nearby URLs. 114 // Enables Physical Web scanning for nearby URLs.
112 const char kEnableIOSPhysicalWeb[] = "enable-ios-physical-web"; 115 const char kEnableIOSPhysicalWeb[] = "enable-ios-physical-web";
113 116
114 // Enables the string change from "Save Image" to "Download Image". 117 // Enables the string change from "Save Image" to "Download Image".
115 const char kEnableDownloadImageRenaming[] = "enable-download-image-renaming"; 118 const char kEnableDownloadImageRenaming[] = "enable-download-image-renaming";
116 119
120 // Enables the Suggestions UI
121 const char kEnableSuggestionsUI[] = "enable-suggestions-ui";
122
117 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data 123 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data
118 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids 124 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids
119 // prefixed with the character "t" will be treated as Trigger Variation Ids. 125 // prefixed with the character "t" will be treated as Trigger Variation Ids.
120 const char kIOSForceVariationIds[] = "force-variation-ids"; 126 const char kIOSForceVariationIds[] = "force-variation-ids";
121 127
122 // Enables the recording of metrics reports but disables reporting. In contrast 128 // Enables the recording of metrics reports but disables reporting. In contrast
123 // to kDisableMetrics, this executes all the code that a normal client would 129 // to kDisableMetrics, this executes all the code that a normal client would
124 // use for reporting, except the report is dropped rather than sent to the 130 // use for reporting, except the report is dropped rather than sent to the
125 // server. This is useful for finding issues in the metrics code during UI and 131 // server. This is useful for finding issues in the metrics code during UI and
126 // performance tests. 132 // performance tests.
127 const char kIOSMetricsRecordingOnly[] = "metrics-recording-only"; 133 const char kIOSMetricsRecordingOnly[] = "metrics-recording-only";
128 134
129 // A string used to override the default user agent with a custom one. 135 // A string used to override the default user agent with a custom one.
130 const char kUserAgent[] = "user-agent"; 136 const char kUserAgent[] = "user-agent";
131 137
132 // These mappings only apply to the host resolver. 138 // These mappings only apply to the host resolver.
133 const char kIOSHostResolverRules[] = "host-resolver-rules"; 139 const char kIOSHostResolverRules[] = "host-resolver-rules";
134 140
135 // Ignores certificate-related errors. 141 // Ignores certificate-related errors.
136 const char kIOSIgnoreCertificateErrors[] = "ignore-certificate-errors"; 142 const char kIOSIgnoreCertificateErrors[] = "ignore-certificate-errors";
137 143
138 // Allows for forcing socket connections to http/https to use fixed ports. 144 // Allows for forcing socket connections to http/https to use fixed ports.
139 const char kIOSTestingFixedHttpPort[] = "testing-fixed-http-port"; 145 const char kIOSTestingFixedHttpPort[] = "testing-fixed-http-port";
140 const char kIOSTestingFixedHttpsPort[] = "testing-fixed-https-port"; 146 const char kIOSTestingFixedHttpsPort[] = "testing-fixed-https-port";
141 147
142 // Enables grouping websites by domain and filtering them by period. 148 // Enables grouping websites by domain and filtering them by period.
143 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history"; 149 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history";
144 150
145 } // namespace switches 151 } // namespace switches
OLDNEW
« no previous file with comments | « ios/chrome/browser/chrome_switches.h ('k') | ios/chrome/browser/content_suggestions/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698