blob: d9112d1f638c5e6716db9ae5f68440990b5baf58 [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
Brett Wilsonf27ff602017-07-07 22:28:4784const char kBrowserTaskSchedulerName[] = "Task Scheduler";
85const char kBrowserTaskSchedulerDescription[] =
86 "Enables redirection of some task posting APIs to the task scheduler.";
87
88const char kBypassAppBannerEngagementChecksName[] =
89 "Bypass user engagement checks";
90const char kBypassAppBannerEngagementChecksDescription[] =
91 "Bypasses user engagement checks for displaying app banners, such as "
92 "requiring that users have visited the site before and that the banner "
93 "hasn't been shown recently. This allows developers to test that other "
94 "eligibility requirements for showing app banners, such as having a "
95 "manifest, are met.";
96
Lucas Garronb9539b732017-10-31 00:22:0997const char kCommittedInterstitialsName[] = "Committed Interstitials";
98const char kCommittedInterstitialsDescription[] =
99 "Use committed error pages instead of transient navigation entries "
100 "for interstitial error pages (e.g. certificate errors).";
101
Marc Treib026acc532017-10-17 18:39:59102const char kCaptureThumbnailOnNavigatingAwayName[] =
103 "Capture page thumbnail on navigating away";
104const char kCaptureThumbnailOnNavigatingAwayDescription[] =
105 "Capture a page thumbnail (for use on the New Tab page) when navigating "
106 "away from the current page, in addition to other times a thumbnail may be "
107 "captured.";
108
Brett Wilsonf27ff602017-07-07 22:28:47109const char kCastStreamingHwEncodingName[] =
110 "Cast Streaming hardware video encoding";
111const char kCastStreamingHwEncodingDescription[] =
112 "This option enables support in Cast Streaming for encoding video streams "
113 "using platform hardware.";
114
Amber Won478561d2017-08-19 01:02:59115const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
116const char kClickToOpenPDFDescription[] =
117 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
118 "embedded PDFs.";
119
Brett Wilsonf27ff602017-07-07 22:28:47120const char kCloudImportName[] = "Cloud Import";
121const char kCloudImportDescription[] = "Allows the cloud-import feature.";
122
Christopher Cameronceb8727d2017-09-07 23:53:16123const char kForceColorProfileSRGB[] = "sRGB";
124const char kForceColorProfileP3[] = "Display P3 D65";
125const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
126const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
127
128const char kForceColorProfileName[] = "Force color profile";
129const char kForceColorProfileDescription[] =
130 "Forces Chrome to use a specific color profile instead of the color "
131 "of the window's current monitor, as specified by the operating system.";
132
Brett Wilsonf27ff602017-07-07 22:28:47133const char kCompositedLayerBordersName[] = "Composited render layer borders";
134const char kCompositedLayerBordersDescription[] =
135 "Renders a border around composited Render Layers to help debug and study "
136 "layer compositing.";
137
138const char kContextualSuggestionsCarouselName[] =
139 "Enable Contextual Suggestions";
140const char kContextualSuggestionsCarouselDescription[] =
141 "If enabled, shows contextual suggestions in a horizontal carousel in "
142 "bottom sheet content.";
143
144const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
145const char kCreditCardAssistDescription[] =
146 "Enable assisted credit card filling on certain sites.";
147
148const char kCrossProcessGuestViewIsolationName[] =
149 "Cross process frames for guests";
150const char kCrossProcessGuestViewIsolationDescription[] =
151 "Highly experimental where guests such as <webview> are implemented on "
152 "the out-of-process iframe infrastructure.";
153
Brett Wilsonf27ff602017-07-07 22:28:47154const char kDataReductionProxyLoFiName[] = "Data Saver Lo-Fi mode";
155const char kDataReductionProxyLoFiDescription[] =
156 "Forces Data Saver Lo-Fi mode to be always enabled, enabled only on "
157 "cellular connections, or disabled. Data Saver must be enabled for Lo-Fi "
158 "mode to be used.";
159const char kDataReductionProxyLoFiAlwaysOn[] = "Always on";
160const char kDataReductionProxyLoFiCellularOnly[] = "Cellular only";
161const char kDataReductionProxyLoFiDisabled[] = "Disable";
162const char kDataReductionProxyLoFiSlowConnectionsOnly[] =
163 "Slow connections only";
164
165const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
166const char kDatasaverPromptDescription[] =
167 "Enables a prompt, which appears when a cellular network connection is "
168 "detected, to take the user to the Data Saver extension page on Chrome Web "
169 "Store.";
170const char kDatasaverPromptDemoMode[] = "Demo mode";
171
172const char kDebugPackedAppName[] = "Debugging for packed apps";
173const char kDebugPackedAppDescription[] =
174 "Enables debugging context menu options such as Inspect Element for packed "
175 "applications.";
176
177const char kDefaultTileHeightName[] = "Default tile height";
178const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
179const char kDefaultTileHeightShort[] = "128";
180const char kDefaultTileHeightTall[] = "256";
181const char kDefaultTileHeightGrande[] = "512";
182const char kDefaultTileHeightVenti[] = "1024";
183
184const char kDefaultTileWidthName[] = "Default tile width";
185const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
186const char kDefaultTileWidthShort[] = "128";
187const char kDefaultTileWidthTall[] = "256";
188const char kDefaultTileWidthGrande[] = "512";
189const char kDefaultTileWidthVenti[] = "1024";
190
191const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
192const char kDebugShortcutsDescription[] =
193 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
194
195const char kDeviceDiscoveryNotificationsName[] =
196 "Device Discovery Notifications";
197const char kDeviceDiscoveryNotificationsDescription[] =
198 "Device discovery notifications on local network.";
199
200const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
201const char kDevtoolsExperimentsDescription[] =
202 "Enables Developer Tools experiments. Use Settings panel in Developer "
203 "Tools to toggle individual experiments.";
204
205const char kDisableAudioForDesktopShareName[] =
206 "Disable Audio For Desktop Share";
207const char kDisableAudioForDesktopShareDescription[] =
208 "With this flag on, desktop share picker window will not let the user "
209 "choose whether to share audio.";
210
Brett Wilsonf27ff602017-07-07 22:28:47211const char kDisableTabForDesktopShareName[] =
212 "Disable Desktop Share with tab source";
213const char kDisableTabForDesktopShareDescription[] =
214 "This flag controls whether users can choose a tab for desktop share.";
215
216const char kDisallowDocWrittenScriptsUiName[] =
217 "Block scripts loaded via document.write";
218const char kDisallowDocWrittenScriptsUiDescription[] =
219 "Disallows fetches for third-party parser-blocking scripts inserted into "
220 "the main frame via document.write.";
221
222const char kDisplayList2dCanvasName[] = "Display list 2D canvas";
223const char kDisplayList2dCanvasDescription[] =
224 "Enables the use of display lists to record 2D canvas commands. This "
225 "allows 2D canvas rasterization to be performed on separate thread.";
226
227const char kDistanceFieldTextName[] = "Distance field text";
228const char kDistanceFieldTextDescription[] =
229 "Text is rendered with signed distance fields rather than bitmap alpha "
230 "masks.";
231
232const char kDriveSearchInChromeLauncherName[] =
233 "Drive Search in Chrome App Launcher";
234const char kDriveSearchInChromeLauncherDescription[] =
235 "Files from Drive will show up when searching the Chrome App Launcher.";
236
237const char kDropSyncCredentialName[] =
238 "Drop sync credentials from password manager";
239const char kDropSyncCredentialDescription[] =
240 "The password manager will not offer to save the credential used to sync.";
241
242const char kEasyUnlockBluetoothLowEnergyDiscoveryName[] =
243 "Smart Lock Bluetooth Low Energy Discovery";
244const char kEasyUnlockBluetoothLowEnergyDiscoveryDescription[] =
Tim Song52c142c62017-07-20 03:29:07245 "Disables a Smart Lock setting that allows Chromebook to discover phones "
Brett Wilsonf27ff602017-07-07 22:28:47246 "over Bluetooth Low Energy in order to unlock the Chromebook when the "
247 "phone is in its proximity.";
248
Gustavo Sacomotofb11164f2017-07-21 12:56:18249const char kEasyUnlockPromotionsName[] = "Smart Lock Promotions";
250const char kEasyUnlockPromotionsDescription[] =
251 "Enables Smart Lock promotions. Promotions will be periodically display "
252 "if the user is eligible.";
253
Brett Wilsonf27ff602017-07-07 22:28:47254const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
255const char kEmbeddedExtensionOptionsDescription[] =
256 "Display extension options as an embedded element in chrome://extensions "
257 "rather than opening a new tab.";
258
259const char kEnableAsmWasmName[] =
260 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
261const char kEnableAsmWasmDescription[] =
262 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
263 R"*(WebAssembly.)*";
264
Shanfeng Zhang19c16562017-10-17 02:30:40265const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
266 "Credit card autofill ablation experiment.";
267const char kEnableAutofillCreditCardAblationExperimentDescription[] =
268 "If enabled, credit card autofill suggestions will not display.";
269
Brett Wilsonf27ff602017-07-07 22:28:47270const char kEnableAutofillCreditCardBankNameDisplayName[] =
271 "Display the issuer bank name of a credit card in autofill.";
272const char kEnableAutofillCreditCardBankNameDisplayDescription[] =
273 "If enabled, displays the issuer bank name of a credit card in autofill.";
274
275const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
276 "Display the last used date of a credit card in autofill.";
277const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
278 "If enabled, display the last used date of a credit card in autofill.";
279
280const char kEnableAutofillCreditCardUploadCvcPromptName[] =
281 "Enable requesting missing CVC during Autofill credit card upload";
282const char kEnableAutofillCreditCardUploadCvcPromptDescription[] =
283 "If enabled, requests missing CVC when offering to upload credit cards to "
284 "Google Payments.";
285
Jared Saule4446d12017-08-15 20:01:13286const char kEnableAutofillCreditCardUploadGoogleLogoName[] =
287 "Show Google Logo for Autofill credit card upload";
288const char kEnableAutofillCreditCardUploadGoogleLogoDescription[] =
289 "If enabled, displays the Google logo in the save prompt when offering to "
290 "upload credit cards to Google Payments.";
291
jsaul19ef81c2017-08-09 18:53:40292const char kEnableAutofillCreditCardUploadNewUiName[] =
293 "Enable updated UI for Autofill credit card upload";
294const char kEnableAutofillCreditCardUploadNewUiDescription[] =
295 "If enabled, displays a new save card bubble/infobar design when offering "
296 "to upload credit cards to Google Payments.";
297
Jason Guo71f621e2017-10-13 04:18:53298const char kEnableAutofillSendBillingCustomerNumberName[] =
299 "Enable autofill sending billing customer number when calling Google "
300 "Payments";
301const char kEnableAutofillSendBillingCustomerNumberDescription[] =
302 "If enabled, autofill sends billing customer number when calling Google "
303 "Payments.";
304
Mathieu Perreault069024e12017-10-24 01:14:08305const char kEnableAutofillToolkitViewsCreditCardDialogsMac[] =
306 "Enable toolkit-views credit card dialogs on Mac";
307const char kEnableAutofillToolkitViewsCreditCardDialogsMacDescription[] =
308 "Enable more modern credit card dialogs on Mac, based on toolkit-views.";
309
Vitalii Iarko4f9834ce2017-08-04 07:05:19310const char kEnableBreakingNewsPushName[] = "Breaking News Push";
311const char kEnableBreakingNewsPushDescription[] =
312 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
313 "through Google Cloud Messaging.";
314
Brett Wilsonf27ff602017-07-07 22:28:47315const char kEnableBrotliName[] = "Brotli Content-Encoding.";
316const char kEnableBrotliDescription[] =
317 "Enable Brotli Content-Encoding support.";
318
319const char kEnableClearBrowsingDataCountersName[] =
320 "Enable Clear browsing data counters.";
321const char kEnableClearBrowsingDataCountersDescription[] =
322 "Shows data volume counters in the Clear browsing data dialog.";
323
sclittle50e4bb92017-07-08 02:23:03324const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
325
326const char kEnableClientLoFiDescription[] =
327 "Enable showing low fidelity images on some pages on slow networks.";
328
Doug Arnett08b4067b2017-10-12 20:14:44329const char kEnableNoScriptPreviewsName[] = "NoScript previews";
330
331const char kEnableNoScriptPreviewsDescription[] =
332 "Enable disabling JavaScript on some pages on slow networks.";
333
Brett Wilsonf27ff602017-07-07 22:28:47334const char kEnableDataReductionProxyLitePageName[] =
335 "Lite pages for Data Saver Lo-Fi mode";
336const char kEnableDataReductionProxyLitePageDescription[] =
337 "Enable lite pages in Data Saver Lo-Fi mode. Previews of pages will be "
338 "shown instead of image placeholders when Lo-Fi is on. Data Saver and "
339 "Lo-Fi must be enabled for lite pages to be shown.";
340
341const char kDataReductionProxyServerAlternative[] =
342 "Use alternative server configuration";
343const char kEnableDataReductionProxyServerExperimentName[] =
344 "Use an alternative Data Saver back end configuration.";
345const char kEnableDataReductionProxyServerExperimentDescription[] =
346 "Enable a different approach to saving data by configuring the back end "
347 "server";
348
349const char kEnableDataReductionProxySavingsPromoName[] =
350 "Data Saver 1 MB Savings Promo";
351const char kEnableDataReductionProxySavingsPromoDescription[] =
352 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
353 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
354 "enabled for the promo to be shown.";
355
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17356const char kEnableDesktopPWAWindowingName[] =
357 "Windowing related features for desktop PWAs.";
358const char kEnableDesktopPWAWindowingDescription[] =
359 "Enable experimental windowing features for desktop PWAs.";
360
Brett Wilsonf27ff602017-07-07 22:28:47361const char kEnableEnumeratingAudioDevicesName[] =
362 "Experimentally enable enumerating audio devices.";
363const char kEnableEnumeratingAudioDevicesDescription[] =
364 "Experimentally enable the use of enumerating audio devices.";
365
366const char kEnableGenericSensorName[] = "Generic Sensor";
367const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25368 "Enables motion sensor classes based on Generic Sensor API, i.e. "
369 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
370 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
371
372const char kEnableGenericSensorExtraClassesName[] =
373 "Generic Sensor Extra Classes";
374const char kEnableGenericSensorExtraClassesDescription[] =
375 "Enables an extra set of sensor classes based on Generic Sensor API, which "
376 "expose previously unavailable platform features, i.e. AmbientLightSensor "
377 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47378
Brett Wilsonf27ff602017-07-07 22:28:47379const char kEnableHDRName[] = "HDR mode";
380const char kEnableHDRDescription[] =
381 "Enables HDR support on compatible displays.";
382
383const char kEnableHeapProfilingName[] = "Heap profiling";
384const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
385const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
386const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
387const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
388
389const char kEnableHttpFormWarningName[] =
390 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15391 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47392const char kEnableHttpFormWarningDescription[] =
393 "Attaches a warning UI to any password or credit card fields detected when "
394 "the top-level page is not HTTPS";
395
Sidney San Martín9375b892017-09-09 00:29:54396const char kEnableMacMaterialDesignDownloadShelfName[] =
397 "Enable Material Design download shelf";
398
399const char kEnableMacMaterialDesignDownloadShelfDescription[] =
400 "If enabled, the download shelf uses Material Design.";
401
Tatiana Gornakafb40452017-07-31 13:50:04402const char kEnableManualFallbacksFillingName[] =
403 "Manual fallbacks for password manager forms filling";
404const char kEnableManualFallbacksFillingDescription[] =
405 "If enabled, then if user clicks on the password field on a form, popup "
406 "might contain generation fallbacks or 'Show all saved passwords' "
407 "fallback.";
408
vabr0215a8e2017-03-28 12:47:34409const char kEnableMaterialDesignBookmarksName[] =
410 "Enable Material Design bookmarks";
vabr0215a8e2017-03-28 12:47:34411const char kEnableMaterialDesignBookmarksDescription[] =
412 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
413 "bookmarks page.";
414
vabr0215a8e2017-03-28 12:47:34415const char kEnableMaterialDesignExtensionsName[] =
416 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34417const char kEnableMaterialDesignExtensionsDescription[] =
418 "If enabled, the chrome://extensions/ URL loads the Material Design "
419 "extensions page.";
420
Anton Urusov47cd4932017-09-19 14:41:41421const char kEnablePolicyToolName[] = "Enable policy management page";
422const char kEnablePolicyToolDescription[] =
423 "If enabled, the chrome://policy-tool URL loads a page for managing "
424 "policies.";
425
Brett Wilsonf27ff602017-07-07 22:28:47426const char kEnableMidiManagerDynamicInstantiationName[] =
427 "MIDIManager dynamic instantiation for Web MIDI.";
428const char kEnableMidiManagerDynamicInstantiationDescription[] =
429 "Enable MIDIManager dynamic instantiation for Web MIDI.";
430
431const char kEnableNavigationTracingName[] = "Enable navigation tracing";
432const char kEnableNavigationTracingDescription[] =
433 "This is to be used in conjunction with the trace-upload-url flag. "
434 "WARNING: When enabled, Chrome will record performance data for every "
435 "navigation and upload it to the URL specified by the trace-upload-url "
436 "flag. The trace may include personally identifiable information (PII) "
437 "such as the titles and URLs of websites you visit.";
438
439const char kEnableNetworkServiceName[] = "Enable network service";
440const char kEnableNetworkServiceDescription[] =
441 "Enables the network service, which makes network requests through a "
442 "separate service. Note: most features don't work with this yet.";
443
dpapaded8349472017-10-25 03:21:27444const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
445const char kEnableNewPrintPreviewDescription[] =
446 "If enabled, Print Preview will display a newer UI";
447
Ahmed Fakhry2fd8fc82017-07-28 16:31:12448const char kEnableNightLightName[] = "Enable Night Light";
449const char kEnableNightLightDescription[] =
450 "Enable the Night Light feature which controls the color temperature of "
451 "the screen.";
452
Sophie Chang117a3b22017-10-24 22:25:36453const char kEnableOptimizationHintsName[] = "Optimization Hints";
454const char kEnableOptimizationHintsDescription[] =
455 "Enable the Optimization Hints feature which incorporates server hints"
456 "into decisions for what optimizations to perform on some pages on slow "
457 "networks.";
458
Yutaka Hirano98be3272017-08-07 17:55:39459const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
460const char kEnableOutOfBlinkCORSDescription[] =
461 "CORS handling logic is moved out of blink.";
462
Erik Chen49bbfa22017-08-18 08:49:56463const char kEnableOutOfProcessHeapProfilingName[] =
464 "Out of process heap profiling.";
465const char kEnableOutOfProcessHeapProfilingDescription[] =
466 "Creates a profiling service that records stacktraces for all live, "
467 "malloced objects.";
erikchen1dff1812017-09-11 21:27:36468const char kEnableOutOfProcessHeapProfilingModeMinimal[] =
469 "Profile only the browser and GPU processes.";
Erik Chen49bbfa22017-08-18 08:49:56470const char kEnableOutOfProcessHeapProfilingModeAll[] = "Profile all processes.";
471
Brett Wilsonf27ff602017-07-07 22:28:47472const char kEnablePictureInPictureName[] = "Enable picture in picture.";
473const char kEnablePictureInPictureDescription[] =
474 "Enable the picture in picture feature for videos.";
475
F#m59d036e2017-09-13 07:22:17476const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
477const char kEnablePixelCanvasRecordingDescription[] =
478 "Pixel canvas recording allows the compositor to raster contents aligned "
479 "with the pixel and improves text rendering. This should be enabled when a "
480 "device is using fractional scale factor.";
481
Brett Wilsonf27ff602017-07-07 22:28:47482const char kEnableTokenBindingName[] = "Token Binding.";
483const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
484
Irmak Kavasoglu7e16af02017-07-19 09:52:47485const char kEnableUsernameCorrectionName[] = "Enable username correction";
486const char kEnableUsernameCorrectionDescription[] =
487 "While on the pending password state, add an edit button to the bubble so "
488 "that user can edit the username.";
489
Brett Wilsonf27ff602017-07-07 22:28:47490const char kEnableUseZoomForDsfName[] =
491 "Use Blink's zoom for device scale factor.";
492const char kEnableUseZoomForDsfDescription[] =
493 "If enabled, Blink uses its zooming mechanism to scale content for device "
494 "scale factor.";
495const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
496const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
497const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
498
499const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
500const char kEnableScrollAnchoringDescription[] =
501 "Adjusts scroll position to prevent visible jumps when offscreen content "
502 "changes.";
503
Brett Wilsonf27ff602017-07-07 22:28:47504const char kEnableWasmName[] = "WebAssembly structured cloning support.";
505const char kEnableWasmDescription[] =
506 "Enable web pages to use WebAssembly structured cloning.";
507
Brett Wilsonf27ff602017-07-07 22:28:47508const char kEnableImageCaptureAPIName[] = "Image Capture API";
509const char kEnableImageCaptureAPIDescription[] =
510 "Enables the Web Platform Image Capture API: takePhoto(), "
511 "getPhotoCapabilities(), etc.";
512
513const char kEnableZeroSuggestRedirectToChromeName[] =
514 "Experimental contextual omnibox suggestion";
515const char kEnableZeroSuggestRedirectToChromeDescription[] =
516 "Change omnibox contextual suggestions to an experimental source. Note "
517 "that this is not an on/off switch for contextual omnibox and it only "
518 "applies to suggestions provided before the user starts typing a URL or a "
519 "search query (i.e. zero suggest).";
520
521const char kEnableWasmStreamingName[] =
522 "WebAssembly streaming compile/instantiate support.";
523const char kEnableWasmStreamingDescription[] =
524 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
525
Brett Wilsonf27ff602017-07-07 22:28:47526const char kExpensiveBackgroundTimerThrottlingName[] =
527 "Throttle expensive background timers";
528const char kExpensiveBackgroundTimerThrottlingDescription[] =
529 "Enables intervention to limit CPU usage of background timers to 1%.";
530
531const char kExperimentalAppBannersName[] = "Experimental app banners";
532const char kExperimentalAppBannersDescription[] =
533 "Enables a new experimental app banner flow and UI";
534
535const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
536const char kExperimentalCanvasFeaturesDescription[] =
537 "Enables the use of experimental canvas features which are still in "
538 "development.";
539
540const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
541const char kExperimentalExtensionApisDescription[] =
542 "Enables experimental extension APIs. Note that the extension gallery "
543 "doesn't allow you to upload extensions that use experimental APIs.";
544
545const char kExperimentalFullscreenExitUIName[] =
546 "Experimental fullscreen exit UI";
547const char kExperimentalFullscreenExitUIDescription[] =
548 "Displays experimental UI to allow mouse and touch input methods to exit "
549 "fullscreen mode.";
550
551const char kExperimentalHotwordHardwareName[] =
552 "Simulated hardware 'Ok Google' features";
553const char kExperimentalHotwordHardwareDescription[] =
554 "Enables an experimental version of 'Ok Google' hotword detection features "
555 "that have a hardware dependency.";
556
557const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
558const char kExperimentalKeyboardLockUiDescription[] =
559 "An experimental full screen with keyboard lock mode requiring users to "
560 "hold Esc to exit.";
561
562const char kExperimentalSecurityFeaturesName[] =
563 "Potentially annoying security features";
564const char kExperimentalSecurityFeaturesDescription[] =
565 "Enables several security features that will likely break one or more "
566 "pages that you visit on a daily basis. Strict mixed content checking, for "
567 "example. And locking powerful features to secure contexts. This flag will "
568 "probably annoy you.";
569
Ian Vollick3a0cffc2017-10-13 04:42:11570const char kExperimentalVRFeaturesName[] = "Experimental VR features";
571const char kExperimentalVRFeaturesDescription[] =
572 "Enables VR browsing features that are under development.";
573
Brett Wilsonf27ff602017-07-07 22:28:47574const char kExperimentalWebPlatformFeaturesName[] =
575 "Experimental Web Platform features";
576const char kExperimentalWebPlatformFeaturesDescription[] =
577 "Enables experimental Web Platform features that are in development.";
578
579const char kExtensionContentVerificationName[] =
580 "Extension Content Verification";
581const char kExtensionContentVerificationDescription[] =
582 "This flag can be used to turn on verification that the contents of the "
583 "files on disk for extensions from the webstore match what they're "
584 "expected to be. This can be used to turn on this feature if it would not "
585 "otherwise have been turned on, but cannot be used to turn it off (because "
586 "this setting can be tampered with by malware).";
587const char kExtensionContentVerificationBootstrap[] =
588 "Bootstrap (get expected hashes, but do not enforce them)";
589const char kExtensionContentVerificationEnforce[] =
590 "Enforce (try to get hashes, and enforce them if successful)";
591const char kExtensionContentVerificationEnforceStrict[] =
592 "Enforce strict (hard fail if we can't get hashes)";
593
594const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
595const char kExtensionsOnChromeUrlsDescription[] =
596 "Enables running extensions on chrome:// URLs, where extensions explicitly "
597 "request this permission.";
galinapae72e152017-05-12 13:12:28598
Brett Wilsonecb80982017-07-12 20:34:51599const char kFastUnloadName[] = "Fast tab/window close";
600const char kFastUnloadDescription[] =
601 "Enables fast tab/window closing - runs a tab's onunload js handler "
602 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34603
Brett Wilsonecb80982017-07-12 20:34:51604const char kFeaturePolicyName[] = "Feature Policy";
605const char kFeaturePolicyDescription[] =
606 "Enables granting and removing access to features through the "
607 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34608
Brett Wilsonecb80982017-07-12 20:34:51609const char kFetchKeepaliveTimeoutSettingName[] =
610 "Fetch API keepalive timeout setting";
611const char kFetchKeepaliveTimeoutSettingDescription[] =
612 "This is for setting the timeout value for Fetch API with keepalive option "
613 "and SendBeacon";
614
615const char kFontCacheScalingName[] = "FontCache scaling";
616const char kFontCacheScalingDescription[] =
617 "Reuse a cached font in the renderer to serve different sizes of font for "
618 "faster layout.";
619
620const char kForceEffectiveConnectionTypeName[] =
621 "Override effective connection type";
622const char kForceEffectiveConnectionTypeDescription[] =
623 "Overrides the effective connection type of the current connection "
624 "returned by the network quality estimator.";
625const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
626const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
627const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
628const char kEffectiveConnectionType2GDescription[] = "2G";
629const char kEffectiveConnectionType3GDescription[] = "3G";
630const char kEffectiveConnectionType4GDescription[] = "4G";
631
632const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
633const char kFillOnAccountSelectDescription[] =
634 "Filling of passwords when an account is explicitly selected by the user "
635 "rather than autofilling credentials on page load.";
636
Brett Wilsonecb80982017-07-12 20:34:51637const char kForceTextDirectionName[] = "Force text direction";
638const char kForceTextDirectionDescription[] =
639 "Explicitly force the per-character directionality of UI text to "
640 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
641 "direction of the character language.";
642const char kForceDirectionLtr[] = "Left-to-right";
643const char kForceDirectionRtl[] = "Right-to-left";
644
645const char kForceUiDirectionName[] = "Force UI direction";
646const char kForceUiDirectionDescription[] =
647 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
648 "mode, overriding the default direction of the UI language.";
649
650const char kFramebustingName[] =
651 "Framebusting requires same-origin or a user gesture";
652const char kFramebustingDescription[] =
653 "Don't permit an iframe to navigate the top level browsing context unless "
654 "they are same-origin or the iframe is processing a user gesture.";
655
656const char kGamepadExtensionsName[] = "Gamepad Extensions";
657const char kGamepadExtensionsDescription[] =
658 "Enabling this option allows web applications to access experimental "
659 "extensions to the Gamepad APIs.";
660
sohan3f00ffc2017-07-14 22:28:08661const char kGlCompositedOverlayCandidateQuadBordersName[] =
662 "GL composited overlay candidate quad borders";
663const char kGlCompositedOverlayCandidateQuadBordersDescription[] =
Alex Newcomer43cb7f12017-07-28 17:37:39664 "Renders a border around GL composited overlay candidate quads to help "
665 "debug and study overlay support.";
Brett Wilsonecb80982017-07-12 20:34:51666
667const char kGpuRasterizationMsaaSampleCountName[] =
668 "GPU rasterization MSAA sample count.";
669const char kGpuRasterizationMsaaSampleCountDescription[] =
670 "Specify the number of MSAA samples for GPU rasterization.";
671const char kGpuRasterizationMsaaSampleCountZero[] = "0";
672const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
673const char kGpuRasterizationMsaaSampleCountFour[] = "4";
674const char kGpuRasterizationMsaaSampleCountEight[] = "8";
675const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
676
677const char kGpuRasterizationName[] = "GPU rasterization";
678const char kGpuRasterizationDescription[] =
679 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28680const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51681
682const char kGoogleProfileInfoName[] = "Google profile name and icon";
683const char kGoogleProfileInfoDescription[] =
684 "Enables using Google information to populate the profile name and icon in "
685 "the avatar menu.";
686
687const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
688const char kHarfbuzzRendertextDescription[] =
689 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
690 "web content.";
691
692const char kHistoryRequiresUserGestureName[] =
693 "New history entries require a user gesture.";
694const char kHistoryRequiresUserGestureDescription[] =
695 "Require a user gesture to add a history entry.";
696const char kHyperlinkAuditingName[] = "Hyperlink auditing";
697const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
698
699const char kHostedAppQuitNotificationName[] =
700 "Quit notification for hosted apps";
701const char kHostedAppQuitNotificationDescription[] =
702 "Display a notification when quitting Chrome if hosted apps are currently "
703 "running.";
704
705const char kHostedAppShimCreationName[] =
706 "Creation of app shims for hosted apps on Mac";
707const char kHostedAppShimCreationDescription[] =
708 "Create app shims on Mac when creating a hosted app.";
709
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48710const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
711const char kHtmlBasedUsernameDetectorDescription[] =
712 "Use HTML-based username detector for the password manager.";
713
Brett Wilsonecb80982017-07-12 20:34:51714const char kIconNtpName[] = "Large icons on the New Tab page";
715const char kIconNtpDescription[] =
716 "Enable the experimental New Tab page using large icons.";
717
718const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
719const char kIgnoreGpuBlacklistDescription[] =
720 "Overrides the built-in software rendering list and enables "
721 "GPU-acceleration on unsupported system configurations.";
722
723const char kImportantSitesInCbdName[] =
724 "Important sites options in clear browsing data dialog";
725const char kImportantSitesInCbdDescription[] =
726 "Include the option to whitelist important sites in the clear browsing "
727 "data dialog.";
728
Brett Wilsonecb80982017-07-12 20:34:51729const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
730const char kInProductHelpDemoModeChoiceDescription[] =
731 "Selects the In-Product Help demo mode.";
732
733const char kJavascriptHarmonyName[] = "Experimental JavaScript";
734const char kJavascriptHarmonyDescription[] =
735 "Enable web pages to use experimental JavaScript features.";
736
737const char kJavascriptHarmonyShippingName[] =
738 "Latest stable JavaScript features";
739const char kJavascriptHarmonyShippingDescription[] =
740 "Some web pages use legacy or non-standard JavaScript extensions that may "
741 "conflict with the latest JavaScript features. This flag allows disabling "
742 "support of those features for compatibility with such pages.";
743
Yutaka Hiranof7f2f632017-09-06 10:40:08744const char kKeepAliveRendererForKeepaliveRequestsName[] =
745 "Keep a renderer alive for keepalive fetch requests";
746const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
747 "Keep a render process alive when the process has a pending fetch request "
748 "with `keepalive' specified.";
749
Brett Wilsonecb80982017-07-12 20:34:51750const char kLcdTextName[] = "LCD text antialiasing";
751const char kLcdTextDescription[] =
752 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
753 "(subpixel) when doing accelerated compositing.";
754
Matt Giucac399982f2017-10-06 07:51:29755const char kLeftToRightUrlsName[] =
756 "Render bidirectional URLs from left to right";
757const char kLeftToRightUrlsDescription[] =
758 "An experimental Bidi URL rendering algorithm where the URL components are "
759 "always shown in order from left to right, regardless of any RTL "
760 "characters. (The contents of each component are still rendered with the "
761 "normal Bidi algorithm.)";
762
Brett Wilsonecb80982017-07-12 20:34:51763const char kLoadMediaRouterComponentExtensionName[] =
764 "Load Media Router Component Extension";
765const char kLoadMediaRouterComponentExtensionDescription[] =
766 "Loads the Media Router component extension at startup.";
767
768const char kManualPasswordGenerationName[] = "Manual password generation.";
769const char kManualPasswordGenerationDescription[] =
770 "Show a 'Generate Password' option on the context menu for all password "
771 "fields.";
772
Dominic Battref27e8762017-08-23 11:16:25773const char kManualPasswordSavingName[] = "Manual password saving.";
774const char kManualPasswordSavingDescription[] =
775 "Show the password manager icon when typing into a password filed. "
776 "Clicking it allows to save the password without submitting the form.";
777
Brett Wilsonecb80982017-07-12 20:34:51778const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
779const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
780const char kMarkHttpAsDangerous[] = "Always mark HTTP as actively dangerous";
Brett Wilsonecb80982017-07-12 20:34:51781
Lei Zhang2eca9082017-10-17 20:42:50782const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
783const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51784 "If enabled, the Incognito New Tab page uses the new material design with "
785 "a better readable text.";
786
787const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
788const char kMediaRemotingDescription[] =
789 "When Casting a tab to a remote device, enabling this turns on an "
790 "optimization that forwards the content bitstream directly to the remote "
791 "device when a video is fullscreened.";
792
793const char kMemoryAblationName[] = "Memory ablation experiment";
794const char kMemoryAblationDescription[] =
795 "Allocates extra memory in the browser process.";
796
797const char kMemoryCoordinatorName[] = "Memory coordinator";
798const char kMemoryCoordinatorDescription[] =
799 "Enable memory coordinator instead of memory pressure listeners.";
800
801const char kMessageCenterNewStyleNotificationName[] = "New style notification";
802const char kMessageCenterNewStyleNotificationDescription[] =
803 "Enables the experiment style of material-design notification";
804
Brett Wilsonecb80982017-07-12 20:34:51805const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
806const char kMhtmlGeneratorOptionDescription[] =
807 "Provides experimental options for MHTML file generator.";
808const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
809const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
810
811const char kMojoLoadingName[] = "Use Mojo IPC for resource loading";
812const char kMojoLoadingDescription[] =
813 "Use Mojo IPC instead of traditional Chrome IPC for resource loading.";
814
Miguel Casas-Sanchez10769c82017-07-27 23:52:04815const char kMojoVideoEncodeAcceleratorName[] =
816 "Hardware-accelerated video encoder accessed using Mojo IPC";
817const char kMojoVideoEncodeAcceleratorDescription[] =
818 "Use new Mojo IPC to access hardware-accelerated video encoder, where "
819 "available.";
820
Brett Wilsonecb80982017-07-12 20:34:51821const char kModuleScriptsName[] = "Enable ECMAScript 6 modules";
822const char kModuleScriptsDescription[] =
823 "Enables ECMAScript 6 modules support in Blink.";
824
Kouhei Ueno08445c22017-09-05 03:58:30825const char kModuleScriptsDynamicImportName[] =
826 "Enable ECMAScript 6 modules dynamic import";
827const char kModuleScriptsDynamicImportDescription[] =
828 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
829 "Blink.";
830
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:05831const char kModuleScriptsImportMetaUrlName[] =
832 "Enable ECMAScript 6 modules import.meta.url";
833const char kModuleScriptsImportMetaUrlDescription[] =
834 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
835 "Blink.";
836
Brett Wilsonecb80982017-07-12 20:34:51837const char kNewAudioRenderingMixingStrategyName[] =
838 "New audio rendering mixing strategy";
839const char kNewAudioRenderingMixingStrategyDescription[] =
840 "Use the new audio rendering mixing strategy.";
841
842const char kNewBookmarkAppsName[] = "The new bookmark app system";
843const char kNewBookmarkAppsDescription[] =
844 "Enables the new system for creating bookmark apps.";
845
846const char kNewOmniboxAnswerTypesName[] =
847 "New omnibox answers in suggest types";
848const char kNewOmniboxAnswerTypesDescription[] =
849 "Enables new types of answers in the omnibox suggest drop-down: currency "
850 "conversions, dictionary definitions, sports scores, translations, and "
851 "when is.";
852
853const char kNewRemotePlaybackPipelineName[] =
854 "Enable the new remote playback pipeline.";
855const char kNewRemotePlaybackPipelineDescription[] =
856 "Enable the new pipeline for playing media element remotely via "
857 "RemotePlayback API or native controls.";
858
859const char kNewUsbBackendName[] = "Enable new USB backend";
860const char kNewUsbBackendDescription[] =
861 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34862
brettw5f9c1642017-05-14 17:12:48863const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34864const char kNostatePrefetchDescription[] =
865 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
866 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
867 R"*(improve load times even more. "Simple Load" does nothing and is )*"
868 R"*(similar to disabling the feature, but collects more metrics for )*"
869 R"*(comparison purposes.)*";
870
Brett Wilsonecb80982017-07-12 20:34:51871const char kNotificationsNativeFlagName[] = "Enable native notifications.";
872const char kNotificationsNativeFlagDescription[] =
873 "Enable support for using the native notification toasts and notification "
874 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34875
Zentaro Kavanaghbad511c2017-10-18 22:29:00876#if defined(OS_POSIX)
877const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
878const char kNtlmV2EnabledDescription[] =
879 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
880#endif
881
Brett Wilsonecb80982017-07-12 20:34:51882const char kNumRasterThreadsName[] = "Number of raster threads";
883const char kNumRasterThreadsDescription[] =
884 "Specify the number of raster threads.";
885const char kNumRasterThreadsOne[] = "1";
886const char kNumRasterThreadsTwo[] = "2";
887const char kNumRasterThreadsThree[] = "3";
888const char kNumRasterThreadsFour[] = "4";
889
890const char kOfferStoreUnmaskedWalletCardsName[] =
891 "Google Payments card saving checkbox";
892const char kOfferStoreUnmaskedWalletCardsDescription[] =
893 "Show the checkbox to offer local saving of a credit card downloaded from "
894 "the server.";
895
896const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
897const char kOfflineAutoReloadDescription[] =
898 "Pages that fail to load while the browser is offline will be "
899 "auto-reloaded when the browser is online again.";
900
901const char kOfflineAutoReloadVisibleOnlyName[] =
902 "Only Auto-Reload Visible Tabs";
903const char kOfflineAutoReloadVisibleOnlyDescription[] =
904 "Pages that fail to load while the browser is offline will only be "
905 "auto-reloaded if their tab is visible.";
906
907const char kOffMainThreadFetchName[] = "Off-main-thread fetch for Web Workers";
908const char kOffMainThreadFetchDescription[] =
909 "If enabled, the resource fetches from worker threads will not be blocked "
910 "by the busy main thread.";
911
912const char kOmniboxDisplayTitleForCurrentUrlName[] =
913 "Include title for the current URL in the omnibox";
914const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
915 "In the event that the omnibox provides suggestions on-focus, the URL of "
916 "the current page is provided as the first suggestion without a title. "
917 "Enabling this flag causes the title to be displayed.";
918
Benoit Lizeab08362c2017-07-19 14:50:54919const char kOmniboxSpareRendererName[] =
920 "Start spare renderer on omnibox focus";
921const char kOmniboxSpareRendererDescription[] =
922 "When the omnibox is focused, start an empty spare renderer. This can "
923 "speed up the load of the navigation from the omnibox.";
924
Tommy C. Li8875a442017-08-23 00:10:59925const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
926 "Omnibox UI Elide Suggestion URL After Host";
927const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
928 "Elides the path, query, and ref of suggested URLs in the Omnibox "
929 "dropdown.";
930
Brett Wilsonecb80982017-07-12 20:34:51931const char kOmniboxUIHideSuggestionUrlSchemeName[] =
932 "Omnibox UI Hide Suggestion URL Scheme";
933const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
934 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
935
936const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
937 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
938const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
939 "Elides trivially informative subdomains from suggested URLs in the "
940 "Omnibox dropdown (e.g. www. and m.).";
941
942const char kOmniboxUIMaxAutocompleteMatchesName[] =
943 "Omnibox UI Max Autocomplete Matches";
944
945const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
946 "Changes the maximum number of autocomplete matches displayed in the "
947 "Omnibox UI.";
948
949const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
950const char kOmniboxUINarrowDropdownDescription[] =
951 "Makes the suggestions dropdown width match the omnibox width.";
952
Justin Donnelly65c9e8b2017-10-01 05:15:01953const char kOmniboxUIShowSuggestionFaviconsName[] =
954 "Omnibox UI Show Suggestion Favicons";
955const char kOmniboxUIShowSuggestionFaviconsDescription[] =
956 "Shows favicons instead of generic vector icons for URL suggestions in the "
957 "Omnibox dropdown.";
958
959const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
960const char kOmniboxUISwapTitleAndUrlDescription[] =
961 "In the omnibox dropdown, shows titles before URLs when both are "
962 "available.";
963
Brett Wilsonecb80982017-07-12 20:34:51964const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
965const char kOmniboxUIVerticalLayoutDescription[] =
966 "Displays Omnibox sugestions in 2 lines - title over origin.";
967
968const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
969const char kOmniboxUIVerticalMarginDescription[] =
970 "Changes the vertical margin in the Omnibox UI.";
971
972const char kOriginTrialsName[] = "Origin Trials";
973const char kOriginTrialsDescription[] =
974 "Enables origin trials for controlling access to feature/API experiments.";
975
Becca Hughes930d8cd2017-10-02 11:09:12976const char kOverflowIconsForMediaControlsName[] =
977 "Icons on Media Controls Overflow Menu";
978const char kOverflowIconsForMediaControlsDescription[] =
979 "Displays icons on the overflow menu of the native media controls";
980
Brett Wilsonecb80982017-07-12 20:34:51981const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
982const char kOverlayScrollbarsDescription[] =
983 "Enable the experimental overlay scrollbars implementation. You must also "
984 "enable threaded compositing to have the scrollbars animate.";
985
chaopenge8aa016b2017-08-24 15:20:19986const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
987 "Flash Overlay Scrollbars After Any Scroll Update";
988const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
989 "Flash Overlay Scrollbars After any scroll update happends in page. You"
990 " must also enable Overlay Scrollbars.";
991
chaopeng343678022017-08-24 18:45:00992const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
993 "Flash Overlay Scrollbars When Mouse Enter";
994const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
995 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
996 " enable Overlay Scrollbars.";
997
Claudio Magni81326f92017-09-01 05:21:18998const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
999const char kUseNewAcceptLanguageHeaderDescription[] =
1000 "Adds the base language code after other corresponding language+region "
1001 "codes. This ensures that users receive content in their preferred "
1002 "language.";
1003
Brett Wilsonecb80982017-07-12 20:34:511004const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1005const char kOverscrollHistoryNavigationDescription[] =
1006 "Experimental history navigation in response to horizontal overscroll.";
1007const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
1008
1009const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1010const char kOverscrollStartThresholdDescription[] =
1011 "Changes overscroll start threshold relative to the default value.";
1012const char kOverscrollStartThreshold133Percent[] = "133%";
1013const char kOverscrollStartThreshold166Percent[] = "166%";
1014const char kOverscrollStartThreshold200Percent[] = "200%";
1015
Xing Liu5400a002017-09-15 21:48:291016const char kParallelDownloadingName[] = "Parallel downloading";
1017const char kParallelDownloadingDescription[] =
1018 "Enable parallel downloading to"
1019 "accelerate download speed.";
1020
Brett Wilsonecb80982017-07-12 20:34:511021const char kPassiveEventListenerDefaultName[] =
1022 "Passive Event Listener Override";
1023const char kPassiveEventListenerDefaultDescription[] =
1024 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1025 "haven't requested otherwise) to be treated as passive. This will break "
1026 "touch/wheel behavior on some websites but is useful for demonstrating the "
1027 "potential performance benefits of adopting passive event listeners.";
1028const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1029const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1030
1031const char kPassiveEventListenersDueToFlingName[] =
1032 "Touch Event Listeners Passive Default During Fling";
1033const char kPassiveEventListenersDueToFlingDescription[] =
1034 "Forces touchstart, and first touchmove per scroll event listeners during "
1035 "fling to be treated as passive.";
1036
1037const char kPassiveDocumentEventListenersName[] =
1038 "Document Level Event Listeners Passive Default";
1039const char kPassiveDocumentEventListenersDescription[] =
1040 "Forces touchstart, and touchmove event listeners on document level "
1041 "targets (which haven't requested otherwise) to be treated as passive.";
1042
1043const char kPasswordForceSavingName[] = "Force-saving of passwords";
1044const char kPasswordForceSavingDescription[] =
1045 "Allow the user to manually enforce password saving instead of relying on "
1046 "password manager's heuristics.";
1047
1048const char kPasswordGenerationName[] = "Password generation";
1049const char kPasswordGenerationDescription[] =
1050 "Allow the user to have Chrome generate passwords when it detects account "
1051 "creation pages.";
1052
1053const char kPasswordImportExportName[] = "Password import and export";
1054const char kPasswordImportExportDescription[] =
1055 "Import and Export functionality in password settings.";
1056
Maxim Kolosovskiyd97b94612017-09-19 20:10:391057const char kPasswordSelectionName[] =
1058 "Password selection and eye icon in prompt";
1059const char kPasswordSelectionDescription[] =
1060 "Show a password selector and an eye icon in prompt";
1061
Brett Wilsonecb80982017-07-12 20:34:511062const char kPermissionActionReportingName[] = "Permission Action Reporting";
1063const char kPermissionActionReportingDescription[] =
1064 "Enables permission action reporting to Safe Browsing servers for opted in "
1065 "users.";
1066
1067const char kPermissionsBlacklistName[] = "Permissions Blacklist";
1068const char kPermissionsBlacklistDescription[] =
1069 "Enables the Permissions Blacklist, which blocks permissions for "
1070 "blacklisted sites for Safe Browsing users.";
1071
1072const char kPinchScaleName[] = "Pinch scale";
1073const char kPinchScaleDescription[] =
1074 "Enables experimental support for scale using pinch.";
1075
Brett Wilsonecb80982017-07-12 20:34:511076const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1077const char kPrintPdfAsImageDescription[] =
1078 "If enabled, an option to print PDF files as images will be available in "
1079 "print preview.";
1080
1081const char kPrintPreviewRegisterPromosName[] =
1082 "Print Preview Registration Promos";
1083const char kPrintPreviewRegisterPromosDescription[] =
1084 "Enable registering unregistered cloud printers from print preview.";
1085
1086const char kProtectSyncCredentialName[] = "Autofill sync credential";
1087const char kProtectSyncCredentialDescription[] =
1088 "How the password manager handles autofill for the sync credential.";
1089
1090const char kProtectSyncCredentialOnReauthName[] =
1091 "Autofill sync credential only for transactional reauth pages";
1092const char kProtectSyncCredentialOnReauthDescription[] =
1093 "How the password manager handles autofill for the sync credential only "
1094 "for transactional reauth pages.";
1095
Mohsen Izadi93faac12017-07-29 04:45:151096const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1097const char kPullToRefreshDescription[] =
1098 "Pull-to-refresh gesture in response to vertical overscroll.";
1099
Brett Wilsonecb80982017-07-12 20:34:511100const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1101const char kPushApiBackgroundModeDescription[] =
1102 "Enable background mode for the Push API. This allows Chrome to continue "
1103 "running after the last window is closed, and to launch at OS startup, if "
1104 "the Push API needs it.";
1105
Piotr Swigon46929d12017-08-11 07:16:331106const char kPwaMinimalUiName[] = "Minimal-UI display mode for PWAs";
1107const char kPwaMinimalUiDescription[] =
1108 "Enables support for Minimal-UI display mode for installed PWAs";
1109
Brett Wilsonecb80982017-07-12 20:34:511110const char kQuicName[] = "Experimental QUIC protocol";
1111const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1112
1113const char kReducedReferrerGranularityName[] =
1114 "Reduce default 'referer' header granularity.";
1115const char kReducedReferrerGranularityDescription[] =
1116 "If a page hasn't set an explicit referrer policy, setting this flag will "
1117 "reduce the amount of information in the 'referer' header for cross-origin "
1118 "requests.";
1119
Mihai Sardarescu6d0f5b72017-10-30 11:24:381120const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1121 "Remove usage of the deprecated GAIA sign-in endpoint";
1122const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1123 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1124 "This flags controls wheter it should no longer be used during a sign-in "
1125 " flow.";
1126
Brett Wilsonecb80982017-07-12 20:34:511127const char kRequestTabletSiteName[] =
1128 "Request tablet site option in the settings menu";
1129const char kRequestTabletSiteDescription[] =
1130 "Allows the user to request tablet site. Web content is often optimized "
1131 "for tablet devices. When this option is selected the user agent string is "
1132 "changed to indicate a tablet device. Web content optimized for tablets is "
1133 "received there after for the current tab.";
1134
1135const char kResetAppListInstallStateName[] =
1136 "Reset the App Launcher install state on every restart.";
1137const char kResetAppListInstallStateDescription[] =
1138 "Reset the App Launcher install state on every restart. While this flag is "
1139 "set, Chrome will forget the launcher has been installed each time it "
1140 "starts. This is used for testing the App Launcher install flow.";
1141
1142const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1143const char kResourceLoadSchedulerDescription[] =
1144 "Uses the resource load scheduler in blink to schedule and throttle "
1145 "resource load requests.";
1146
Brett Wilsonecb80982017-07-12 20:34:511147const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1148const char kSafeSearchUrlReportingDescription[] =
1149 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1150
1151const char kSaveasMenuLabelExperimentName[] =
1152 "Switch 'Save as' menu labels to 'Download'";
1153const char kSaveasMenuLabelExperimentDescription[] =
1154 "Enables an experiment to switch menu labels that use 'Save as...' to "
1155 "'Download'.";
1156
1157const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1158const char kSavePageAsMhtmlDescription[] =
1159 "Enables saving pages as MHTML: a single text file containing HTML and all "
1160 "sub-resources.";
1161
Nate Chapin9638e7102017-09-20 22:11:011162const char kSavePreviousDocumentResourcesName[] =
1163 "Save Previous Document Resources";
1164const char kSavePreviousDocumentResourcesDescription[] =
1165 "Saves an old document's cached resources until the specified point in the "
1166 "next document's lifecycle.";
1167const char kSavePreviousDocumentResourcesNever[] =
1168 "Don't explicitly save resources";
1169const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1170 "Save resources until onDOMContentLoaded completes";
1171const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1172 "Save resources until onload completes";
1173
Brett Wilsonecb80982017-07-12 20:34:511174const char kScrollPredictionName[] = "Scroll prediction";
1175const char kScrollPredictionDescription[] =
1176 "Predicts the finger's future position during scrolls allowing time to "
1177 "render the frame before the finger is there.";
1178
1179const char kSecondaryUiMd[] =
1180 "Material Design in the rest of the browser's native UI";
1181const char kSecondaryUiMdDescription[] =
1182 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1183 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1184 "browser dialogs.";
1185
1186const char kServiceWorkerNavigationPreloadName[] =
1187 "Service worker navigation preload.";
1188const char kServiceWorkerNavigationPreloadDescription[] =
1189 "Enable web pages to use the experimental service worker navigation "
1190 "preload API.";
1191
gogeraldd5061b592017-09-06 23:39:551192const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1193const char kServiceWorkerPaymentAppsDescription[] =
1194 "Enable Service Worker applications to integrate as payment apps";
1195
Makoto Shimazud9f333c2017-08-08 07:23:171196const char kServiceWorkerScriptStreamingName[] =
1197 "Service worker script streaming.";
1198const char kServiceWorkerScriptStreamingDescription[] =
1199 "Installed scripts for a service worker are sent over a dedicated "
1200 "message pipe and data pipes, and that is never be blocked on the main "
1201 "thread.";
1202
Brett Wilsonecb80982017-07-12 20:34:511203const char kSettingsWindowName[] = "Show settings in a window";
1204const char kSettingsWindowDescription[] =
1205 "Settings will be shown in a dedicated window instead of as a browser tab.";
1206
Trent Apted750ba7022017-10-23 13:36:251207const char kShowAllDialogsWithViewsToolkitName[] =
1208 "Show all dialogs with Views toolkit";
1209const char kShowAllDialogsWithViewsToolkitDescription[] =
1210 "All browser dialogs will be shown using the Views toolkit rather than "
1211 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1212
Brett Wilsonecb80982017-07-12 20:34:511213const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1214const char kShowAutofillSignaturesDescription[] =
1215 "Annotates web forms with Autofill signatures as HTML attributes.";
1216
1217const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1218const char kShowAutofillTypePredictionsDescription[] =
1219 "Annotates web forms with Autofill field type predictions as placeholder "
1220 "text.";
1221
1222const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1223const char kShowOverdrawFeedbackDescription[] =
1224 "Visualize overdraw by color-coding elements based on if they have other "
1225 "elements drawn underneath.";
1226
yiyixbdfa9a0b2017-10-23 22:21:471227const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1228const char kEnableDrawOcclusionDescription[] =
1229 "Enable the system to use draw occlusion to skip draw quads when they are "
1230 "not shown on the screen.";
1231
Brett Wilsonecb80982017-07-12 20:34:511232const char kShowSavedCopyName[] = "Show Saved Copy Button";
1233const char kShowSavedCopyDescription[] =
1234 "When a page fails to load, if a stale copy of the page exists in the "
1235 "browser cache, a button will be presented to allow the user to load that "
1236 "stale copy. The primary enabling choice puts the button in the most "
1237 "salient position on the error page; the secondary enabling choice puts it "
1238 "secondary to the reload button.";
1239const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1240const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1241const char kDisableShowSavedCopy[] = "Disable";
1242
1243const char kShowTouchHudName[] = "Show HUD for touch points";
1244const char kShowTouchHudDescription[] =
1245 "Enables a heads-up display at the top-left corner of the screen that "
1246 "lists information about the touch-points on the screen.";
1247
1248const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1249const char kSilentDebuggerExtensionApiDescription[] =
1250 "Do not show the infobar when an extension attaches to a page via "
1251 "chrome.debugger API. This is required to debug extension background "
1252 "pages.";
1253
1254const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1255const char kSimpleCacheBackendDescription[] =
1256 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1257 "disk space allocation.";
1258
1259const char kSimplifiedFullscreenUiName[] =
1260 "Simplified full screen / mouse lock UI.";
1261const char kSimplifiedFullscreenUiDescription[] =
1262 "A simplified new user experience when entering page-triggered full screen "
1263 "or mouse pointer lock states.";
1264
1265const char kSingleClickAutofillName[] = "Single-click autofill";
1266const char kSingleClickAutofillDescription[] =
1267 "Make autofill suggestions on initial mouse click on a form element.";
1268
1269const char kSiteDetails[] = "Site Details";
1270const char kSiteDetailsDescription[] =
1271 "Adds UI in MD Settings to view all content settings for a specific "
1272 "origin.";
1273
1274const char kSitePerProcessName[] = "Strict site isolation";
1275const char kSitePerProcessDescription[] =
1276 "Highly experimental security mode that ensures each renderer process "
1277 "contains pages from at most one site. In this mode, out-of-process "
1278 "iframes will be used whenever an iframe is cross-site.";
1279
1280const char kSiteSettings[] = "Site settings with All sites and Site details";
1281const char kSiteSettingsDescription[] =
1282 "Adds new ways of viewing Site settings.";
1283
1284const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
1285const char kSlimmingPaintInvalidationDescription[] =
1286 "Whether to enable a new paint invalidation system.";
1287
1288const char kSmoothScrollingName[] = "Smooth Scrolling";
1289const char kSmoothScrollingDescription[] =
1290 "Animate smoothly when scrolling page content.";
1291
1292const char kSoftwareRasterizerName[] = "3D software rasterizer";
1293const char kSoftwareRasterizerDescription[] =
1294 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1295
Tommy Steimel77704be2017-08-28 22:14:401296const char kSoundContentSettingName[] = "Sound content setting";
1297const char kSoundContentSettingDescription[] =
1298 "Enable site-wide muting in content settings and tab strip context menu.";
1299
Alexandr Ilinf0500ed32017-09-27 21:12:361300const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1301const char kSpeculativePreconnectDescription[] =
1302 "Enable the new implementation of preconnect and DNS preresolve. "
1303 "\"Learning\" means that only database construction is enabled, "
1304 "\"Preconnect\" enables both learning and preconnect and disables the "
1305 "existing implementation. \"No preconnect\" disables both implementations.";
1306
Brett Wilsonecb80982017-07-12 20:34:511307const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341308const char kSpeculativePrefetchDescription[] =
1309 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1310 R"*(load times, based on a local database (see chrome://predictors). )*"
1311 R"*("Learning" means that only the database construction is enabled, )*"
1312 R"*("Prefetching" that learning and prefetching are enabled.)*";
1313
Justin Donnelly4e448cb2017-07-07 21:32:131314const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1315 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131316const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1317 "If enabled, when the user enters text in the omnibox that looks like a "
1318 "a query, any service worker associated with the search engine the query "
1319 "will be sent to is started early.";
1320
Brett Wilsonecb80982017-07-12 20:34:511321const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1322const char kSpellingFeedbackFieldTrialDescription[] =
1323 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401324
Brett Wilsonecb80982017-07-12 20:34:511325const char kSuggestionsWithSubStringMatchName[] =
1326 "Substring matching for Autofill suggestions";
1327const char kSuggestionsWithSubStringMatchDescription[] =
1328 "Match Autofill suggestions based on substrings (token prefixes) rather "
1329 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341330
Brett Wilsonecb80982017-07-12 20:34:511331const char kSyncAppListName[] = "App Launcher sync";
1332const char kSyncAppListDescription[] =
1333 "Enable App Launcher sync. This also enables Folders where available (non "
1334 "OSX).";
vabr0215a8e2017-03-28 12:47:341335
Brett Wilsonecb80982017-07-12 20:34:511336const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1337const char kSyncSandboxDescription[] =
1338 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341339
Brett Wilsonecb80982017-07-12 20:34:511340const char kTabAudioMutingName[] = "Tab audio muting UI control";
1341const char kTabAudioMutingDescription[] =
1342 "When enabled, the audio indicators in the tab strip double as tab audio "
1343 "mute controls. This also adds commands in the tab context menu for "
1344 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341345
Christian Dullweberd0d96f02017-09-13 09:22:511346const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1347const char kTabsInCbdDescription[] =
1348 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1349
Becky Zhou99c22802017-10-19 05:09:271350const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1351const char kTabModalJsDialogDescription[] =
1352 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1353 " tab.";
1354
Brett Wilsonecb80982017-07-12 20:34:511355const char kTcpFastOpenName[] = "TCP Fast Open";
1356const char kTcpFastOpenDescription[] =
1357 "Enable the option to send extra authentication information in the initial "
1358 "SYN packet for a previously connected client, allowing faster data send "
1359 "start.";
vabr0215a8e2017-03-28 12:47:341360
Brett Wilsonecb80982017-07-12 20:34:511361const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1362const char kTopChromeMdDescription[] =
1363 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
1364const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531365const char kTopChromeMdMaterialAuto[] = "Auto";
Brett Wilsonecb80982017-07-12 20:34:511366const char kTopChromeMdMaterialHybrid[] = "Touch";
vabr0215a8e2017-03-28 12:47:341367
Brett Wilsonecb80982017-07-12 20:34:511368const char kThreadedScrollingName[] = "Threaded scrolling";
1369const char kThreadedScrollingDescription[] =
1370 "Threaded handling of scroll-related input events. Disabling this will "
1371 "force all such scroll events to be handled on the main thread. Note that "
1372 "this can dramatically hurt scrolling performance of most websites and is "
1373 "intended for testing purposes only.";
1374
Steven Valdez4584b2482017-07-14 01:11:571375const char kTLS13VariantName[] = "TLS 1.3";
1376const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1377const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111378const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez4584b2482017-07-14 01:11:571379const char kTLS13VariantDraft[] = "Enabled (Draft)";
1380const char kTLS13VariantExperiment[] = "Enabled (Experiment)";
Steven Valdezf00f8782017-09-13 18:05:281381const char kTLS13VariantExperiment2[] = "Enabled (Experiment 2)";
1382const char kTLS13VariantExperiment3[] = "Enabled (Experiment 3)";
Steven Valdez4584b2482017-07-14 01:11:571383
Brett Wilsonecb80982017-07-12 20:34:511384const char kTopDocumentIsolationName[] = "Top document isolation";
1385const char kTopDocumentIsolationDescription[] =
1386 "Highly experimental performance mode where cross-site iframes are kept in "
1387 "a separate process from the top document. In this mode, iframes from "
1388 "different third-party sites will be allowed to share a process.";
1389
Dominick Ng8896b1cd2017-10-17 23:24:361390const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1391const char kTopSitesFromSiteEngagementDescription[] =
1392 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1393 "engagement.";
1394
Brett Wilsonecb80982017-07-12 20:34:511395const char kTouchAdjustmentName[] = "Touch adjustment";
1396const char kTouchAdjustmentDescription[] =
1397 "Refine the position of a touch gesture in order to compensate for touches "
1398 "having poor resolution compared to a mouse.";
1399
1400const char kTouchDragDropName[] = "Touch initiated drag and drop";
1401const char kTouchDragDropDescription[] =
1402 "Touch drag and drop can be initiated through long press on a draggable "
1403 "element.";
1404
1405const char kTouchEventsName[] = "Touch Events API";
1406const char kTouchEventsDescription[] =
1407 "Force Touch Events API feature detection to always be enabled or "
1408 "disabled, or to be enabled when a touchscreen is detected on startup "
1409 "(Automatic, the default).";
1410
1411const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1412const char kTouchSelectionStrategyDescription[] =
1413 "Controls how text selection granularity changes when touch text selection "
1414 "handles are dragged. Non-default behavior is experimental.";
1415const char kTouchSelectionStrategyCharacter[] = "Character";
1416const char kTouchSelectionStrategyDirection[] = "Direction";
1417
1418const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1419const char kTraceUploadUrlDescription[] =
1420 "This is to be used in conjunction with the enable-navigation-tracing "
1421 "flag. Please select the label that best describes the recorded traces. "
1422 "This will choose the destination the traces are uploaded to. If you are "
1423 "not sure, select other. If left empty, no traces will be uploaded.";
1424const char kTraceUploadUrlChoiceOther[] = "Other";
1425const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1426const char kTraceUploadUrlChoiceQa[] = "QA";
1427const char kTraceUploadUrlChoiceTesting[] = "Testing";
1428
1429const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
1430const char kTranslate2016q2UiDescription[] =
1431 "Improved triggering logic and look for Translate Bubble UI";
1432
1433const char kTranslateLanguageByUlpName[] = "Translate Language by ULP";
1434const char kTranslateLanguageByUlpDescription[] =
1435 "Improved translate target language and triggering logic by considering "
1436 "information from User Language Profile (ULP).";
1437
Philippe Hamel7fdaa452017-09-29 17:22:491438const char kTranslateRankerEnforcementName[] =
1439 "Enforce TranslateRanker decisions";
1440const char kTranslateRankerEnforcementDescription[] =
1441 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1442 "or not Translate UI should be triggered in a given context.";
1443
Brett Wilsonecb80982017-07-12 20:34:511444const char kTrySupportedChannelLayoutsName[] =
1445 "Causes audio output streams to check if channel layouts other than the "
1446 "default hardware layout are available.";
1447const char kTrySupportedChannelLayoutsDescription[] =
1448 "Causes audio output streams to check if channel layouts other than the "
1449 "default hardware layout are available. Turning this on will allow the OS "
1450 "to do stereo to surround expansion if supported. May expose third party "
1451 "driver bugs, use with caution.";
1452
1453const char kUiPartialSwapName[] = "Partial swap";
1454const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1455
Chris Pickel3a227ae62017-08-24 10:47:261456const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1457const char kUseDdljsonApiDescription[] =
1458 "Enables the new ddljson API to fetch Doodles for the NTP.";
1459
Mustaq Ahmedc646c0a2017-10-20 20:08:301460const char kUserActivationV2Name[] = "User Activation v2";
1461const char kUserActivationV2Description[] =
1462 "Enable simple user activation for APIs that are otherwise controlled by "
1463 "user gesture tokens.";
1464
Brett Wilsonecb80982017-07-12 20:34:511465const char kUserConsentForExtensionScriptsName[] =
1466 "User consent for extension scripts";
1467const char kUserConsentForExtensionScriptsDescription[] =
1468 "Require user consent for an extension running a script on the page, if "
1469 "the extension requested permission to run on all urls.";
1470
1471const char kUseSuggestionsEvenIfFewFeatureName[] =
1472 "Disable minimum for server-side tile suggestions on NTP.";
1473const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1474 "Request server-side suggestions even if there are only very few of them "
1475 "and use them for tiles on the New Tab Page.";
1476
1477const char kV8CacheOptionsName[] = "V8 caching mode.";
1478const char kV8CacheOptionsDescription[] =
1479 "Caching mode for the V8 JavaScript engine.";
1480const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1481const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1482
1483const char kV8CacheStrategiesForCacheStorageName[] =
1484 "V8 caching strategy for CacheStorage.";
1485const char kV8CacheStrategiesForCacheStorageDescription[] =
1486 "Caching strategy of scripts in CacheStorage for the V8 JavaScript engine.";
1487const char kV8CacheStrategiesForCacheStorageNormal[] = "Normal";
1488const char kV8CacheStrategiesForCacheStorageAggressive[] = "Aggressive";
1489
Hitoshi Yoshida3e5db562017-09-11 02:31:081490const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1491const char kV8ContextSnapshotDescription[] =
1492 "Sets to use a snapshot to create V8 contexts in frame creation.";
1493
Michael Hablich896d52662017-10-23 15:59:571494const char kV8VmFutureName[] = "Future V8 VM features";
1495const char kV8VmFutureDescription[] =
1496 "This enables upcoming and experimental V8 VM features. "
1497 "This flag does not enable experimental JavaScript features.";
1498
Brett Wilsonecb80982017-07-12 20:34:511499const char kVibrateRequiresUserGestureName[] =
1500 "Requiring user gesture for the Vibration API";
1501const char kVibrateRequiresUserGestureDescription[] =
1502 "Block the Vibration API if no user gesture has been received on the frame "
1503 "or any embedded frame.";
1504
1505const char kVideoFullscreenOrientationLockName[] =
1506 "Lock screen orientation when playing a video fullscreen.";
1507const char kVideoFullscreenOrientationLockDescription[] =
1508 "Lock the screen orientation of the device to match video orientation when "
1509 "a video goes fullscreen. Only on phones.";
1510
1511const char kVideoRotateToFullscreenName[] =
1512 "Rotate-to-fullscreen gesture for videos.";
1513const char kVideoRotateToFullscreenDescription[] =
1514 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1515 "the video. Only on phones.";
1516
1517const char kWalletServiceUseSandboxName[] =
1518 "Use Google Payments sandbox servers";
1519const char kWalletServiceUseSandboxDescription[] =
1520 "For developers: use the sandbox service for Google Payments API calls.";
1521
Brett Wilsonecb80982017-07-12 20:34:511522const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1523const char kWebglDraftExtensionsDescription[] =
1524 "Enabling this option allows web applications to access the WebGL "
1525 "Extensions that are still in draft status.";
1526
1527const char kWebMidiName[] = "Web MIDI API";
1528const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1529
1530const char kWebPaymentsName[] = "Web Payments";
1531const char kWebPaymentsDescription[] =
1532 "Enable Web Payments API integration, a JavaScript API for merchants.";
1533
Mathieu Perreault51339b82017-07-20 17:06:051534const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1535const char kWebPaymentsModifiersDescription[] =
1536 "If the website provides modifiers in the payment request, show the custom "
1537 "total for each payment instrument, update the shopping cart when "
1538 "instruments are switched, and send modified payment method specific data "
1539 "to the payment app.";
1540
Brett Wilsonecb80982017-07-12 20:34:511541const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1542const char kWebrtcEchoCanceller3Description[] =
1543 "Experimental WebRTC echo canceller (AEC3).";
1544
1545const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1546const char kWebrtcHwDecodingDescription[] =
1547 "Support in WebRTC for decoding video streams using platform hardware.";
1548
1549const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1550const char kWebrtcHwEncodingDescription[] =
1551 "Support in WebRTC for encoding video streams using platform hardware.";
1552
1553const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1554const char kWebrtcHwH264EncodingDescription[] =
1555 "Support in WebRTC for encoding h264 video streams using platform "
1556 "hardware.";
1557
1558const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1559const char kWebrtcHwVP8EncodingDescription[] =
1560 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1561
1562const char kWebrtcSrtpAesGcmName[] =
1563 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1564const char kWebrtcSrtpAesGcmDescription[] =
1565 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1566
Joachim Bauch4a41d7512017-08-23 14:24:231567const char kWebrtcSrtpEncryptedHeadersName[] =
1568 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1569const char kWebrtcSrtpEncryptedHeadersDescription[] =
1570 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1571 "for SRTP.";
1572
Brett Wilsonecb80982017-07-12 20:34:511573const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1574const char kWebrtcStunOriginDescription[] =
1575 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1576 "header.";
1577
1578const char kWebvrName[] = "WebVR";
1579const char kWebvrDescription[] =
1580 "Enabling this option allows web applications to access experimental "
Michael Thiessenab056202017-10-05 16:50:121581 "Virtual Reality APIs. Warning: Enabling this will also allow WebVR "
1582 "content on insecure origins to access these powerful APIs, and may pose a "
1583 "security risk.";
Brett Wilsonecb80982017-07-12 20:34:511584
1585const char kWifiCredentialSyncName[] = "WiFi credential sync";
1586const char kWifiCredentialSyncDescription[] =
1587 "Enables synchronizing WiFi network settings across devices. When enabled, "
1588 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1589 "credentials are synchronized subject to user preferences. (See also, "
1590 "chrome://settings/syncSetup.)";
1591
1592const char kZeroCopyName[] = "Zero-copy rasterizer";
1593const char kZeroCopyDescription[] =
1594 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341595
Brett Wilsonff596952017-07-14 01:06:551596// Android ---------------------------------------------------------------------
1597
1598#if defined(OS_ANDROID)
1599
1600const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1601const char kAiaFetchingDescription[] =
1602 "Enable intermediate certificate fetching when a server does not provide "
1603 "sufficient certificates to build a chain to a trusted root.";
1604
1605const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1606const char kAccessibilityTabSwitcherDescription[] =
1607 "Enable the accessibility tab switcher for Android.";
1608
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251609const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1610const char kAllowReaderForAccessibilityDescription[] =
1611 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1612
Brett Wilsonff596952017-07-14 01:06:551613const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1614const char kAndroidAutofillAccessibilityDescription[] =
1615 "Enable accessibility for autofill popup.";
1616
1617const char kAndroidPaymentAppsName[] = "Android payment apps";
1618const char kAndroidPaymentAppsDescription[] =
1619 "Enable third party Android apps to integrate as payment apps";
1620
Iulia Harasim0b5a4312017-07-21 16:20:501621const char kAndroidSigninPromosName[] = "Signin promos for Android.";
1622const char kAndroidSigninPromosDescription[] =
1623 "New signin promos for Android which will be displayed in content "
1624 "suggestions, Settings, Bookmarks and Recent Tabs.";
1625
Tatiana Gornak38ab3562017-07-28 11:04:181626const char kAndroidViewPasswordsName[] = "Copy and view passwords for Android";
1627const char kAndroidViewPasswordsDescription[] =
1628 "Enables copying and viewing passwords in settings.";
1629
Miriam Gershenson23cfe346e2017-09-28 14:49:291630const char kAsyncDnsName[] = "Async DNS resolver";
1631const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1632
Brett Wilsonff596952017-07-14 01:06:551633const char kAutofillAccessoryViewName[] =
1634 "Autofill suggestions as keyboard accessory view";
1635const char kAutofillAccessoryViewDescription[] =
1636 "Shows Autofill suggestions on top of the keyboard rather than in a "
1637 "dropdown.";
1638
1639const char kBackgroundLoaderForDownloadsName[] =
1640 "Enables background downloading of pages.";
1641const char kBackgroundLoaderForDownloadsDescription[] =
1642 "Enables downloading pages in the background in case page is not yet "
1643 "loaded in current tab.";
1644
Theresa Wellington82d6f6ef2017-10-12 02:39:131645const char kChromeHomeOptOutSnackbarName[] = "Chrome Home Opt-out Snackbar";
1646const char kChromeHomeOptOutSnackbarDescription[] =
1647 "Show a snackbar prompting users to take a survey the first time they"
1648 " opt-out of Chrome Home";
1649
Theresa Wellingtondd71c5c2017-10-02 15:50:381650const char kChromeHomePersonalizedOmniboxSuggestionsName[] =
1651 "Chrome Home Personalized Omnibox Suggestions";
1652const char kChromeHomePersonalizedOmniboxSuggestionsDescription[] =
1653 "Enable personalized omnibox suggestions on focus for Chrome Home.";
1654
Matthew Jones4214d2a12017-09-28 18:35:111655const char kChromeHomePromoName[] = "Chrome Home Promo";
1656const char kChromeHomePromoDescription[] =
Matthew Jonesdcdf51b2017-10-12 20:02:331657 "Enable showing the opt-in/out Chrome Home promo.";
Matthew Jones4214d2a12017-09-28 18:35:111658
Brett Wilsonff596952017-07-14 01:06:551659const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1660const char kChromeHomeSwipeLogicDescription[] =
1661 "Various swipe logic options for Chrome Home for sheet expansion.";
1662const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:151663const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:551664
Troy Hildebrandtf758d112017-10-18 23:05:561665const char kChromeHomeBottomNavLabelsName[] =
1666 "Chrome Home bottom navigation menu item labels.";
1667const char kChromeHomeBottomNavLabelsDescription[] =
1668 "Enables text labels for Chrome Home bottom navigation menu items.";
1669
Brett Wilsonff596952017-07-14 01:06:551670const char kChromeHomeName[] = "Chrome Home";
1671const char kChromeHomeDescription[] =
1672 "Enables Chrome Home on Android. You must restart the browser"
1673 " twice for changes to take effect.";
1674
Megan Jablonskic61eb1b82017-10-02 18:03:061675const char kChromeMemexName[] = "Chrome Memex";
1676const char kChromeMemexDescription[] =
1677 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1678 "Googlers.";
1679
Brett Wilsonff596952017-07-14 01:06:551680const char kContentSuggestionsCategoryOrderName[] =
1681 "Default content suggestions category order (e.g. on NTP)";
1682const char kContentSuggestionsCategoryOrderDescription[] =
1683 "Set default order of content suggestion categories (e.g. on the NTP).";
1684
1685const char kContentSuggestionsCategoryRankerName[] =
1686 "Content suggestions category ranker (e.g. on NTP)";
1687const char kContentSuggestionsCategoryRankerDescription[] =
1688 "Set category ranker to order categories of content suggestions (e.g. on "
1689 "the NTP).";
1690
Vitalii Iarkof52ff802017-09-14 12:34:241691const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1692const char kContentSuggestionsDebugLogDescription[] =
1693 "Enable content suggestions debug log accessible through "
1694 "snippets-internals.";
1695
Brett Wilsonff596952017-07-14 01:06:551696const char kContextualSearchContextualCardsBarIntegration[] =
1697 "Contextual Search - Contextual Cards Integration";
1698const char kContextualSearchContextualCardsBarIntegrationDescription[] =
1699 "Whether or not integration of Contextual Cards data in the Contextual "
1700 "Search Bar is enabled.";
1701
1702const char kContextualSearchSingleActionsName[] =
1703 "Contextual Search - Single Actions";
1704const char kContextualSearchSingleActionsDescription[] =
1705 "Whether or not single actions using Contextual Cards data in the "
1706 "Contextual Search Bar is enabled.";
1707
1708const char kContextualSearchUrlActionsName[] =
1709 "Contextual Search - URL Actions";
1710const char kContextualSearchUrlActionsDescription[] =
1711 "Whether or not URL actions using Contextual Cards data in the Contextual "
1712 "Search Bar is enabled.";
1713
1714const char kContextualSearchName[] = "Contextual Search";
1715const char kContextualSearchDescription[] =
1716 "Whether or not Contextual Search is enabled.";
1717
Dmitry Skiba9c3efa72017-07-20 22:01:141718const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1719const char kDontPrefetchLibrariesDescription[] =
1720 "Don't prefetch libraries after loading.";
1721
Joy Ming5fd29ca62017-10-02 22:51:221722const char kDownloadsForegroundName[] = "Enable downloads foreground";
1723const char kDownloadsForegroundDescription[] =
1724 "Enable downloads as a foreground service for all versions of Android.";
1725
Brett Wilsonff596952017-07-14 01:06:551726const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1727const char kEnableAndroidPayIntegrationV1Description[] =
1728 "Enable integration with Android Pay using the first version of the API";
1729
1730const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1731const char kEnableAndroidPayIntegrationV2Description[] =
1732 "Enable integration with Android Pay using the second version of the API";
1733
Vitalii Iarkof4ed32d2017-09-26 13:15:531734const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:551735const char kEnableAndroidSpellcheckerDescription[] =
1736 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:551737
Vitalii Iarkof4ed32d2017-09-26 13:15:531738const char kEnableContentSuggestionsNewFaviconServerName[] =
1739 "Get favicons for content suggestions from a new server.";
1740const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1741 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1742 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:551743
1744const char kEnableContentSuggestionsSettingsName[] =
1745 "Show content suggestions settings.";
1746const char kEnableContentSuggestionsSettingsDescription[] =
1747 "If enabled, the content suggestions settings will be available from the "
1748 "main settings menu.";
1749
Vitalii Iarkof4ed32d2017-09-26 13:15:531750const char kEnableContentSuggestionsThumbnailDominantColorName[] =
1751 "Use content suggestions thumbnail dominant color.";
1752const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
1753 "Use content suggestions thumbnail dominant color as a placeholder before "
1754 "the real thumbnail is fetched (requires Chrome Home).";
1755
Brett Wilsonff596952017-07-14 01:06:551756const char kEnableCopylessPasteName[] = "App Indexing (Copyless Paste)";
1757const char kEnableCopylessPasteDescription[] =
1758 "Provide suggestions for text input, based on your recent context. For "
1759 "example, if you looked at a restaurant website and switched to the Maps "
1760 "app, the keyboard would offer the name of that restaurant as a suggestion "
1761 "to enter into the search bar. The data is indexed locally, and never sent "
1762 "to the server. It's disabled in incognito mode.";
1763
1764const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1765const char kEnableCustomContextMenuDescription[] =
1766 "Enables a new context menu when a link, image, or video is pressed within "
1767 "Chrome.";
1768
1769const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1770const char kEnableCustomFeedbackUiDescription[] =
1771 "Enables a custom feedback UI when submitting feedback through Google "
1772 "Feedback. Works with Google Play Services v10.2+";
1773
1774const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:471775 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:551776const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:471777 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:551778
1779const char kEnableDataReductionProxySiteBreakdownName[] =
1780 "Data Saver Site Breakdown";
1781const char kEnableDataReductionProxySiteBreakdownDescription[] =
1782 "Enable the site breakdown on the Data Saver settings page.";
1783
1784const char kEnableOmniboxClipboardProviderName[] =
1785 "Omnibox clipboard URL suggestions";
1786const char kEnableOmniboxClipboardProviderDescription[] =
1787 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1788 "focus in the omnibox.";
1789
1790const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1791 "Use expanded autofill credit card popup layout.";
1792const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1793 "If enabled, displays autofill credit card popup using expanded layout.";
1794
1795const char kEnableFaviconsFromWebManifestName[] =
1796 "Load favicons from Web Manifests";
1797const char kEnableFaviconsFromWebManifestDescription[] =
1798 "Fetch Web Manifests on page load to read favicons from them.";
1799
1800const char kEnableNtpAssetDownloadSuggestionsName[] =
1801 "Show asset downloads on the New Tab page";
1802const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1803 "If enabled, the list of content suggestions on the New Tab page will "
1804 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1805 "later use.";
1806
1807const char kEnableNtpBookmarkSuggestionsName[] =
1808 "Show recently visited bookmarks on the New Tab page";
1809const char kEnableNtpBookmarkSuggestionsDescription[] =
1810 "If enabled, the list of content suggestions on the New Tab page will "
1811 "contain recently visited bookmarks.";
1812
1813const char kEnableNtpForeignSessionsSuggestionsName[] =
1814 "Show recent foreign tabs on the New Tab page";
1815const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1816 "If enabled, the list of content suggestions on the New Tab page will "
1817 "contain recent foreign tabs.";
1818
1819const char kEnableNtpMostLikelyFaviconsFromServerName[] =
1820 "Download favicons for NTP tiles from Google.";
1821const char kEnableNtpMostLikelyFaviconsFromServerDescription[] =
1822 "If enabled, missing favicons for NTP tiles get downloaded from Google. "
1823 "This only applies to tiles that originate from synced history.";
1824
Jan Krcal7fadbd32017-08-04 10:49:211825const char kNtpTilesLowerResolutionFaviconsName[] =
1826 "Show also lower resolution favicons in NTP tiles.";
1827const char kNtpTilesLowerResolutionFaviconsDescription[] =
1828 "If enabled, the size limit for a favicon to get displayed in an NTP tile "
1829 "decreases. Tiles where the largest available favicon is below this limit "
1830 "get displayed as colored tiles.";
1831
Brett Wilsonff596952017-07-14 01:06:551832const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1833 "Show offline page downloads on the New Tab page";
1834const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1835 "If enabled, the list of content suggestions on the New Tab page will "
1836 "contain pages that the user downloaded for later use.";
1837
1838const char kEnableNtpRemoteSuggestionsName[] =
1839 "Show server-side suggestions on the New Tab page";
1840const char kEnableNtpRemoteSuggestionsDescription[] =
1841 "If enabled, the list of content suggestions on the New Tab page will "
1842 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
1843 "allows to override the source used to retrieve these server-side "
1844 "suggestions.";
1845
1846const char kEnableNtpSnippetsVisibilityName[] =
1847 "Make New Tab Page Snippets more visible.";
1848const char kEnableNtpSnippetsVisibilityDescription[] =
1849 "If enabled, the NTP snippets will become more discoverable with a larger "
1850 "portion of the first card above the fold.";
1851
1852const char kEnableNtpSuggestionsNotificationsName[] =
1853 "Notify about new content suggestions available at the New Tab page";
1854const char kEnableNtpSuggestionsNotificationsDescription[] =
1855 "If enabled, notifications will inform about new content suggestions on "
1856 "the New Tab page.";
1857
1858const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
1859const char kEnablePhysicalWebDescription[] =
1860 "Enable scanning for URLs from Physical Web objects.";
1861
1862const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1863const char kEnableOfflinePreviewsDescription[] =
1864 "Enable showing offline page previews on slow networks.";
1865
1866const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
1867const char kEnableOskOverscrollDescription[] =
1868 "Enable OSK overscroll support. With this flag on, the OSK will only "
1869 "resize the visual viewport.";
1870
1871const char kEnableSpecialLocaleName[] =
1872 "Enable custom logic for special locales.";
1873const char kEnableSpecialLocaleDescription[] =
1874 "Enable custom logic for special locales. In this mode, Chrome might "
1875 "behave differently in some locales.";
1876
Brett Wilsonff596952017-07-14 01:06:551877const char kEnableWebNfcName[] = "WebNFC";
1878const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
1879
gogeraldf3cbb422017-07-26 14:37:121880const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
1881 "Enable Web Payments method section order V2.";
1882const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
1883 "Enable this option to display payment method section above address "
1884 "section instead of below it.";
1885
Brett Wilsonff596952017-07-14 01:06:551886const char kEnableWebPaymentsSingleAppUiSkipName[] =
1887 "Enable Web Payments single app UI skip";
1888const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
1889 "Enable Web Payments to skip showing its UI if the developer specifies a "
1890 "single app.";
1891
1892const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
1893const char kHerbPrototypeChoicesDescription[] =
1894 "Switching this option changes which tab management prototype is being "
1895 "tested.";
1896const char kHerbPrototypeFlavorElderberry[] =
1897 "ELDERBERRY: All View Intents in CCT v2";
1898
1899const char kKeepPrefetchedContentSuggestionsName[] =
1900 "Keep prefetched content suggestions";
1901const char kKeepPrefetchedContentSuggestionsDescription[] =
1902 "If enabled, some of prefetched content suggestions are not replaced by "
1903 "the new fetched suggestions.";
1904
1905const char kLsdPermissionPromptName[] =
1906 "Location Settings Dialog Permission Prompt";
1907const char kLsdPermissionPromptDescription[] =
1908 "Whether to use the Google Play Services Location Settings Dialog "
1909 "permission dialog.";
1910
Brett Wilsonff596952017-07-14 01:06:551911const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
1912const char kMediaScreenCaptureDescription[] =
1913 "Enable this option for experimental ScreenCapture feature on Android.";
1914
1915const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
1916const char kModalPermissionPromptsDescription[] =
1917 "Whether to use permission dialogs in place of permission infobars.";
1918
Brett Wilsonff596952017-07-14 01:06:551919const char kNewPhotoPickerName[] = "Enable new Photopicker";
1920const char kNewPhotoPickerDescription[] =
1921 "Activates the new picker for selecting photos.";
1922
1923const char kNoCreditCardAbort[] = "No Credit Card Abort";
1924const char kNoCreditCardAbortDescription[] =
1925 "Whether or not the No Credit Card Abort is enabled.";
1926
1927const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
1928const char kNtpCondensedLayoutDescription[] =
1929 "Show a condensed layout on the New Tab Page.";
1930
1931const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
1932const char kNtpCondensedTileLayoutDescription[] =
1933 "Show a condensed tile layout on the New Tab Page.";
1934
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:041935const char kSiteExplorationUiName[] = "Site Exploration UI";
1936const char kSiteExplorationUiDescription[] =
1937 "Show site suggestions in the Exploration UI";
1938
Brett Wilsonff596952017-07-14 01:06:551939const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
1940const char kNtpGoogleGInOmniboxDescription[] =
1941 "Show a Google G in the omnibox on the New Tab Page.";
1942
1943const char kNtpOfflinePagesName[] = "Enable NTP offline pages";
1944const char kNtpOfflinePagesDescription[] =
1945 "Enables badging of offline pages on the New Tab page. Only relevant if "
1946 "offline pages are enabled.";
1947
1948const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
1949const char kNtpPopularSitesDescription[] =
1950 "Pre-populate the New Tab page with popular sites.";
1951
Brett Wilsonff596952017-07-14 01:06:551952const char kOfflineBookmarksName[] = "Enable offline bookmarks";
1953const char kOfflineBookmarksDescription[] =
1954 "Enable saving bookmarked pages for offline viewing.";
1955
1956const char kOfflinePagesAsyncDownloadName[] =
1957 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages.)*";
1958const char kOfflinePagesAsyncDownloadDescription[] =
1959 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages such )*"
1960 R"*(that the user can click on it to download the page later.)*";
1961
1962const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
1963const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
1964
1965const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
1966const char kOfflinePagesCtV2Description[] =
1967 "V2 features include attributing pages to the app that initiated the "
1968 "custom tabs, and being able to query for pages by page attribution.";
1969
1970const char kOfflinePagesLoadSignalCollectingName[] =
1971 "Enables collecting load timing data for offline page snapshots.";
1972const char kOfflinePagesLoadSignalCollectingDescription[] =
1973 "Enables loading completeness data collection while writing an offline "
1974 "page. This data is collected in the snapshotted offline page to allow "
1975 "data analysis to improve deciding when to make the offline snapshot.";
1976
1977const char kOfflinePagesPrefetchingName[] =
1978 "Enables suggested offline pages to be prefetched.";
1979const char kOfflinePagesPrefetchingDescription[] =
1980 "Enables suggested offline pages to be prefetched, so useful content is "
1981 "available while offline.";
1982
Cathy Li3d5379e2017-09-07 00:11:091983const char kOfflinePagesPrefetchingUIName[] =
1984 "Enables prefetched offline pages to be shown in UI.";
1985const char kOfflinePagesPrefetchingUIDescription[] =
1986 "Enables prefetched offline pages to raise notifications and be shown in "
1987 "download home UI.";
1988
Pete Williamson7845dff2017-09-20 11:06:191989const char kOfflinePagesResourceBasedSnapshotName[] =
1990 "Enables offline page snapshots to be based on percentage of page loaded.";
1991const char kOfflinePagesResourceBasedSnapshotDescription[] =
1992 "Enables offline page snapshots to use a resource percentage based "
1993 "approach for determining when the page is loaded as opposed to a time "
1994 "based approach";
1995
Collin Baker17f92a52017-07-19 21:41:251996const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
1997const char kOfflinePagesRenovationsDescription[] =
1998 "Enables offline page renovations which correct issues with dynamic "
1999 "content that occur when offlining pages that use JavaScript.";
2000
Brett Wilsonff596952017-07-14 01:06:552001const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2002const char kOfflinePagesSharingDescription[] =
2003 "Enables the saved offline pages to be shared via other applications.";
2004
2005const char kOfflinePagesSvelteConcurrentLoadingName[] =
2006 "Enables concurrent background loading on svelte.";
2007const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2008 "Enables concurrent background loading (or downloading) of pages on "
2009 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2010 "happen when the svelte device is idle.";
2011
2012const char kOffliningRecentPagesName[] =
2013 "Enable offlining of recently visited pages";
2014const char kOffliningRecentPagesDescription[] =
2015 "Enable storing recently visited pages locally for offline use. Requires "
2016 "Offline Pages to be enabled.";
2017
Lei Zhang2eca9082017-10-17 20:42:502018const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2019const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552020 "Enable Pay with Google integration into Web Payments with API version "
2021 "'1'.";
2022
Matthew Jones7c37430cd2017-09-11 15:59:282023const char kProgressBarThrottleName[] = "Android progress update throttling.";
2024const char kProgressBarThrottleDescription[] =
2025 "Limit the maximum progress update to make progress appear smoother.";
2026
Brett Wilsonff596952017-07-14 01:06:552027const char kProgressBarCompletionName[] =
2028 "Android phone page load progress bar completion time.";
2029const char kProgressBarCompletionDescription[] =
2030 "Configures Android phone page loading progress bar completion time.";
2031const char kProgressBarCompletionLoadEvent[] =
2032 R"*(Top loading frame's onload event ("everything" is done in the )*"
2033 R"*(page, historical behavior).)*";
2034const char kProgressBarCompletionResourcesBeforeDcl[] =
2035 "Main frame's domContentLoaded and all resources loads started before "
2036 "domContentLoaded (iframes ignored).";
2037const char kProgressBarCompletionDomContentLoaded[] =
2038 "Main frame's domContentLoaded (iframes ignored).";
2039const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
2040 "domContentLoaded and all resources loads started before domContentLoaded "
2041 "(main frame and same origin iframes).";
2042
2043const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2044const char kPullToRefreshEffectDescription[] =
2045 "Page reloads triggered by vertically overscrolling content.";
2046
Piotr Swigon7c296ef2017-08-29 04:32:002047const char kPwaImprovedSplashScreenName[] =
2048 "Improved Splash Screen for standalone PWAs";
2049const char kPwaImprovedSplashScreenDescription[] =
2050 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2051 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492052const char kPwaPersistentNotificationName[] =
2053 "Persistent notification in standalone PWA";
2054const char kPwaPersistentNotificationDescription[] =
2055 "Enables a persistent Android notification for standalone PWAs";
2056
Brett Wilsonff596952017-07-14 01:06:552057const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2058const char kReaderModeHeuristicsDescription[] =
2059 "Determines what pages the Reader Mode infobar is shown on.";
2060const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2061const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2062const char kReaderModeHeuristicsAllArticles[] = "All articles";
2063const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2064const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2065
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182066const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2067const char kReaderModeInCCTDescription[] =
2068 "Open Reader Mode in Chrome Custom Tabs.";
2069
Brett Wilsonff596952017-07-14 01:06:552070const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2071const char kSetMarketUrlForTestingDescription[] =
2072 "When enabled, sets the market URL for use in testing the update menu "
2073 "item.";
2074
2075const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2076const char kSpannableInlineAutocompleteDescription[] =
2077 "A new type of inline autocomplete for the omnibox that works with "
2078 "keyboards that compose text.";
2079
Brett Wilsonff596952017-07-14 01:06:552080const char kTranslateCompactUIName[] = "New Translate Infobar";
2081const char kTranslateCompactUIDescription[] =
2082 "Enable the new Translate compact infobar UI.";
2083
2084const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2085const char kUpdateMenuBadgeDescription[] =
2086 "When enabled, an update badge will be shown on the app menu button.";
2087
2088const char kUpdateMenuItemCustomSummaryDescription[] =
2089 "When this flag and the force show update menu item flag are enabled, a "
2090 "custom summary string will be displayed below the update menu item.";
2091const char kUpdateMenuItemCustomSummaryName[] =
2092 "Update menu item custom summary";
2093
2094const char kUpdateMenuItemName[] = "Force show update menu item";
2095const char kUpdateMenuItemDescription[] =
2096 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2097 R"*(menu.)*";
2098
2099const char kUseAndroidMidiApiName[] = "Use Android Midi API";
2100const char kUseAndroidMidiApiDescription[] =
2101 "Use Android Midi API for WebMIDI (effective only with Android M+ "
2102 "devices).";
2103
Marc Treib93af46a2017-08-23 13:30:002104const char kThirdPartyDoodlesName[] =
2105 "Enable Doodles for third-party search engines";
2106const char kThirdPartyDoodlesDescription[] =
2107 "Enables fetching and displaying Doodles on the NTP for third-party search "
2108 "engines.";
2109
Brett Wilson7b44537e2017-08-18 01:38:282110// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552111
Brett Wilson7b44537e2017-08-18 01:38:282112#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482113
Brett Wilson7b44537e2017-08-18 01:38:282114const char kAccountConsistencyName[] =
2115 "Identity consistency between browser and cookie jar";
2116const char kAccountConsistencyDescription[] =
2117 "When enabled, the browser manages signing in and out of Google accounts.";
2118const char kAccountConsistencyChoiceMirror[] = "Mirror";
2119const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342120
Chris Pickel3a227ae62017-08-24 10:47:262121const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2122const char kDoodlesOnLocalNtpDescription[] =
2123 "Show doodles on the local New Tab page if Google is the default search "
2124 "engine.";
2125
mlamouriff56c092017-05-11 15:31:392126const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392127const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342128 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392129const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392130const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392131const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342132 "Enabled (Flash lowers volume when interrupted by other sound, "
2133 "experimental)";
2134
Brett Wilson7b44537e2017-08-18 01:38:282135const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2136const char kEnableNewAppMenuIconDescription[] =
2137 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342138
2139const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342140const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282141 "Enable receiving entity suggestions - disambiguation descriptions - for "
2142 "Omnibox suggestions.";
2143
2144const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2145const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192146 "Enable receiving tail suggestions, a type of search suggestion based on "
2147 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342148
Brett Wilson7b44537e2017-08-18 01:38:282149const char kOneGoogleBarOnLocalNtpName[] =
2150 "Enable the OneGoogleBar on the local NTP";
2151const char kOneGoogleBarOnLocalNtpDescription[] =
2152 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2153 "search engine.";
2154
ojan38c678352017-04-11 20:27:552155const char kPauseBackgroundTabsName[] = "Pause background tabs";
2156const char kPauseBackgroundTabsDescription[] =
2157 "Pause timers in background tabs after 5 minutes on desktop.";
2158
Brett Wilson7b44537e2017-08-18 01:38:282159const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2160const char kUseGoogleLocalNtpDescription[] =
2161 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322162
Brett Wilson7b44537e2017-08-18 01:38:282163const char kVoiceSearchOnLocalNtpName[] =
2164 "Enable Voice Search on the local NTP";
2165const char kVoiceSearchOnLocalNtpDescription[] =
2166 "Show a microphone for voice search on the local New Tab page "
2167 "if Google is the default search engine.";
2168
2169#if defined(GOOGLE_CHROME_BUILD)
2170
2171const char kGoogleBrandedContextMenuName[] =
2172 "Google branding in the context menu";
2173const char kGoogleBrandedContextMenuDescription[] =
2174 "Shows a Google icon next to context menu items powered by Google "
2175 "services.";
2176
2177#endif // !defined(GOOGLE_CHROME_BUILD)
2178
2179#endif // !defined(OS_ANDROID)
2180
2181// Windows ---------------------------------------------------------------------
2182
2183#if defined(OS_WIN)
2184
2185const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2186const char kCloudPrintXpsDescription[] =
2187 "XPS enables advanced options for classic printers connected to the Cloud "
2188 "Print with Chrome. Printers must be re-connected after changing this "
2189 "flag.";
2190
Dave Tapuskadd43469d2017-08-22 22:15:532191const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2192const char kDirectManipulationStylusDescription[] =
2193 "If enabled, Chrome will scroll web pages on stylus drag.";
2194
Brett Wilson7b44537e2017-08-18 01:38:282195const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2196const char kDisablePostscriptPrintingDescription[] =
2197 "Disables PostScript generation when printing to PostScript capable "
2198 "printers, and uses EMF generation in its place.";
2199
2200const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2201const char kEnableAppcontainerDescription[] =
2202 "Enables the use of an AppContainer on sandboxed processes to improve "
2203 "security.";
2204
2205const char kEnableD3DVsync[] = "D3D v-sync";
2206const char kEnableD3DVsyncDescription[] =
2207 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2208 "to occur.";
2209
2210const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2211const char kEnableDesktopIosPromotionsDescription[] =
2212 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2213 "eligible.";
2214
Brett Wilsonf4d58772017-10-30 21:37:572215const char kExperimentalTabControllerName[] = "Experimental tab controller.";
2216const char kExperimentalTabControllerDescription[] =
2217 "Enable controller for highly experimental tab policies.";
2218
Brett Wilson7b44537e2017-08-18 01:38:282219const char kGdiTextPrinting[] = "GDI Text Printing";
2220const char kGdiTextPrintingDescription[] =
2221 "Use GDI to print text as simply text";
2222
2223const char kMergeKeyCharEventsName[] =
2224 "Enable or disable merging merging the key event (WM_KEY*) with char event "
2225 "(WM_CHAR).";
2226const char kMergeKeyCharEventsDescription[] =
2227 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separately.";
2228
2229const char kTraceExportEventsToEtwName[] =
2230 "Enable exporting of tracing events to ETW.";
2231const char kTraceExportEventsToEtwDesription[] =
2232 "If enabled, trace events will be exported to the Event Tracing for "
2233 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2234 "Xperf.";
2235
2236const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2237const char kUseWinrtMidiApiDescription[] =
2238 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2239 "later).";
2240
2241const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2242const char kWindows10CustomTitlebarDescription[] =
2243 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2244 "deferring to Windows.";
2245
Wez6656c572017-08-29 22:29:582246#if DCHECK_IS_ON() && defined(SYZYASAN)
Lei Zhang2eca9082017-10-17 20:42:502247const char kSyzyAsanDcheckIsFatalName[] = "DCHECKs are fatal";
2248const char kSyzyAsanDcheckIsFatalDescription[] =
Wez6656c572017-08-29 22:29:582249 "By default Chrome will evaluate DCHECKs in SyzyASAN builds, but only log "
2250 "failed DCHECKs. If enabled, DCHECKs will crash the calling process.";
2251#endif // DCHECK_IS_ON() && defined(SYZYASAN)
2252
Brett Wilson7b44537e2017-08-18 01:38:282253#endif // defined(OS_WIN)
2254
2255// Mac -------------------------------------------------------------------------
2256
2257#if defined(OS_MACOSX)
2258
2259const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2260const char kAppInfoDialogDescription[] =
2261 "Makes the Toolkit-Views based App Info dialog accessible from "
2262 "chrome://apps or chrome://extensions in place of the native extension "
2263 "permissions dialog, or the details link (which is a link to the Web "
2264 "Store).";
2265
2266const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2267const char kAppWindowCyclingDescription[] =
2268 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2269 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2270 "browser window, and browser windows will not be cycled when a Chrome App "
2271 "is active.";
2272
Lei Zhang2eca9082017-10-17 20:42:502273const char kCreditCardAutofillTouchBarName[] = "Credit Card Autofill Touch Bar";
2274const char kCreditCardAutofillTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282275 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2276
2277const char kFullscreenToolbarRevealName[] =
2278 "Enables the toolbar in fullscreen to reveal itself.";
2279const char kFullscreenToolbarRevealDescription[] =
2280 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2281 "has changed.";
2282
2283const char kContentFullscreenName[] = "Improved Content Fullscreen";
2284const char kContentFullscreenDescription[] =
2285 "Fullscreen content window detaches from main browser window and goes to "
2286 "a new space without moving or changing the original browser window.";
2287
Lei Zhang2eca9082017-10-17 20:42:502288const char kDialogTouchBarName[] = "Dialog Touch Bar";
2289const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282290 "Shows Dialog buttons on the Touch Bar.";
2291
2292const char kHostedAppsInWindowsName[] =
2293 "Allow hosted apps to be opened in windows";
2294const char kHostedAppsInWindowsDescription[] =
2295 "Allows hosted apps to be opened in windows instead of being limited to "
2296 "tabs.";
2297
Lei Zhang2eca9082017-10-17 20:42:502298const char kMacRTLName[] = "Enable RTL";
2299const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282300
Lei Zhang2eca9082017-10-17 20:42:502301const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2302const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522303 "Enables sharing via macOS share extensions.";
2304
Lei Zhang2eca9082017-10-17 20:42:502305const char kMacTouchBarName[] = "Hardware Touch Bar";
2306const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282307
2308const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2309const char kMacV2SandboxDescription[] =
2310 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2311 "entire life cycle.";
2312
2313const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2314const char kMacViewsNativeAppWindowsDescription[] =
2315 "Controls whether to use Toolkit-Views based Chrome App windows.";
2316
2317const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2318const char kMacViewsTaskManagerDescription[] =
2319 "Controls whether to use the Toolkit-Views based Task Manager.";
2320
2321const char kTabDetachingInFullscreenName[] =
2322 "Allow tab detaching in fullscreen";
2323const char kTabDetachingInFullscreenDescription[] =
2324 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2325
2326const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2327const char kTabStripKeyboardFocusDescription[] =
2328 "Enable keyboard focus for the tabs in the tab strip.";
2329
2330const char kTranslateNewUxName[] = "New Translate UX";
2331const char kTranslateNewUxDescription[] =
2332 "Enable the new Translate bubble UX is offered instead of the infobar.";
2333
2334// Non-Mac ---------------------------------------------------------------------
2335
2336#else // !defined(OS_MACOSX)
2337
2338const char kPermissionPromptPersistenceToggleName[] =
2339 "Persistence Toggle in Permission Prompts";
2340const char kPermissionPromptPersistenceToggleDescription[] =
2341 "Whether to display a persistence toggle in permission prompts.";
2342
2343#endif
2344
2345// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342346
2347#if defined(OS_CHROMEOS)
2348
Brett Wilson7b44537e2017-08-18 01:38:282349const char kAcceleratedMjpegDecodeName[] =
2350 "Hardware-accelerated mjpeg decode for captured frame";
2351const char kAcceleratedMjpegDecodeDescription[] =
2352 "Enable hardware-accelerated mjpeg decode for captured frame where "
2353 "available.";
vabr0215a8e2017-03-28 12:47:342354
Brett Wilson7b44537e2017-08-18 01:38:282355const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2356const char kAllowTouchpadThreeFingerClickDescription[] =
2357 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342358
Brett Wilson7b44537e2017-08-18 01:38:282359const char kArcBootCompleted[] = "Load Android apps automatically";
2360const char kArcBootCompletedDescription[] =
2361 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342362
Lev Rumyantsev7a8544312017-08-18 19:26:512363const char kArcNativeBridgeExperimentName[] =
2364 "Enable native bridge experiment for ARC";
2365const char kArcNativeBridgeExperimentDescription[] =
2366 "Enables experimental native bridge feature.";
2367
Kevin Cernekeeb7f96a52017-10-25 17:40:182368const char kArcVpnName[] = "Enable ARC VPN integration";
2369const char kArcVpnDescription[] =
2370 "Allow Android VPN clients to tunnel Chrome traffic.";
2371
Brett Wilson7b44537e2017-08-18 01:38:282372const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2373const char kAshEnableUnifiedDesktopDescription[] =
2374 "Enable unified desktop mode which allows a window to span multiple "
2375 "displays.";
vabr0215a8e2017-03-28 12:47:342376
Brett Wilson7b44537e2017-08-18 01:38:282377const char kBootAnimationName[] = "Boot animation";
2378const char kBootAnimationDescription[] =
2379 "Wallpaper boot animation (except for OOBE case).";
vabr0215a8e2017-03-28 12:47:342380
Sean Kau5e956192017-10-06 22:25:172381const char kBulkPrintersName[] = "Bulk Printers Policy";
2382const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2383
Brett Wilson7b44537e2017-08-18 01:38:282384const char kCaptivePortalBypassProxyName[] =
2385 "Bypass proxy for Captive Portal Authorization";
2386const char kCaptivePortalBypassProxyDescription[] =
2387 "If proxy is configured, it usually prevents from authorization on "
2388 "different captive portals. This enables opening captive portal "
2389 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342390
Brett Wilson7b44537e2017-08-18 01:38:282391const char kCrOSComponentName[] = "Chrome OS Component";
2392const char kCrOSComponentDescription[] =
2393 "Enable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342394
Xiaochu Liu51d03fd2017-09-08 23:51:022395const char kCrOSContainerName[] = "Chrome OS Container";
2396const char kCrOSContainerDescription[] =
2397 "Enable the use of Chrome OS Container utility.";
2398
Brett Wilson7b44537e2017-08-18 01:38:282399const char kCrosRegionsModeName[] = "Cros-regions load mode";
2400const char kCrosRegionsModeDescription[] =
2401 "This flag controls cros-regions load mode";
2402const char kCrosRegionsModeDefault[] = "Default";
2403const char kCrosRegionsModeOverride[] = "Override VPD values.";
2404const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342405
Jacob Dufault2becbc482017-08-25 00:36:352406const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2407const char kDisableLockScreenAppsDescription[] =
2408 "Disable new-note action handler apps on the lock screen. The user will "
2409 "not be able to launch the preferred note-taking action from the lock "
2410 "screen, provided that the app supports lock screen note taking.";
2411
Sammie Quonef6b4882017-09-14 16:50:052412const char kDisableTabletAutohideTitlebarsName[] =
2413 "Disable autohide titlebars in tablet mode";
2414const char kDisableTabletAutohideTitlebarsDescription[] =
2415 "Disable tablet mode autohide titlebars functionality. The user will be "
2416 "able to see the titlebar in tablet mode.";
2417
Brett Wilson7b44537e2017-08-18 01:38:282418const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2419const char kEnablePerUserTimezoneDescription[] =
2420 "Chrome OS system timezone preference is stored and handled for each user "
2421 "individually.";
vabr0215a8e2017-03-28 12:47:342422
Brett Wilson7b44537e2017-08-18 01:38:282423const char kDisableSystemTimezoneAutomaticDetectionName[] =
2424 "SystemTimezoneAutomaticDetection policy support";
2425const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2426 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342427
Lei Zhang2eca9082017-10-17 20:42:502428const char kEnableBackgroundBlurName[] = "Enable background blur.";
2429const char kEnableBackgroundBlurDescription[] =
Alex Newcomer43cb7f12017-07-28 17:37:392430 "Enables background blur for the Peeking Launcher, Lock Screen, and Tab "
2431 "Switcher.";
2432
Brett Wilson7b44537e2017-08-18 01:38:282433const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2434const char kEnableAndroidWallpapersAppDescription[] =
2435 "Enables the Android Wallpapers App as the default Wallpaper App on Chrome "
2436 "OS.";
vabr0215a8e2017-03-28 12:47:342437
Brett Wilson7b44537e2017-08-18 01:38:282438const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2439const char kEnableChromevoxArcSupportDescription[] =
2440 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342441
Brett Wilson7b44537e2017-08-18 01:38:282442const char kEnableEhvInputName[] =
2443 "Emoji, handwriting and voice input on opt-in IME menu";
2444const char kEnableEhvInputDescription[] =
2445 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342446
Brett Wilson7b44537e2017-08-18 01:38:282447const char kEnableEncryptionMigrationName[] =
2448 "Enable encryption migration of user data";
2449const char kEnableEncryptionMigrationDescription[] =
2450 "If enabled and the device supports ARC, the user will be asked to update "
2451 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342452
Klemen Kozjekf2b30e452017-09-01 05:04:512453const char kEnableExternalDriveRename[] = "Enable external drive rename";
2454const char kEnableExternalDriveRenameDescription[] =
2455 "If enabled, external removable drives will get 'Rename' action in the "
2456 "context menu";
2457
Blake O'Hare9e9317b22017-10-24 02:49:352458const char kEnableFloatingVirtualKeyboardName[] =
2459 "Enable floating virtual keyboard";
2460const char kEnableFloatingVirtualKeyboardDescription[] =
2461 "If enabled, the keyboard will use floating behavior by default.";
2462
Brett Wilson7b44537e2017-08-18 01:38:282463const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2464const char kEnableImeMenuDescription[] =
2465 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342466
xdai6459d0ca2017-10-11 19:23:102467const char kEnableTabletSplitViewName[] = "Split view in Tablet mode";
2468const char kEnableTabletSplitViewDescription[] =
2469 "Enable split view for Chrome OS tablet mode.";
2470
Klemen Kozjek05fc4512017-10-18 12:51:102471const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2472const char kEnableZipArchiverPackerDescription[] =
2473 "Enable the ability to archive files on Drive in the Files app";
2474
2475const char kEnableZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
2476const char kEnableZipArchiverUnpackerDescription[] =
2477 "Enable the ability to unpack archives in incognito mode";
Brett Wilson7b44537e2017-08-18 01:38:282478
2479const char kEolNotificationName[] = "Disable Device End of Life notification.";
2480const char kEolNotificationDescription[] =
2481 "Disable Notifcation when Device is End of Life.";
2482
2483const char kExperimentalAccessibilityFeaturesName[] =
2484 "Experimental accessibility features";
2485const char kExperimentalAccessibilityFeaturesDescription[] =
2486 "Enable additional accessibility features in the Settings page.";
2487
2488const char kExperimentalInputViewFeaturesName[] =
2489 "Experimental input view features";
2490const char kExperimentalInputViewFeaturesDescription[] =
2491 "Enable experimental features for IME input views.";
2492
2493const char kFileManagerTouchModeName[] = "Files App. touch mode";
2494const char kFileManagerTouchModeDescription[] =
2495 "Touchscreen-specific interactions of the Files app.";
2496
2497const char kFirstRunUiTransitionsName[] =
2498 "Animated transitions in the first-run tutorial";
2499const char kFirstRunUiTransitionsDescription[] =
2500 "Transitions during first-run tutorial are animated.";
2501
Brett Wilson7b44537e2017-08-18 01:38:282502const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2503const char kForceEnableStylusToolsDescription[] =
2504 "Forces display of the stylus tools menu in the shelf and the stylus "
2505 "section in settings, even if there is no attached stylus device.";
2506
2507const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2508const char kGestureEditingDescription[] =
2509 "Enable/Disable gesture editing option in the settings page for the "
2510 "virtual keyboard.";
2511
2512const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2513const char kGestureTypingDescription[] =
2514 "Enable/Disable gesture typing option in the settings page for the virtual "
2515 "keyboard.";
2516
2517const char kInputViewName[] = "Input views";
2518const char kInputViewDescription[] =
2519 "Enable IME extensions to supply custom views for user input such as "
2520 "virtual keyboards.";
2521
2522const char kMemoryPressureThresholdName[] =
2523 "Memory discard strategy for advanced pressure handling";
2524const char kMemoryPressureThresholdDescription[] =
2525 "Memory discarding strategy to use";
2526const char kConservativeThresholds[] =
2527 "Conservative memory pressure release strategy";
2528const char kAggressiveCacheDiscardThresholds[] =
2529 "Aggressive cache release strategy";
2530const char kAggressiveTabDiscardThresholds[] =
2531 "Aggressive tab release strategy";
2532const char kAggressiveThresholds[] =
2533 "Aggressive tab and cache release strategy";
2534
2535const char kMtpWriteSupportName[] = "MTP write support";
2536const char kMtpWriteSupportDescription[] =
2537 "MTP write support in File System API (and file manager). In-place editing "
2538 "operations are not supported.";
2539
2540const char kMultideviceName[] = "Enable multidevice features";
2541const char kMultideviceDescription[] =
2542 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342543
2544const char kNetworkPortalNotificationName[] =
2545 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342546const char kNetworkPortalNotificationDescription[] =
2547 "If enabled, notification is displayed when device is connected to a "
2548 "network behind captive portal.";
2549
stevenjbe1d457382017-05-24 22:37:242550const char kNetworkSettingsConfigName[] =
2551 "Settings based Network Configuration";
stevenjbe1d457382017-05-24 22:37:242552const char kNetworkSettingsConfigDescription[] =
2553 "Enables the Settings based network configuration UI instead of the Views "
2554 "based configuration dialog.";
2555
Brett Wilson7b44537e2017-08-18 01:38:282556const char kNewKoreanImeName[] = "New Korean IME";
2557const char kNewKoreanImeDescription[] =
2558 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342559
Brett Wilson7b44537e2017-08-18 01:38:282560const char kNewZipUnpackerName[] = "New ZIP unpacker";
2561const char kNewZipUnpackerDescription[] =
2562 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342563
Brett Wilson7b44537e2017-08-18 01:38:282564const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2565const char kPhysicalKeyboardAutocorrectDescription[] =
2566 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2567 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342568
2569const char kPrinterProviderSearchAppName[] =
2570 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342571const char kPrinterProviderSearchAppDescription[] =
2572 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192573 "searches Chrome Web Store for extensions that support printing to a USB "
2574 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342575
Brett Wilson7b44537e2017-08-18 01:38:282576const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2577const char kQuickUnlockPinDescription[] =
2578 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2579 "device on the lock screen after you have signed into your device.";
2580const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2581const char kQuickUnlockPinSigninDescription[] =
2582 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2583 "device. After changing this flag PIN needs to be set up again.";
2584const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2585const char kQuickUnlockFingerprintDescription[] =
2586 "Enabling fingerprint quick unlock allows you to setup and use a "
2587 "fingerprint to unlock your Chromebook on the lock screen after you have "
2588 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342589
Brett Wilson7b44537e2017-08-18 01:38:282590const char kOfficeEditingComponentAppName[] =
2591 "Office Editing for Docs, Sheets & Slides";
2592const char kOfficeEditingComponentAppDescription[] =
2593 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072594
2595const char kSpuriousPowerButtonWindowName[] = "Spurious power button window";
2596const char kSpuriousPowerButtonWindowDescription[] =
2597 "Number of recent accelerometer samples to examine to determine if a power "
2598 "button event was spurious.";
2599
2600const char kSpuriousPowerButtonAccelCountName[] =
2601 "Spurious power button acceleration count";
2602const char kSpuriousPowerButtonAccelCountDescription[] =
2603 "Number of recent acceleration samples that must meet or exceed exceed the "
2604 "threshold in order for a power button event to be considered spurious.";
2605
2606const char kSpuriousPowerButtonScreenAccelName[] =
2607 "Spurious power button screen acceleration threshold";
2608const char kSpuriousPowerButtonScreenAccelDescription[] =
2609 "Threshold (in m/s^2, disregarding gravity) that screen acceleration must "
2610 "meet or exceed for a power button event to be considered spurious.";
2611
2612const char kSpuriousPowerButtonKeyboardAccelName[] =
2613 "Spurious power button keyboard acceleration threshold";
2614const char kSpuriousPowerButtonKeyboardAccelDescription[] =
2615 "Threshold (in m/s^2, disregarding gravity) that keyboard acceleration "
2616 "must meet or exceed for a power button event to be considered spurious.";
2617
2618const char kSpuriousPowerButtonLidAngleChangeName[] =
2619 "Spurious power button lid angle change threshold";
2620const char kSpuriousPowerButtonLidAngleChangeDescription[] =
2621 "Change in lid angle (i.e. hinge between keyboard and screen) that must be "
2622 "met or exceeded for a power button event to be considered spurious.";
2623
Chung-Sheng Wu468b0b32017-09-01 14:41:572624const char kSysInternalsName[] = "Enable Sys-Internals";
2625const char kSysInternalsDescription[] =
2626 "If enabled, user can monitor system information at "
2627 "chrome://sys-internals.";
2628
Brett Wilson7b44537e2017-08-18 01:38:282629const char kTeamDrivesName[] = "Enable Team Drives Integration";
2630const char kTeamDrivesDescription[] =
2631 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342632
Brett Wilson7b44537e2017-08-18 01:38:282633const char kTetherName[] = "Instant Tethering";
2634const char kTetherDescription[] =
2635 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2636 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372637
Brett Wilson7b44537e2017-08-18 01:38:282638const char kTouchscreenCalibrationName[] =
2639 "Enable/disable touchscreen calibration option in material design settings";
2640const char kTouchscreenCalibrationDescription[] =
2641 "If enabled, the user can calibrate the touch screen displays in "
2642 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092643
Mitsuru Oshima63d3f2a2017-08-23 00:12:112644// Force UI Mode
2645const char kUiModeName[] = "Force Ui Mode";
2646const char kUiModeDescription[] =
2647 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2648 R"*(despite its current orientation. "Tablet" means that the )*"
2649 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2650 R"*(means that the chromebook will act as if it were in clamshell )*"
2651 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2652 R"*(the two, based on its orientation.)*";
2653const char kUiModeTablet[] = "TouchView";
2654const char kUiModeClamshell[] = "Clamshell";
2655const char kUiModeAuto[] = "Auto (default)";
2656
bruthigeafb0c02017-06-09 13:11:532657const char kUiDevToolsName[] = "Enable native UI inspection";
2658const char kUiDevToolsDescription[] =
2659 "Enables inspection of native UI elements. For local inspection use "
2660 "chrome://inspect#other";
2661
Brett Wilson7b44537e2017-08-18 01:38:282662const char kUseMusName[] = "Mus";
2663const char kUseMusDescription[] = "Enable the Mojo UI service.";
2664const char kEnableMashDescription[] =
2665 "Mash (UI, Chrome and ash in separate services)";
2666const char kEnableMusDescription[] =
2667 "Mus (UI in separate service, Chrome and ash in same service)";
2668
2669const char kVideoPlayerChromecastSupportName[] =
2670 "Experimental Chromecast support for Video Player";
2671const char kVideoPlayerChromecastSupportDescription[] =
2672 "This option enables experimental Chromecast support for Video Player app "
2673 "on ChromeOS.";
2674
2675const char kVirtualKeyboardName[] = "Virtual Keyboard";
2676const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2677
2678const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2679const char kVirtualKeyboardOverscrollDescription[] =
2680 "Enables virtual keyboard overscroll support.";
2681
2682const char kVoiceInputName[] = "Voice input on virtual keyboard";
2683const char kVoiceInputDescription[] =
2684 "Enables voice input on virtual keyboard.";
2685
2686const char kWakeOnPacketsName[] = "Wake On Packets";
2687const char kWakeOnPacketsDescription[] =
2688 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202689
yhanadac5bff5b2017-05-18 06:37:092690#endif // defined(OS_CHROMEOS)
2691
Brett Wilson7b44537e2017-08-18 01:38:282692// Random platform combinations -----------------------------------------------
2693
2694#if defined(OS_WIN) || defined(OS_LINUX)
2695
2696const char kEnableInputImeApiName[] = "Enable Input IME API";
2697const char kEnableInputImeApiDescription[] =
2698 "Enable the use of chrome.input.ime API.";
2699
2700#endif // defined(OS_WIN) || defined(OS_LINUX)
2701
2702#if defined(OS_WIN) || defined(OS_MACOSX)
2703
2704const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2705const char kAutomaticTabDiscardingDescription[] =
2706 "If enabled, tabs get automatically discarded from memory when the system "
2707 "memory is low. Discarded tabs are still visible on the tab strip and get "
2708 "reloaded when clicked on. Info about discarded tabs can be found at "
2709 "chrome://discards.";
2710
2711#endif // defined(OS_WIN) || defined(OS_MACOSX)
2712
2713// Feature flags --------------------------------------------------------------
2714
2715#if BUILDFLAG(ENABLE_VR)
2716
2717#if defined(OS_ANDROID)
2718
2719const char kEnableVrShellName[] = "Enable Chrome VR.";
2720const char kEnableVrShellDescription[] =
2721 "Allow browsing with a VR headset if available for this device.";
2722
2723const char kVrCustomTabBrowsingName[] = "Enable Custom Tab browsing in VR.";
2724const char kVrCustomTabBrowsingDescription[] =
2725 "Allow browsing with a VR headset in a Custom Tab if available for this "
2726 "device.";
2727
Michael Thiessenb480fe92017-10-26 16:25:102728const char kVrShellExperimentalRenderingName[] =
2729 "Enable Chrome VR experimental rendering "
2730 "features.";
2731const char kVrShellExperimentalRenderingDescription[] =
2732 "Turns on experimental rendering features for Chrome VR, like power saving "
2733 "rendering modes.";
2734
Yash Malik812aebe2017-10-31 18:17:262735const char kVrLaunchIntentName[] = "Enable VR intents";
2736const char kVrLaunchIntentDescription[] =
2737 "Allow intents to launch Chrome in VR mode.";
2738
Brett Wilson7b44537e2017-08-18 01:38:282739const char kWebVrAutopresentName[] = "Enable WebVr auto presentation";
2740const char kWebVrAutopresentDescription[] =
2741 "Allows auto presentation of WebVr content from trusted first-party apps";
2742
2743const char kWebVrVsyncAlignName[] = "Enable WebVR VSync-aligned timing";
2744const char kWebVrVsyncAlignDescription[] =
2745 "Enabling this option aligns WebVR application rendering with VSync "
2746 "for smoother animations.";
2747
2748#endif // OS_ANDROID
2749
2750const char kWebvrExperimentalRenderingName[] =
2751 "WebVR experimental rendering optimizations";
2752const char kWebvrExperimentalRenderingDescription[] =
2753 "Enabling this option activates experimental rendering path optimizations "
2754 "for WebVR.";
2755
2756#endif // ENABLE_VR
2757
Nico Weberaf3b00b2017-09-11 17:58:172758#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282759
2760const char kNaclDebugMaskName[] =
2761 "Restrict Native Client GDB-based debugging by pattern";
2762const char kNaclDebugMaskDescription[] =
2763 "Restricts Native Client application GDB-based debugging by URL of "
2764 "manifest file. Native Client GDB-based debugging must be enabled for this "
2765 "option to work.";
2766const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
2767const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
2768 "Debug everything except secure shell and the PNaCl translator.";
2769const char kNaclDebugMaskChoiceIncludeDebug[] =
2770 "Debug only if manifest URL ends with debug.nmf.";
2771
2772const char kNaclDebugName[] = "Native Client GDB-based debugging";
2773const char kNaclDebugDescription[] =
2774 "Enable GDB debug stub. This will stop a Native Client application on "
2775 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
2776
2777const char kNaclName[] = "Native Client";
2778const char kNaclDescription[] =
2779 "Support Native Client for all web applications, even those that were not "
2780 "installed from the Chrome Web Store.";
2781
2782const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
2783const char kPnaclSubzeroDescription[] =
2784 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
2785
Nico Weberaf3b00b2017-09-11 17:58:172786#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282787
Brett Wilson7b44537e2017-08-18 01:38:282788#if BUILDFLAG(ENABLE_WEBRTC)
2789
2790const char kWebrtcH264WithOpenh264FfmpegName[] =
2791 "WebRTC H.264 software video encoder/decoder";
2792const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2793 "When enabled, an H.264 software video encoder/decoder pair is included. "
2794 "If a hardware encoder/decoder is also available it may be used instead of "
2795 "this encoder/decoder.";
2796
2797#endif // BUILDFLAG(ENABLE_WEBRTC)
2798
James Cookf9d34d22017-10-04 16:39:352799#if defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282800
2801const char kAshDisableSmoothScreenRotationName[] =
2802 "Disable smooth rotation animations.";
2803const char kAshDisableSmoothScreenRotationDescription[] =
2804 "Disable smooth rotation animations.";
2805
2806const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2807const char kAshEnableMirroredScreenDescription[] =
2808 "Enable the mirrored screen mode. This mode flips the screen image "
2809 "horizontally.";
2810
2811const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2812const char kAshShelfColorDescription[] =
2813 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2814 "--ash-shelf-color-scheme flag defines how that color is derived.";
2815
2816const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2817const char kAshShelfColorSchemeDescription[] =
2818 "Specify how the color is derived from the wallpaper. This flag is only "
2819 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2820const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2821const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2822const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2823const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2824const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2825const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2826
Mike Wassermana38a8a62017-10-02 03:04:272827const char kAshDisableShelfModelSynchronization[] =
2828 "Disable shelf model synchronization";
2829const char kAshDisableShelfModelSynchronizationDescription[] =
2830 "Use a single in-process shelf data model shared between Chrome and Ash. "
2831 "This only applies to the Classic Ash and Mus configs; synchronization "
2832 "between two models is required when running the Mash config via --mash.";
Mike Wasserman2115b162017-09-19 23:42:372833
Brett Wilson7b44537e2017-08-18 01:38:282834const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:372835 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:282836const char kMaterialDesignInkDropAnimationSpeedDescription[] =
2837 "Sets the speed of the experimental visual feedback animations for "
2838 "material design.";
2839const char kMaterialDesignInkDropAnimationFast[] = "Fast";
2840const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
2841
2842const char kUiShowCompositedLayerBordersName[] =
2843 "Show UI composited layer borders";
2844const char kUiShowCompositedLayerBordersDescription[] =
2845 "Show border around composited layers created by UI.";
2846const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
2847const char kUiShowCompositedLayerBordersSurface[] = "Surface";
2848const char kUiShowCompositedLayerBordersLayer[] = "Layer";
2849const char kUiShowCompositedLayerBordersAll[] = "All";
2850
2851const char kUiSlowAnimationsName[] = "Slow UI animations";
2852const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
2853
James Cookf9d34d22017-10-04 16:39:352854#endif // defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282855
Brett Wilson7b44537e2017-08-18 01:38:282856#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2857
2858const char kAutofillCreditCardUploadName[] =
2859 "Enable offering upload of Autofilled credit cards";
2860const char kAutofillCreditCardUploadDescription[] =
2861 "Enables a new option to upload credit cards to Google Payments for sync "
2862 "to all Chrome devices.";
2863
2864#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2865
2866// ============================================================================
2867// Don't just add flags to the end, put them in the right section in
2868// alphabetical order just like the header file.
2869// ============================================================================
2870
vabr0215a8e2017-03-28 12:47:342871} // namespace flag_descriptions