blob: 3ed6f9a20635e96a4eea12c0204766957e94738b [file] [log] [blame]
vabr0215a8e2017-03-28 12:47:341// Copyright 2017 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/browser/flag_descriptions.h"
6
Brett Wilson7b44537e2017-08-18 01:38:287// Keep in identical order as the header file, see the comment at the top
8// for formatting rules.
9
vabr0215a8e2017-03-28 12:47:3410namespace flag_descriptions {
11
Shubhie Panicker48616c32017-10-26 21:46:2512const char kStopLoadingInBackgroundName[] = "Stop loading in background";
13const char kStopLoadingInBackgroundDescription[] =
14 "Stop loading tasks and loading "
15 "resources, in the background, after certain grace time.";
16
Brett Wilsonf27ff602017-07-07 22:28:4717const char kAccelerated2dCanvasName[] = "Accelerated 2D canvas";
18const char kAccelerated2dCanvasDescription[] =
19 "Enables the use of the GPU to perform 2d canvas rendering instead of "
20 "using software rendering.";
horodb71a5a2017-06-09 16:08:2421
Brett Wilsonf27ff602017-07-07 22:28:4722const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode";
23const char kAcceleratedVideoDecodeDescription[] =
24 "Hardware-accelerated video decode where available.";
25
26const char kAffiliationBasedMatchingName[] =
27 "Affiliation based matching in password manager";
28const char kAffiliationBasedMatchingDescription[] =
29 "Allow credentials stored for Android applications to be filled into "
30 "corresponding websites.";
31
32const char kAllowInsecureLocalhostName[] =
33 "Allow invalid certificates for resources loaded from localhost.";
34const char kAllowInsecureLocalhostDescription[] =
35 "Allows requests to localhost over HTTPS even when an invalid certificate "
36 "is presented.";
37
38const char kAllowNaclSocketApiName[] = "NaCl Socket API.";
39const char kAllowNaclSocketApiDescription[] =
40 "Allows applications to use NaCl Socket API. Use only to test NaCl "
41 "plugins.";
42
43const char kAppBannersName[] = "App Banners";
44const char kAppBannersDescription[] =
45 "Enable the display of Progressive Web App banners, which prompt a user to "
46 "add a web app to their shelf, or other platform-specific equivalent.";
47
Khushalba202212017-07-12 19:53:4948const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
49const char kAsyncImageDecodingDescription[] =
50 "Enables asynchronous decoding of images from raster for web content";
51
Brett Wilsonf27ff602017-07-07 22:28:4752const char kAutoplayPolicyName[] = "Autoplay policy";
53const char kAutoplayPolicyDescription[] =
54 "Policy used when deciding if audio or video is allowed to autoplay.";
55
56const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
57 "User gesture is required for cross-origin iframes.";
58const char kAutoplayPolicyNoUserGestureRequired[] =
59 "No user gesture is required.";
60const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
61const char kAutoplayPolicyDocumentUserActivation[] =
62 "Document user activation is required.";
63
64const char kBackgroundVideoTrackOptimizationName[] =
65 "Optimize background video playback.";
66const char kBackgroundVideoTrackOptimizationDescription[] =
67 "Disable video tracks when the video is played in the background to "
68 "optimize performance.";
69
70const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
71const char kBleAdvertisingInExtensionsDescription[] =
72 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
73 "with regular use of Bluetooth Low Energy features.";
74
Charles Harrisond629cc62017-10-05 01:39:5475const char kBlockTabUndersName[] = "Block tab-unders";
76const char kBlockTabUndersDescription[] =
77 "Blocks tab-unders in Chrome with some native UI to allow the user to "
78 "proceed.";
79
Brett Wilsonf27ff602017-07-07 22:28:4780const char kBrowserSideNavigationName[] = "Enable browser side navigation";
horodb71a5a2017-06-09 16:08:2481const char kBrowserSideNavigationDescription[] =
horo3beccfb2017-06-19 14:47:0182 "Enable browser side navigation (aka PlzNavigate).";
horodb71a5a2017-06-09 16:08:2483
arthursonzognif2bc2d202017-11-08 11:01:0284const char kNavigationMojoResponseName[] = "Navigation response using Mojo";
85const char kNavigationMojoResponseDescription[] =
86 "Browser side navigation (aka PlzNavigate) is using blob URLs to deliver "
87 "the body of the main resource to the renderer process. This flag replaces "
88 "this mechanism by using a Mojo DataPipe.";
89
Brett Wilsonf27ff602017-07-07 22:28:4790const char kBrowserTaskSchedulerName[] = "Task Scheduler";
91const char kBrowserTaskSchedulerDescription[] =
92 "Enables redirection of some task posting APIs to the task scheduler.";
93
94const char kBypassAppBannerEngagementChecksName[] =
95 "Bypass user engagement checks";
96const char kBypassAppBannerEngagementChecksDescription[] =
97 "Bypasses user engagement checks for displaying app banners, such as "
98 "requiring that users have visited the site before and that the banner "
99 "hasn't been shown recently. This allows developers to test that other "
100 "eligibility requirements for showing app banners, such as having a "
101 "manifest, are met.";
102
Lucas Garronb9539b732017-10-31 00:22:09103const char kCommittedInterstitialsName[] = "Committed Interstitials";
104const char kCommittedInterstitialsDescription[] =
105 "Use committed error pages instead of transient navigation entries "
106 "for interstitial error pages (e.g. certificate errors).";
107
Marc Treib026acc532017-10-17 18:39:59108const char kCaptureThumbnailOnNavigatingAwayName[] =
109 "Capture page thumbnail on navigating away";
110const char kCaptureThumbnailOnNavigatingAwayDescription[] =
111 "Capture a page thumbnail (for use on the New Tab page) when navigating "
112 "away from the current page, in addition to other times a thumbnail may be "
113 "captured.";
114
Brett Wilsonf27ff602017-07-07 22:28:47115const char kCastStreamingHwEncodingName[] =
116 "Cast Streaming hardware video encoding";
117const char kCastStreamingHwEncodingDescription[] =
118 "This option enables support in Cast Streaming for encoding video streams "
119 "using platform hardware.";
120
Amber Won478561d2017-08-19 01:02:59121const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
122const char kClickToOpenPDFDescription[] =
123 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
124 "embedded PDFs.";
125
Brett Wilsonf27ff602017-07-07 22:28:47126const char kCloudImportName[] = "Cloud Import";
127const char kCloudImportDescription[] = "Allows the cloud-import feature.";
128
Christopher Cameronceb8727d2017-09-07 23:53:16129const char kForceColorProfileSRGB[] = "sRGB";
130const char kForceColorProfileP3[] = "Display P3 D65";
131const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
132const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
133
134const char kForceColorProfileName[] = "Force color profile";
135const char kForceColorProfileDescription[] =
136 "Forces Chrome to use a specific color profile instead of the color "
137 "of the window's current monitor, as specified by the operating system.";
138
Brett Wilsonf27ff602017-07-07 22:28:47139const char kCompositedLayerBordersName[] = "Composited render layer borders";
140const char kCompositedLayerBordersDescription[] =
141 "Renders a border around composited Render Layers to help debug and study "
142 "layer compositing.";
143
144const char kContextualSuggestionsCarouselName[] =
145 "Enable Contextual Suggestions";
146const char kContextualSuggestionsCarouselDescription[] =
147 "If enabled, shows contextual suggestions in a horizontal carousel in "
148 "bottom sheet content.";
149
150const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
151const char kCreditCardAssistDescription[] =
152 "Enable assisted credit card filling on certain sites.";
153
154const char kCrossProcessGuestViewIsolationName[] =
155 "Cross process frames for guests";
156const char kCrossProcessGuestViewIsolationDescription[] =
157 "Highly experimental where guests such as <webview> are implemented on "
158 "the out-of-process iframe infrastructure.";
159
Brett Wilsonf27ff602017-07-07 22:28:47160const char kDataReductionProxyLoFiName[] = "Data Saver Lo-Fi mode";
161const char kDataReductionProxyLoFiDescription[] =
162 "Forces Data Saver Lo-Fi mode to be always enabled, enabled only on "
163 "cellular connections, or disabled. Data Saver must be enabled for Lo-Fi "
164 "mode to be used.";
165const char kDataReductionProxyLoFiAlwaysOn[] = "Always on";
166const char kDataReductionProxyLoFiCellularOnly[] = "Cellular only";
167const char kDataReductionProxyLoFiDisabled[] = "Disable";
168const char kDataReductionProxyLoFiSlowConnectionsOnly[] =
169 "Slow connections only";
170
171const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
172const char kDatasaverPromptDescription[] =
173 "Enables a prompt, which appears when a cellular network connection is "
174 "detected, to take the user to the Data Saver extension page on Chrome Web "
175 "Store.";
176const char kDatasaverPromptDemoMode[] = "Demo mode";
177
178const char kDebugPackedAppName[] = "Debugging for packed apps";
179const char kDebugPackedAppDescription[] =
180 "Enables debugging context menu options such as Inspect Element for packed "
181 "applications.";
182
183const char kDefaultTileHeightName[] = "Default tile height";
184const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
185const char kDefaultTileHeightShort[] = "128";
186const char kDefaultTileHeightTall[] = "256";
187const char kDefaultTileHeightGrande[] = "512";
188const char kDefaultTileHeightVenti[] = "1024";
189
190const char kDefaultTileWidthName[] = "Default tile width";
191const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
192const char kDefaultTileWidthShort[] = "128";
193const char kDefaultTileWidthTall[] = "256";
194const char kDefaultTileWidthGrande[] = "512";
195const char kDefaultTileWidthVenti[] = "1024";
196
197const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
198const char kDebugShortcutsDescription[] =
199 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
200
201const char kDeviceDiscoveryNotificationsName[] =
202 "Device Discovery Notifications";
203const char kDeviceDiscoveryNotificationsDescription[] =
204 "Device discovery notifications on local network.";
205
206const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
207const char kDevtoolsExperimentsDescription[] =
208 "Enables Developer Tools experiments. Use Settings panel in Developer "
209 "Tools to toggle individual experiments.";
210
211const char kDisableAudioForDesktopShareName[] =
212 "Disable Audio For Desktop Share";
213const char kDisableAudioForDesktopShareDescription[] =
214 "With this flag on, desktop share picker window will not let the user "
215 "choose whether to share audio.";
216
Brett Wilsonf27ff602017-07-07 22:28:47217const char kDisableTabForDesktopShareName[] =
218 "Disable Desktop Share with tab source";
219const char kDisableTabForDesktopShareDescription[] =
220 "This flag controls whether users can choose a tab for desktop share.";
221
222const char kDisallowDocWrittenScriptsUiName[] =
223 "Block scripts loaded via document.write";
224const char kDisallowDocWrittenScriptsUiDescription[] =
225 "Disallows fetches for third-party parser-blocking scripts inserted into "
226 "the main frame via document.write.";
227
228const char kDisplayList2dCanvasName[] = "Display list 2D canvas";
229const char kDisplayList2dCanvasDescription[] =
230 "Enables the use of display lists to record 2D canvas commands. This "
231 "allows 2D canvas rasterization to be performed on separate thread.";
232
233const char kDistanceFieldTextName[] = "Distance field text";
234const char kDistanceFieldTextDescription[] =
235 "Text is rendered with signed distance fields rather than bitmap alpha "
236 "masks.";
237
238const char kDriveSearchInChromeLauncherName[] =
239 "Drive Search in Chrome App Launcher";
240const char kDriveSearchInChromeLauncherDescription[] =
241 "Files from Drive will show up when searching the Chrome App Launcher.";
242
243const char kDropSyncCredentialName[] =
244 "Drop sync credentials from password manager";
245const char kDropSyncCredentialDescription[] =
246 "The password manager will not offer to save the credential used to sync.";
247
248const char kEasyUnlockBluetoothLowEnergyDiscoveryName[] =
249 "Smart Lock Bluetooth Low Energy Discovery";
250const char kEasyUnlockBluetoothLowEnergyDiscoveryDescription[] =
Tim Song52c142c62017-07-20 03:29:07251 "Disables a Smart Lock setting that allows Chromebook to discover phones "
Brett Wilsonf27ff602017-07-07 22:28:47252 "over Bluetooth Low Energy in order to unlock the Chromebook when the "
253 "phone is in its proximity.";
254
Gustavo Sacomotofb11164f2017-07-21 12:56:18255const char kEasyUnlockPromotionsName[] = "Smart Lock Promotions";
256const char kEasyUnlockPromotionsDescription[] =
257 "Enables Smart Lock promotions. Promotions will be periodically display "
258 "if the user is eligible.";
259
Brett Wilsonf27ff602017-07-07 22:28:47260const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
261const char kEmbeddedExtensionOptionsDescription[] =
262 "Display extension options as an embedded element in chrome://extensions "
263 "rather than opening a new tab.";
264
265const char kEnableAsmWasmName[] =
266 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
267const char kEnableAsmWasmDescription[] =
268 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
269 R"*(WebAssembly.)*";
270
Shanfeng Zhang19c16562017-10-17 02:30:40271const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
272 "Credit card autofill ablation experiment.";
273const char kEnableAutofillCreditCardAblationExperimentDescription[] =
274 "If enabled, credit card autofill suggestions will not display.";
275
Brett Wilsonf27ff602017-07-07 22:28:47276const char kEnableAutofillCreditCardBankNameDisplayName[] =
277 "Display the issuer bank name of a credit card in autofill.";
278const char kEnableAutofillCreditCardBankNameDisplayDescription[] =
279 "If enabled, displays the issuer bank name of a credit card in autofill.";
280
281const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
282 "Display the last used date of a credit card in autofill.";
283const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
284 "If enabled, display the last used date of a credit card in autofill.";
285
286const char kEnableAutofillCreditCardUploadCvcPromptName[] =
287 "Enable requesting missing CVC during Autofill credit card upload";
288const char kEnableAutofillCreditCardUploadCvcPromptDescription[] =
289 "If enabled, requests missing CVC when offering to upload credit cards to "
290 "Google Payments.";
291
Jared Saule4446d12017-08-15 20:01:13292const char kEnableAutofillCreditCardUploadGoogleLogoName[] =
293 "Show Google Logo for Autofill credit card upload";
294const char kEnableAutofillCreditCardUploadGoogleLogoDescription[] =
295 "If enabled, displays the Google logo in the save prompt when offering to "
296 "upload credit cards to Google Payments.";
297
jsaul19ef81c2017-08-09 18:53:40298const char kEnableAutofillCreditCardUploadNewUiName[] =
299 "Enable updated UI for Autofill credit card upload";
300const char kEnableAutofillCreditCardUploadNewUiDescription[] =
301 "If enabled, displays a new save card bubble/infobar design when offering "
302 "to upload credit cards to Google Payments.";
303
Jason Guo71f621e2017-10-13 04:18:53304const char kEnableAutofillSendBillingCustomerNumberName[] =
305 "Enable autofill sending billing customer number when calling Google "
306 "Payments";
307const char kEnableAutofillSendBillingCustomerNumberDescription[] =
308 "If enabled, autofill sends billing customer number when calling Google "
309 "Payments.";
310
Mathieu Perreault069024e12017-10-24 01:14:08311const char kEnableAutofillToolkitViewsCreditCardDialogsMac[] =
312 "Enable toolkit-views credit card dialogs on Mac";
313const char kEnableAutofillToolkitViewsCreditCardDialogsMacDescription[] =
314 "Enable more modern credit card dialogs on Mac, based on toolkit-views.";
315
Vitalii Iarko4f9834ce2017-08-04 07:05:19316const char kEnableBreakingNewsPushName[] = "Breaking News Push";
317const char kEnableBreakingNewsPushDescription[] =
318 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
319 "through Google Cloud Messaging.";
320
Brett Wilsonf27ff602017-07-07 22:28:47321const char kEnableBrotliName[] = "Brotli Content-Encoding.";
322const char kEnableBrotliDescription[] =
323 "Enable Brotli Content-Encoding support.";
324
325const char kEnableClearBrowsingDataCountersName[] =
326 "Enable Clear browsing data counters.";
327const char kEnableClearBrowsingDataCountersDescription[] =
328 "Shows data volume counters in the Clear browsing data dialog.";
329
sclittle50e4bb92017-07-08 02:23:03330const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
331
332const char kEnableClientLoFiDescription[] =
333 "Enable showing low fidelity images on some pages on slow networks.";
334
Doug Arnett08b4067b2017-10-12 20:14:44335const char kEnableNoScriptPreviewsName[] = "NoScript previews";
336
337const char kEnableNoScriptPreviewsDescription[] =
338 "Enable disabling JavaScript on some pages on slow networks.";
339
Brett Wilsonf27ff602017-07-07 22:28:47340const char kEnableDataReductionProxyLitePageName[] =
341 "Lite pages for Data Saver Lo-Fi mode";
342const char kEnableDataReductionProxyLitePageDescription[] =
343 "Enable lite pages in Data Saver Lo-Fi mode. Previews of pages will be "
344 "shown instead of image placeholders when Lo-Fi is on. Data Saver and "
345 "Lo-Fi must be enabled for lite pages to be shown.";
346
347const char kDataReductionProxyServerAlternative[] =
348 "Use alternative server configuration";
349const char kEnableDataReductionProxyServerExperimentName[] =
350 "Use an alternative Data Saver back end configuration.";
351const char kEnableDataReductionProxyServerExperimentDescription[] =
352 "Enable a different approach to saving data by configuring the back end "
353 "server";
354
355const char kEnableDataReductionProxySavingsPromoName[] =
356 "Data Saver 1 MB Savings Promo";
357const char kEnableDataReductionProxySavingsPromoDescription[] =
358 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
359 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
360 "enabled for the promo to be shown.";
361
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17362const char kEnableDesktopPWAWindowingName[] =
363 "Windowing related features for desktop PWAs.";
364const char kEnableDesktopPWAWindowingDescription[] =
365 "Enable experimental windowing features for desktop PWAs.";
366
Brett Wilsonf27ff602017-07-07 22:28:47367const char kEnableEnumeratingAudioDevicesName[] =
368 "Experimentally enable enumerating audio devices.";
369const char kEnableEnumeratingAudioDevicesDescription[] =
370 "Experimentally enable the use of enumerating audio devices.";
371
372const char kEnableGenericSensorName[] = "Generic Sensor";
373const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25374 "Enables motion sensor classes based on Generic Sensor API, i.e. "
375 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
376 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
377
378const char kEnableGenericSensorExtraClassesName[] =
379 "Generic Sensor Extra Classes";
380const char kEnableGenericSensorExtraClassesDescription[] =
381 "Enables an extra set of sensor classes based on Generic Sensor API, which "
382 "expose previously unavailable platform features, i.e. AmbientLightSensor "
383 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47384
Brett Wilsonf27ff602017-07-07 22:28:47385const char kEnableHDRName[] = "HDR mode";
386const char kEnableHDRDescription[] =
387 "Enables HDR support on compatible displays.";
388
389const char kEnableHeapProfilingName[] = "Heap profiling";
390const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
391const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
392const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
393const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
394
395const char kEnableHttpFormWarningName[] =
396 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15397 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47398const char kEnableHttpFormWarningDescription[] =
399 "Attaches a warning UI to any password or credit card fields detected when "
400 "the top-level page is not HTTPS";
401
Sidney San Martín9375b892017-09-09 00:29:54402const char kEnableMacMaterialDesignDownloadShelfName[] =
403 "Enable Material Design download shelf";
404
405const char kEnableMacMaterialDesignDownloadShelfDescription[] =
406 "If enabled, the download shelf uses Material Design.";
407
Tatiana Gornakafb40452017-07-31 13:50:04408const char kEnableManualFallbacksFillingName[] =
409 "Manual fallbacks for password manager forms filling";
410const char kEnableManualFallbacksFillingDescription[] =
411 "If enabled, then if user clicks on the password field on a form, popup "
412 "might contain generation fallbacks or 'Show all saved passwords' "
413 "fallback.";
414
vabr0215a8e2017-03-28 12:47:34415const char kEnableMaterialDesignBookmarksName[] =
416 "Enable Material Design bookmarks";
vabr0215a8e2017-03-28 12:47:34417const char kEnableMaterialDesignBookmarksDescription[] =
418 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
419 "bookmarks page.";
420
vabr0215a8e2017-03-28 12:47:34421const char kEnableMaterialDesignExtensionsName[] =
422 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34423const char kEnableMaterialDesignExtensionsDescription[] =
424 "If enabled, the chrome://extensions/ URL loads the Material Design "
425 "extensions page.";
426
Anton Urusov47cd4932017-09-19 14:41:41427const char kEnablePolicyToolName[] = "Enable policy management page";
428const char kEnablePolicyToolDescription[] =
429 "If enabled, the chrome://policy-tool URL loads a page for managing "
430 "policies.";
431
Weidong Guo7dfd1482017-11-08 05:56:28432const char kEnableMultiMirroringName[] =
433 "Display mirroring across multiple displays.";
434const char kEnableMultiMirroringDescription[] =
435 "Enable Display mirroring across multiple displays.";
436
Brett Wilsonf27ff602017-07-07 22:28:47437const char kEnableNavigationTracingName[] = "Enable navigation tracing";
438const char kEnableNavigationTracingDescription[] =
439 "This is to be used in conjunction with the trace-upload-url flag. "
440 "WARNING: When enabled, Chrome will record performance data for every "
441 "navigation and upload it to the URL specified by the trace-upload-url "
442 "flag. The trace may include personally identifiable information (PII) "
443 "such as the titles and URLs of websites you visit.";
444
Bernhard Bauer5533f9912017-11-06 17:56:02445const char kEnableNetworkLoggingToFileName[] = "Enable network logging to file";
446const char kEnableNetworkLoggingToFileDescription[] =
447 "Enables network logging to a file named netlog.json in the user data "
448 "directory. The file can be imported into chrome://net-internals.";
449
Brett Wilsonf27ff602017-07-07 22:28:47450const char kEnableNetworkServiceName[] = "Enable network service";
451const char kEnableNetworkServiceDescription[] =
452 "Enables the network service, which makes network requests through a "
453 "separate service. Note: most features don't work with this yet.";
454
dpapaded8349472017-10-25 03:21:27455const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
456const char kEnableNewPrintPreviewDescription[] =
457 "If enabled, Print Preview will display a newer UI";
458
Ahmed Fakhry2fd8fc82017-07-28 16:31:12459const char kEnableNightLightName[] = "Enable Night Light";
460const char kEnableNightLightDescription[] =
461 "Enable the Night Light feature which controls the color temperature of "
462 "the screen.";
463
Sophie Chang117a3b22017-10-24 22:25:36464const char kEnableOptimizationHintsName[] = "Optimization Hints";
465const char kEnableOptimizationHintsDescription[] =
466 "Enable the Optimization Hints feature which incorporates server hints"
467 "into decisions for what optimizations to perform on some pages on slow "
468 "networks.";
469
Yutaka Hirano98be3272017-08-07 17:55:39470const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
471const char kEnableOutOfBlinkCORSDescription[] =
472 "CORS handling logic is moved out of blink.";
473
Erik Chen49bbfa22017-08-18 08:49:56474const char kEnableOutOfProcessHeapProfilingName[] =
475 "Out of process heap profiling.";
476const char kEnableOutOfProcessHeapProfilingDescription[] =
477 "Creates a profiling service that records stacktraces for all live, "
478 "malloced objects.";
erikchen1dff1812017-09-11 21:27:36479const char kEnableOutOfProcessHeapProfilingModeMinimal[] =
480 "Profile only the browser and GPU processes.";
Erik Chen49bbfa22017-08-18 08:49:56481const char kEnableOutOfProcessHeapProfilingModeAll[] = "Profile all processes.";
Albert J. Wongbd5bd902017-11-09 19:56:15482const char kEnableOutOfProcessHeapProfilingModeBrowser[] =
483 "Profile only the browser processes.";
484const char kEnableOutOfProcessHeapProfilingModeGpu[] =
485 "Profile only the GPU processes.";
486const char kEnableOutOfProcessHeapProfilingModeRendererSampling[] =
487 "Profile a random sampling of renderer processes, ensuring only one is "
488 "ever profiled at a time.";
Erik Chen49bbfa22017-08-18 08:49:56489
Brett Wilsonf27ff602017-07-07 22:28:47490const char kEnablePictureInPictureName[] = "Enable picture in picture.";
491const char kEnablePictureInPictureDescription[] =
492 "Enable the picture in picture feature for videos.";
493
F#m59d036e2017-09-13 07:22:17494const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
495const char kEnablePixelCanvasRecordingDescription[] =
496 "Pixel canvas recording allows the compositor to raster contents aligned "
497 "with the pixel and improves text rendering. This should be enabled when a "
498 "device is using fractional scale factor.";
499
Brett Wilsonf27ff602017-07-07 22:28:47500const char kEnableTokenBindingName[] = "Token Binding.";
501const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
502
Irmak Kavasoglu7e16af02017-07-19 09:52:47503const char kEnableUsernameCorrectionName[] = "Enable username correction";
504const char kEnableUsernameCorrectionDescription[] =
505 "While on the pending password state, add an edit button to the bubble so "
506 "that user can edit the username.";
507
Brett Wilsonf27ff602017-07-07 22:28:47508const char kEnableUseZoomForDsfName[] =
509 "Use Blink's zoom for device scale factor.";
510const char kEnableUseZoomForDsfDescription[] =
511 "If enabled, Blink uses its zooming mechanism to scale content for device "
512 "scale factor.";
513const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
514const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
515const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
516
517const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
518const char kEnableScrollAnchoringDescription[] =
519 "Adjusts scroll position to prevent visible jumps when offscreen content "
520 "changes.";
521
Brett Wilsonf27ff602017-07-07 22:28:47522const char kEnableWasmName[] = "WebAssembly structured cloning support.";
523const char kEnableWasmDescription[] =
524 "Enable web pages to use WebAssembly structured cloning.";
525
Brett Wilsonf27ff602017-07-07 22:28:47526const char kEnableImageCaptureAPIName[] = "Image Capture API";
527const char kEnableImageCaptureAPIDescription[] =
528 "Enables the Web Platform Image Capture API: takePhoto(), "
529 "getPhotoCapabilities(), etc.";
530
531const char kEnableZeroSuggestRedirectToChromeName[] =
532 "Experimental contextual omnibox suggestion";
533const char kEnableZeroSuggestRedirectToChromeDescription[] =
534 "Change omnibox contextual suggestions to an experimental source. Note "
535 "that this is not an on/off switch for contextual omnibox and it only "
536 "applies to suggestions provided before the user starts typing a URL or a "
537 "search query (i.e. zero suggest).";
538
539const char kEnableWasmStreamingName[] =
540 "WebAssembly streaming compile/instantiate support.";
541const char kEnableWasmStreamingDescription[] =
542 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
543
Brett Wilsonf27ff602017-07-07 22:28:47544const char kExpensiveBackgroundTimerThrottlingName[] =
545 "Throttle expensive background timers";
546const char kExpensiveBackgroundTimerThrottlingDescription[] =
547 "Enables intervention to limit CPU usage of background timers to 1%.";
548
549const char kExperimentalAppBannersName[] = "Experimental app banners";
550const char kExperimentalAppBannersDescription[] =
551 "Enables a new experimental app banner flow and UI";
552
553const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
554const char kExperimentalCanvasFeaturesDescription[] =
555 "Enables the use of experimental canvas features which are still in "
556 "development.";
557
558const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
559const char kExperimentalExtensionApisDescription[] =
560 "Enables experimental extension APIs. Note that the extension gallery "
561 "doesn't allow you to upload extensions that use experimental APIs.";
562
563const char kExperimentalFullscreenExitUIName[] =
564 "Experimental fullscreen exit UI";
565const char kExperimentalFullscreenExitUIDescription[] =
566 "Displays experimental UI to allow mouse and touch input methods to exit "
567 "fullscreen mode.";
568
569const char kExperimentalHotwordHardwareName[] =
570 "Simulated hardware 'Ok Google' features";
571const char kExperimentalHotwordHardwareDescription[] =
572 "Enables an experimental version of 'Ok Google' hotword detection features "
573 "that have a hardware dependency.";
574
575const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
576const char kExperimentalKeyboardLockUiDescription[] =
577 "An experimental full screen with keyboard lock mode requiring users to "
578 "hold Esc to exit.";
579
580const char kExperimentalSecurityFeaturesName[] =
581 "Potentially annoying security features";
582const char kExperimentalSecurityFeaturesDescription[] =
583 "Enables several security features that will likely break one or more "
584 "pages that you visit on a daily basis. Strict mixed content checking, for "
585 "example. And locking powerful features to secure contexts. This flag will "
586 "probably annoy you.";
587
Ian Vollick3a0cffc2017-10-13 04:42:11588const char kExperimentalVRFeaturesName[] = "Experimental VR features";
589const char kExperimentalVRFeaturesDescription[] =
590 "Enables VR browsing features that are under development.";
591
Brett Wilsonf27ff602017-07-07 22:28:47592const char kExperimentalWebPlatformFeaturesName[] =
593 "Experimental Web Platform features";
594const char kExperimentalWebPlatformFeaturesDescription[] =
595 "Enables experimental Web Platform features that are in development.";
596
597const char kExtensionContentVerificationName[] =
598 "Extension Content Verification";
599const char kExtensionContentVerificationDescription[] =
600 "This flag can be used to turn on verification that the contents of the "
601 "files on disk for extensions from the webstore match what they're "
602 "expected to be. This can be used to turn on this feature if it would not "
603 "otherwise have been turned on, but cannot be used to turn it off (because "
604 "this setting can be tampered with by malware).";
605const char kExtensionContentVerificationBootstrap[] =
606 "Bootstrap (get expected hashes, but do not enforce them)";
607const char kExtensionContentVerificationEnforce[] =
608 "Enforce (try to get hashes, and enforce them if successful)";
609const char kExtensionContentVerificationEnforceStrict[] =
610 "Enforce strict (hard fail if we can't get hashes)";
611
612const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
613const char kExtensionsOnChromeUrlsDescription[] =
614 "Enables running extensions on chrome:// URLs, where extensions explicitly "
615 "request this permission.";
galinapae72e152017-05-12 13:12:28616
Brett Wilsonecb80982017-07-12 20:34:51617const char kFastUnloadName[] = "Fast tab/window close";
618const char kFastUnloadDescription[] =
619 "Enables fast tab/window closing - runs a tab's onunload js handler "
620 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34621
Brett Wilsonecb80982017-07-12 20:34:51622const char kFeaturePolicyName[] = "Feature Policy";
623const char kFeaturePolicyDescription[] =
624 "Enables granting and removing access to features through the "
625 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34626
Brett Wilsonecb80982017-07-12 20:34:51627const char kFetchKeepaliveTimeoutSettingName[] =
628 "Fetch API keepalive timeout setting";
629const char kFetchKeepaliveTimeoutSettingDescription[] =
630 "This is for setting the timeout value for Fetch API with keepalive option "
631 "and SendBeacon";
632
633const char kFontCacheScalingName[] = "FontCache scaling";
634const char kFontCacheScalingDescription[] =
635 "Reuse a cached font in the renderer to serve different sizes of font for "
636 "faster layout.";
637
638const char kForceEffectiveConnectionTypeName[] =
639 "Override effective connection type";
640const char kForceEffectiveConnectionTypeDescription[] =
641 "Overrides the effective connection type of the current connection "
642 "returned by the network quality estimator.";
643const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
644const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
645const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
646const char kEffectiveConnectionType2GDescription[] = "2G";
647const char kEffectiveConnectionType3GDescription[] = "3G";
648const char kEffectiveConnectionType4GDescription[] = "4G";
649
650const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
651const char kFillOnAccountSelectDescription[] =
652 "Filling of passwords when an account is explicitly selected by the user "
653 "rather than autofilling credentials on page load.";
654
Brett Wilsonecb80982017-07-12 20:34:51655const char kForceTextDirectionName[] = "Force text direction";
656const char kForceTextDirectionDescription[] =
657 "Explicitly force the per-character directionality of UI text to "
658 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
659 "direction of the character language.";
660const char kForceDirectionLtr[] = "Left-to-right";
661const char kForceDirectionRtl[] = "Right-to-left";
662
663const char kForceUiDirectionName[] = "Force UI direction";
664const char kForceUiDirectionDescription[] =
665 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
666 "mode, overriding the default direction of the UI language.";
667
668const char kFramebustingName[] =
669 "Framebusting requires same-origin or a user gesture";
670const char kFramebustingDescription[] =
671 "Don't permit an iframe to navigate the top level browsing context unless "
672 "they are same-origin or the iframe is processing a user gesture.";
673
674const char kGamepadExtensionsName[] = "Gamepad Extensions";
675const char kGamepadExtensionsDescription[] =
676 "Enabling this option allows web applications to access experimental "
677 "extensions to the Gamepad APIs.";
678
sohan3f00ffc2017-07-14 22:28:08679const char kGlCompositedOverlayCandidateQuadBordersName[] =
680 "GL composited overlay candidate quad borders";
681const char kGlCompositedOverlayCandidateQuadBordersDescription[] =
Alex Newcomer43cb7f12017-07-28 17:37:39682 "Renders a border around GL composited overlay candidate quads to help "
683 "debug and study overlay support.";
Brett Wilsonecb80982017-07-12 20:34:51684
685const char kGpuRasterizationMsaaSampleCountName[] =
686 "GPU rasterization MSAA sample count.";
687const char kGpuRasterizationMsaaSampleCountDescription[] =
688 "Specify the number of MSAA samples for GPU rasterization.";
689const char kGpuRasterizationMsaaSampleCountZero[] = "0";
690const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
691const char kGpuRasterizationMsaaSampleCountFour[] = "4";
692const char kGpuRasterizationMsaaSampleCountEight[] = "8";
693const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
694
695const char kGpuRasterizationName[] = "GPU rasterization";
696const char kGpuRasterizationDescription[] =
697 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28698const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51699
700const char kGoogleProfileInfoName[] = "Google profile name and icon";
701const char kGoogleProfileInfoDescription[] =
702 "Enables using Google information to populate the profile name and icon in "
703 "the avatar menu.";
704
705const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
706const char kHarfbuzzRendertextDescription[] =
707 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
708 "web content.";
709
710const char kHistoryRequiresUserGestureName[] =
711 "New history entries require a user gesture.";
712const char kHistoryRequiresUserGestureDescription[] =
713 "Require a user gesture to add a history entry.";
714const char kHyperlinkAuditingName[] = "Hyperlink auditing";
715const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
716
717const char kHostedAppQuitNotificationName[] =
718 "Quit notification for hosted apps";
719const char kHostedAppQuitNotificationDescription[] =
720 "Display a notification when quitting Chrome if hosted apps are currently "
721 "running.";
722
723const char kHostedAppShimCreationName[] =
724 "Creation of app shims for hosted apps on Mac";
725const char kHostedAppShimCreationDescription[] =
726 "Create app shims on Mac when creating a hosted app.";
727
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48728const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
729const char kHtmlBasedUsernameDetectorDescription[] =
730 "Use HTML-based username detector for the password manager.";
731
Brett Wilsonecb80982017-07-12 20:34:51732const char kIconNtpName[] = "Large icons on the New Tab page";
733const char kIconNtpDescription[] =
734 "Enable the experimental New Tab page using large icons.";
735
736const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
737const char kIgnoreGpuBlacklistDescription[] =
738 "Overrides the built-in software rendering list and enables "
739 "GPU-acceleration on unsupported system configurations.";
740
741const char kImportantSitesInCbdName[] =
742 "Important sites options in clear browsing data dialog";
743const char kImportantSitesInCbdDescription[] =
744 "Include the option to whitelist important sites in the clear browsing "
745 "data dialog.";
746
Brett Wilsonecb80982017-07-12 20:34:51747const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
748const char kInProductHelpDemoModeChoiceDescription[] =
749 "Selects the In-Product Help demo mode.";
750
751const char kJavascriptHarmonyName[] = "Experimental JavaScript";
752const char kJavascriptHarmonyDescription[] =
753 "Enable web pages to use experimental JavaScript features.";
754
755const char kJavascriptHarmonyShippingName[] =
756 "Latest stable JavaScript features";
757const char kJavascriptHarmonyShippingDescription[] =
758 "Some web pages use legacy or non-standard JavaScript extensions that may "
759 "conflict with the latest JavaScript features. This flag allows disabling "
760 "support of those features for compatibility with such pages.";
761
Yutaka Hiranof7f2f632017-09-06 10:40:08762const char kKeepAliveRendererForKeepaliveRequestsName[] =
763 "Keep a renderer alive for keepalive fetch requests";
764const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
765 "Keep a render process alive when the process has a pending fetch request "
766 "with `keepalive' specified.";
767
Brett Wilsonecb80982017-07-12 20:34:51768const char kLcdTextName[] = "LCD text antialiasing";
769const char kLcdTextDescription[] =
770 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
771 "(subpixel) when doing accelerated compositing.";
772
Matt Giucac399982f2017-10-06 07:51:29773const char kLeftToRightUrlsName[] =
774 "Render bidirectional URLs from left to right";
775const char kLeftToRightUrlsDescription[] =
776 "An experimental Bidi URL rendering algorithm where the URL components are "
777 "always shown in order from left to right, regardless of any RTL "
778 "characters. (The contents of each component are still rendered with the "
779 "normal Bidi algorithm.)";
780
Brett Wilsonecb80982017-07-12 20:34:51781const char kLoadMediaRouterComponentExtensionName[] =
782 "Load Media Router Component Extension";
783const char kLoadMediaRouterComponentExtensionDescription[] =
784 "Loads the Media Router component extension at startup.";
785
786const char kManualPasswordGenerationName[] = "Manual password generation.";
787const char kManualPasswordGenerationDescription[] =
788 "Show a 'Generate Password' option on the context menu for all password "
789 "fields.";
790
Dominic Battref27e8762017-08-23 11:16:25791const char kManualPasswordSavingName[] = "Manual password saving.";
792const char kManualPasswordSavingDescription[] =
793 "Show the password manager icon when typing into a password filed. "
794 "Clicking it allows to save the password without submitting the form.";
795
Brett Wilsonecb80982017-07-12 20:34:51796const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
797const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
798const char kMarkHttpAsDangerous[] = "Always mark HTTP as actively dangerous";
Brett Wilsonecb80982017-07-12 20:34:51799
Lei Zhang2eca9082017-10-17 20:42:50800const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
801const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51802 "If enabled, the Incognito New Tab page uses the new material design with "
803 "a better readable text.";
804
805const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
806const char kMediaRemotingDescription[] =
807 "When Casting a tab to a remote device, enabling this turns on an "
808 "optimization that forwards the content bitstream directly to the remote "
809 "device when a video is fullscreened.";
810
811const char kMemoryAblationName[] = "Memory ablation experiment";
812const char kMemoryAblationDescription[] =
813 "Allocates extra memory in the browser process.";
814
815const char kMemoryCoordinatorName[] = "Memory coordinator";
816const char kMemoryCoordinatorDescription[] =
817 "Enable memory coordinator instead of memory pressure listeners.";
818
819const char kMessageCenterNewStyleNotificationName[] = "New style notification";
820const char kMessageCenterNewStyleNotificationDescription[] =
821 "Enables the experiment style of material-design notification";
822
Brett Wilsonecb80982017-07-12 20:34:51823const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
824const char kMhtmlGeneratorOptionDescription[] =
825 "Provides experimental options for MHTML file generator.";
826const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
827const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
828
829const char kMojoLoadingName[] = "Use Mojo IPC for resource loading";
830const char kMojoLoadingDescription[] =
831 "Use Mojo IPC instead of traditional Chrome IPC for resource loading.";
832
Miguel Casas-Sanchez10769c82017-07-27 23:52:04833const char kMojoVideoEncodeAcceleratorName[] =
834 "Hardware-accelerated video encoder accessed using Mojo IPC";
835const char kMojoVideoEncodeAcceleratorDescription[] =
836 "Use new Mojo IPC to access hardware-accelerated video encoder, where "
837 "available.";
838
Kouhei Ueno08445c22017-09-05 03:58:30839const char kModuleScriptsDynamicImportName[] =
840 "Enable ECMAScript 6 modules dynamic import";
841const char kModuleScriptsDynamicImportDescription[] =
842 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
843 "Blink.";
844
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:05845const char kModuleScriptsImportMetaUrlName[] =
846 "Enable ECMAScript 6 modules import.meta.url";
847const char kModuleScriptsImportMetaUrlDescription[] =
848 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
849 "Blink.";
850
Brett Wilsonecb80982017-07-12 20:34:51851const char kNewAudioRenderingMixingStrategyName[] =
852 "New audio rendering mixing strategy";
853const char kNewAudioRenderingMixingStrategyDescription[] =
854 "Use the new audio rendering mixing strategy.";
855
856const char kNewBookmarkAppsName[] = "The new bookmark app system";
857const char kNewBookmarkAppsDescription[] =
858 "Enables the new system for creating bookmark apps.";
859
860const char kNewOmniboxAnswerTypesName[] =
861 "New omnibox answers in suggest types";
862const char kNewOmniboxAnswerTypesDescription[] =
863 "Enables new types of answers in the omnibox suggest drop-down: currency "
864 "conversions, dictionary definitions, sports scores, translations, and "
865 "when is.";
866
867const char kNewRemotePlaybackPipelineName[] =
868 "Enable the new remote playback pipeline.";
869const char kNewRemotePlaybackPipelineDescription[] =
870 "Enable the new pipeline for playing media element remotely via "
871 "RemotePlayback API or native controls.";
872
873const char kNewUsbBackendName[] = "Enable new USB backend";
874const char kNewUsbBackendDescription[] =
875 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34876
brettw5f9c1642017-05-14 17:12:48877const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34878const char kNostatePrefetchDescription[] =
879 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
880 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
881 R"*(improve load times even more. "Simple Load" does nothing and is )*"
882 R"*(similar to disabling the feature, but collects more metrics for )*"
883 R"*(comparison purposes.)*";
884
Brett Wilsonecb80982017-07-12 20:34:51885const char kNotificationsNativeFlagName[] = "Enable native notifications.";
886const char kNotificationsNativeFlagDescription[] =
887 "Enable support for using the native notification toasts and notification "
888 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34889
Zentaro Kavanaghbad511c2017-10-18 22:29:00890#if defined(OS_POSIX)
891const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
892const char kNtlmV2EnabledDescription[] =
893 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
894#endif
895
Brett Wilsonecb80982017-07-12 20:34:51896const char kNumRasterThreadsName[] = "Number of raster threads";
897const char kNumRasterThreadsDescription[] =
898 "Specify the number of raster threads.";
899const char kNumRasterThreadsOne[] = "1";
900const char kNumRasterThreadsTwo[] = "2";
901const char kNumRasterThreadsThree[] = "3";
902const char kNumRasterThreadsFour[] = "4";
903
904const char kOfferStoreUnmaskedWalletCardsName[] =
905 "Google Payments card saving checkbox";
906const char kOfferStoreUnmaskedWalletCardsDescription[] =
907 "Show the checkbox to offer local saving of a credit card downloaded from "
908 "the server.";
909
910const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
911const char kOfflineAutoReloadDescription[] =
912 "Pages that fail to load while the browser is offline will be "
913 "auto-reloaded when the browser is online again.";
914
915const char kOfflineAutoReloadVisibleOnlyName[] =
916 "Only Auto-Reload Visible Tabs";
917const char kOfflineAutoReloadVisibleOnlyDescription[] =
918 "Pages that fail to load while the browser is offline will only be "
919 "auto-reloaded if their tab is visible.";
920
921const char kOffMainThreadFetchName[] = "Off-main-thread fetch for Web Workers";
922const char kOffMainThreadFetchDescription[] =
923 "If enabled, the resource fetches from worker threads will not be blocked "
924 "by the busy main thread.";
925
926const char kOmniboxDisplayTitleForCurrentUrlName[] =
927 "Include title for the current URL in the omnibox";
928const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
929 "In the event that the omnibox provides suggestions on-focus, the URL of "
930 "the current page is provided as the first suggestion without a title. "
931 "Enabling this flag causes the title to be displayed.";
932
Benoit Lizeab08362c2017-07-19 14:50:54933const char kOmniboxSpareRendererName[] =
934 "Start spare renderer on omnibox focus";
935const char kOmniboxSpareRendererDescription[] =
936 "When the omnibox is focused, start an empty spare renderer. This can "
937 "speed up the load of the navigation from the omnibox.";
938
Tommy C. Li8875a442017-08-23 00:10:59939const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
940 "Omnibox UI Elide Suggestion URL After Host";
941const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
942 "Elides the path, query, and ref of suggested URLs in the Omnibox "
943 "dropdown.";
944
Brett Wilsonecb80982017-07-12 20:34:51945const char kOmniboxUIHideSuggestionUrlSchemeName[] =
946 "Omnibox UI Hide Suggestion URL Scheme";
947const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
948 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
949
950const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
951 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
952const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
953 "Elides trivially informative subdomains from suggested URLs in the "
954 "Omnibox dropdown (e.g. www. and m.).";
955
956const char kOmniboxUIMaxAutocompleteMatchesName[] =
957 "Omnibox UI Max Autocomplete Matches";
958
959const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
960 "Changes the maximum number of autocomplete matches displayed in the "
961 "Omnibox UI.";
962
963const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
964const char kOmniboxUINarrowDropdownDescription[] =
965 "Makes the suggestions dropdown width match the omnibox width.";
966
Justin Donnelly65c9e8b2017-10-01 05:15:01967const char kOmniboxUIShowSuggestionFaviconsName[] =
968 "Omnibox UI Show Suggestion Favicons";
969const char kOmniboxUIShowSuggestionFaviconsDescription[] =
970 "Shows favicons instead of generic vector icons for URL suggestions in the "
971 "Omnibox dropdown.";
972
973const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
974const char kOmniboxUISwapTitleAndUrlDescription[] =
975 "In the omnibox dropdown, shows titles before URLs when both are "
976 "available.";
977
Brett Wilsonecb80982017-07-12 20:34:51978const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
979const char kOmniboxUIVerticalLayoutDescription[] =
980 "Displays Omnibox sugestions in 2 lines - title over origin.";
981
982const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
983const char kOmniboxUIVerticalMarginDescription[] =
984 "Changes the vertical margin in the Omnibox UI.";
985
986const char kOriginTrialsName[] = "Origin Trials";
987const char kOriginTrialsDescription[] =
988 "Enables origin trials for controlling access to feature/API experiments.";
989
Becca Hughes930d8cd2017-10-02 11:09:12990const char kOverflowIconsForMediaControlsName[] =
991 "Icons on Media Controls Overflow Menu";
992const char kOverflowIconsForMediaControlsDescription[] =
993 "Displays icons on the overflow menu of the native media controls";
994
Brett Wilsonecb80982017-07-12 20:34:51995const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
996const char kOverlayScrollbarsDescription[] =
997 "Enable the experimental overlay scrollbars implementation. You must also "
998 "enable threaded compositing to have the scrollbars animate.";
999
chaopenge8aa016b2017-08-24 15:20:191000const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
1001 "Flash Overlay Scrollbars After Any Scroll Update";
1002const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
1003 "Flash Overlay Scrollbars After any scroll update happends in page. You"
1004 " must also enable Overlay Scrollbars.";
1005
chaopeng343678022017-08-24 18:45:001006const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
1007 "Flash Overlay Scrollbars When Mouse Enter";
1008const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
1009 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
1010 " enable Overlay Scrollbars.";
1011
Claudio Magni81326f92017-09-01 05:21:181012const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
1013const char kUseNewAcceptLanguageHeaderDescription[] =
1014 "Adds the base language code after other corresponding language+region "
1015 "codes. This ensures that users receive content in their preferred "
1016 "language.";
1017
Brett Wilsonecb80982017-07-12 20:34:511018const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1019const char kOverscrollHistoryNavigationDescription[] =
1020 "Experimental history navigation in response to horizontal overscroll.";
1021const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
1022
1023const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1024const char kOverscrollStartThresholdDescription[] =
1025 "Changes overscroll start threshold relative to the default value.";
1026const char kOverscrollStartThreshold133Percent[] = "133%";
1027const char kOverscrollStartThreshold166Percent[] = "166%";
1028const char kOverscrollStartThreshold200Percent[] = "200%";
1029
Xing Liu5400a002017-09-15 21:48:291030const char kParallelDownloadingName[] = "Parallel downloading";
1031const char kParallelDownloadingDescription[] =
1032 "Enable parallel downloading to"
1033 "accelerate download speed.";
1034
Brett Wilsonecb80982017-07-12 20:34:511035const char kPassiveEventListenerDefaultName[] =
1036 "Passive Event Listener Override";
1037const char kPassiveEventListenerDefaultDescription[] =
1038 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1039 "haven't requested otherwise) to be treated as passive. This will break "
1040 "touch/wheel behavior on some websites but is useful for demonstrating the "
1041 "potential performance benefits of adopting passive event listeners.";
1042const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1043const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1044
1045const char kPassiveEventListenersDueToFlingName[] =
1046 "Touch Event Listeners Passive Default During Fling";
1047const char kPassiveEventListenersDueToFlingDescription[] =
1048 "Forces touchstart, and first touchmove per scroll event listeners during "
1049 "fling to be treated as passive.";
1050
1051const char kPassiveDocumentEventListenersName[] =
1052 "Document Level Event Listeners Passive Default";
1053const char kPassiveDocumentEventListenersDescription[] =
1054 "Forces touchstart, and touchmove event listeners on document level "
1055 "targets (which haven't requested otherwise) to be treated as passive.";
1056
1057const char kPasswordForceSavingName[] = "Force-saving of passwords";
1058const char kPasswordForceSavingDescription[] =
1059 "Allow the user to manually enforce password saving instead of relying on "
1060 "password manager's heuristics.";
1061
1062const char kPasswordGenerationName[] = "Password generation";
1063const char kPasswordGenerationDescription[] =
1064 "Allow the user to have Chrome generate passwords when it detects account "
1065 "creation pages.";
1066
1067const char kPasswordImportExportName[] = "Password import and export";
1068const char kPasswordImportExportDescription[] =
1069 "Import and Export functionality in password settings.";
1070
Maxim Kolosovskiyd97b94612017-09-19 20:10:391071const char kPasswordSelectionName[] =
1072 "Password selection and eye icon in prompt";
1073const char kPasswordSelectionDescription[] =
1074 "Show a password selector and an eye icon in prompt";
1075
Brett Wilsonecb80982017-07-12 20:34:511076const char kPermissionActionReportingName[] = "Permission Action Reporting";
1077const char kPermissionActionReportingDescription[] =
1078 "Enables permission action reporting to Safe Browsing servers for opted in "
1079 "users.";
1080
1081const char kPermissionsBlacklistName[] = "Permissions Blacklist";
1082const char kPermissionsBlacklistDescription[] =
1083 "Enables the Permissions Blacklist, which blocks permissions for "
1084 "blacklisted sites for Safe Browsing users.";
1085
1086const char kPinchScaleName[] = "Pinch scale";
1087const char kPinchScaleDescription[] =
1088 "Enables experimental support for scale using pinch.";
1089
Brett Wilsonecb80982017-07-12 20:34:511090const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1091const char kPrintPdfAsImageDescription[] =
1092 "If enabled, an option to print PDF files as images will be available in "
1093 "print preview.";
1094
1095const char kPrintPreviewRegisterPromosName[] =
1096 "Print Preview Registration Promos";
1097const char kPrintPreviewRegisterPromosDescription[] =
1098 "Enable registering unregistered cloud printers from print preview.";
1099
1100const char kProtectSyncCredentialName[] = "Autofill sync credential";
1101const char kProtectSyncCredentialDescription[] =
1102 "How the password manager handles autofill for the sync credential.";
1103
1104const char kProtectSyncCredentialOnReauthName[] =
1105 "Autofill sync credential only for transactional reauth pages";
1106const char kProtectSyncCredentialOnReauthDescription[] =
1107 "How the password manager handles autofill for the sync credential only "
1108 "for transactional reauth pages.";
1109
Mohsen Izadi93faac12017-07-29 04:45:151110const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1111const char kPullToRefreshDescription[] =
1112 "Pull-to-refresh gesture in response to vertical overscroll.";
1113
Brett Wilsonecb80982017-07-12 20:34:511114const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1115const char kPushApiBackgroundModeDescription[] =
1116 "Enable background mode for the Push API. This allows Chrome to continue "
1117 "running after the last window is closed, and to launch at OS startup, if "
1118 "the Push API needs it.";
1119
Piotr Swigon46929d12017-08-11 07:16:331120const char kPwaMinimalUiName[] = "Minimal-UI display mode for PWAs";
1121const char kPwaMinimalUiDescription[] =
1122 "Enables support for Minimal-UI display mode for installed PWAs";
1123
Brett Wilsonecb80982017-07-12 20:34:511124const char kQuicName[] = "Experimental QUIC protocol";
1125const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1126
1127const char kReducedReferrerGranularityName[] =
1128 "Reduce default 'referer' header granularity.";
1129const char kReducedReferrerGranularityDescription[] =
1130 "If a page hasn't set an explicit referrer policy, setting this flag will "
1131 "reduce the amount of information in the 'referer' header for cross-origin "
1132 "requests.";
1133
Mihai Sardarescu6d0f5b72017-10-30 11:24:381134const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1135 "Remove usage of the deprecated GAIA sign-in endpoint";
1136const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1137 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1138 "This flags controls wheter it should no longer be used during a sign-in "
1139 " flow.";
1140
Brett Wilsonecb80982017-07-12 20:34:511141const char kRequestTabletSiteName[] =
1142 "Request tablet site option in the settings menu";
1143const char kRequestTabletSiteDescription[] =
1144 "Allows the user to request tablet site. Web content is often optimized "
1145 "for tablet devices. When this option is selected the user agent string is "
1146 "changed to indicate a tablet device. Web content optimized for tablets is "
1147 "received there after for the current tab.";
1148
1149const char kResetAppListInstallStateName[] =
1150 "Reset the App Launcher install state on every restart.";
1151const char kResetAppListInstallStateDescription[] =
1152 "Reset the App Launcher install state on every restart. While this flag is "
1153 "set, Chrome will forget the launcher has been installed each time it "
1154 "starts. This is used for testing the App Launcher install flow.";
1155
1156const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1157const char kResourceLoadSchedulerDescription[] =
1158 "Uses the resource load scheduler in blink to schedule and throttle "
1159 "resource load requests.";
1160
Brett Wilsonecb80982017-07-12 20:34:511161const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1162const char kSafeSearchUrlReportingDescription[] =
1163 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1164
1165const char kSaveasMenuLabelExperimentName[] =
1166 "Switch 'Save as' menu labels to 'Download'";
1167const char kSaveasMenuLabelExperimentDescription[] =
1168 "Enables an experiment to switch menu labels that use 'Save as...' to "
1169 "'Download'.";
1170
1171const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1172const char kSavePageAsMhtmlDescription[] =
1173 "Enables saving pages as MHTML: a single text file containing HTML and all "
1174 "sub-resources.";
1175
Nate Chapin9638e7102017-09-20 22:11:011176const char kSavePreviousDocumentResourcesName[] =
1177 "Save Previous Document Resources";
1178const char kSavePreviousDocumentResourcesDescription[] =
1179 "Saves an old document's cached resources until the specified point in the "
1180 "next document's lifecycle.";
1181const char kSavePreviousDocumentResourcesNever[] =
1182 "Don't explicitly save resources";
1183const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1184 "Save resources until onDOMContentLoaded completes";
1185const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1186 "Save resources until onload completes";
1187
Brett Wilsonecb80982017-07-12 20:34:511188const char kScrollPredictionName[] = "Scroll prediction";
1189const char kScrollPredictionDescription[] =
1190 "Predicts the finger's future position during scrolls allowing time to "
1191 "render the frame before the finger is there.";
1192
1193const char kSecondaryUiMd[] =
1194 "Material Design in the rest of the browser's native UI";
1195const char kSecondaryUiMdDescription[] =
1196 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1197 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1198 "browser dialogs.";
1199
1200const char kServiceWorkerNavigationPreloadName[] =
1201 "Service worker navigation preload.";
1202const char kServiceWorkerNavigationPreloadDescription[] =
1203 "Enable web pages to use the experimental service worker navigation "
1204 "preload API.";
1205
gogeraldd5061b592017-09-06 23:39:551206const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1207const char kServiceWorkerPaymentAppsDescription[] =
1208 "Enable Service Worker applications to integrate as payment apps";
1209
Makoto Shimazud9f333c2017-08-08 07:23:171210const char kServiceWorkerScriptStreamingName[] =
1211 "Service worker script streaming.";
1212const char kServiceWorkerScriptStreamingDescription[] =
1213 "Installed scripts for a service worker are sent over a dedicated "
1214 "message pipe and data pipes, and that is never be blocked on the main "
1215 "thread.";
1216
Brett Wilsonecb80982017-07-12 20:34:511217const char kSettingsWindowName[] = "Show settings in a window";
1218const char kSettingsWindowDescription[] =
1219 "Settings will be shown in a dedicated window instead of as a browser tab.";
1220
Trent Apted750ba7022017-10-23 13:36:251221const char kShowAllDialogsWithViewsToolkitName[] =
1222 "Show all dialogs with Views toolkit";
1223const char kShowAllDialogsWithViewsToolkitDescription[] =
1224 "All browser dialogs will be shown using the Views toolkit rather than "
1225 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1226
Brett Wilsonecb80982017-07-12 20:34:511227const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1228const char kShowAutofillSignaturesDescription[] =
1229 "Annotates web forms with Autofill signatures as HTML attributes.";
1230
1231const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1232const char kShowAutofillTypePredictionsDescription[] =
1233 "Annotates web forms with Autofill field type predictions as placeholder "
1234 "text.";
1235
1236const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1237const char kShowOverdrawFeedbackDescription[] =
1238 "Visualize overdraw by color-coding elements based on if they have other "
1239 "elements drawn underneath.";
1240
yiyixbdfa9a0b2017-10-23 22:21:471241const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1242const char kEnableDrawOcclusionDescription[] =
1243 "Enable the system to use draw occlusion to skip draw quads when they are "
1244 "not shown on the screen.";
1245
Brett Wilsonecb80982017-07-12 20:34:511246const char kShowSavedCopyName[] = "Show Saved Copy Button";
1247const char kShowSavedCopyDescription[] =
1248 "When a page fails to load, if a stale copy of the page exists in the "
1249 "browser cache, a button will be presented to allow the user to load that "
1250 "stale copy. The primary enabling choice puts the button in the most "
1251 "salient position on the error page; the secondary enabling choice puts it "
1252 "secondary to the reload button.";
1253const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1254const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1255const char kDisableShowSavedCopy[] = "Disable";
1256
1257const char kShowTouchHudName[] = "Show HUD for touch points";
1258const char kShowTouchHudDescription[] =
1259 "Enables a heads-up display at the top-left corner of the screen that "
1260 "lists information about the touch-points on the screen.";
1261
1262const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1263const char kSilentDebuggerExtensionApiDescription[] =
1264 "Do not show the infobar when an extension attaches to a page via "
1265 "chrome.debugger API. This is required to debug extension background "
1266 "pages.";
1267
1268const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1269const char kSimpleCacheBackendDescription[] =
1270 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1271 "disk space allocation.";
1272
1273const char kSimplifiedFullscreenUiName[] =
1274 "Simplified full screen / mouse lock UI.";
1275const char kSimplifiedFullscreenUiDescription[] =
1276 "A simplified new user experience when entering page-triggered full screen "
1277 "or mouse pointer lock states.";
1278
1279const char kSingleClickAutofillName[] = "Single-click autofill";
1280const char kSingleClickAutofillDescription[] =
1281 "Make autofill suggestions on initial mouse click on a form element.";
1282
1283const char kSiteDetails[] = "Site Details";
1284const char kSiteDetailsDescription[] =
1285 "Adds UI in MD Settings to view all content settings for a specific "
1286 "origin.";
1287
1288const char kSitePerProcessName[] = "Strict site isolation";
1289const char kSitePerProcessDescription[] =
1290 "Highly experimental security mode that ensures each renderer process "
1291 "contains pages from at most one site. In this mode, out-of-process "
1292 "iframes will be used whenever an iframe is cross-site.";
1293
1294const char kSiteSettings[] = "Site settings with All sites and Site details";
1295const char kSiteSettingsDescription[] =
1296 "Adds new ways of viewing Site settings.";
1297
1298const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
1299const char kSlimmingPaintInvalidationDescription[] =
1300 "Whether to enable a new paint invalidation system.";
1301
1302const char kSmoothScrollingName[] = "Smooth Scrolling";
1303const char kSmoothScrollingDescription[] =
1304 "Animate smoothly when scrolling page content.";
1305
1306const char kSoftwareRasterizerName[] = "3D software rasterizer";
1307const char kSoftwareRasterizerDescription[] =
1308 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1309
Tommy Steimel77704be2017-08-28 22:14:401310const char kSoundContentSettingName[] = "Sound content setting";
1311const char kSoundContentSettingDescription[] =
1312 "Enable site-wide muting in content settings and tab strip context menu.";
1313
Alexandr Ilinf0500ed32017-09-27 21:12:361314const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1315const char kSpeculativePreconnectDescription[] =
1316 "Enable the new implementation of preconnect and DNS preresolve. "
1317 "\"Learning\" means that only database construction is enabled, "
1318 "\"Preconnect\" enables both learning and preconnect and disables the "
1319 "existing implementation. \"No preconnect\" disables both implementations.";
1320
Brett Wilsonecb80982017-07-12 20:34:511321const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341322const char kSpeculativePrefetchDescription[] =
1323 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1324 R"*(load times, based on a local database (see chrome://predictors). )*"
1325 R"*("Learning" means that only the database construction is enabled, )*"
1326 R"*("Prefetching" that learning and prefetching are enabled.)*";
1327
Justin Donnelly4e448cb2017-07-07 21:32:131328const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1329 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131330const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1331 "If enabled, when the user enters text in the omnibox that looks like a "
1332 "a query, any service worker associated with the search engine the query "
1333 "will be sent to is started early.";
1334
Brett Wilsonecb80982017-07-12 20:34:511335const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1336const char kSpellingFeedbackFieldTrialDescription[] =
1337 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401338
Brett Wilsonecb80982017-07-12 20:34:511339const char kSuggestionsWithSubStringMatchName[] =
1340 "Substring matching for Autofill suggestions";
1341const char kSuggestionsWithSubStringMatchDescription[] =
1342 "Match Autofill suggestions based on substrings (token prefixes) rather "
1343 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341344
Brett Wilsonecb80982017-07-12 20:34:511345const char kSyncAppListName[] = "App Launcher sync";
1346const char kSyncAppListDescription[] =
1347 "Enable App Launcher sync. This also enables Folders where available (non "
1348 "OSX).";
vabr0215a8e2017-03-28 12:47:341349
Brett Wilsonecb80982017-07-12 20:34:511350const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1351const char kSyncSandboxDescription[] =
1352 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341353
Brett Wilsonecb80982017-07-12 20:34:511354const char kTabAudioMutingName[] = "Tab audio muting UI control";
1355const char kTabAudioMutingDescription[] =
1356 "When enabled, the audio indicators in the tab strip double as tab audio "
1357 "mute controls. This also adds commands in the tab context menu for "
1358 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341359
Christian Dullweberd0d96f02017-09-13 09:22:511360const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1361const char kTabsInCbdDescription[] =
1362 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1363
Becky Zhou99c22802017-10-19 05:09:271364const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1365const char kTabModalJsDialogDescription[] =
1366 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1367 " tab.";
1368
Brett Wilsonecb80982017-07-12 20:34:511369const char kTcpFastOpenName[] = "TCP Fast Open";
1370const char kTcpFastOpenDescription[] =
1371 "Enable the option to send extra authentication information in the initial "
1372 "SYN packet for a previously connected client, allowing faster data send "
1373 "start.";
vabr0215a8e2017-03-28 12:47:341374
Brett Wilsonecb80982017-07-12 20:34:511375const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1376const char kTopChromeMdDescription[] =
1377 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
1378const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531379const char kTopChromeMdMaterialAuto[] = "Auto";
Brett Wilsonecb80982017-07-12 20:34:511380const char kTopChromeMdMaterialHybrid[] = "Touch";
vabr0215a8e2017-03-28 12:47:341381
Brett Wilsonecb80982017-07-12 20:34:511382const char kThreadedScrollingName[] = "Threaded scrolling";
1383const char kThreadedScrollingDescription[] =
1384 "Threaded handling of scroll-related input events. Disabling this will "
1385 "force all such scroll events to be handled on the main thread. Note that "
1386 "this can dramatically hurt scrolling performance of most websites and is "
1387 "intended for testing purposes only.";
1388
Steven Valdez4584b2482017-07-14 01:11:571389const char kTLS13VariantName[] = "TLS 1.3";
1390const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1391const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111392const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez4584b2482017-07-14 01:11:571393const char kTLS13VariantDraft[] = "Enabled (Draft)";
1394const char kTLS13VariantExperiment[] = "Enabled (Experiment)";
Steven Valdezf00f8782017-09-13 18:05:281395const char kTLS13VariantExperiment2[] = "Enabled (Experiment 2)";
1396const char kTLS13VariantExperiment3[] = "Enabled (Experiment 3)";
Steven Valdez4584b2482017-07-14 01:11:571397
Brett Wilsonecb80982017-07-12 20:34:511398const char kTopDocumentIsolationName[] = "Top document isolation";
1399const char kTopDocumentIsolationDescription[] =
1400 "Highly experimental performance mode where cross-site iframes are kept in "
1401 "a separate process from the top document. In this mode, iframes from "
1402 "different third-party sites will be allowed to share a process.";
1403
Dominick Ng8896b1cd2017-10-17 23:24:361404const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1405const char kTopSitesFromSiteEngagementDescription[] =
1406 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1407 "engagement.";
1408
Brett Wilsonecb80982017-07-12 20:34:511409const char kTouchAdjustmentName[] = "Touch adjustment";
1410const char kTouchAdjustmentDescription[] =
1411 "Refine the position of a touch gesture in order to compensate for touches "
1412 "having poor resolution compared to a mouse.";
1413
1414const char kTouchDragDropName[] = "Touch initiated drag and drop";
1415const char kTouchDragDropDescription[] =
1416 "Touch drag and drop can be initiated through long press on a draggable "
1417 "element.";
1418
1419const char kTouchEventsName[] = "Touch Events API";
1420const char kTouchEventsDescription[] =
1421 "Force Touch Events API feature detection to always be enabled or "
1422 "disabled, or to be enabled when a touchscreen is detected on startup "
1423 "(Automatic, the default).";
1424
1425const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1426const char kTouchSelectionStrategyDescription[] =
1427 "Controls how text selection granularity changes when touch text selection "
1428 "handles are dragged. Non-default behavior is experimental.";
1429const char kTouchSelectionStrategyCharacter[] = "Character";
1430const char kTouchSelectionStrategyDirection[] = "Direction";
1431
1432const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1433const char kTraceUploadUrlDescription[] =
1434 "This is to be used in conjunction with the enable-navigation-tracing "
1435 "flag. Please select the label that best describes the recorded traces. "
1436 "This will choose the destination the traces are uploaded to. If you are "
1437 "not sure, select other. If left empty, no traces will be uploaded.";
1438const char kTraceUploadUrlChoiceOther[] = "Other";
1439const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1440const char kTraceUploadUrlChoiceQa[] = "QA";
1441const char kTraceUploadUrlChoiceTesting[] = "Testing";
1442
1443const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
1444const char kTranslate2016q2UiDescription[] =
1445 "Improved triggering logic and look for Translate Bubble UI";
1446
1447const char kTranslateLanguageByUlpName[] = "Translate Language by ULP";
1448const char kTranslateLanguageByUlpDescription[] =
1449 "Improved translate target language and triggering logic by considering "
1450 "information from User Language Profile (ULP).";
1451
Philippe Hamel7fdaa452017-09-29 17:22:491452const char kTranslateRankerEnforcementName[] =
1453 "Enforce TranslateRanker decisions";
1454const char kTranslateRankerEnforcementDescription[] =
1455 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1456 "or not Translate UI should be triggered in a given context.";
1457
Brett Wilsonecb80982017-07-12 20:34:511458const char kTrySupportedChannelLayoutsName[] =
1459 "Causes audio output streams to check if channel layouts other than the "
1460 "default hardware layout are available.";
1461const char kTrySupportedChannelLayoutsDescription[] =
1462 "Causes audio output streams to check if channel layouts other than the "
1463 "default hardware layout are available. Turning this on will allow the OS "
1464 "to do stereo to surround expansion if supported. May expose third party "
1465 "driver bugs, use with caution.";
1466
1467const char kUiPartialSwapName[] = "Partial swap";
1468const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1469
Chris Pickel3a227ae62017-08-24 10:47:261470const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1471const char kUseDdljsonApiDescription[] =
1472 "Enables the new ddljson API to fetch Doodles for the NTP.";
1473
Becca Hughes59c05b42017-11-03 13:11:581474const char kUseModernMediaControlsName[] = "New Media Controls";
1475const char kUseModernMediaControlsDescription[] =
1476 "Enables the new style native media controls.";
1477
Mustaq Ahmedc646c0a2017-10-20 20:08:301478const char kUserActivationV2Name[] = "User Activation v2";
1479const char kUserActivationV2Description[] =
1480 "Enable simple user activation for APIs that are otherwise controlled by "
1481 "user gesture tokens.";
1482
Brett Wilsonecb80982017-07-12 20:34:511483const char kUserConsentForExtensionScriptsName[] =
1484 "User consent for extension scripts";
1485const char kUserConsentForExtensionScriptsDescription[] =
1486 "Require user consent for an extension running a script on the page, if "
1487 "the extension requested permission to run on all urls.";
1488
1489const char kUseSuggestionsEvenIfFewFeatureName[] =
1490 "Disable minimum for server-side tile suggestions on NTP.";
1491const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1492 "Request server-side suggestions even if there are only very few of them "
1493 "and use them for tiles on the New Tab Page.";
1494
1495const char kV8CacheOptionsName[] = "V8 caching mode.";
1496const char kV8CacheOptionsDescription[] =
1497 "Caching mode for the V8 JavaScript engine.";
1498const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1499const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1500
1501const char kV8CacheStrategiesForCacheStorageName[] =
1502 "V8 caching strategy for CacheStorage.";
1503const char kV8CacheStrategiesForCacheStorageDescription[] =
1504 "Caching strategy of scripts in CacheStorage for the V8 JavaScript engine.";
1505const char kV8CacheStrategiesForCacheStorageNormal[] = "Normal";
1506const char kV8CacheStrategiesForCacheStorageAggressive[] = "Aggressive";
1507
Hitoshi Yoshida3e5db562017-09-11 02:31:081508const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1509const char kV8ContextSnapshotDescription[] =
1510 "Sets to use a snapshot to create V8 contexts in frame creation.";
1511
Michael Hablich896d52662017-10-23 15:59:571512const char kV8VmFutureName[] = "Future V8 VM features";
1513const char kV8VmFutureDescription[] =
1514 "This enables upcoming and experimental V8 VM features. "
1515 "This flag does not enable experimental JavaScript features.";
1516
Brett Wilsonecb80982017-07-12 20:34:511517const char kVibrateRequiresUserGestureName[] =
1518 "Requiring user gesture for the Vibration API";
1519const char kVibrateRequiresUserGestureDescription[] =
1520 "Block the Vibration API if no user gesture has been received on the frame "
1521 "or any embedded frame.";
1522
1523const char kVideoFullscreenOrientationLockName[] =
1524 "Lock screen orientation when playing a video fullscreen.";
1525const char kVideoFullscreenOrientationLockDescription[] =
1526 "Lock the screen orientation of the device to match video orientation when "
1527 "a video goes fullscreen. Only on phones.";
1528
1529const char kVideoRotateToFullscreenName[] =
1530 "Rotate-to-fullscreen gesture for videos.";
1531const char kVideoRotateToFullscreenDescription[] =
1532 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1533 "the video. Only on phones.";
1534
1535const char kWalletServiceUseSandboxName[] =
1536 "Use Google Payments sandbox servers";
1537const char kWalletServiceUseSandboxDescription[] =
1538 "For developers: use the sandbox service for Google Payments API calls.";
1539
Brett Wilsonecb80982017-07-12 20:34:511540const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1541const char kWebglDraftExtensionsDescription[] =
1542 "Enabling this option allows web applications to access the WebGL "
1543 "Extensions that are still in draft status.";
1544
1545const char kWebMidiName[] = "Web MIDI API";
1546const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1547
1548const char kWebPaymentsName[] = "Web Payments";
1549const char kWebPaymentsDescription[] =
1550 "Enable Web Payments API integration, a JavaScript API for merchants.";
1551
Mathieu Perreault51339b82017-07-20 17:06:051552const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1553const char kWebPaymentsModifiersDescription[] =
1554 "If the website provides modifiers in the payment request, show the custom "
1555 "total for each payment instrument, update the shopping cart when "
1556 "instruments are switched, and send modified payment method specific data "
1557 "to the payment app.";
1558
Brett Wilsonecb80982017-07-12 20:34:511559const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1560const char kWebrtcEchoCanceller3Description[] =
1561 "Experimental WebRTC echo canceller (AEC3).";
1562
1563const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1564const char kWebrtcHwDecodingDescription[] =
1565 "Support in WebRTC for decoding video streams using platform hardware.";
1566
1567const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1568const char kWebrtcHwEncodingDescription[] =
1569 "Support in WebRTC for encoding video streams using platform hardware.";
1570
1571const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1572const char kWebrtcHwH264EncodingDescription[] =
1573 "Support in WebRTC for encoding h264 video streams using platform "
1574 "hardware.";
1575
1576const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1577const char kWebrtcHwVP8EncodingDescription[] =
1578 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1579
1580const char kWebrtcSrtpAesGcmName[] =
1581 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1582const char kWebrtcSrtpAesGcmDescription[] =
1583 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1584
Joachim Bauch4a41d7512017-08-23 14:24:231585const char kWebrtcSrtpEncryptedHeadersName[] =
1586 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1587const char kWebrtcSrtpEncryptedHeadersDescription[] =
1588 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1589 "for SRTP.";
1590
Brett Wilsonecb80982017-07-12 20:34:511591const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1592const char kWebrtcStunOriginDescription[] =
1593 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1594 "header.";
1595
1596const char kWebvrName[] = "WebVR";
1597const char kWebvrDescription[] =
1598 "Enabling this option allows web applications to access experimental "
Michael Thiessenab056202017-10-05 16:50:121599 "Virtual Reality APIs. Warning: Enabling this will also allow WebVR "
1600 "content on insecure origins to access these powerful APIs, and may pose a "
1601 "security risk.";
Brett Wilsonecb80982017-07-12 20:34:511602
1603const char kWifiCredentialSyncName[] = "WiFi credential sync";
1604const char kWifiCredentialSyncDescription[] =
1605 "Enables synchronizing WiFi network settings across devices. When enabled, "
1606 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1607 "credentials are synchronized subject to user preferences. (See also, "
1608 "chrome://settings/syncSetup.)";
1609
1610const char kZeroCopyName[] = "Zero-copy rasterizer";
1611const char kZeroCopyDescription[] =
1612 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341613
Brett Wilsonff596952017-07-14 01:06:551614// Android ---------------------------------------------------------------------
1615
1616#if defined(OS_ANDROID)
1617
1618const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1619const char kAiaFetchingDescription[] =
1620 "Enable intermediate certificate fetching when a server does not provide "
1621 "sufficient certificates to build a chain to a trusted root.";
1622
1623const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1624const char kAccessibilityTabSwitcherDescription[] =
1625 "Enable the accessibility tab switcher for Android.";
1626
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251627const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1628const char kAllowReaderForAccessibilityDescription[] =
1629 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1630
Brett Wilsonff596952017-07-14 01:06:551631const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1632const char kAndroidAutofillAccessibilityDescription[] =
1633 "Enable accessibility for autofill popup.";
1634
1635const char kAndroidPaymentAppsName[] = "Android payment apps";
1636const char kAndroidPaymentAppsDescription[] =
1637 "Enable third party Android apps to integrate as payment apps";
1638
Iulia Harasim0b5a4312017-07-21 16:20:501639const char kAndroidSigninPromosName[] = "Signin promos for Android.";
1640const char kAndroidSigninPromosDescription[] =
1641 "New signin promos for Android which will be displayed in content "
1642 "suggestions, Settings, Bookmarks and Recent Tabs.";
1643
Tatiana Gornak38ab3562017-07-28 11:04:181644const char kAndroidViewPasswordsName[] = "Copy and view passwords for Android";
1645const char kAndroidViewPasswordsDescription[] =
1646 "Enables copying and viewing passwords in settings.";
1647
Miriam Gershenson23cfe346e2017-09-28 14:49:291648const char kAsyncDnsName[] = "Async DNS resolver";
1649const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1650
Brett Wilsonff596952017-07-14 01:06:551651const char kAutofillAccessoryViewName[] =
1652 "Autofill suggestions as keyboard accessory view";
1653const char kAutofillAccessoryViewDescription[] =
1654 "Shows Autofill suggestions on top of the keyboard rather than in a "
1655 "dropdown.";
1656
1657const char kBackgroundLoaderForDownloadsName[] =
1658 "Enables background downloading of pages.";
1659const char kBackgroundLoaderForDownloadsDescription[] =
1660 "Enables downloading pages in the background in case page is not yet "
1661 "loaded in current tab.";
1662
Theresa Wellington82d6f6ef2017-10-12 02:39:131663const char kChromeHomeOptOutSnackbarName[] = "Chrome Home Opt-out Snackbar";
1664const char kChromeHomeOptOutSnackbarDescription[] =
1665 "Show a snackbar prompting users to take a survey the first time they"
1666 " opt-out of Chrome Home";
1667
Theresa Wellingtondd71c5c2017-10-02 15:50:381668const char kChromeHomePersonalizedOmniboxSuggestionsName[] =
1669 "Chrome Home Personalized Omnibox Suggestions";
1670const char kChromeHomePersonalizedOmniboxSuggestionsDescription[] =
1671 "Enable personalized omnibox suggestions on focus for Chrome Home.";
1672
Matthew Jones4214d2a12017-09-28 18:35:111673const char kChromeHomePromoName[] = "Chrome Home Promo";
1674const char kChromeHomePromoDescription[] =
Matthew Jonesdcdf51b2017-10-12 20:02:331675 "Enable showing the opt-in/out Chrome Home promo.";
Matthew Jones4214d2a12017-09-28 18:35:111676
Brett Wilsonff596952017-07-14 01:06:551677const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1678const char kChromeHomeSwipeLogicDescription[] =
1679 "Various swipe logic options for Chrome Home for sheet expansion.";
1680const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:151681const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:551682
Troy Hildebrandtf758d112017-10-18 23:05:561683const char kChromeHomeBottomNavLabelsName[] =
1684 "Chrome Home bottom navigation menu item labels.";
1685const char kChromeHomeBottomNavLabelsDescription[] =
1686 "Enables text labels for Chrome Home bottom navigation menu items.";
1687
Brett Wilsonff596952017-07-14 01:06:551688const char kChromeHomeName[] = "Chrome Home";
1689const char kChromeHomeDescription[] =
1690 "Enables Chrome Home on Android. You must restart the browser"
1691 " twice for changes to take effect.";
1692
Megan Jablonskic61eb1b82017-10-02 18:03:061693const char kChromeMemexName[] = "Chrome Memex";
1694const char kChromeMemexDescription[] =
1695 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1696 "Googlers.";
1697
Brett Wilsonff596952017-07-14 01:06:551698const char kContentSuggestionsCategoryOrderName[] =
1699 "Default content suggestions category order (e.g. on NTP)";
1700const char kContentSuggestionsCategoryOrderDescription[] =
1701 "Set default order of content suggestion categories (e.g. on the NTP).";
1702
1703const char kContentSuggestionsCategoryRankerName[] =
1704 "Content suggestions category ranker (e.g. on NTP)";
1705const char kContentSuggestionsCategoryRankerDescription[] =
1706 "Set category ranker to order categories of content suggestions (e.g. on "
1707 "the NTP).";
1708
Vitalii Iarkof52ff802017-09-14 12:34:241709const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1710const char kContentSuggestionsDebugLogDescription[] =
1711 "Enable content suggestions debug log accessible through "
1712 "snippets-internals.";
1713
Donn Denman8e58ead2017-11-04 01:44:011714const char kContextualSearchMlTapSuppressionName[] =
1715 "Contextual Search ML tap suppression";
1716const char kContextualSearchMlTapSuppressionDescription[] =
1717 "Enables tap gestures to be suppressed to improve CTR by applying machine "
1718 "learning.";
Brett Wilsonff596952017-07-14 01:06:551719
1720const char kContextualSearchName[] = "Contextual Search";
1721const char kContextualSearchDescription[] =
1722 "Whether or not Contextual Search is enabled.";
1723
Dmitry Skiba9c3efa72017-07-20 22:01:141724const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1725const char kDontPrefetchLibrariesDescription[] =
1726 "Don't prefetch libraries after loading.";
1727
Joy Ming5fd29ca62017-10-02 22:51:221728const char kDownloadsForegroundName[] = "Enable downloads foreground";
1729const char kDownloadsForegroundDescription[] =
1730 "Enable downloads as a foreground service for all versions of Android.";
1731
Brett Wilsonff596952017-07-14 01:06:551732const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1733const char kEnableAndroidPayIntegrationV1Description[] =
1734 "Enable integration with Android Pay using the first version of the API";
1735
1736const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1737const char kEnableAndroidPayIntegrationV2Description[] =
1738 "Enable integration with Android Pay using the second version of the API";
1739
Vitalii Iarkof4ed32d2017-09-26 13:15:531740const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:551741const char kEnableAndroidSpellcheckerDescription[] =
1742 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:551743
Vitalii Iarkof4ed32d2017-09-26 13:15:531744const char kEnableContentSuggestionsNewFaviconServerName[] =
1745 "Get favicons for content suggestions from a new server.";
1746const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1747 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1748 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:551749
1750const char kEnableContentSuggestionsSettingsName[] =
1751 "Show content suggestions settings.";
1752const char kEnableContentSuggestionsSettingsDescription[] =
1753 "If enabled, the content suggestions settings will be available from the "
1754 "main settings menu.";
1755
Vitalii Iarkof4ed32d2017-09-26 13:15:531756const char kEnableContentSuggestionsThumbnailDominantColorName[] =
1757 "Use content suggestions thumbnail dominant color.";
1758const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
1759 "Use content suggestions thumbnail dominant color as a placeholder before "
1760 "the real thumbnail is fetched (requires Chrome Home).";
1761
Brett Wilsonff596952017-07-14 01:06:551762const char kEnableCopylessPasteName[] = "App Indexing (Copyless Paste)";
1763const char kEnableCopylessPasteDescription[] =
1764 "Provide suggestions for text input, based on your recent context. For "
1765 "example, if you looked at a restaurant website and switched to the Maps "
1766 "app, the keyboard would offer the name of that restaurant as a suggestion "
1767 "to enter into the search bar. The data is indexed locally, and never sent "
1768 "to the server. It's disabled in incognito mode.";
1769
1770const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1771const char kEnableCustomContextMenuDescription[] =
1772 "Enables a new context menu when a link, image, or video is pressed within "
1773 "Chrome.";
1774
1775const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1776const char kEnableCustomFeedbackUiDescription[] =
1777 "Enables a custom feedback UI when submitting feedback through Google "
1778 "Feedback. Works with Google Play Services v10.2+";
1779
1780const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:471781 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:551782const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:471783 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:551784
1785const char kEnableDataReductionProxySiteBreakdownName[] =
1786 "Data Saver Site Breakdown";
1787const char kEnableDataReductionProxySiteBreakdownDescription[] =
1788 "Enable the site breakdown on the Data Saver settings page.";
1789
1790const char kEnableOmniboxClipboardProviderName[] =
1791 "Omnibox clipboard URL suggestions";
1792const char kEnableOmniboxClipboardProviderDescription[] =
1793 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1794 "focus in the omnibox.";
1795
1796const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1797 "Use expanded autofill credit card popup layout.";
1798const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1799 "If enabled, displays autofill credit card popup using expanded layout.";
1800
1801const char kEnableFaviconsFromWebManifestName[] =
1802 "Load favicons from Web Manifests";
1803const char kEnableFaviconsFromWebManifestDescription[] =
1804 "Fetch Web Manifests on page load to read favicons from them.";
1805
Takashi Toyoshima4fa5a71442017-11-09 14:02:481806const char kEnableMidiManagerDynamicInstantiationName[] =
1807 "MIDIManager dynamic instantiation for Web MIDI.";
1808const char kEnableMidiManagerDynamicInstantiationDescription[] =
1809 "Enable MIDIManager dynamic instantiation for Web MIDI.";
1810
Brett Wilsonff596952017-07-14 01:06:551811const char kEnableNtpAssetDownloadSuggestionsName[] =
1812 "Show asset downloads on the New Tab page";
1813const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1814 "If enabled, the list of content suggestions on the New Tab page will "
1815 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1816 "later use.";
1817
1818const char kEnableNtpBookmarkSuggestionsName[] =
1819 "Show recently visited bookmarks on the New Tab page";
1820const char kEnableNtpBookmarkSuggestionsDescription[] =
1821 "If enabled, the list of content suggestions on the New Tab page will "
1822 "contain recently visited bookmarks.";
1823
1824const char kEnableNtpForeignSessionsSuggestionsName[] =
1825 "Show recent foreign tabs on the New Tab page";
1826const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1827 "If enabled, the list of content suggestions on the New Tab page will "
1828 "contain recent foreign tabs.";
1829
1830const char kEnableNtpMostLikelyFaviconsFromServerName[] =
1831 "Download favicons for NTP tiles from Google.";
1832const char kEnableNtpMostLikelyFaviconsFromServerDescription[] =
1833 "If enabled, missing favicons for NTP tiles get downloaded from Google. "
1834 "This only applies to tiles that originate from synced history.";
1835
Jan Krcal7fadbd32017-08-04 10:49:211836const char kNtpTilesLowerResolutionFaviconsName[] =
1837 "Show also lower resolution favicons in NTP tiles.";
1838const char kNtpTilesLowerResolutionFaviconsDescription[] =
1839 "If enabled, the size limit for a favicon to get displayed in an NTP tile "
1840 "decreases. Tiles where the largest available favicon is below this limit "
1841 "get displayed as colored tiles.";
1842
Brett Wilsonff596952017-07-14 01:06:551843const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1844 "Show offline page downloads on the New Tab page";
1845const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1846 "If enabled, the list of content suggestions on the New Tab page will "
1847 "contain pages that the user downloaded for later use.";
1848
1849const char kEnableNtpRemoteSuggestionsName[] =
1850 "Show server-side suggestions on the New Tab page";
1851const char kEnableNtpRemoteSuggestionsDescription[] =
1852 "If enabled, the list of content suggestions on the New Tab page will "
1853 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
1854 "allows to override the source used to retrieve these server-side "
1855 "suggestions.";
1856
1857const char kEnableNtpSnippetsVisibilityName[] =
1858 "Make New Tab Page Snippets more visible.";
1859const char kEnableNtpSnippetsVisibilityDescription[] =
1860 "If enabled, the NTP snippets will become more discoverable with a larger "
1861 "portion of the first card above the fold.";
1862
1863const char kEnableNtpSuggestionsNotificationsName[] =
1864 "Notify about new content suggestions available at the New Tab page";
1865const char kEnableNtpSuggestionsNotificationsDescription[] =
1866 "If enabled, notifications will inform about new content suggestions on "
1867 "the New Tab page.";
1868
1869const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
1870const char kEnablePhysicalWebDescription[] =
1871 "Enable scanning for URLs from Physical Web objects.";
1872
1873const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1874const char kEnableOfflinePreviewsDescription[] =
1875 "Enable showing offline page previews on slow networks.";
1876
1877const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
1878const char kEnableOskOverscrollDescription[] =
1879 "Enable OSK overscroll support. With this flag on, the OSK will only "
1880 "resize the visual viewport.";
1881
1882const char kEnableSpecialLocaleName[] =
1883 "Enable custom logic for special locales.";
1884const char kEnableSpecialLocaleDescription[] =
1885 "Enable custom logic for special locales. In this mode, Chrome might "
1886 "behave differently in some locales.";
1887
Brett Wilsonff596952017-07-14 01:06:551888const char kEnableWebNfcName[] = "WebNFC";
1889const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
1890
gogeraldf3cbb422017-07-26 14:37:121891const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
1892 "Enable Web Payments method section order V2.";
1893const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
1894 "Enable this option to display payment method section above address "
1895 "section instead of below it.";
1896
Brett Wilsonff596952017-07-14 01:06:551897const char kEnableWebPaymentsSingleAppUiSkipName[] =
1898 "Enable Web Payments single app UI skip";
1899const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
1900 "Enable Web Payments to skip showing its UI if the developer specifies a "
1901 "single app.";
1902
1903const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
1904const char kHerbPrototypeChoicesDescription[] =
1905 "Switching this option changes which tab management prototype is being "
1906 "tested.";
1907const char kHerbPrototypeFlavorElderberry[] =
1908 "ELDERBERRY: All View Intents in CCT v2";
1909
1910const char kKeepPrefetchedContentSuggestionsName[] =
1911 "Keep prefetched content suggestions";
1912const char kKeepPrefetchedContentSuggestionsDescription[] =
1913 "If enabled, some of prefetched content suggestions are not replaced by "
1914 "the new fetched suggestions.";
1915
1916const char kLsdPermissionPromptName[] =
1917 "Location Settings Dialog Permission Prompt";
1918const char kLsdPermissionPromptDescription[] =
1919 "Whether to use the Google Play Services Location Settings Dialog "
1920 "permission dialog.";
1921
Brett Wilsonff596952017-07-14 01:06:551922const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
1923const char kMediaScreenCaptureDescription[] =
1924 "Enable this option for experimental ScreenCapture feature on Android.";
1925
1926const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
1927const char kModalPermissionPromptsDescription[] =
1928 "Whether to use permission dialogs in place of permission infobars.";
1929
Brett Wilsonff596952017-07-14 01:06:551930const char kNewPhotoPickerName[] = "Enable new Photopicker";
1931const char kNewPhotoPickerDescription[] =
1932 "Activates the new picker for selecting photos.";
1933
1934const char kNoCreditCardAbort[] = "No Credit Card Abort";
1935const char kNoCreditCardAbortDescription[] =
1936 "Whether or not the No Credit Card Abort is enabled.";
1937
1938const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
1939const char kNtpCondensedLayoutDescription[] =
1940 "Show a condensed layout on the New Tab Page.";
1941
1942const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
1943const char kNtpCondensedTileLayoutDescription[] =
1944 "Show a condensed tile layout on the New Tab Page.";
1945
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:041946const char kSiteExplorationUiName[] = "Site Exploration UI";
1947const char kSiteExplorationUiDescription[] =
1948 "Show site suggestions in the Exploration UI";
1949
Brett Wilsonff596952017-07-14 01:06:551950const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
1951const char kNtpGoogleGInOmniboxDescription[] =
1952 "Show a Google G in the omnibox on the New Tab Page.";
1953
1954const char kNtpOfflinePagesName[] = "Enable NTP offline pages";
1955const char kNtpOfflinePagesDescription[] =
1956 "Enables badging of offline pages on the New Tab page. Only relevant if "
1957 "offline pages are enabled.";
1958
1959const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
1960const char kNtpPopularSitesDescription[] =
1961 "Pre-populate the New Tab page with popular sites.";
1962
Brett Wilsonff596952017-07-14 01:06:551963const char kOfflineBookmarksName[] = "Enable offline bookmarks";
1964const char kOfflineBookmarksDescription[] =
1965 "Enable saving bookmarked pages for offline viewing.";
1966
1967const char kOfflinePagesAsyncDownloadName[] =
1968 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages.)*";
1969const char kOfflinePagesAsyncDownloadDescription[] =
1970 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages such )*"
1971 R"*(that the user can click on it to download the page later.)*";
1972
1973const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
1974const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
1975
1976const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
1977const char kOfflinePagesCtV2Description[] =
1978 "V2 features include attributing pages to the app that initiated the "
1979 "custom tabs, and being able to query for pages by page attribution.";
1980
1981const char kOfflinePagesLoadSignalCollectingName[] =
1982 "Enables collecting load timing data for offline page snapshots.";
1983const char kOfflinePagesLoadSignalCollectingDescription[] =
1984 "Enables loading completeness data collection while writing an offline "
1985 "page. This data is collected in the snapshotted offline page to allow "
1986 "data analysis to improve deciding when to make the offline snapshot.";
1987
1988const char kOfflinePagesPrefetchingName[] =
1989 "Enables suggested offline pages to be prefetched.";
1990const char kOfflinePagesPrefetchingDescription[] =
1991 "Enables suggested offline pages to be prefetched, so useful content is "
1992 "available while offline.";
1993
Cathy Li3d5379e2017-09-07 00:11:091994const char kOfflinePagesPrefetchingUIName[] =
1995 "Enables prefetched offline pages to be shown in UI.";
1996const char kOfflinePagesPrefetchingUIDescription[] =
1997 "Enables prefetched offline pages to raise notifications and be shown in "
1998 "download home UI.";
1999
Pete Williamson7845dff2017-09-20 11:06:192000const char kOfflinePagesResourceBasedSnapshotName[] =
2001 "Enables offline page snapshots to be based on percentage of page loaded.";
2002const char kOfflinePagesResourceBasedSnapshotDescription[] =
2003 "Enables offline page snapshots to use a resource percentage based "
2004 "approach for determining when the page is loaded as opposed to a time "
2005 "based approach";
2006
Collin Baker17f92a52017-07-19 21:41:252007const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
2008const char kOfflinePagesRenovationsDescription[] =
2009 "Enables offline page renovations which correct issues with dynamic "
2010 "content that occur when offlining pages that use JavaScript.";
2011
Brett Wilsonff596952017-07-14 01:06:552012const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2013const char kOfflinePagesSharingDescription[] =
2014 "Enables the saved offline pages to be shared via other applications.";
2015
2016const char kOfflinePagesSvelteConcurrentLoadingName[] =
2017 "Enables concurrent background loading on svelte.";
2018const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2019 "Enables concurrent background loading (or downloading) of pages on "
2020 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2021 "happen when the svelte device is idle.";
2022
2023const char kOffliningRecentPagesName[] =
2024 "Enable offlining of recently visited pages";
2025const char kOffliningRecentPagesDescription[] =
2026 "Enable storing recently visited pages locally for offline use. Requires "
2027 "Offline Pages to be enabled.";
2028
Lei Zhang2eca9082017-10-17 20:42:502029const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2030const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552031 "Enable Pay with Google integration into Web Payments with API version "
2032 "'1'.";
2033
Matthew Jonesa88b95852017-11-08 23:13:502034const char kProgressBarThrottleName[] = "Android progress update throttling.";
2035const char kProgressBarThrottleDescription[] =
2036 "Limit the maximum progress update to make progress appear smoother.";
2037
Brett Wilsonff596952017-07-14 01:06:552038const char kProgressBarCompletionName[] =
2039 "Android phone page load progress bar completion time.";
2040const char kProgressBarCompletionDescription[] =
2041 "Configures Android phone page loading progress bar completion time.";
2042const char kProgressBarCompletionLoadEvent[] =
2043 R"*(Top loading frame's onload event ("everything" is done in the )*"
2044 R"*(page, historical behavior).)*";
2045const char kProgressBarCompletionResourcesBeforeDcl[] =
2046 "Main frame's domContentLoaded and all resources loads started before "
2047 "domContentLoaded (iframes ignored).";
2048const char kProgressBarCompletionDomContentLoaded[] =
2049 "Main frame's domContentLoaded (iframes ignored).";
2050const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
2051 "domContentLoaded and all resources loads started before domContentLoaded "
2052 "(main frame and same origin iframes).";
2053
2054const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2055const char kPullToRefreshEffectDescription[] =
2056 "Page reloads triggered by vertically overscrolling content.";
2057
Piotr Swigon7c296ef2017-08-29 04:32:002058const char kPwaImprovedSplashScreenName[] =
2059 "Improved Splash Screen for standalone PWAs";
2060const char kPwaImprovedSplashScreenDescription[] =
2061 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2062 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492063const char kPwaPersistentNotificationName[] =
2064 "Persistent notification in standalone PWA";
2065const char kPwaPersistentNotificationDescription[] =
2066 "Enables a persistent Android notification for standalone PWAs";
2067
Brett Wilsonff596952017-07-14 01:06:552068const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2069const char kReaderModeHeuristicsDescription[] =
2070 "Determines what pages the Reader Mode infobar is shown on.";
2071const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2072const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2073const char kReaderModeHeuristicsAllArticles[] = "All articles";
2074const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2075const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2076
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182077const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2078const char kReaderModeInCCTDescription[] =
2079 "Open Reader Mode in Chrome Custom Tabs.";
2080
Brett Wilsonff596952017-07-14 01:06:552081const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2082const char kSetMarketUrlForTestingDescription[] =
2083 "When enabled, sets the market URL for use in testing the update menu "
2084 "item.";
2085
2086const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2087const char kSpannableInlineAutocompleteDescription[] =
2088 "A new type of inline autocomplete for the omnibox that works with "
2089 "keyboards that compose text.";
2090
Brett Wilsonff596952017-07-14 01:06:552091const char kTranslateCompactUIName[] = "New Translate Infobar";
2092const char kTranslateCompactUIDescription[] =
2093 "Enable the new Translate compact infobar UI.";
2094
2095const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2096const char kUpdateMenuBadgeDescription[] =
2097 "When enabled, an update badge will be shown on the app menu button.";
2098
2099const char kUpdateMenuItemCustomSummaryDescription[] =
2100 "When this flag and the force show update menu item flag are enabled, a "
2101 "custom summary string will be displayed below the update menu item.";
2102const char kUpdateMenuItemCustomSummaryName[] =
2103 "Update menu item custom summary";
2104
2105const char kUpdateMenuItemName[] = "Force show update menu item";
2106const char kUpdateMenuItemDescription[] =
2107 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2108 R"*(menu.)*";
2109
2110const char kUseAndroidMidiApiName[] = "Use Android Midi API";
2111const char kUseAndroidMidiApiDescription[] =
2112 "Use Android Midi API for WebMIDI (effective only with Android M+ "
2113 "devices).";
2114
Marc Treib93af46a2017-08-23 13:30:002115const char kThirdPartyDoodlesName[] =
2116 "Enable Doodles for third-party search engines";
2117const char kThirdPartyDoodlesDescription[] =
2118 "Enables fetching and displaying Doodles on the NTP for third-party search "
2119 "engines.";
2120
Brett Wilson7b44537e2017-08-18 01:38:282121// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552122
Brett Wilson7b44537e2017-08-18 01:38:282123#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482124
Brett Wilson7b44537e2017-08-18 01:38:282125const char kAccountConsistencyName[] =
2126 "Identity consistency between browser and cookie jar";
2127const char kAccountConsistencyDescription[] =
2128 "When enabled, the browser manages signing in and out of Google accounts.";
2129const char kAccountConsistencyChoiceMirror[] = "Mirror";
2130const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342131
Chris Pickel3a227ae62017-08-24 10:47:262132const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2133const char kDoodlesOnLocalNtpDescription[] =
2134 "Show doodles on the local New Tab page if Google is the default search "
2135 "engine.";
2136
mlamouriff56c092017-05-11 15:31:392137const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392138const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342139 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392140const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392141const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392142const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342143 "Enabled (Flash lowers volume when interrupted by other sound, "
2144 "experimental)";
2145
Brett Wilson7b44537e2017-08-18 01:38:282146const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2147const char kEnableNewAppMenuIconDescription[] =
2148 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342149
2150const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342151const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282152 "Enable receiving entity suggestions - disambiguation descriptions - for "
2153 "Omnibox suggestions.";
2154
Kevin Bailey898669972017-11-06 15:34:492155const char kOmniboxTabSwitchSuggestionsName[] =
2156 "Omnibox tab switch suggestions";
2157const char kOmniboxTabSwitchSuggestionsDescription[] =
2158 "Enable suggestions for switching to open tabs within the Omnibox.";
2159
krbcc621412017-06-01 19:40:282160const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2161const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192162 "Enable receiving tail suggestions, a type of search suggestion based on "
2163 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342164
Brett Wilson7b44537e2017-08-18 01:38:282165const char kOneGoogleBarOnLocalNtpName[] =
2166 "Enable the OneGoogleBar on the local NTP";
2167const char kOneGoogleBarOnLocalNtpDescription[] =
2168 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2169 "search engine.";
2170
ojan38c678352017-04-11 20:27:552171const char kPauseBackgroundTabsName[] = "Pause background tabs";
2172const char kPauseBackgroundTabsDescription[] =
2173 "Pause timers in background tabs after 5 minutes on desktop.";
2174
Brett Wilson7b44537e2017-08-18 01:38:282175const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2176const char kUseGoogleLocalNtpDescription[] =
2177 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322178
Brett Wilson7b44537e2017-08-18 01:38:282179const char kVoiceSearchOnLocalNtpName[] =
2180 "Enable Voice Search on the local NTP";
2181const char kVoiceSearchOnLocalNtpDescription[] =
2182 "Show a microphone for voice search on the local New Tab page "
2183 "if Google is the default search engine.";
2184
2185#if defined(GOOGLE_CHROME_BUILD)
2186
2187const char kGoogleBrandedContextMenuName[] =
2188 "Google branding in the context menu";
2189const char kGoogleBrandedContextMenuDescription[] =
2190 "Shows a Google icon next to context menu items powered by Google "
2191 "services.";
2192
2193#endif // !defined(GOOGLE_CHROME_BUILD)
2194
2195#endif // !defined(OS_ANDROID)
2196
2197// Windows ---------------------------------------------------------------------
2198
2199#if defined(OS_WIN)
2200
2201const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2202const char kCloudPrintXpsDescription[] =
2203 "XPS enables advanced options for classic printers connected to the Cloud "
2204 "Print with Chrome. Printers must be re-connected after changing this "
2205 "flag.";
2206
Dave Tapuskadd43469d2017-08-22 22:15:532207const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2208const char kDirectManipulationStylusDescription[] =
2209 "If enabled, Chrome will scroll web pages on stylus drag.";
2210
Brett Wilson7b44537e2017-08-18 01:38:282211const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2212const char kDisablePostscriptPrintingDescription[] =
2213 "Disables PostScript generation when printing to PostScript capable "
2214 "printers, and uses EMF generation in its place.";
2215
2216const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2217const char kEnableAppcontainerDescription[] =
2218 "Enables the use of an AppContainer on sandboxed processes to improve "
2219 "security.";
2220
2221const char kEnableD3DVsync[] = "D3D v-sync";
2222const char kEnableD3DVsyncDescription[] =
2223 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2224 "to occur.";
2225
2226const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2227const char kEnableDesktopIosPromotionsDescription[] =
2228 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2229 "eligible.";
2230
Brett Wilsonf4d58772017-10-30 21:37:572231const char kExperimentalTabControllerName[] = "Experimental tab controller.";
2232const char kExperimentalTabControllerDescription[] =
2233 "Enable controller for highly experimental tab policies.";
2234
Brett Wilson7b44537e2017-08-18 01:38:282235const char kGdiTextPrinting[] = "GDI Text Printing";
2236const char kGdiTextPrintingDescription[] =
2237 "Use GDI to print text as simply text";
2238
2239const char kMergeKeyCharEventsName[] =
2240 "Enable or disable merging merging the key event (WM_KEY*) with char event "
2241 "(WM_CHAR).";
2242const char kMergeKeyCharEventsDescription[] =
2243 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separately.";
2244
2245const char kTraceExportEventsToEtwName[] =
2246 "Enable exporting of tracing events to ETW.";
2247const char kTraceExportEventsToEtwDesription[] =
2248 "If enabled, trace events will be exported to the Event Tracing for "
2249 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2250 "Xperf.";
2251
2252const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2253const char kUseWinrtMidiApiDescription[] =
2254 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2255 "later).";
2256
2257const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2258const char kWindows10CustomTitlebarDescription[] =
2259 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2260 "deferring to Windows.";
2261
Wez6656c572017-08-29 22:29:582262#if DCHECK_IS_ON() && defined(SYZYASAN)
Lei Zhang2eca9082017-10-17 20:42:502263const char kSyzyAsanDcheckIsFatalName[] = "DCHECKs are fatal";
2264const char kSyzyAsanDcheckIsFatalDescription[] =
Wez6656c572017-08-29 22:29:582265 "By default Chrome will evaluate DCHECKs in SyzyASAN builds, but only log "
2266 "failed DCHECKs. If enabled, DCHECKs will crash the calling process.";
2267#endif // DCHECK_IS_ON() && defined(SYZYASAN)
2268
Brett Wilson7b44537e2017-08-18 01:38:282269#endif // defined(OS_WIN)
2270
2271// Mac -------------------------------------------------------------------------
2272
2273#if defined(OS_MACOSX)
2274
2275const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2276const char kAppInfoDialogDescription[] =
2277 "Makes the Toolkit-Views based App Info dialog accessible from "
2278 "chrome://apps or chrome://extensions in place of the native extension "
2279 "permissions dialog, or the details link (which is a link to the Web "
2280 "Store).";
2281
2282const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2283const char kAppWindowCyclingDescription[] =
2284 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2285 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2286 "browser window, and browser windows will not be cycled when a Chrome App "
2287 "is active.";
2288
Lei Zhang2eca9082017-10-17 20:42:502289const char kCreditCardAutofillTouchBarName[] = "Credit Card Autofill Touch Bar";
2290const char kCreditCardAutofillTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282291 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2292
2293const char kFullscreenToolbarRevealName[] =
2294 "Enables the toolbar in fullscreen to reveal itself.";
2295const char kFullscreenToolbarRevealDescription[] =
2296 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2297 "has changed.";
2298
2299const char kContentFullscreenName[] = "Improved Content Fullscreen";
2300const char kContentFullscreenDescription[] =
2301 "Fullscreen content window detaches from main browser window and goes to "
2302 "a new space without moving or changing the original browser window.";
2303
Lei Zhang2eca9082017-10-17 20:42:502304const char kDialogTouchBarName[] = "Dialog Touch Bar";
2305const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282306 "Shows Dialog buttons on the Touch Bar.";
2307
2308const char kHostedAppsInWindowsName[] =
2309 "Allow hosted apps to be opened in windows";
2310const char kHostedAppsInWindowsDescription[] =
2311 "Allows hosted apps to be opened in windows instead of being limited to "
2312 "tabs.";
2313
Lei Zhang2eca9082017-10-17 20:42:502314const char kMacRTLName[] = "Enable RTL";
2315const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282316
Lei Zhang2eca9082017-10-17 20:42:502317const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2318const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522319 "Enables sharing via macOS share extensions.";
2320
Lei Zhang2eca9082017-10-17 20:42:502321const char kMacTouchBarName[] = "Hardware Touch Bar";
2322const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282323
2324const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2325const char kMacV2SandboxDescription[] =
2326 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2327 "entire life cycle.";
2328
2329const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2330const char kMacViewsNativeAppWindowsDescription[] =
2331 "Controls whether to use Toolkit-Views based Chrome App windows.";
2332
2333const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2334const char kMacViewsTaskManagerDescription[] =
2335 "Controls whether to use the Toolkit-Views based Task Manager.";
2336
2337const char kTabDetachingInFullscreenName[] =
2338 "Allow tab detaching in fullscreen";
2339const char kTabDetachingInFullscreenDescription[] =
2340 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2341
2342const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2343const char kTabStripKeyboardFocusDescription[] =
2344 "Enable keyboard focus for the tabs in the tab strip.";
2345
2346const char kTranslateNewUxName[] = "New Translate UX";
2347const char kTranslateNewUxDescription[] =
2348 "Enable the new Translate bubble UX is offered instead of the infobar.";
2349
2350// Non-Mac ---------------------------------------------------------------------
2351
2352#else // !defined(OS_MACOSX)
2353
2354const char kPermissionPromptPersistenceToggleName[] =
2355 "Persistence Toggle in Permission Prompts";
2356const char kPermissionPromptPersistenceToggleDescription[] =
2357 "Whether to display a persistence toggle in permission prompts.";
2358
2359#endif
2360
2361// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342362
2363#if defined(OS_CHROMEOS)
2364
Brett Wilson7b44537e2017-08-18 01:38:282365const char kAcceleratedMjpegDecodeName[] =
2366 "Hardware-accelerated mjpeg decode for captured frame";
2367const char kAcceleratedMjpegDecodeDescription[] =
2368 "Enable hardware-accelerated mjpeg decode for captured frame where "
2369 "available.";
vabr0215a8e2017-03-28 12:47:342370
Brett Wilson7b44537e2017-08-18 01:38:282371const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2372const char kAllowTouchpadThreeFingerClickDescription[] =
2373 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342374
Brett Wilson7b44537e2017-08-18 01:38:282375const char kArcBootCompleted[] = "Load Android apps automatically";
2376const char kArcBootCompletedDescription[] =
2377 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342378
Lev Rumyantsev7a8544312017-08-18 19:26:512379const char kArcNativeBridgeExperimentName[] =
2380 "Enable native bridge experiment for ARC";
2381const char kArcNativeBridgeExperimentDescription[] =
2382 "Enables experimental native bridge feature.";
2383
Kevin Cernekeeb7f96a52017-10-25 17:40:182384const char kArcVpnName[] = "Enable ARC VPN integration";
2385const char kArcVpnDescription[] =
2386 "Allow Android VPN clients to tunnel Chrome traffic.";
2387
Brett Wilson7b44537e2017-08-18 01:38:282388const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2389const char kAshEnableUnifiedDesktopDescription[] =
2390 "Enable unified desktop mode which allows a window to span multiple "
2391 "displays.";
vabr0215a8e2017-03-28 12:47:342392
Brett Wilson7b44537e2017-08-18 01:38:282393const char kBootAnimationName[] = "Boot animation";
2394const char kBootAnimationDescription[] =
2395 "Wallpaper boot animation (except for OOBE case).";
vabr0215a8e2017-03-28 12:47:342396
Sean Kau5e956192017-10-06 22:25:172397const char kBulkPrintersName[] = "Bulk Printers Policy";
2398const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2399
Brett Wilson7b44537e2017-08-18 01:38:282400const char kCaptivePortalBypassProxyName[] =
2401 "Bypass proxy for Captive Portal Authorization";
2402const char kCaptivePortalBypassProxyDescription[] =
2403 "If proxy is configured, it usually prevents from authorization on "
2404 "different captive portals. This enables opening captive portal "
2405 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342406
Brett Wilson7b44537e2017-08-18 01:38:282407const char kCrOSComponentName[] = "Chrome OS Component";
2408const char kCrOSComponentDescription[] =
2409 "Enable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342410
Xiaochu Liu51d03fd2017-09-08 23:51:022411const char kCrOSContainerName[] = "Chrome OS Container";
2412const char kCrOSContainerDescription[] =
2413 "Enable the use of Chrome OS Container utility.";
2414
Brett Wilson7b44537e2017-08-18 01:38:282415const char kCrosRegionsModeName[] = "Cros-regions load mode";
2416const char kCrosRegionsModeDescription[] =
2417 "This flag controls cros-regions load mode";
2418const char kCrosRegionsModeDefault[] = "Default";
2419const char kCrosRegionsModeOverride[] = "Override VPD values.";
2420const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342421
Jacob Dufault2becbc482017-08-25 00:36:352422const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2423const char kDisableLockScreenAppsDescription[] =
2424 "Disable new-note action handler apps on the lock screen. The user will "
2425 "not be able to launch the preferred note-taking action from the lock "
2426 "screen, provided that the app supports lock screen note taking.";
2427
Sammie Quonef6b4882017-09-14 16:50:052428const char kDisableTabletAutohideTitlebarsName[] =
2429 "Disable autohide titlebars in tablet mode";
2430const char kDisableTabletAutohideTitlebarsDescription[] =
2431 "Disable tablet mode autohide titlebars functionality. The user will be "
2432 "able to see the titlebar in tablet mode.";
2433
Brett Wilson7b44537e2017-08-18 01:38:282434const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2435const char kEnablePerUserTimezoneDescription[] =
2436 "Chrome OS system timezone preference is stored and handled for each user "
2437 "individually.";
vabr0215a8e2017-03-28 12:47:342438
Brett Wilson7b44537e2017-08-18 01:38:282439const char kDisableSystemTimezoneAutomaticDetectionName[] =
2440 "SystemTimezoneAutomaticDetection policy support";
2441const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2442 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342443
Lei Zhang2eca9082017-10-17 20:42:502444const char kEnableBackgroundBlurName[] = "Enable background blur.";
2445const char kEnableBackgroundBlurDescription[] =
Wenzhao Zang50fb0b22017-11-07 01:38:422446 "Enables background blur for the Peeking Launcher and Tab Switcher.";
Alex Newcomer43cb7f12017-07-28 17:37:392447
Brett Wilson7b44537e2017-08-18 01:38:282448const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2449const char kEnableAndroidWallpapersAppDescription[] =
2450 "Enables the Android Wallpapers App as the default Wallpaper App on Chrome "
2451 "OS.";
vabr0215a8e2017-03-28 12:47:342452
Brett Wilson7b44537e2017-08-18 01:38:282453const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2454const char kEnableChromevoxArcSupportDescription[] =
2455 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342456
Brett Wilson7b44537e2017-08-18 01:38:282457const char kEnableEhvInputName[] =
2458 "Emoji, handwriting and voice input on opt-in IME menu";
2459const char kEnableEhvInputDescription[] =
2460 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342461
Brett Wilson7b44537e2017-08-18 01:38:282462const char kEnableEncryptionMigrationName[] =
2463 "Enable encryption migration of user data";
2464const char kEnableEncryptionMigrationDescription[] =
2465 "If enabled and the device supports ARC, the user will be asked to update "
2466 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342467
Klemen Kozjekf2b30e452017-09-01 05:04:512468const char kEnableExternalDriveRename[] = "Enable external drive rename";
2469const char kEnableExternalDriveRenameDescription[] =
2470 "If enabled, external removable drives will get 'Rename' action in the "
2471 "context menu";
2472
Blake O'Hare9e9317b22017-10-24 02:49:352473const char kEnableFloatingVirtualKeyboardName[] =
2474 "Enable floating virtual keyboard";
2475const char kEnableFloatingVirtualKeyboardDescription[] =
2476 "If enabled, the keyboard will use floating behavior by default.";
2477
Brett Wilson7b44537e2017-08-18 01:38:282478const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2479const char kEnableImeMenuDescription[] =
2480 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342481
xdai6459d0ca2017-10-11 19:23:102482const char kEnableTabletSplitViewName[] = "Split view in Tablet mode";
2483const char kEnableTabletSplitViewDescription[] =
2484 "Enable split view for Chrome OS tablet mode.";
2485
Klemen Kozjek05fc4512017-10-18 12:51:102486const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2487const char kEnableZipArchiverPackerDescription[] =
2488 "Enable the ability to archive files on Drive in the Files app";
2489
2490const char kEnableZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
2491const char kEnableZipArchiverUnpackerDescription[] =
2492 "Enable the ability to unpack archives in incognito mode";
Brett Wilson7b44537e2017-08-18 01:38:282493
2494const char kEolNotificationName[] = "Disable Device End of Life notification.";
2495const char kEolNotificationDescription[] =
2496 "Disable Notifcation when Device is End of Life.";
2497
2498const char kExperimentalAccessibilityFeaturesName[] =
2499 "Experimental accessibility features";
2500const char kExperimentalAccessibilityFeaturesDescription[] =
2501 "Enable additional accessibility features in the Settings page.";
2502
2503const char kExperimentalInputViewFeaturesName[] =
2504 "Experimental input view features";
2505const char kExperimentalInputViewFeaturesDescription[] =
2506 "Enable experimental features for IME input views.";
2507
2508const char kFileManagerTouchModeName[] = "Files App. touch mode";
2509const char kFileManagerTouchModeDescription[] =
2510 "Touchscreen-specific interactions of the Files app.";
2511
2512const char kFirstRunUiTransitionsName[] =
2513 "Animated transitions in the first-run tutorial";
2514const char kFirstRunUiTransitionsDescription[] =
2515 "Transitions during first-run tutorial are animated.";
2516
Brett Wilson7b44537e2017-08-18 01:38:282517const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2518const char kForceEnableStylusToolsDescription[] =
2519 "Forces display of the stylus tools menu in the shelf and the stylus "
2520 "section in settings, even if there is no attached stylus device.";
2521
2522const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2523const char kGestureEditingDescription[] =
2524 "Enable/Disable gesture editing option in the settings page for the "
2525 "virtual keyboard.";
2526
2527const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2528const char kGestureTypingDescription[] =
2529 "Enable/Disable gesture typing option in the settings page for the virtual "
2530 "keyboard.";
2531
2532const char kInputViewName[] = "Input views";
2533const char kInputViewDescription[] =
2534 "Enable IME extensions to supply custom views for user input such as "
2535 "virtual keyboards.";
2536
2537const char kMemoryPressureThresholdName[] =
2538 "Memory discard strategy for advanced pressure handling";
2539const char kMemoryPressureThresholdDescription[] =
2540 "Memory discarding strategy to use";
2541const char kConservativeThresholds[] =
2542 "Conservative memory pressure release strategy";
2543const char kAggressiveCacheDiscardThresholds[] =
2544 "Aggressive cache release strategy";
2545const char kAggressiveTabDiscardThresholds[] =
2546 "Aggressive tab release strategy";
2547const char kAggressiveThresholds[] =
2548 "Aggressive tab and cache release strategy";
2549
2550const char kMtpWriteSupportName[] = "MTP write support";
2551const char kMtpWriteSupportDescription[] =
2552 "MTP write support in File System API (and file manager). In-place editing "
2553 "operations are not supported.";
2554
2555const char kMultideviceName[] = "Enable multidevice features";
2556const char kMultideviceDescription[] =
2557 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342558
Bailey Berrofc0da1b2017-11-02 11:02:302559const char kNativeSambaName[] = "Native Samba Client";
2560const char kNativeSambaDescription[] =
2561 "If enabled, allows connections to a Samba share via Files app";
2562
vabr0215a8e2017-03-28 12:47:342563const char kNetworkPortalNotificationName[] =
2564 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342565const char kNetworkPortalNotificationDescription[] =
2566 "If enabled, notification is displayed when device is connected to a "
2567 "network behind captive portal.";
2568
stevenjbe1d457382017-05-24 22:37:242569const char kNetworkSettingsConfigName[] =
2570 "Settings based Network Configuration";
stevenjbe1d457382017-05-24 22:37:242571const char kNetworkSettingsConfigDescription[] =
2572 "Enables the Settings based network configuration UI instead of the Views "
2573 "based configuration dialog.";
2574
Brett Wilson7b44537e2017-08-18 01:38:282575const char kNewKoreanImeName[] = "New Korean IME";
2576const char kNewKoreanImeDescription[] =
2577 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342578
Brett Wilson7b44537e2017-08-18 01:38:282579const char kNewZipUnpackerName[] = "New ZIP unpacker";
2580const char kNewZipUnpackerDescription[] =
2581 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342582
Brett Wilson7b44537e2017-08-18 01:38:282583const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2584const char kPhysicalKeyboardAutocorrectDescription[] =
2585 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2586 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342587
2588const char kPrinterProviderSearchAppName[] =
2589 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342590const char kPrinterProviderSearchAppDescription[] =
2591 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192592 "searches Chrome Web Store for extensions that support printing to a USB "
2593 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342594
Brett Wilson7b44537e2017-08-18 01:38:282595const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2596const char kQuickUnlockPinDescription[] =
2597 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2598 "device on the lock screen after you have signed into your device.";
2599const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2600const char kQuickUnlockPinSigninDescription[] =
2601 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2602 "device. After changing this flag PIN needs to be set up again.";
2603const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2604const char kQuickUnlockFingerprintDescription[] =
2605 "Enabling fingerprint quick unlock allows you to setup and use a "
2606 "fingerprint to unlock your Chromebook on the lock screen after you have "
2607 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342608
Brett Wilson7b44537e2017-08-18 01:38:282609const char kOfficeEditingComponentAppName[] =
2610 "Office Editing for Docs, Sheets & Slides";
2611const char kOfficeEditingComponentAppDescription[] =
2612 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072613
Chung-Sheng Wu468b0b32017-09-01 14:41:572614const char kSysInternalsName[] = "Enable Sys-Internals";
2615const char kSysInternalsDescription[] =
2616 "If enabled, user can monitor system information at "
2617 "chrome://sys-internals.";
2618
Brett Wilson7b44537e2017-08-18 01:38:282619const char kTeamDrivesName[] = "Enable Team Drives Integration";
2620const char kTeamDrivesDescription[] =
2621 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342622
Brett Wilson7b44537e2017-08-18 01:38:282623const char kTetherName[] = "Instant Tethering";
2624const char kTetherDescription[] =
2625 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2626 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372627
Brett Wilson7b44537e2017-08-18 01:38:282628const char kTouchscreenCalibrationName[] =
2629 "Enable/disable touchscreen calibration option in material design settings";
2630const char kTouchscreenCalibrationDescription[] =
2631 "If enabled, the user can calibrate the touch screen displays in "
2632 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092633
Mitsuru Oshima63d3f2a2017-08-23 00:12:112634// Force UI Mode
2635const char kUiModeName[] = "Force Ui Mode";
2636const char kUiModeDescription[] =
2637 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2638 R"*(despite its current orientation. "Tablet" means that the )*"
2639 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2640 R"*(means that the chromebook will act as if it were in clamshell )*"
2641 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2642 R"*(the two, based on its orientation.)*";
2643const char kUiModeTablet[] = "TouchView";
2644const char kUiModeClamshell[] = "Clamshell";
2645const char kUiModeAuto[] = "Auto (default)";
2646
bruthigeafb0c02017-06-09 13:11:532647const char kUiDevToolsName[] = "Enable native UI inspection";
2648const char kUiDevToolsDescription[] =
2649 "Enables inspection of native UI elements. For local inspection use "
2650 "chrome://inspect#other";
2651
Brett Wilson7b44537e2017-08-18 01:38:282652const char kUseMusName[] = "Mus";
2653const char kUseMusDescription[] = "Enable the Mojo UI service.";
2654const char kEnableMashDescription[] =
2655 "Mash (UI, Chrome and ash in separate services)";
2656const char kEnableMusDescription[] =
2657 "Mus (UI in separate service, Chrome and ash in same service)";
2658
Miguel Casas-Sanchez8ba32f92017-11-07 05:03:342659// TODO(mcasas): remove after https://crbug.com/771345.
2660const char kUseMonitorColorSpaceName[] = "Use monitor color space";
2661const char kUseMonitorColorSpaceDescription[] =
2662 "Enables Chrome to use the color space information provided by the monitor"
2663 " instead of the default sRGB color space.";
2664
Brett Wilson7b44537e2017-08-18 01:38:282665const char kVideoPlayerChromecastSupportName[] =
2666 "Experimental Chromecast support for Video Player";
2667const char kVideoPlayerChromecastSupportDescription[] =
2668 "This option enables experimental Chromecast support for Video Player app "
2669 "on ChromeOS.";
2670
2671const char kVirtualKeyboardName[] = "Virtual Keyboard";
2672const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2673
2674const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2675const char kVirtualKeyboardOverscrollDescription[] =
2676 "Enables virtual keyboard overscroll support.";
2677
2678const char kVoiceInputName[] = "Voice input on virtual keyboard";
2679const char kVoiceInputDescription[] =
2680 "Enables voice input on virtual keyboard.";
2681
2682const char kWakeOnPacketsName[] = "Wake On Packets";
2683const char kWakeOnPacketsDescription[] =
2684 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202685
yhanadac5bff5b2017-05-18 06:37:092686#endif // defined(OS_CHROMEOS)
2687
Brett Wilson7b44537e2017-08-18 01:38:282688// Random platform combinations -----------------------------------------------
2689
2690#if defined(OS_WIN) || defined(OS_LINUX)
2691
2692const char kEnableInputImeApiName[] = "Enable Input IME API";
2693const char kEnableInputImeApiDescription[] =
2694 "Enable the use of chrome.input.ime API.";
2695
2696#endif // defined(OS_WIN) || defined(OS_LINUX)
2697
2698#if defined(OS_WIN) || defined(OS_MACOSX)
2699
2700const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2701const char kAutomaticTabDiscardingDescription[] =
2702 "If enabled, tabs get automatically discarded from memory when the system "
2703 "memory is low. Discarded tabs are still visible on the tab strip and get "
2704 "reloaded when clicked on. Info about discarded tabs can be found at "
2705 "chrome://discards.";
2706
2707#endif // defined(OS_WIN) || defined(OS_MACOSX)
2708
2709// Feature flags --------------------------------------------------------------
2710
2711#if BUILDFLAG(ENABLE_VR)
2712
2713#if defined(OS_ANDROID)
2714
2715const char kEnableVrShellName[] = "Enable Chrome VR.";
2716const char kEnableVrShellDescription[] =
2717 "Allow browsing with a VR headset if available for this device.";
2718
2719const char kVrCustomTabBrowsingName[] = "Enable Custom Tab browsing in VR.";
2720const char kVrCustomTabBrowsingDescription[] =
2721 "Allow browsing with a VR headset in a Custom Tab if available for this "
2722 "device.";
2723
Michael Thiessenb480fe92017-10-26 16:25:102724const char kVrShellExperimentalRenderingName[] =
2725 "Enable Chrome VR experimental rendering "
2726 "features.";
2727const char kVrShellExperimentalRenderingDescription[] =
2728 "Turns on experimental rendering features for Chrome VR, like power saving "
2729 "rendering modes.";
2730
Yash Malik812aebe2017-10-31 18:17:262731const char kVrLaunchIntentName[] = "Enable VR intents";
2732const char kVrLaunchIntentDescription[] =
2733 "Allow intents to launch Chrome in VR mode.";
2734
Brett Wilson7b44537e2017-08-18 01:38:282735const char kWebVrAutopresentName[] = "Enable WebVr auto presentation";
2736const char kWebVrAutopresentDescription[] =
2737 "Allows auto presentation of WebVr content from trusted first-party apps";
2738
2739const char kWebVrVsyncAlignName[] = "Enable WebVR VSync-aligned timing";
2740const char kWebVrVsyncAlignDescription[] =
2741 "Enabling this option aligns WebVR application rendering with VSync "
2742 "for smoother animations.";
2743
2744#endif // OS_ANDROID
2745
2746const char kWebvrExperimentalRenderingName[] =
2747 "WebVR experimental rendering optimizations";
2748const char kWebvrExperimentalRenderingDescription[] =
2749 "Enabling this option activates experimental rendering path optimizations "
2750 "for WebVR.";
2751
2752#endif // ENABLE_VR
2753
Nico Weberaf3b00b2017-09-11 17:58:172754#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282755
2756const char kNaclDebugMaskName[] =
2757 "Restrict Native Client GDB-based debugging by pattern";
2758const char kNaclDebugMaskDescription[] =
2759 "Restricts Native Client application GDB-based debugging by URL of "
2760 "manifest file. Native Client GDB-based debugging must be enabled for this "
2761 "option to work.";
2762const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
2763const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
2764 "Debug everything except secure shell and the PNaCl translator.";
2765const char kNaclDebugMaskChoiceIncludeDebug[] =
2766 "Debug only if manifest URL ends with debug.nmf.";
2767
2768const char kNaclDebugName[] = "Native Client GDB-based debugging";
2769const char kNaclDebugDescription[] =
2770 "Enable GDB debug stub. This will stop a Native Client application on "
2771 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
2772
2773const char kNaclName[] = "Native Client";
2774const char kNaclDescription[] =
2775 "Support Native Client for all web applications, even those that were not "
2776 "installed from the Chrome Web Store.";
2777
2778const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
2779const char kPnaclSubzeroDescription[] =
2780 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
2781
Nico Weberaf3b00b2017-09-11 17:58:172782#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282783
Brett Wilson7b44537e2017-08-18 01:38:282784#if BUILDFLAG(ENABLE_WEBRTC)
2785
2786const char kWebrtcH264WithOpenh264FfmpegName[] =
2787 "WebRTC H.264 software video encoder/decoder";
2788const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2789 "When enabled, an H.264 software video encoder/decoder pair is included. "
2790 "If a hardware encoder/decoder is also available it may be used instead of "
2791 "this encoder/decoder.";
2792
2793#endif // BUILDFLAG(ENABLE_WEBRTC)
2794
James Cookf9d34d22017-10-04 16:39:352795#if defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282796
Wenzhao Zang50fb0b22017-11-07 01:38:422797const char kAshDisableLoginDimAndBlurName[] =
2798 "Disable dimming and blur on login screen.";
2799const char kAshDisableLoginDimAndBlurDescription[] =
2800 "Disable dimming and blur on login screen.";
2801
Brett Wilson7b44537e2017-08-18 01:38:282802const char kAshDisableSmoothScreenRotationName[] =
2803 "Disable smooth rotation animations.";
2804const char kAshDisableSmoothScreenRotationDescription[] =
2805 "Disable smooth rotation animations.";
2806
wutaoc70d7b92017-11-01 08:06:012807const char kAshEnableKeyboardShortcutViewerName[] =
2808 "Enable keyboard shortcut viewer.";
2809const char kAshEnableKeyboardShortcutViewerDescription[] =
2810 "Enable keyboard shortcut viewer.";
2811
Brett Wilson7b44537e2017-08-18 01:38:282812const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2813const char kAshEnableMirroredScreenDescription[] =
2814 "Enable the mirrored screen mode. This mode flips the screen image "
2815 "horizontally.";
2816
2817const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2818const char kAshShelfColorDescription[] =
2819 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2820 "--ash-shelf-color-scheme flag defines how that color is derived.";
2821
2822const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2823const char kAshShelfColorSchemeDescription[] =
2824 "Specify how the color is derived from the wallpaper. This flag is only "
2825 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2826const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2827const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2828const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2829const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2830const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2831const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2832
Mike Wassermana38a8a62017-10-02 03:04:272833const char kAshDisableShelfModelSynchronization[] =
2834 "Disable shelf model synchronization";
2835const char kAshDisableShelfModelSynchronizationDescription[] =
2836 "Use a single in-process shelf data model shared between Chrome and Ash. "
2837 "This only applies to the Classic Ash and Mus configs; synchronization "
2838 "between two models is required when running the Mash config via --mash.";
Mike Wasserman2115b162017-09-19 23:42:372839
Brett Wilson7b44537e2017-08-18 01:38:282840const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:372841 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:282842const char kMaterialDesignInkDropAnimationSpeedDescription[] =
2843 "Sets the speed of the experimental visual feedback animations for "
2844 "material design.";
2845const char kMaterialDesignInkDropAnimationFast[] = "Fast";
2846const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
2847
2848const char kUiShowCompositedLayerBordersName[] =
2849 "Show UI composited layer borders";
2850const char kUiShowCompositedLayerBordersDescription[] =
2851 "Show border around composited layers created by UI.";
2852const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
2853const char kUiShowCompositedLayerBordersSurface[] = "Surface";
2854const char kUiShowCompositedLayerBordersLayer[] = "Layer";
2855const char kUiShowCompositedLayerBordersAll[] = "All";
2856
2857const char kUiSlowAnimationsName[] = "Slow UI animations";
2858const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
2859
James Cookf9d34d22017-10-04 16:39:352860#endif // defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282861
Brett Wilson7b44537e2017-08-18 01:38:282862#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2863
2864const char kAutofillCreditCardUploadName[] =
2865 "Enable offering upload of Autofilled credit cards";
2866const char kAutofillCreditCardUploadDescription[] =
2867 "Enables a new option to upload credit cards to Google Payments for sync "
2868 "to all Chrome devices.";
2869
2870#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2871
2872// ============================================================================
2873// Don't just add flags to the end, put them in the right section in
2874// alphabetical order just like the header file.
2875// ============================================================================
2876
vabr0215a8e2017-03-28 12:47:342877} // namespace flag_descriptions