blob: be26889070f595ae5fd0afc4839120492229a9da [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
Brett Wilsonf27ff602017-07-07 22:28:4712const char kAccelerated2dCanvasName[] = "Accelerated 2D canvas";
13const char kAccelerated2dCanvasDescription[] =
14 "Enables the use of the GPU to perform 2d canvas rendering instead of "
15 "using software rendering.";
horodb71a5a2017-06-09 16:08:2416
Brett Wilsonf27ff602017-07-07 22:28:4717const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode";
18const char kAcceleratedVideoDecodeDescription[] =
19 "Hardware-accelerated video decode where available.";
20
21const char kAffiliationBasedMatchingName[] =
22 "Affiliation based matching in password manager";
23const char kAffiliationBasedMatchingDescription[] =
24 "Allow credentials stored for Android applications to be filled into "
25 "corresponding websites.";
26
27const char kAllowInsecureLocalhostName[] =
28 "Allow invalid certificates for resources loaded from localhost.";
29const char kAllowInsecureLocalhostDescription[] =
30 "Allows requests to localhost over HTTPS even when an invalid certificate "
31 "is presented.";
32
33const char kAllowNaclSocketApiName[] = "NaCl Socket API.";
34const char kAllowNaclSocketApiDescription[] =
35 "Allows applications to use NaCl Socket API. Use only to test NaCl "
36 "plugins.";
37
38const char kAppBannersName[] = "App Banners";
39const char kAppBannersDescription[] =
40 "Enable the display of Progressive Web App banners, which prompt a user to "
41 "add a web app to their shelf, or other platform-specific equivalent.";
42
Khushalba202212017-07-12 19:53:4943const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
44const char kAsyncImageDecodingDescription[] =
45 "Enables asynchronous decoding of images from raster for web content";
46
Brett Wilsonf27ff602017-07-07 22:28:4747const char kAutoplayPolicyName[] = "Autoplay policy";
48const char kAutoplayPolicyDescription[] =
49 "Policy used when deciding if audio or video is allowed to autoplay.";
50
51const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
52 "User gesture is required for cross-origin iframes.";
53const char kAutoplayPolicyNoUserGestureRequired[] =
54 "No user gesture is required.";
55const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
56const char kAutoplayPolicyDocumentUserActivation[] =
57 "Document user activation is required.";
58
59const char kBackgroundVideoTrackOptimizationName[] =
60 "Optimize background video playback.";
61const char kBackgroundVideoTrackOptimizationDescription[] =
62 "Disable video tracks when the video is played in the background to "
63 "optimize performance.";
64
65const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
66const char kBleAdvertisingInExtensionsDescription[] =
67 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
68 "with regular use of Bluetooth Low Energy features.";
69
Charles Harrisond629cc62017-10-05 01:39:5470const char kBlockTabUndersName[] = "Block tab-unders";
71const char kBlockTabUndersDescription[] =
72 "Blocks tab-unders in Chrome with some native UI to allow the user to "
73 "proceed.";
74
Brett Wilsonf27ff602017-07-07 22:28:4775const char kBrowserSideNavigationName[] = "Enable browser side navigation";
horodb71a5a2017-06-09 16:08:2476const char kBrowserSideNavigationDescription[] =
horo3beccfb2017-06-19 14:47:0177 "Enable browser side navigation (aka PlzNavigate).";
horodb71a5a2017-06-09 16:08:2478
Brett Wilsonf27ff602017-07-07 22:28:4779const char kBrowserTaskSchedulerName[] = "Task Scheduler";
80const char kBrowserTaskSchedulerDescription[] =
81 "Enables redirection of some task posting APIs to the task scheduler.";
82
83const char kBypassAppBannerEngagementChecksName[] =
84 "Bypass user engagement checks";
85const char kBypassAppBannerEngagementChecksDescription[] =
86 "Bypasses user engagement checks for displaying app banners, such as "
87 "requiring that users have visited the site before and that the banner "
88 "hasn't been shown recently. This allows developers to test that other "
89 "eligibility requirements for showing app banners, such as having a "
90 "manifest, are met.";
91
Marc Treibe3651be2017-07-14 11:05:4092const char kCaptureThumbnailOnNavigatingAwayName[] =
93 "Capture page thumbnail on navigating away";
94const char kCaptureThumbnailOnNavigatingAwayDescription[] =
95 "Capture a page thumbnail (for use on the New Tab page) when navigating "
96 "away from the current page, in addition to other times a thumbnail may be "
97 "captured.";
98
Brett Wilsonf27ff602017-07-07 22:28:4799const char kCastStreamingHwEncodingName[] =
100 "Cast Streaming hardware video encoding";
101const char kCastStreamingHwEncodingDescription[] =
102 "This option enables support in Cast Streaming for encoding video streams "
103 "using platform hardware.";
104
Amber Won478561d2017-08-19 01:02:59105const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
106const char kClickToOpenPDFDescription[] =
107 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
108 "embedded PDFs.";
109
Brett Wilsonf27ff602017-07-07 22:28:47110const char kCloudImportName[] = "Cloud Import";
111const char kCloudImportDescription[] = "Allows the cloud-import feature.";
112
Christopher Cameronceb8727d2017-09-07 23:53:16113const char kForceColorProfileSRGB[] = "sRGB";
114const char kForceColorProfileP3[] = "Display P3 D65";
115const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
116const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
117
118const char kForceColorProfileName[] = "Force color profile";
119const char kForceColorProfileDescription[] =
120 "Forces Chrome to use a specific color profile instead of the color "
121 "of the window's current monitor, as specified by the operating system.";
122
Brett Wilsonf27ff602017-07-07 22:28:47123const char kCompositedLayerBordersName[] = "Composited render layer borders";
124const char kCompositedLayerBordersDescription[] =
125 "Renders a border around composited Render Layers to help debug and study "
126 "layer compositing.";
127
128const char kContextualSuggestionsCarouselName[] =
129 "Enable Contextual Suggestions";
130const char kContextualSuggestionsCarouselDescription[] =
131 "If enabled, shows contextual suggestions in a horizontal carousel in "
132 "bottom sheet content.";
133
134const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
135const char kCreditCardAssistDescription[] =
136 "Enable assisted credit card filling on certain sites.";
137
138const char kCrossProcessGuestViewIsolationName[] =
139 "Cross process frames for guests";
140const char kCrossProcessGuestViewIsolationDescription[] =
141 "Highly experimental where guests such as <webview> are implemented on "
142 "the out-of-process iframe infrastructure.";
143
Brett Wilsonf27ff602017-07-07 22:28:47144const char kDataReductionProxyLoFiName[] = "Data Saver Lo-Fi mode";
145const char kDataReductionProxyLoFiDescription[] =
146 "Forces Data Saver Lo-Fi mode to be always enabled, enabled only on "
147 "cellular connections, or disabled. Data Saver must be enabled for Lo-Fi "
148 "mode to be used.";
149const char kDataReductionProxyLoFiAlwaysOn[] = "Always on";
150const char kDataReductionProxyLoFiCellularOnly[] = "Cellular only";
151const char kDataReductionProxyLoFiDisabled[] = "Disable";
152const char kDataReductionProxyLoFiSlowConnectionsOnly[] =
153 "Slow connections only";
154
155const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
156const char kDatasaverPromptDescription[] =
157 "Enables a prompt, which appears when a cellular network connection is "
158 "detected, to take the user to the Data Saver extension page on Chrome Web "
159 "Store.";
160const char kDatasaverPromptDemoMode[] = "Demo mode";
161
162const char kDebugPackedAppName[] = "Debugging for packed apps";
163const char kDebugPackedAppDescription[] =
164 "Enables debugging context menu options such as Inspect Element for packed "
165 "applications.";
166
167const char kDefaultTileHeightName[] = "Default tile height";
168const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
169const char kDefaultTileHeightShort[] = "128";
170const char kDefaultTileHeightTall[] = "256";
171const char kDefaultTileHeightGrande[] = "512";
172const char kDefaultTileHeightVenti[] = "1024";
173
174const char kDefaultTileWidthName[] = "Default tile width";
175const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
176const char kDefaultTileWidthShort[] = "128";
177const char kDefaultTileWidthTall[] = "256";
178const char kDefaultTileWidthGrande[] = "512";
179const char kDefaultTileWidthVenti[] = "1024";
180
181const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
182const char kDebugShortcutsDescription[] =
183 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
184
185const char kDeviceDiscoveryNotificationsName[] =
186 "Device Discovery Notifications";
187const char kDeviceDiscoveryNotificationsDescription[] =
188 "Device discovery notifications on local network.";
189
190const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
191const char kDevtoolsExperimentsDescription[] =
192 "Enables Developer Tools experiments. Use Settings panel in Developer "
193 "Tools to toggle individual experiments.";
194
195const char kDisableAudioForDesktopShareName[] =
196 "Disable Audio For Desktop Share";
197const char kDisableAudioForDesktopShareDescription[] =
198 "With this flag on, desktop share picker window will not let the user "
199 "choose whether to share audio.";
200
Brett Wilsonf27ff602017-07-07 22:28:47201const char kDisableTabForDesktopShareName[] =
202 "Disable Desktop Share with tab source";
203const char kDisableTabForDesktopShareDescription[] =
204 "This flag controls whether users can choose a tab for desktop share.";
205
206const char kDisallowDocWrittenScriptsUiName[] =
207 "Block scripts loaded via document.write";
208const char kDisallowDocWrittenScriptsUiDescription[] =
209 "Disallows fetches for third-party parser-blocking scripts inserted into "
210 "the main frame via document.write.";
211
212const char kDisplayList2dCanvasName[] = "Display list 2D canvas";
213const char kDisplayList2dCanvasDescription[] =
214 "Enables the use of display lists to record 2D canvas commands. This "
215 "allows 2D canvas rasterization to be performed on separate thread.";
216
217const char kDistanceFieldTextName[] = "Distance field text";
218const char kDistanceFieldTextDescription[] =
219 "Text is rendered with signed distance fields rather than bitmap alpha "
220 "masks.";
221
222const char kDriveSearchInChromeLauncherName[] =
223 "Drive Search in Chrome App Launcher";
224const char kDriveSearchInChromeLauncherDescription[] =
225 "Files from Drive will show up when searching the Chrome App Launcher.";
226
227const char kDropSyncCredentialName[] =
228 "Drop sync credentials from password manager";
229const char kDropSyncCredentialDescription[] =
230 "The password manager will not offer to save the credential used to sync.";
231
232const char kEasyUnlockBluetoothLowEnergyDiscoveryName[] =
233 "Smart Lock Bluetooth Low Energy Discovery";
234const char kEasyUnlockBluetoothLowEnergyDiscoveryDescription[] =
Tim Song52c142c62017-07-20 03:29:07235 "Disables a Smart Lock setting that allows Chromebook to discover phones "
Brett Wilsonf27ff602017-07-07 22:28:47236 "over Bluetooth Low Energy in order to unlock the Chromebook when the "
237 "phone is in its proximity.";
238
Gustavo Sacomotofb11164f2017-07-21 12:56:18239const char kEasyUnlockPromotionsName[] = "Smart Lock Promotions";
240const char kEasyUnlockPromotionsDescription[] =
241 "Enables Smart Lock promotions. Promotions will be periodically display "
242 "if the user is eligible.";
243
Brett Wilsonf27ff602017-07-07 22:28:47244const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
245const char kEmbeddedExtensionOptionsDescription[] =
246 "Display extension options as an embedded element in chrome://extensions "
247 "rather than opening a new tab.";
248
249const char kEnableAsmWasmName[] =
250 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
251const char kEnableAsmWasmDescription[] =
252 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
253 R"*(WebAssembly.)*";
254
255const char kEnableAutofillCreditCardBankNameDisplayName[] =
256 "Display the issuer bank name of a credit card in autofill.";
257const char kEnableAutofillCreditCardBankNameDisplayDescription[] =
258 "If enabled, displays the issuer bank name of a credit card in autofill.";
259
260const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
261 "Display the last used date of a credit card in autofill.";
262const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
263 "If enabled, display the last used date of a credit card in autofill.";
264
265const char kEnableAutofillCreditCardUploadCvcPromptName[] =
266 "Enable requesting missing CVC during Autofill credit card upload";
267const char kEnableAutofillCreditCardUploadCvcPromptDescription[] =
268 "If enabled, requests missing CVC when offering to upload credit cards to "
269 "Google Payments.";
270
Jared Saule4446d12017-08-15 20:01:13271const char kEnableAutofillCreditCardUploadGoogleLogoName[] =
272 "Show Google Logo for Autofill credit card upload";
273const char kEnableAutofillCreditCardUploadGoogleLogoDescription[] =
274 "If enabled, displays the Google logo in the save prompt when offering to "
275 "upload credit cards to Google Payments.";
276
jsaul19ef81c2017-08-09 18:53:40277const char kEnableAutofillCreditCardUploadNewUiName[] =
278 "Enable updated UI for Autofill credit card upload";
279const char kEnableAutofillCreditCardUploadNewUiDescription[] =
280 "If enabled, displays a new save card bubble/infobar design when offering "
281 "to upload credit cards to Google Payments.";
282
Vitalii Iarko4f9834ce2017-08-04 07:05:19283const char kEnableBreakingNewsPushName[] = "Breaking News Push";
284const char kEnableBreakingNewsPushDescription[] =
285 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
286 "through Google Cloud Messaging.";
287
Brett Wilsonf27ff602017-07-07 22:28:47288const char kEnableBrotliName[] = "Brotli Content-Encoding.";
289const char kEnableBrotliDescription[] =
290 "Enable Brotli Content-Encoding support.";
291
292const char kEnableClearBrowsingDataCountersName[] =
293 "Enable Clear browsing data counters.";
294const char kEnableClearBrowsingDataCountersDescription[] =
295 "Shows data volume counters in the Clear browsing data dialog.";
296
sclittle50e4bb92017-07-08 02:23:03297const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
298
299const char kEnableClientLoFiDescription[] =
300 "Enable showing low fidelity images on some pages on slow networks.";
301
Doug Arnett08b4067b2017-10-12 20:14:44302const char kEnableNoScriptPreviewsName[] = "NoScript previews";
303
304const char kEnableNoScriptPreviewsDescription[] =
305 "Enable disabling JavaScript on some pages on slow networks.";
306
Brett Wilsonf27ff602017-07-07 22:28:47307const char kEnableDataReductionProxyLitePageName[] =
308 "Lite pages for Data Saver Lo-Fi mode";
309const char kEnableDataReductionProxyLitePageDescription[] =
310 "Enable lite pages in Data Saver Lo-Fi mode. Previews of pages will be "
311 "shown instead of image placeholders when Lo-Fi is on. Data Saver and "
312 "Lo-Fi must be enabled for lite pages to be shown.";
313
314const char kDataReductionProxyServerAlternative[] =
315 "Use alternative server configuration";
316const char kEnableDataReductionProxyServerExperimentName[] =
317 "Use an alternative Data Saver back end configuration.";
318const char kEnableDataReductionProxyServerExperimentDescription[] =
319 "Enable a different approach to saving data by configuring the back end "
320 "server";
321
322const char kEnableDataReductionProxySavingsPromoName[] =
323 "Data Saver 1 MB Savings Promo";
324const char kEnableDataReductionProxySavingsPromoDescription[] =
325 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
326 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
327 "enabled for the promo to be shown.";
328
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17329const char kEnableDesktopPWAWindowingName[] =
330 "Windowing related features for desktop PWAs.";
331const char kEnableDesktopPWAWindowingDescription[] =
332 "Enable experimental windowing features for desktop PWAs.";
333
Brett Wilsonf27ff602017-07-07 22:28:47334const char kEnableEnumeratingAudioDevicesName[] =
335 "Experimentally enable enumerating audio devices.";
336const char kEnableEnumeratingAudioDevicesDescription[] =
337 "Experimentally enable the use of enumerating audio devices.";
338
339const char kEnableGenericSensorName[] = "Generic Sensor";
340const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25341 "Enables motion sensor classes based on Generic Sensor API, i.e. "
342 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
343 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
344
345const char kEnableGenericSensorExtraClassesName[] =
346 "Generic Sensor Extra Classes";
347const char kEnableGenericSensorExtraClassesDescription[] =
348 "Enables an extra set of sensor classes based on Generic Sensor API, which "
349 "expose previously unavailable platform features, i.e. AmbientLightSensor "
350 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47351
Brett Wilsonf27ff602017-07-07 22:28:47352const char kEnableHDRName[] = "HDR mode";
353const char kEnableHDRDescription[] =
354 "Enables HDR support on compatible displays.";
355
356const char kEnableHeapProfilingName[] = "Heap profiling";
357const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
358const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
359const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
360const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
361
362const char kEnableHttpFormWarningName[] =
363 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15364 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47365const char kEnableHttpFormWarningDescription[] =
366 "Attaches a warning UI to any password or credit card fields detected when "
367 "the top-level page is not HTTPS";
368
Sidney San Martín9375b892017-09-09 00:29:54369const char kEnableMacMaterialDesignDownloadShelfName[] =
370 "Enable Material Design download shelf";
371
372const char kEnableMacMaterialDesignDownloadShelfDescription[] =
373 "If enabled, the download shelf uses Material Design.";
374
Tatiana Gornakafb40452017-07-31 13:50:04375const char kEnableManualFallbacksFillingName[] =
376 "Manual fallbacks for password manager forms filling";
377const char kEnableManualFallbacksFillingDescription[] =
378 "If enabled, then if user clicks on the password field on a form, popup "
379 "might contain generation fallbacks or 'Show all saved passwords' "
380 "fallback.";
381
vabr0215a8e2017-03-28 12:47:34382const char kEnableMaterialDesignBookmarksName[] =
383 "Enable Material Design bookmarks";
vabr0215a8e2017-03-28 12:47:34384const char kEnableMaterialDesignBookmarksDescription[] =
385 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
386 "bookmarks page.";
387
vabr0215a8e2017-03-28 12:47:34388const char kEnableMaterialDesignExtensionsName[] =
389 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34390const char kEnableMaterialDesignExtensionsDescription[] =
391 "If enabled, the chrome://extensions/ URL loads the Material Design "
392 "extensions page.";
393
Anton Urusov47cd4932017-09-19 14:41:41394const char kEnablePolicyToolName[] = "Enable policy management page";
395const char kEnablePolicyToolDescription[] =
396 "If enabled, the chrome://policy-tool URL loads a page for managing "
397 "policies.";
398
Brett Wilsonf27ff602017-07-07 22:28:47399const char kEnableMidiManagerDynamicInstantiationName[] =
400 "MIDIManager dynamic instantiation for Web MIDI.";
401const char kEnableMidiManagerDynamicInstantiationDescription[] =
402 "Enable MIDIManager dynamic instantiation for Web MIDI.";
403
404const char kEnableNavigationTracingName[] = "Enable navigation tracing";
405const char kEnableNavigationTracingDescription[] =
406 "This is to be used in conjunction with the trace-upload-url flag. "
407 "WARNING: When enabled, Chrome will record performance data for every "
408 "navigation and upload it to the URL specified by the trace-upload-url "
409 "flag. The trace may include personally identifiable information (PII) "
410 "such as the titles and URLs of websites you visit.";
411
412const char kEnableNetworkServiceName[] = "Enable network service";
413const char kEnableNetworkServiceDescription[] =
414 "Enables the network service, which makes network requests through a "
415 "separate service. Note: most features don't work with this yet.";
416
Ahmed Fakhry2fd8fc82017-07-28 16:31:12417const char kEnableNightLightName[] = "Enable Night Light";
418const char kEnableNightLightDescription[] =
419 "Enable the Night Light feature which controls the color temperature of "
420 "the screen.";
421
Yutaka Hirano98be3272017-08-07 17:55:39422const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
423const char kEnableOutOfBlinkCORSDescription[] =
424 "CORS handling logic is moved out of blink.";
425
Erik Chen49bbfa22017-08-18 08:49:56426const char kEnableOutOfProcessHeapProfilingName[] =
427 "Out of process heap profiling.";
428const char kEnableOutOfProcessHeapProfilingDescription[] =
429 "Creates a profiling service that records stacktraces for all live, "
430 "malloced objects.";
erikchen1dff1812017-09-11 21:27:36431const char kEnableOutOfProcessHeapProfilingModeMinimal[] =
432 "Profile only the browser and GPU processes.";
Erik Chen49bbfa22017-08-18 08:49:56433const char kEnableOutOfProcessHeapProfilingModeAll[] = "Profile all processes.";
434
Brett Wilsonf27ff602017-07-07 22:28:47435const char kEnablePictureInPictureName[] = "Enable picture in picture.";
436const char kEnablePictureInPictureDescription[] =
437 "Enable the picture in picture feature for videos.";
438
F#m59d036e2017-09-13 07:22:17439const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
440const char kEnablePixelCanvasRecordingDescription[] =
441 "Pixel canvas recording allows the compositor to raster contents aligned "
442 "with the pixel and improves text rendering. This should be enabled when a "
443 "device is using fractional scale factor.";
444
Brett Wilsonf27ff602017-07-07 22:28:47445const char kEnableTokenBindingName[] = "Token Binding.";
446const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
447
Irmak Kavasoglu7e16af02017-07-19 09:52:47448const char kEnableUsernameCorrectionName[] = "Enable username correction";
449const char kEnableUsernameCorrectionDescription[] =
450 "While on the pending password state, add an edit button to the bubble so "
451 "that user can edit the username.";
452
Brett Wilsonf27ff602017-07-07 22:28:47453const char kEnableUseZoomForDsfName[] =
454 "Use Blink's zoom for device scale factor.";
455const char kEnableUseZoomForDsfDescription[] =
456 "If enabled, Blink uses its zooming mechanism to scale content for device "
457 "scale factor.";
458const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
459const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
460const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
461
462const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
463const char kEnableScrollAnchoringDescription[] =
464 "Adjusts scroll position to prevent visible jumps when offscreen content "
465 "changes.";
466
467const char kEnableSharedArrayBufferName[] =
468 "Experimental enabled SharedArrayBuffer support in JavaScript.";
469const char kEnableSharedArrayBufferDescription[] =
470 "Enable SharedArrayBuffer support in JavaScript.";
471
472const char kEnableWasmName[] = "WebAssembly structured cloning support.";
473const char kEnableWasmDescription[] =
474 "Enable web pages to use WebAssembly structured cloning.";
475
Brett Wilsonf27ff602017-07-07 22:28:47476const char kEnableImageCaptureAPIName[] = "Image Capture API";
477const char kEnableImageCaptureAPIDescription[] =
478 "Enables the Web Platform Image Capture API: takePhoto(), "
479 "getPhotoCapabilities(), etc.";
480
481const char kEnableZeroSuggestRedirectToChromeName[] =
482 "Experimental contextual omnibox suggestion";
483const char kEnableZeroSuggestRedirectToChromeDescription[] =
484 "Change omnibox contextual suggestions to an experimental source. Note "
485 "that this is not an on/off switch for contextual omnibox and it only "
486 "applies to suggestions provided before the user starts typing a URL or a "
487 "search query (i.e. zero suggest).";
488
489const char kEnableWasmStreamingName[] =
490 "WebAssembly streaming compile/instantiate support.";
491const char kEnableWasmStreamingDescription[] =
492 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
493
Brett Wilsonf27ff602017-07-07 22:28:47494const char kEnableWebNotificationCustomLayoutsName[] =
495 "Enable custom layouts for Web Notifications.";
496const char kEnableWebNotificationCustomLayoutsDescription[] =
497 "Enable custom layouts for Web Notifications. They will have subtle layout "
498 "improvements that are otherwise not possible.";
499
500const char kExpensiveBackgroundTimerThrottlingName[] =
501 "Throttle expensive background timers";
502const char kExpensiveBackgroundTimerThrottlingDescription[] =
503 "Enables intervention to limit CPU usage of background timers to 1%.";
504
505const char kExperimentalAppBannersName[] = "Experimental app banners";
506const char kExperimentalAppBannersDescription[] =
507 "Enables a new experimental app banner flow and UI";
508
509const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
510const char kExperimentalCanvasFeaturesDescription[] =
511 "Enables the use of experimental canvas features which are still in "
512 "development.";
513
514const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
515const char kExperimentalExtensionApisDescription[] =
516 "Enables experimental extension APIs. Note that the extension gallery "
517 "doesn't allow you to upload extensions that use experimental APIs.";
518
519const char kExperimentalFullscreenExitUIName[] =
520 "Experimental fullscreen exit UI";
521const char kExperimentalFullscreenExitUIDescription[] =
522 "Displays experimental UI to allow mouse and touch input methods to exit "
523 "fullscreen mode.";
524
525const char kExperimentalHotwordHardwareName[] =
526 "Simulated hardware 'Ok Google' features";
527const char kExperimentalHotwordHardwareDescription[] =
528 "Enables an experimental version of 'Ok Google' hotword detection features "
529 "that have a hardware dependency.";
530
531const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
532const char kExperimentalKeyboardLockUiDescription[] =
533 "An experimental full screen with keyboard lock mode requiring users to "
534 "hold Esc to exit.";
535
536const char kExperimentalSecurityFeaturesName[] =
537 "Potentially annoying security features";
538const char kExperimentalSecurityFeaturesDescription[] =
539 "Enables several security features that will likely break one or more "
540 "pages that you visit on a daily basis. Strict mixed content checking, for "
541 "example. And locking powerful features to secure contexts. This flag will "
542 "probably annoy you.";
543
544const char kExperimentalWebPlatformFeaturesName[] =
545 "Experimental Web Platform features";
546const char kExperimentalWebPlatformFeaturesDescription[] =
547 "Enables experimental Web Platform features that are in development.";
548
549const char kExtensionContentVerificationName[] =
550 "Extension Content Verification";
551const char kExtensionContentVerificationDescription[] =
552 "This flag can be used to turn on verification that the contents of the "
553 "files on disk for extensions from the webstore match what they're "
554 "expected to be. This can be used to turn on this feature if it would not "
555 "otherwise have been turned on, but cannot be used to turn it off (because "
556 "this setting can be tampered with by malware).";
557const char kExtensionContentVerificationBootstrap[] =
558 "Bootstrap (get expected hashes, but do not enforce them)";
559const char kExtensionContentVerificationEnforce[] =
560 "Enforce (try to get hashes, and enforce them if successful)";
561const char kExtensionContentVerificationEnforceStrict[] =
562 "Enforce strict (hard fail if we can't get hashes)";
563
564const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
565const char kExtensionsOnChromeUrlsDescription[] =
566 "Enables running extensions on chrome:// URLs, where extensions explicitly "
567 "request this permission.";
galinapae72e152017-05-12 13:12:28568
Brett Wilsonecb80982017-07-12 20:34:51569const char kFastUnloadName[] = "Fast tab/window close";
570const char kFastUnloadDescription[] =
571 "Enables fast tab/window closing - runs a tab's onunload js handler "
572 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34573
Brett Wilsonecb80982017-07-12 20:34:51574const char kFeaturePolicyName[] = "Feature Policy";
575const char kFeaturePolicyDescription[] =
576 "Enables granting and removing access to features through the "
577 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34578
Brett Wilsonecb80982017-07-12 20:34:51579const char kFetchKeepaliveTimeoutSettingName[] =
580 "Fetch API keepalive timeout setting";
581const char kFetchKeepaliveTimeoutSettingDescription[] =
582 "This is for setting the timeout value for Fetch API with keepalive option "
583 "and SendBeacon";
584
585const char kFontCacheScalingName[] = "FontCache scaling";
586const char kFontCacheScalingDescription[] =
587 "Reuse a cached font in the renderer to serve different sizes of font for "
588 "faster layout.";
589
590const char kForceEffectiveConnectionTypeName[] =
591 "Override effective connection type";
592const char kForceEffectiveConnectionTypeDescription[] =
593 "Overrides the effective connection type of the current connection "
594 "returned by the network quality estimator.";
595const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
596const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
597const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
598const char kEffectiveConnectionType2GDescription[] = "2G";
599const char kEffectiveConnectionType3GDescription[] = "3G";
600const char kEffectiveConnectionType4GDescription[] = "4G";
601
602const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
603const char kFillOnAccountSelectDescription[] =
604 "Filling of passwords when an account is explicitly selected by the user "
605 "rather than autofilling credentials on page load.";
606
Brett Wilsonecb80982017-07-12 20:34:51607const char kForceTextDirectionName[] = "Force text direction";
608const char kForceTextDirectionDescription[] =
609 "Explicitly force the per-character directionality of UI text to "
610 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
611 "direction of the character language.";
612const char kForceDirectionLtr[] = "Left-to-right";
613const char kForceDirectionRtl[] = "Right-to-left";
614
615const char kForceUiDirectionName[] = "Force UI direction";
616const char kForceUiDirectionDescription[] =
617 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
618 "mode, overriding the default direction of the UI language.";
619
620const char kFramebustingName[] =
621 "Framebusting requires same-origin or a user gesture";
622const char kFramebustingDescription[] =
623 "Don't permit an iframe to navigate the top level browsing context unless "
624 "they are same-origin or the iframe is processing a user gesture.";
625
626const char kGamepadExtensionsName[] = "Gamepad Extensions";
627const char kGamepadExtensionsDescription[] =
628 "Enabling this option allows web applications to access experimental "
629 "extensions to the Gamepad APIs.";
630
sohan3f00ffc2017-07-14 22:28:08631const char kGlCompositedOverlayCandidateQuadBordersName[] =
632 "GL composited overlay candidate quad borders";
633const char kGlCompositedOverlayCandidateQuadBordersDescription[] =
Alex Newcomer43cb7f12017-07-28 17:37:39634 "Renders a border around GL composited overlay candidate quads to help "
635 "debug and study overlay support.";
Brett Wilsonecb80982017-07-12 20:34:51636
637const char kGpuRasterizationMsaaSampleCountName[] =
638 "GPU rasterization MSAA sample count.";
639const char kGpuRasterizationMsaaSampleCountDescription[] =
640 "Specify the number of MSAA samples for GPU rasterization.";
641const char kGpuRasterizationMsaaSampleCountZero[] = "0";
642const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
643const char kGpuRasterizationMsaaSampleCountFour[] = "4";
644const char kGpuRasterizationMsaaSampleCountEight[] = "8";
645const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
646
647const char kGpuRasterizationName[] = "GPU rasterization";
648const char kGpuRasterizationDescription[] =
649 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28650const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51651
652const char kGoogleProfileInfoName[] = "Google profile name and icon";
653const char kGoogleProfileInfoDescription[] =
654 "Enables using Google information to populate the profile name and icon in "
655 "the avatar menu.";
656
657const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
658const char kHarfbuzzRendertextDescription[] =
659 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
660 "web content.";
661
662const char kHistoryRequiresUserGestureName[] =
663 "New history entries require a user gesture.";
664const char kHistoryRequiresUserGestureDescription[] =
665 "Require a user gesture to add a history entry.";
666const char kHyperlinkAuditingName[] = "Hyperlink auditing";
667const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
668
669const char kHostedAppQuitNotificationName[] =
670 "Quit notification for hosted apps";
671const char kHostedAppQuitNotificationDescription[] =
672 "Display a notification when quitting Chrome if hosted apps are currently "
673 "running.";
674
675const char kHostedAppShimCreationName[] =
676 "Creation of app shims for hosted apps on Mac";
677const char kHostedAppShimCreationDescription[] =
678 "Create app shims on Mac when creating a hosted app.";
679
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48680const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
681const char kHtmlBasedUsernameDetectorDescription[] =
682 "Use HTML-based username detector for the password manager.";
683
Brett Wilsonecb80982017-07-12 20:34:51684const char kIconNtpName[] = "Large icons on the New Tab page";
685const char kIconNtpDescription[] =
686 "Enable the experimental New Tab page using large icons.";
687
688const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
689const char kIgnoreGpuBlacklistDescription[] =
690 "Overrides the built-in software rendering list and enables "
691 "GPU-acceleration on unsupported system configurations.";
692
693const char kImportantSitesInCbdName[] =
694 "Important sites options in clear browsing data dialog";
695const char kImportantSitesInCbdDescription[] =
696 "Include the option to whitelist important sites in the clear browsing "
697 "data dialog.";
698
699const char kInertVisualViewportName[] = "Inert visual viewport.";
700const char kInertVisualViewportDescription[] =
701 "Experiment to have all APIs reflect the layout viewport. This will make "
702 "window.scroll properties relative to the layout viewport.";
703
704const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
705const char kInProductHelpDemoModeChoiceDescription[] =
706 "Selects the In-Product Help demo mode.";
707
708const char kJavascriptHarmonyName[] = "Experimental JavaScript";
709const char kJavascriptHarmonyDescription[] =
710 "Enable web pages to use experimental JavaScript features.";
711
712const char kJavascriptHarmonyShippingName[] =
713 "Latest stable JavaScript features";
714const char kJavascriptHarmonyShippingDescription[] =
715 "Some web pages use legacy or non-standard JavaScript extensions that may "
716 "conflict with the latest JavaScript features. This flag allows disabling "
717 "support of those features for compatibility with such pages.";
718
Yutaka Hiranof7f2f632017-09-06 10:40:08719const char kKeepAliveRendererForKeepaliveRequestsName[] =
720 "Keep a renderer alive for keepalive fetch requests";
721const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
722 "Keep a render process alive when the process has a pending fetch request "
723 "with `keepalive' specified.";
724
Brett Wilsonecb80982017-07-12 20:34:51725const char kLcdTextName[] = "LCD text antialiasing";
726const char kLcdTextDescription[] =
727 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
728 "(subpixel) when doing accelerated compositing.";
729
Matt Giucac399982f2017-10-06 07:51:29730const char kLeftToRightUrlsName[] =
731 "Render bidirectional URLs from left to right";
732const char kLeftToRightUrlsDescription[] =
733 "An experimental Bidi URL rendering algorithm where the URL components are "
734 "always shown in order from left to right, regardless of any RTL "
735 "characters. (The contents of each component are still rendered with the "
736 "normal Bidi algorithm.)";
737
Brett Wilsonecb80982017-07-12 20:34:51738const char kLoadMediaRouterComponentExtensionName[] =
739 "Load Media Router Component Extension";
740const char kLoadMediaRouterComponentExtensionDescription[] =
741 "Loads the Media Router component extension at startup.";
742
743const char kManualPasswordGenerationName[] = "Manual password generation.";
744const char kManualPasswordGenerationDescription[] =
745 "Show a 'Generate Password' option on the context menu for all password "
746 "fields.";
747
Dominic Battref27e8762017-08-23 11:16:25748const char kManualPasswordSavingName[] = "Manual password saving.";
749const char kManualPasswordSavingDescription[] =
750 "Show the password manager icon when typing into a password filed. "
751 "Clicking it allows to save the password without submitting the form.";
752
Brett Wilsonecb80982017-07-12 20:34:51753const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
754const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
755const char kMarkHttpAsDangerous[] = "Always mark HTTP as actively dangerous";
756const char kMarkHttpAsNonSecureAfterEditing[] =
757 "Warn on HTTP after editing forms";
758const char kMarkHttpAsNonSecureWhileIncognito[] =
759 "Warn on HTTP while in Incognito mode";
760const char kMarkHttpAsNonSecureWhileIncognitoOrEditing[] =
761 "Warn on HTTP while in Incognito mode or after editing forms";
762
763extern const char kMaterialDesignIncognitoNTPName[] =
764 "Material Design Incognito NTP.";
765extern const char kMaterialDesignIncognitoNTPDescription[] =
766 "If enabled, the Incognito New Tab page uses the new material design with "
767 "a better readable text.";
768
769const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
770const char kMediaRemotingDescription[] =
771 "When Casting a tab to a remote device, enabling this turns on an "
772 "optimization that forwards the content bitstream directly to the remote "
773 "device when a video is fullscreened.";
774
775const char kMemoryAblationName[] = "Memory ablation experiment";
776const char kMemoryAblationDescription[] =
777 "Allocates extra memory in the browser process.";
778
779const char kMemoryCoordinatorName[] = "Memory coordinator";
780const char kMemoryCoordinatorDescription[] =
781 "Enable memory coordinator instead of memory pressure listeners.";
782
783const char kMessageCenterNewStyleNotificationName[] = "New style notification";
784const char kMessageCenterNewStyleNotificationDescription[] =
785 "Enables the experiment style of material-design notification";
786
Brett Wilsonecb80982017-07-12 20:34:51787const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
788const char kMhtmlGeneratorOptionDescription[] =
789 "Provides experimental options for MHTML file generator.";
790const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
791const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
792
793const char kMojoLoadingName[] = "Use Mojo IPC for resource loading";
794const char kMojoLoadingDescription[] =
795 "Use Mojo IPC instead of traditional Chrome IPC for resource loading.";
796
Miguel Casas-Sanchez10769c82017-07-27 23:52:04797const char kMojoVideoEncodeAcceleratorName[] =
798 "Hardware-accelerated video encoder accessed using Mojo IPC";
799const char kMojoVideoEncodeAcceleratorDescription[] =
800 "Use new Mojo IPC to access hardware-accelerated video encoder, where "
801 "available.";
802
Brett Wilsonecb80982017-07-12 20:34:51803const char kModuleScriptsName[] = "Enable ECMAScript 6 modules";
804const char kModuleScriptsDescription[] =
805 "Enables ECMAScript 6 modules support in Blink.";
806
Kouhei Ueno08445c22017-09-05 03:58:30807const char kModuleScriptsDynamicImportName[] =
808 "Enable ECMAScript 6 modules dynamic import";
809const char kModuleScriptsDynamicImportDescription[] =
810 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
811 "Blink.";
812
Brett Wilsonecb80982017-07-12 20:34:51813const char kNewAudioRenderingMixingStrategyName[] =
814 "New audio rendering mixing strategy";
815const char kNewAudioRenderingMixingStrategyDescription[] =
816 "Use the new audio rendering mixing strategy.";
817
818const char kNewBookmarkAppsName[] = "The new bookmark app system";
819const char kNewBookmarkAppsDescription[] =
820 "Enables the new system for creating bookmark apps.";
821
822const char kNewOmniboxAnswerTypesName[] =
823 "New omnibox answers in suggest types";
824const char kNewOmniboxAnswerTypesDescription[] =
825 "Enables new types of answers in the omnibox suggest drop-down: currency "
826 "conversions, dictionary definitions, sports scores, translations, and "
827 "when is.";
828
829const char kNewRemotePlaybackPipelineName[] =
830 "Enable the new remote playback pipeline.";
831const char kNewRemotePlaybackPipelineDescription[] =
832 "Enable the new pipeline for playing media element remotely via "
833 "RemotePlayback API or native controls.";
834
835const char kNewUsbBackendName[] = "Enable new USB backend";
836const char kNewUsbBackendDescription[] =
837 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34838
brettw5f9c1642017-05-14 17:12:48839const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34840const char kNostatePrefetchDescription[] =
841 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
842 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
843 R"*(improve load times even more. "Simple Load" does nothing and is )*"
844 R"*(similar to disabling the feature, but collects more metrics for )*"
845 R"*(comparison purposes.)*";
846
Brett Wilsonecb80982017-07-12 20:34:51847const char kNotificationsNativeFlagName[] = "Enable native notifications.";
848const char kNotificationsNativeFlagDescription[] =
849 "Enable support for using the native notification toasts and notification "
850 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34851
Brett Wilsonecb80982017-07-12 20:34:51852const char kNumRasterThreadsName[] = "Number of raster threads";
853const char kNumRasterThreadsDescription[] =
854 "Specify the number of raster threads.";
855const char kNumRasterThreadsOne[] = "1";
856const char kNumRasterThreadsTwo[] = "2";
857const char kNumRasterThreadsThree[] = "3";
858const char kNumRasterThreadsFour[] = "4";
859
860const char kOfferStoreUnmaskedWalletCardsName[] =
861 "Google Payments card saving checkbox";
862const char kOfferStoreUnmaskedWalletCardsDescription[] =
863 "Show the checkbox to offer local saving of a credit card downloaded from "
864 "the server.";
865
866const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
867const char kOfflineAutoReloadDescription[] =
868 "Pages that fail to load while the browser is offline will be "
869 "auto-reloaded when the browser is online again.";
870
871const char kOfflineAutoReloadVisibleOnlyName[] =
872 "Only Auto-Reload Visible Tabs";
873const char kOfflineAutoReloadVisibleOnlyDescription[] =
874 "Pages that fail to load while the browser is offline will only be "
875 "auto-reloaded if their tab is visible.";
876
877const char kOffMainThreadFetchName[] = "Off-main-thread fetch for Web Workers";
878const char kOffMainThreadFetchDescription[] =
879 "If enabled, the resource fetches from worker threads will not be blocked "
880 "by the busy main thread.";
881
882const char kOmniboxDisplayTitleForCurrentUrlName[] =
883 "Include title for the current URL in the omnibox";
884const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
885 "In the event that the omnibox provides suggestions on-focus, the URL of "
886 "the current page is provided as the first suggestion without a title. "
887 "Enabling this flag causes the title to be displayed.";
888
Benoit Lizeab08362c2017-07-19 14:50:54889const char kOmniboxSpareRendererName[] =
890 "Start spare renderer on omnibox focus";
891const char kOmniboxSpareRendererDescription[] =
892 "When the omnibox is focused, start an empty spare renderer. This can "
893 "speed up the load of the navigation from the omnibox.";
894
Tommy C. Li8875a442017-08-23 00:10:59895const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
896 "Omnibox UI Elide Suggestion URL After Host";
897const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
898 "Elides the path, query, and ref of suggested URLs in the Omnibox "
899 "dropdown.";
900
Brett Wilsonecb80982017-07-12 20:34:51901const char kOmniboxUIHideSuggestionUrlSchemeName[] =
902 "Omnibox UI Hide Suggestion URL Scheme";
903const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
904 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
905
906const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
907 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
908const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
909 "Elides trivially informative subdomains from suggested URLs in the "
910 "Omnibox dropdown (e.g. www. and m.).";
911
912const char kOmniboxUIMaxAutocompleteMatchesName[] =
913 "Omnibox UI Max Autocomplete Matches";
914
915const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
916 "Changes the maximum number of autocomplete matches displayed in the "
917 "Omnibox UI.";
918
919const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
920const char kOmniboxUINarrowDropdownDescription[] =
921 "Makes the suggestions dropdown width match the omnibox width.";
922
Justin Donnelly65c9e8b2017-10-01 05:15:01923const char kOmniboxUIShowSuggestionFaviconsName[] =
924 "Omnibox UI Show Suggestion Favicons";
925const char kOmniboxUIShowSuggestionFaviconsDescription[] =
926 "Shows favicons instead of generic vector icons for URL suggestions in the "
927 "Omnibox dropdown.";
928
929const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
930const char kOmniboxUISwapTitleAndUrlDescription[] =
931 "In the omnibox dropdown, shows titles before URLs when both are "
932 "available.";
933
Brett Wilsonecb80982017-07-12 20:34:51934const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
935const char kOmniboxUIVerticalLayoutDescription[] =
936 "Displays Omnibox sugestions in 2 lines - title over origin.";
937
938const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
939const char kOmniboxUIVerticalMarginDescription[] =
940 "Changes the vertical margin in the Omnibox UI.";
941
942const char kOriginTrialsName[] = "Origin Trials";
943const char kOriginTrialsDescription[] =
944 "Enables origin trials for controlling access to feature/API experiments.";
945
Becca Hughes930d8cd2017-10-02 11:09:12946const char kOverflowIconsForMediaControlsName[] =
947 "Icons on Media Controls Overflow Menu";
948const char kOverflowIconsForMediaControlsDescription[] =
949 "Displays icons on the overflow menu of the native media controls";
950
Brett Wilsonecb80982017-07-12 20:34:51951const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
952const char kOverlayScrollbarsDescription[] =
953 "Enable the experimental overlay scrollbars implementation. You must also "
954 "enable threaded compositing to have the scrollbars animate.";
955
chaopenge8aa016b2017-08-24 15:20:19956const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
957 "Flash Overlay Scrollbars After Any Scroll Update";
958const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
959 "Flash Overlay Scrollbars After any scroll update happends in page. You"
960 " must also enable Overlay Scrollbars.";
961
chaopeng343678022017-08-24 18:45:00962const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
963 "Flash Overlay Scrollbars When Mouse Enter";
964const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
965 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
966 " enable Overlay Scrollbars.";
967
Claudio Magni81326f92017-09-01 05:21:18968const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
969const char kUseNewAcceptLanguageHeaderDescription[] =
970 "Adds the base language code after other corresponding language+region "
971 "codes. This ensures that users receive content in their preferred "
972 "language.";
973
Brett Wilsonecb80982017-07-12 20:34:51974const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
975const char kOverscrollHistoryNavigationDescription[] =
976 "Experimental history navigation in response to horizontal overscroll.";
977const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
978
979const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
980const char kOverscrollStartThresholdDescription[] =
981 "Changes overscroll start threshold relative to the default value.";
982const char kOverscrollStartThreshold133Percent[] = "133%";
983const char kOverscrollStartThreshold166Percent[] = "166%";
984const char kOverscrollStartThreshold200Percent[] = "200%";
985
Xing Liu5400a002017-09-15 21:48:29986const char kParallelDownloadingName[] = "Parallel downloading";
987const char kParallelDownloadingDescription[] =
988 "Enable parallel downloading to"
989 "accelerate download speed.";
990
Brett Wilsonecb80982017-07-12 20:34:51991const char kPassiveEventListenerDefaultName[] =
992 "Passive Event Listener Override";
993const char kPassiveEventListenerDefaultDescription[] =
994 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
995 "haven't requested otherwise) to be treated as passive. This will break "
996 "touch/wheel behavior on some websites but is useful for demonstrating the "
997 "potential performance benefits of adopting passive event listeners.";
998const char kPassiveEventListenerTrue[] = "True (when unspecified)";
999const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1000
1001const char kPassiveEventListenersDueToFlingName[] =
1002 "Touch Event Listeners Passive Default During Fling";
1003const char kPassiveEventListenersDueToFlingDescription[] =
1004 "Forces touchstart, and first touchmove per scroll event listeners during "
1005 "fling to be treated as passive.";
1006
1007const char kPassiveDocumentEventListenersName[] =
1008 "Document Level Event Listeners Passive Default";
1009const char kPassiveDocumentEventListenersDescription[] =
1010 "Forces touchstart, and touchmove event listeners on document level "
1011 "targets (which haven't requested otherwise) to be treated as passive.";
1012
1013const char kPasswordForceSavingName[] = "Force-saving of passwords";
1014const char kPasswordForceSavingDescription[] =
1015 "Allow the user to manually enforce password saving instead of relying on "
1016 "password manager's heuristics.";
1017
1018const char kPasswordGenerationName[] = "Password generation";
1019const char kPasswordGenerationDescription[] =
1020 "Allow the user to have Chrome generate passwords when it detects account "
1021 "creation pages.";
1022
1023const char kPasswordImportExportName[] = "Password import and export";
1024const char kPasswordImportExportDescription[] =
1025 "Import and Export functionality in password settings.";
1026
Maxim Kolosovskiyd97b94612017-09-19 20:10:391027const char kPasswordSelectionName[] =
1028 "Password selection and eye icon in prompt";
1029const char kPasswordSelectionDescription[] =
1030 "Show a password selector and an eye icon in prompt";
1031
Brett Wilsonecb80982017-07-12 20:34:511032const char kPermissionActionReportingName[] = "Permission Action Reporting";
1033const char kPermissionActionReportingDescription[] =
1034 "Enables permission action reporting to Safe Browsing servers for opted in "
1035 "users.";
1036
1037const char kPermissionsBlacklistName[] = "Permissions Blacklist";
1038const char kPermissionsBlacklistDescription[] =
1039 "Enables the Permissions Blacklist, which blocks permissions for "
1040 "blacklisted sites for Safe Browsing users.";
1041
1042const char kPinchScaleName[] = "Pinch scale";
1043const char kPinchScaleDescription[] =
1044 "Enables experimental support for scale using pinch.";
1045
Brett Wilsonecb80982017-07-12 20:34:511046const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1047const char kPrintPdfAsImageDescription[] =
1048 "If enabled, an option to print PDF files as images will be available in "
1049 "print preview.";
1050
1051const char kPrintPreviewRegisterPromosName[] =
1052 "Print Preview Registration Promos";
1053const char kPrintPreviewRegisterPromosDescription[] =
1054 "Enable registering unregistered cloud printers from print preview.";
1055
1056const char kProtectSyncCredentialName[] = "Autofill sync credential";
1057const char kProtectSyncCredentialDescription[] =
1058 "How the password manager handles autofill for the sync credential.";
1059
1060const char kProtectSyncCredentialOnReauthName[] =
1061 "Autofill sync credential only for transactional reauth pages";
1062const char kProtectSyncCredentialOnReauthDescription[] =
1063 "How the password manager handles autofill for the sync credential only "
1064 "for transactional reauth pages.";
1065
Mohsen Izadi93faac12017-07-29 04:45:151066const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1067const char kPullToRefreshDescription[] =
1068 "Pull-to-refresh gesture in response to vertical overscroll.";
1069
Brett Wilsonecb80982017-07-12 20:34:511070const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1071const char kPushApiBackgroundModeDescription[] =
1072 "Enable background mode for the Push API. This allows Chrome to continue "
1073 "running after the last window is closed, and to launch at OS startup, if "
1074 "the Push API needs it.";
1075
Piotr Swigon46929d12017-08-11 07:16:331076const char kPwaMinimalUiName[] = "Minimal-UI display mode for PWAs";
1077const char kPwaMinimalUiDescription[] =
1078 "Enables support for Minimal-UI display mode for installed PWAs";
1079
Brett Wilsonecb80982017-07-12 20:34:511080const char kQuicName[] = "Experimental QUIC protocol";
1081const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1082
1083const char kReducedReferrerGranularityName[] =
1084 "Reduce default 'referer' header granularity.";
1085const char kReducedReferrerGranularityDescription[] =
1086 "If a page hasn't set an explicit referrer policy, setting this flag will "
1087 "reduce the amount of information in the 'referer' header for cross-origin "
1088 "requests.";
1089
1090const char kRequestTabletSiteName[] =
1091 "Request tablet site option in the settings menu";
1092const char kRequestTabletSiteDescription[] =
1093 "Allows the user to request tablet site. Web content is often optimized "
1094 "for tablet devices. When this option is selected the user agent string is "
1095 "changed to indicate a tablet device. Web content optimized for tablets is "
1096 "received there after for the current tab.";
1097
1098const char kResetAppListInstallStateName[] =
1099 "Reset the App Launcher install state on every restart.";
1100const char kResetAppListInstallStateDescription[] =
1101 "Reset the App Launcher install state on every restart. While this flag is "
1102 "set, Chrome will forget the launcher has been installed each time it "
1103 "starts. This is used for testing the App Launcher install flow.";
1104
1105const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1106const char kResourceLoadSchedulerDescription[] =
1107 "Uses the resource load scheduler in blink to schedule and throttle "
1108 "resource load requests.";
1109
Brett Wilsonecb80982017-07-12 20:34:511110const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1111const char kSafeSearchUrlReportingDescription[] =
1112 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1113
1114const char kSaveasMenuLabelExperimentName[] =
1115 "Switch 'Save as' menu labels to 'Download'";
1116const char kSaveasMenuLabelExperimentDescription[] =
1117 "Enables an experiment to switch menu labels that use 'Save as...' to "
1118 "'Download'.";
1119
1120const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1121const char kSavePageAsMhtmlDescription[] =
1122 "Enables saving pages as MHTML: a single text file containing HTML and all "
1123 "sub-resources.";
1124
Nate Chapin9638e7102017-09-20 22:11:011125const char kSavePreviousDocumentResourcesName[] =
1126 "Save Previous Document Resources";
1127const char kSavePreviousDocumentResourcesDescription[] =
1128 "Saves an old document's cached resources until the specified point in the "
1129 "next document's lifecycle.";
1130const char kSavePreviousDocumentResourcesNever[] =
1131 "Don't explicitly save resources";
1132const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1133 "Save resources until onDOMContentLoaded completes";
1134const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1135 "Save resources until onload completes";
1136
Brett Wilsonecb80982017-07-12 20:34:511137const char kScrollPredictionName[] = "Scroll prediction";
1138const char kScrollPredictionDescription[] =
1139 "Predicts the finger's future position during scrolls allowing time to "
1140 "render the frame before the finger is there.";
1141
1142const char kSecondaryUiMd[] =
1143 "Material Design in the rest of the browser's native UI";
1144const char kSecondaryUiMdDescription[] =
1145 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1146 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1147 "browser dialogs.";
1148
1149const char kServiceWorkerNavigationPreloadName[] =
1150 "Service worker navigation preload.";
1151const char kServiceWorkerNavigationPreloadDescription[] =
1152 "Enable web pages to use the experimental service worker navigation "
1153 "preload API.";
1154
gogeraldd5061b592017-09-06 23:39:551155const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1156const char kServiceWorkerPaymentAppsDescription[] =
1157 "Enable Service Worker applications to integrate as payment apps";
1158
Makoto Shimazud9f333c2017-08-08 07:23:171159const char kServiceWorkerScriptStreamingName[] =
1160 "Service worker script streaming.";
1161const char kServiceWorkerScriptStreamingDescription[] =
1162 "Installed scripts for a service worker are sent over a dedicated "
1163 "message pipe and data pipes, and that is never be blocked on the main "
1164 "thread.";
1165
Brett Wilsonecb80982017-07-12 20:34:511166const char kSettingsWindowName[] = "Show settings in a window";
1167const char kSettingsWindowDescription[] =
1168 "Settings will be shown in a dedicated window instead of as a browser tab.";
1169
1170const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1171const char kShowAutofillSignaturesDescription[] =
1172 "Annotates web forms with Autofill signatures as HTML attributes.";
1173
1174const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1175const char kShowAutofillTypePredictionsDescription[] =
1176 "Annotates web forms with Autofill field type predictions as placeholder "
1177 "text.";
1178
1179const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1180const char kShowOverdrawFeedbackDescription[] =
1181 "Visualize overdraw by color-coding elements based on if they have other "
1182 "elements drawn underneath.";
1183
1184const char kShowSavedCopyName[] = "Show Saved Copy Button";
1185const char kShowSavedCopyDescription[] =
1186 "When a page fails to load, if a stale copy of the page exists in the "
1187 "browser cache, a button will be presented to allow the user to load that "
1188 "stale copy. The primary enabling choice puts the button in the most "
1189 "salient position on the error page; the secondary enabling choice puts it "
1190 "secondary to the reload button.";
1191const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1192const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1193const char kDisableShowSavedCopy[] = "Disable";
1194
1195const char kShowTouchHudName[] = "Show HUD for touch points";
1196const char kShowTouchHudDescription[] =
1197 "Enables a heads-up display at the top-left corner of the screen that "
1198 "lists information about the touch-points on the screen.";
1199
1200const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1201const char kSilentDebuggerExtensionApiDescription[] =
1202 "Do not show the infobar when an extension attaches to a page via "
1203 "chrome.debugger API. This is required to debug extension background "
1204 "pages.";
1205
1206const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1207const char kSimpleCacheBackendDescription[] =
1208 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1209 "disk space allocation.";
1210
1211const char kSimplifiedFullscreenUiName[] =
1212 "Simplified full screen / mouse lock UI.";
1213const char kSimplifiedFullscreenUiDescription[] =
1214 "A simplified new user experience when entering page-triggered full screen "
1215 "or mouse pointer lock states.";
1216
1217const char kSingleClickAutofillName[] = "Single-click autofill";
1218const char kSingleClickAutofillDescription[] =
1219 "Make autofill suggestions on initial mouse click on a form element.";
1220
1221const char kSiteDetails[] = "Site Details";
1222const char kSiteDetailsDescription[] =
1223 "Adds UI in MD Settings to view all content settings for a specific "
1224 "origin.";
1225
1226const char kSitePerProcessName[] = "Strict site isolation";
1227const char kSitePerProcessDescription[] =
1228 "Highly experimental security mode that ensures each renderer process "
1229 "contains pages from at most one site. In this mode, out-of-process "
1230 "iframes will be used whenever an iframe is cross-site.";
1231
1232const char kSiteSettings[] = "Site settings with All sites and Site details";
1233const char kSiteSettingsDescription[] =
1234 "Adds new ways of viewing Site settings.";
1235
1236const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
1237const char kSlimmingPaintInvalidationDescription[] =
1238 "Whether to enable a new paint invalidation system.";
1239
1240const char kSmoothScrollingName[] = "Smooth Scrolling";
1241const char kSmoothScrollingDescription[] =
1242 "Animate smoothly when scrolling page content.";
1243
1244const char kSoftwareRasterizerName[] = "3D software rasterizer";
1245const char kSoftwareRasterizerDescription[] =
1246 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1247
Tommy Steimel77704be2017-08-28 22:14:401248const char kSoundContentSettingName[] = "Sound content setting";
1249const char kSoundContentSettingDescription[] =
1250 "Enable site-wide muting in content settings and tab strip context menu.";
1251
Alexandr Ilinf0500ed32017-09-27 21:12:361252const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1253const char kSpeculativePreconnectDescription[] =
1254 "Enable the new implementation of preconnect and DNS preresolve. "
1255 "\"Learning\" means that only database construction is enabled, "
1256 "\"Preconnect\" enables both learning and preconnect and disables the "
1257 "existing implementation. \"No preconnect\" disables both implementations.";
1258
Brett Wilsonecb80982017-07-12 20:34:511259const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341260const char kSpeculativePrefetchDescription[] =
1261 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1262 R"*(load times, based on a local database (see chrome://predictors). )*"
1263 R"*("Learning" means that only the database construction is enabled, )*"
1264 R"*("Prefetching" that learning and prefetching are enabled.)*";
1265
Justin Donnelly4e448cb2017-07-07 21:32:131266const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1267 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131268const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1269 "If enabled, when the user enters text in the omnibox that looks like a "
1270 "a query, any service worker associated with the search engine the query "
1271 "will be sent to is started early.";
1272
Brett Wilsonecb80982017-07-12 20:34:511273const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1274const char kSpellingFeedbackFieldTrialDescription[] =
1275 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401276
Brett Wilsonecb80982017-07-12 20:34:511277const char kSuggestionsWithSubStringMatchName[] =
1278 "Substring matching for Autofill suggestions";
1279const char kSuggestionsWithSubStringMatchDescription[] =
1280 "Match Autofill suggestions based on substrings (token prefixes) rather "
1281 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341282
Brett Wilsonecb80982017-07-12 20:34:511283const char kSyncAppListName[] = "App Launcher sync";
1284const char kSyncAppListDescription[] =
1285 "Enable App Launcher sync. This also enables Folders where available (non "
1286 "OSX).";
vabr0215a8e2017-03-28 12:47:341287
Brett Wilsonecb80982017-07-12 20:34:511288const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1289const char kSyncSandboxDescription[] =
1290 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341291
Brett Wilsonecb80982017-07-12 20:34:511292const char kTabAudioMutingName[] = "Tab audio muting UI control";
1293const char kTabAudioMutingDescription[] =
1294 "When enabled, the audio indicators in the tab strip double as tab audio "
1295 "mute controls. This also adds commands in the tab context menu for "
1296 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341297
Christian Dullweberd0d96f02017-09-13 09:22:511298const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1299const char kTabsInCbdDescription[] =
1300 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1301
Brett Wilsonecb80982017-07-12 20:34:511302const char kTcpFastOpenName[] = "TCP Fast Open";
1303const char kTcpFastOpenDescription[] =
1304 "Enable the option to send extra authentication information in the initial "
1305 "SYN packet for a previously connected client, allowing faster data send "
1306 "start.";
vabr0215a8e2017-03-28 12:47:341307
Brett Wilsonecb80982017-07-12 20:34:511308const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1309const char kTopChromeMdDescription[] =
1310 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
1311const char kTopChromeMdMaterial[] = "Normal";
1312const char kTopChromeMdMaterialHybrid[] = "Touch";
vabr0215a8e2017-03-28 12:47:341313
Brett Wilsonecb80982017-07-12 20:34:511314const char kThreadedScrollingName[] = "Threaded scrolling";
1315const char kThreadedScrollingDescription[] =
1316 "Threaded handling of scroll-related input events. Disabling this will "
1317 "force all such scroll events to be handled on the main thread. Note that "
1318 "this can dramatically hurt scrolling performance of most websites and is "
1319 "intended for testing purposes only.";
1320
Steven Valdez4584b2482017-07-14 01:11:571321const char kTLS13VariantName[] = "TLS 1.3";
1322const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1323const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111324const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez4584b2482017-07-14 01:11:571325const char kTLS13VariantDraft[] = "Enabled (Draft)";
1326const char kTLS13VariantExperiment[] = "Enabled (Experiment)";
Steven Valdezf00f8782017-09-13 18:05:281327const char kTLS13VariantExperiment2[] = "Enabled (Experiment 2)";
1328const char kTLS13VariantExperiment3[] = "Enabled (Experiment 3)";
Steven Valdez4584b2482017-07-14 01:11:571329
Brett Wilsonecb80982017-07-12 20:34:511330const char kTopDocumentIsolationName[] = "Top document isolation";
1331const char kTopDocumentIsolationDescription[] =
1332 "Highly experimental performance mode where cross-site iframes are kept in "
1333 "a separate process from the top document. In this mode, iframes from "
1334 "different third-party sites will be allowed to share a process.";
1335
1336const char kTouchAdjustmentName[] = "Touch adjustment";
1337const char kTouchAdjustmentDescription[] =
1338 "Refine the position of a touch gesture in order to compensate for touches "
1339 "having poor resolution compared to a mouse.";
1340
1341const char kTouchDragDropName[] = "Touch initiated drag and drop";
1342const char kTouchDragDropDescription[] =
1343 "Touch drag and drop can be initiated through long press on a draggable "
1344 "element.";
1345
1346const char kTouchEventsName[] = "Touch Events API";
1347const char kTouchEventsDescription[] =
1348 "Force Touch Events API feature detection to always be enabled or "
1349 "disabled, or to be enabled when a touchscreen is detected on startup "
1350 "(Automatic, the default).";
1351
1352const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1353const char kTouchSelectionStrategyDescription[] =
1354 "Controls how text selection granularity changes when touch text selection "
1355 "handles are dragged. Non-default behavior is experimental.";
1356const char kTouchSelectionStrategyCharacter[] = "Character";
1357const char kTouchSelectionStrategyDirection[] = "Direction";
1358
1359const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1360const char kTraceUploadUrlDescription[] =
1361 "This is to be used in conjunction with the enable-navigation-tracing "
1362 "flag. Please select the label that best describes the recorded traces. "
1363 "This will choose the destination the traces are uploaded to. If you are "
1364 "not sure, select other. If left empty, no traces will be uploaded.";
1365const char kTraceUploadUrlChoiceOther[] = "Other";
1366const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1367const char kTraceUploadUrlChoiceQa[] = "QA";
1368const char kTraceUploadUrlChoiceTesting[] = "Testing";
1369
1370const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
1371const char kTranslate2016q2UiDescription[] =
1372 "Improved triggering logic and look for Translate Bubble UI";
1373
1374const char kTranslateLanguageByUlpName[] = "Translate Language by ULP";
1375const char kTranslateLanguageByUlpDescription[] =
1376 "Improved translate target language and triggering logic by considering "
1377 "information from User Language Profile (ULP).";
1378
Philippe Hamel7fdaa452017-09-29 17:22:491379const char kTranslateRankerEnforcementName[] =
1380 "Enforce TranslateRanker decisions";
1381const char kTranslateRankerEnforcementDescription[] =
1382 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1383 "or not Translate UI should be triggered in a given context.";
1384
Brett Wilsonecb80982017-07-12 20:34:511385const char kTrySupportedChannelLayoutsName[] =
1386 "Causes audio output streams to check if channel layouts other than the "
1387 "default hardware layout are available.";
1388const char kTrySupportedChannelLayoutsDescription[] =
1389 "Causes audio output streams to check if channel layouts other than the "
1390 "default hardware layout are available. Turning this on will allow the OS "
1391 "to do stereo to surround expansion if supported. May expose third party "
1392 "driver bugs, use with caution.";
1393
1394const char kUiPartialSwapName[] = "Partial swap";
1395const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1396
Chris Pickel3a227ae62017-08-24 10:47:261397const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1398const char kUseDdljsonApiDescription[] =
1399 "Enables the new ddljson API to fetch Doodles for the NTP.";
1400
Brett Wilsonecb80982017-07-12 20:34:511401const char kUserConsentForExtensionScriptsName[] =
1402 "User consent for extension scripts";
1403const char kUserConsentForExtensionScriptsDescription[] =
1404 "Require user consent for an extension running a script on the page, if "
1405 "the extension requested permission to run on all urls.";
1406
1407const char kUseSuggestionsEvenIfFewFeatureName[] =
1408 "Disable minimum for server-side tile suggestions on NTP.";
1409const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1410 "Request server-side suggestions even if there are only very few of them "
1411 "and use them for tiles on the New Tab Page.";
1412
1413const char kV8CacheOptionsName[] = "V8 caching mode.";
1414const char kV8CacheOptionsDescription[] =
1415 "Caching mode for the V8 JavaScript engine.";
1416const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1417const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1418
1419const char kV8CacheStrategiesForCacheStorageName[] =
1420 "V8 caching strategy for CacheStorage.";
1421const char kV8CacheStrategiesForCacheStorageDescription[] =
1422 "Caching strategy of scripts in CacheStorage for the V8 JavaScript engine.";
1423const char kV8CacheStrategiesForCacheStorageNormal[] = "Normal";
1424const char kV8CacheStrategiesForCacheStorageAggressive[] = "Aggressive";
1425
Hitoshi Yoshida3e5db562017-09-11 02:31:081426const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1427const char kV8ContextSnapshotDescription[] =
1428 "Sets to use a snapshot to create V8 contexts in frame creation.";
1429
Brett Wilsonecb80982017-07-12 20:34:511430const char kVibrateRequiresUserGestureName[] =
1431 "Requiring user gesture for the Vibration API";
1432const char kVibrateRequiresUserGestureDescription[] =
1433 "Block the Vibration API if no user gesture has been received on the frame "
1434 "or any embedded frame.";
1435
1436const char kVideoFullscreenOrientationLockName[] =
1437 "Lock screen orientation when playing a video fullscreen.";
1438const char kVideoFullscreenOrientationLockDescription[] =
1439 "Lock the screen orientation of the device to match video orientation when "
1440 "a video goes fullscreen. Only on phones.";
1441
1442const char kVideoRotateToFullscreenName[] =
1443 "Rotate-to-fullscreen gesture for videos.";
1444const char kVideoRotateToFullscreenDescription[] =
1445 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1446 "the video. Only on phones.";
1447
1448const char kWalletServiceUseSandboxName[] =
1449 "Use Google Payments sandbox servers";
1450const char kWalletServiceUseSandboxDescription[] =
1451 "For developers: use the sandbox service for Google Payments API calls.";
1452
Brett Wilsonecb80982017-07-12 20:34:511453const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1454const char kWebglDraftExtensionsDescription[] =
1455 "Enabling this option allows web applications to access the WebGL "
1456 "Extensions that are still in draft status.";
1457
1458const char kWebMidiName[] = "Web MIDI API";
1459const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1460
1461const char kWebPaymentsName[] = "Web Payments";
1462const char kWebPaymentsDescription[] =
1463 "Enable Web Payments API integration, a JavaScript API for merchants.";
1464
Mathieu Perreault51339b82017-07-20 17:06:051465const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1466const char kWebPaymentsModifiersDescription[] =
1467 "If the website provides modifiers in the payment request, show the custom "
1468 "total for each payment instrument, update the shopping cart when "
1469 "instruments are switched, and send modified payment method specific data "
1470 "to the payment app.";
1471
Brett Wilsonecb80982017-07-12 20:34:511472const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1473const char kWebrtcEchoCanceller3Description[] =
1474 "Experimental WebRTC echo canceller (AEC3).";
1475
1476const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1477const char kWebrtcHwDecodingDescription[] =
1478 "Support in WebRTC for decoding video streams using platform hardware.";
1479
1480const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1481const char kWebrtcHwEncodingDescription[] =
1482 "Support in WebRTC for encoding video streams using platform hardware.";
1483
1484const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1485const char kWebrtcHwH264EncodingDescription[] =
1486 "Support in WebRTC for encoding h264 video streams using platform "
1487 "hardware.";
1488
1489const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1490const char kWebrtcHwVP8EncodingDescription[] =
1491 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1492
1493const char kWebrtcSrtpAesGcmName[] =
1494 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1495const char kWebrtcSrtpAesGcmDescription[] =
1496 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1497
Joachim Bauch4a41d7512017-08-23 14:24:231498const char kWebrtcSrtpEncryptedHeadersName[] =
1499 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1500const char kWebrtcSrtpEncryptedHeadersDescription[] =
1501 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1502 "for SRTP.";
1503
Brett Wilsonecb80982017-07-12 20:34:511504const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1505const char kWebrtcStunOriginDescription[] =
1506 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1507 "header.";
1508
1509const char kWebvrName[] = "WebVR";
1510const char kWebvrDescription[] =
1511 "Enabling this option allows web applications to access experimental "
Michael Thiessenab056202017-10-05 16:50:121512 "Virtual Reality APIs. Warning: Enabling this will also allow WebVR "
1513 "content on insecure origins to access these powerful APIs, and may pose a "
1514 "security risk.";
Brett Wilsonecb80982017-07-12 20:34:511515
1516const char kWifiCredentialSyncName[] = "WiFi credential sync";
1517const char kWifiCredentialSyncDescription[] =
1518 "Enables synchronizing WiFi network settings across devices. When enabled, "
1519 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1520 "credentials are synchronized subject to user preferences. (See also, "
1521 "chrome://settings/syncSetup.)";
1522
1523const char kZeroCopyName[] = "Zero-copy rasterizer";
1524const char kZeroCopyDescription[] =
1525 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341526
Brett Wilsonff596952017-07-14 01:06:551527// Android ---------------------------------------------------------------------
1528
1529#if defined(OS_ANDROID)
1530
1531const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1532const char kAiaFetchingDescription[] =
1533 "Enable intermediate certificate fetching when a server does not provide "
1534 "sufficient certificates to build a chain to a trusted root.";
1535
1536const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1537const char kAccessibilityTabSwitcherDescription[] =
1538 "Enable the accessibility tab switcher for Android.";
1539
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251540const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1541const char kAllowReaderForAccessibilityDescription[] =
1542 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1543
Brett Wilsonff596952017-07-14 01:06:551544const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1545const char kAndroidAutofillAccessibilityDescription[] =
1546 "Enable accessibility for autofill popup.";
1547
1548const char kAndroidPaymentAppsName[] = "Android payment apps";
1549const char kAndroidPaymentAppsDescription[] =
1550 "Enable third party Android apps to integrate as payment apps";
1551
Iulia Harasim0b5a4312017-07-21 16:20:501552const char kAndroidSigninPromosName[] = "Signin promos for Android.";
1553const char kAndroidSigninPromosDescription[] =
1554 "New signin promos for Android which will be displayed in content "
1555 "suggestions, Settings, Bookmarks and Recent Tabs.";
1556
Tatiana Gornak38ab3562017-07-28 11:04:181557const char kAndroidViewPasswordsName[] = "Copy and view passwords for Android";
1558const char kAndroidViewPasswordsDescription[] =
1559 "Enables copying and viewing passwords in settings.";
1560
Miriam Gershenson23cfe346e2017-09-28 14:49:291561const char kAsyncDnsName[] = "Async DNS resolver";
1562const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1563
Brett Wilsonff596952017-07-14 01:06:551564const char kAutofillAccessoryViewName[] =
1565 "Autofill suggestions as keyboard accessory view";
1566const char kAutofillAccessoryViewDescription[] =
1567 "Shows Autofill suggestions on top of the keyboard rather than in a "
1568 "dropdown.";
1569
1570const char kBackgroundLoaderForDownloadsName[] =
1571 "Enables background downloading of pages.";
1572const char kBackgroundLoaderForDownloadsDescription[] =
1573 "Enables downloading pages in the background in case page is not yet "
1574 "loaded in current tab.";
1575
Theresa Wellington37014d92017-08-23 02:09:201576const char kChromeHomeDoodleName[] = "Chrome Home Doodle.";
1577const char kChromeHomeDoodleDescription[] =
1578 "Enables showing the Doodle on the NTP for Chrome Home.";
1579
Theresa Wellington82d6f6ef2017-10-12 02:39:131580const char kChromeHomeOptOutSnackbarName[] = "Chrome Home Opt-out Snackbar";
1581const char kChromeHomeOptOutSnackbarDescription[] =
1582 "Show a snackbar prompting users to take a survey the first time they"
1583 " opt-out of Chrome Home";
1584
Theresa Wellingtondd71c5c2017-10-02 15:50:381585const char kChromeHomePersonalizedOmniboxSuggestionsName[] =
1586 "Chrome Home Personalized Omnibox Suggestions";
1587const char kChromeHomePersonalizedOmniboxSuggestionsDescription[] =
1588 "Enable personalized omnibox suggestions on focus for Chrome Home.";
1589
Matthew Jones4214d2a12017-09-28 18:35:111590const char kChromeHomePromoName[] = "Chrome Home Promo";
1591const char kChromeHomePromoDescription[] =
Matthew Jonesdcdf51b2017-10-12 20:02:331592 "Enable showing the opt-in/out Chrome Home promo.";
Matthew Jones4214d2a12017-09-28 18:35:111593
Brett Wilsonff596952017-07-14 01:06:551594const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1595const char kChromeHomeSwipeLogicDescription[] =
1596 "Various swipe logic options for Chrome Home for sheet expansion.";
1597const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Brett Wilsonff596952017-07-14 01:06:551598
1599const char kChromeHomeName[] = "Chrome Home";
1600const char kChromeHomeDescription[] =
1601 "Enables Chrome Home on Android. You must restart the browser"
1602 " twice for changes to take effect.";
1603
Megan Jablonskic61eb1b82017-10-02 18:03:061604const char kChromeMemexName[] = "Chrome Memex";
1605const char kChromeMemexDescription[] =
1606 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1607 "Googlers.";
1608
Brett Wilsonff596952017-07-14 01:06:551609const char kContentSuggestionsCategoryOrderName[] =
1610 "Default content suggestions category order (e.g. on NTP)";
1611const char kContentSuggestionsCategoryOrderDescription[] =
1612 "Set default order of content suggestion categories (e.g. on the NTP).";
1613
1614const char kContentSuggestionsCategoryRankerName[] =
1615 "Content suggestions category ranker (e.g. on NTP)";
1616const char kContentSuggestionsCategoryRankerDescription[] =
1617 "Set category ranker to order categories of content suggestions (e.g. on "
1618 "the NTP).";
1619
Vitalii Iarkof52ff802017-09-14 12:34:241620const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1621const char kContentSuggestionsDebugLogDescription[] =
1622 "Enable content suggestions debug log accessible through "
1623 "snippets-internals.";
1624
Brett Wilsonff596952017-07-14 01:06:551625const char kContextualSearchContextualCardsBarIntegration[] =
1626 "Contextual Search - Contextual Cards Integration";
1627const char kContextualSearchContextualCardsBarIntegrationDescription[] =
1628 "Whether or not integration of Contextual Cards data in the Contextual "
1629 "Search Bar is enabled.";
1630
1631const char kContextualSearchSingleActionsName[] =
1632 "Contextual Search - Single Actions";
1633const char kContextualSearchSingleActionsDescription[] =
1634 "Whether or not single actions using Contextual Cards data in the "
1635 "Contextual Search Bar is enabled.";
1636
1637const char kContextualSearchUrlActionsName[] =
1638 "Contextual Search - URL Actions";
1639const char kContextualSearchUrlActionsDescription[] =
1640 "Whether or not URL actions using Contextual Cards data in the Contextual "
1641 "Search Bar is enabled.";
1642
1643const char kContextualSearchName[] = "Contextual Search";
1644const char kContextualSearchDescription[] =
1645 "Whether or not Contextual Search is enabled.";
1646
Dmitry Skiba9c3efa72017-07-20 22:01:141647const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1648const char kDontPrefetchLibrariesDescription[] =
1649 "Don't prefetch libraries after loading.";
1650
Joy Ming5fd29ca62017-10-02 22:51:221651const char kDownloadsForegroundName[] = "Enable downloads foreground";
1652const char kDownloadsForegroundDescription[] =
1653 "Enable downloads as a foreground service for all versions of Android.";
1654
Brett Wilsonff596952017-07-14 01:06:551655const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1656const char kEnableAndroidPayIntegrationV1Description[] =
1657 "Enable integration with Android Pay using the first version of the API";
1658
1659const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1660const char kEnableAndroidPayIntegrationV2Description[] =
1661 "Enable integration with Android Pay using the second version of the API";
1662
Vitalii Iarkof4ed32d2017-09-26 13:15:531663const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:551664const char kEnableAndroidSpellcheckerDescription[] =
1665 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:551666
1667const char kEnableContentSuggestionsLargeThumbnailName[] =
1668 "Large thumbnails layout for content suggestions cards.";
1669const char kEnableContentSuggestionsLargeThumbnailDescription[] =
1670 "If enabled, the content suggestions cards will use large thumbnails and "
1671 "some related adjustments.";
1672
Vitalii Iarkof4ed32d2017-09-26 13:15:531673const char kEnableContentSuggestionsNewFaviconServerName[] =
1674 "Get favicons for content suggestions from a new server.";
1675const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1676 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1677 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:551678
1679const char kEnableContentSuggestionsSettingsName[] =
1680 "Show content suggestions settings.";
1681const char kEnableContentSuggestionsSettingsDescription[] =
1682 "If enabled, the content suggestions settings will be available from the "
1683 "main settings menu.";
1684
Vitalii Iarkof4ed32d2017-09-26 13:15:531685const char kEnableContentSuggestionsThumbnailDominantColorName[] =
1686 "Use content suggestions thumbnail dominant color.";
1687const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
1688 "Use content suggestions thumbnail dominant color as a placeholder before "
1689 "the real thumbnail is fetched (requires Chrome Home).";
1690
Brett Wilsonff596952017-07-14 01:06:551691const char kEnableCopylessPasteName[] = "App Indexing (Copyless Paste)";
1692const char kEnableCopylessPasteDescription[] =
1693 "Provide suggestions for text input, based on your recent context. For "
1694 "example, if you looked at a restaurant website and switched to the Maps "
1695 "app, the keyboard would offer the name of that restaurant as a suggestion "
1696 "to enter into the search bar. The data is indexed locally, and never sent "
1697 "to the server. It's disabled in incognito mode.";
1698
1699const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1700const char kEnableCustomContextMenuDescription[] =
1701 "Enables a new context menu when a link, image, or video is pressed within "
1702 "Chrome.";
1703
1704const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1705const char kEnableCustomFeedbackUiDescription[] =
1706 "Enables a custom feedback UI when submitting feedback through Google "
1707 "Feedback. Works with Google Play Services v10.2+";
1708
1709const char kEnableDataReductionProxyMainMenuName[] =
1710 "Enable Data Saver main menu footer";
1711const char kEnableDataReductionProxyMainMenuDescription[] =
1712 "Enables the Data Saver footer in the main menu";
1713
1714const char kEnableDataReductionProxySiteBreakdownName[] =
1715 "Data Saver Site Breakdown";
1716const char kEnableDataReductionProxySiteBreakdownDescription[] =
1717 "Enable the site breakdown on the Data Saver settings page.";
1718
1719const char kEnableOmniboxClipboardProviderName[] =
1720 "Omnibox clipboard URL suggestions";
1721const char kEnableOmniboxClipboardProviderDescription[] =
1722 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1723 "focus in the omnibox.";
1724
1725const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1726 "Use expanded autofill credit card popup layout.";
1727const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1728 "If enabled, displays autofill credit card popup using expanded layout.";
1729
1730const char kEnableFaviconsFromWebManifestName[] =
1731 "Load favicons from Web Manifests";
1732const char kEnableFaviconsFromWebManifestDescription[] =
1733 "Fetch Web Manifests on page load to read favicons from them.";
1734
1735const char kEnableNtpAssetDownloadSuggestionsName[] =
1736 "Show asset downloads on the New Tab page";
1737const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1738 "If enabled, the list of content suggestions on the New Tab page will "
1739 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1740 "later use.";
1741
1742const char kEnableNtpBookmarkSuggestionsName[] =
1743 "Show recently visited bookmarks on the New Tab page";
1744const char kEnableNtpBookmarkSuggestionsDescription[] =
1745 "If enabled, the list of content suggestions on the New Tab page will "
1746 "contain recently visited bookmarks.";
1747
1748const char kEnableNtpForeignSessionsSuggestionsName[] =
1749 "Show recent foreign tabs on the New Tab page";
1750const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1751 "If enabled, the list of content suggestions on the New Tab page will "
1752 "contain recent foreign tabs.";
1753
1754const char kEnableNtpMostLikelyFaviconsFromServerName[] =
1755 "Download favicons for NTP tiles from Google.";
1756const char kEnableNtpMostLikelyFaviconsFromServerDescription[] =
1757 "If enabled, missing favicons for NTP tiles get downloaded from Google. "
1758 "This only applies to tiles that originate from synced history.";
1759
Jan Krcal7fadbd32017-08-04 10:49:211760const char kNtpTilesLowerResolutionFaviconsName[] =
1761 "Show also lower resolution favicons in NTP tiles.";
1762const char kNtpTilesLowerResolutionFaviconsDescription[] =
1763 "If enabled, the size limit for a favicon to get displayed in an NTP tile "
1764 "decreases. Tiles where the largest available favicon is below this limit "
1765 "get displayed as colored tiles.";
1766
Brett Wilsonff596952017-07-14 01:06:551767const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1768 "Show offline page downloads on the New Tab page";
1769const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1770 "If enabled, the list of content suggestions on the New Tab page will "
1771 "contain pages that the user downloaded for later use.";
1772
1773const char kEnableNtpRemoteSuggestionsName[] =
1774 "Show server-side suggestions on the New Tab page";
1775const char kEnableNtpRemoteSuggestionsDescription[] =
1776 "If enabled, the list of content suggestions on the New Tab page will "
1777 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
1778 "allows to override the source used to retrieve these server-side "
1779 "suggestions.";
1780
1781const char kEnableNtpSnippetsVisibilityName[] =
1782 "Make New Tab Page Snippets more visible.";
1783const char kEnableNtpSnippetsVisibilityDescription[] =
1784 "If enabled, the NTP snippets will become more discoverable with a larger "
1785 "portion of the first card above the fold.";
1786
1787const char kEnableNtpSuggestionsNotificationsName[] =
1788 "Notify about new content suggestions available at the New Tab page";
1789const char kEnableNtpSuggestionsNotificationsDescription[] =
1790 "If enabled, notifications will inform about new content suggestions on "
1791 "the New Tab page.";
1792
1793const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
1794const char kEnablePhysicalWebDescription[] =
1795 "Enable scanning for URLs from Physical Web objects.";
1796
1797const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1798const char kEnableOfflinePreviewsDescription[] =
1799 "Enable showing offline page previews on slow networks.";
1800
1801const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
1802const char kEnableOskOverscrollDescription[] =
1803 "Enable OSK overscroll support. With this flag on, the OSK will only "
1804 "resize the visual viewport.";
1805
1806const char kEnableSpecialLocaleName[] =
1807 "Enable custom logic for special locales.";
1808const char kEnableSpecialLocaleDescription[] =
1809 "Enable custom logic for special locales. In this mode, Chrome might "
1810 "behave differently in some locales.";
1811
Brett Wilsonff596952017-07-14 01:06:551812const char kEnableWebNfcName[] = "WebNFC";
1813const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
1814
gogeraldf3cbb422017-07-26 14:37:121815const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
1816 "Enable Web Payments method section order V2.";
1817const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
1818 "Enable this option to display payment method section above address "
1819 "section instead of below it.";
1820
Brett Wilsonff596952017-07-14 01:06:551821const char kEnableWebPaymentsSingleAppUiSkipName[] =
1822 "Enable Web Payments single app UI skip";
1823const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
1824 "Enable Web Payments to skip showing its UI if the developer specifies a "
1825 "single app.";
1826
1827const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
1828const char kHerbPrototypeChoicesDescription[] =
1829 "Switching this option changes which tab management prototype is being "
1830 "tested.";
1831const char kHerbPrototypeFlavorElderberry[] =
1832 "ELDERBERRY: All View Intents in CCT v2";
1833
1834const char kKeepPrefetchedContentSuggestionsName[] =
1835 "Keep prefetched content suggestions";
1836const char kKeepPrefetchedContentSuggestionsDescription[] =
1837 "If enabled, some of prefetched content suggestions are not replaced by "
1838 "the new fetched suggestions.";
1839
1840const char kLsdPermissionPromptName[] =
1841 "Location Settings Dialog Permission Prompt";
1842const char kLsdPermissionPromptDescription[] =
1843 "Whether to use the Google Play Services Location Settings Dialog "
1844 "permission dialog.";
1845
Brett Wilsonff596952017-07-14 01:06:551846const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
1847const char kMediaScreenCaptureDescription[] =
1848 "Enable this option for experimental ScreenCapture feature on Android.";
1849
1850const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
1851const char kModalPermissionPromptsDescription[] =
1852 "Whether to use permission dialogs in place of permission infobars.";
1853
Brett Wilsonff596952017-07-14 01:06:551854const char kNewPhotoPickerName[] = "Enable new Photopicker";
1855const char kNewPhotoPickerDescription[] =
1856 "Activates the new picker for selecting photos.";
1857
1858const char kNoCreditCardAbort[] = "No Credit Card Abort";
1859const char kNoCreditCardAbortDescription[] =
1860 "Whether or not the No Credit Card Abort is enabled.";
1861
1862const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
1863const char kNtpCondensedLayoutDescription[] =
1864 "Show a condensed layout on the New Tab Page.";
1865
1866const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
1867const char kNtpCondensedTileLayoutDescription[] =
1868 "Show a condensed tile layout on the New Tab Page.";
1869
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:041870const char kSiteExplorationUiName[] = "Site Exploration UI";
1871const char kSiteExplorationUiDescription[] =
1872 "Show site suggestions in the Exploration UI";
1873
Brett Wilsonff596952017-07-14 01:06:551874const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
1875const char kNtpGoogleGInOmniboxDescription[] =
1876 "Show a Google G in the omnibox on the New Tab Page.";
1877
1878const char kNtpOfflinePagesName[] = "Enable NTP offline pages";
1879const char kNtpOfflinePagesDescription[] =
1880 "Enables badging of offline pages on the New Tab page. Only relevant if "
1881 "offline pages are enabled.";
1882
1883const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
1884const char kNtpPopularSitesDescription[] =
1885 "Pre-populate the New Tab page with popular sites.";
1886
Brett Wilsonff596952017-07-14 01:06:551887const char kOfflineBookmarksName[] = "Enable offline bookmarks";
1888const char kOfflineBookmarksDescription[] =
1889 "Enable saving bookmarked pages for offline viewing.";
1890
1891const char kOfflinePagesAsyncDownloadName[] =
1892 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages.)*";
1893const char kOfflinePagesAsyncDownloadDescription[] =
1894 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages such )*"
1895 R"*(that the user can click on it to download the page later.)*";
1896
1897const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
1898const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
1899
1900const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
1901const char kOfflinePagesCtV2Description[] =
1902 "V2 features include attributing pages to the app that initiated the "
1903 "custom tabs, and being able to query for pages by page attribution.";
1904
1905const char kOfflinePagesLoadSignalCollectingName[] =
1906 "Enables collecting load timing data for offline page snapshots.";
1907const char kOfflinePagesLoadSignalCollectingDescription[] =
1908 "Enables loading completeness data collection while writing an offline "
1909 "page. This data is collected in the snapshotted offline page to allow "
1910 "data analysis to improve deciding when to make the offline snapshot.";
1911
1912const char kOfflinePagesPrefetchingName[] =
1913 "Enables suggested offline pages to be prefetched.";
1914const char kOfflinePagesPrefetchingDescription[] =
1915 "Enables suggested offline pages to be prefetched, so useful content is "
1916 "available while offline.";
1917
Cathy Li3d5379e2017-09-07 00:11:091918const char kOfflinePagesPrefetchingUIName[] =
1919 "Enables prefetched offline pages to be shown in UI.";
1920const char kOfflinePagesPrefetchingUIDescription[] =
1921 "Enables prefetched offline pages to raise notifications and be shown in "
1922 "download home UI.";
1923
Pete Williamson7845dff2017-09-20 11:06:191924const char kOfflinePagesResourceBasedSnapshotName[] =
1925 "Enables offline page snapshots to be based on percentage of page loaded.";
1926const char kOfflinePagesResourceBasedSnapshotDescription[] =
1927 "Enables offline page snapshots to use a resource percentage based "
1928 "approach for determining when the page is loaded as opposed to a time "
1929 "based approach";
1930
Collin Baker17f92a52017-07-19 21:41:251931const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
1932const char kOfflinePagesRenovationsDescription[] =
1933 "Enables offline page renovations which correct issues with dynamic "
1934 "content that occur when offlining pages that use JavaScript.";
1935
Brett Wilsonff596952017-07-14 01:06:551936const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
1937const char kOfflinePagesSharingDescription[] =
1938 "Enables the saved offline pages to be shared via other applications.";
1939
1940const char kOfflinePagesSvelteConcurrentLoadingName[] =
1941 "Enables concurrent background loading on svelte.";
1942const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
1943 "Enables concurrent background loading (or downloading) of pages on "
1944 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
1945 "happen when the svelte device is idle.";
1946
1947const char kOffliningRecentPagesName[] =
1948 "Enable offlining of recently visited pages";
1949const char kOffliningRecentPagesDescription[] =
1950 "Enable storing recently visited pages locally for offline use. Requires "
1951 "Offline Pages to be enabled.";
1952
1953extern const char kPayWithGoogleV1Name[] = "Pay with Google v1";
1954extern const char kPayWithGoogleV1Description[] =
1955 "Enable Pay with Google integration into Web Payments with API version "
1956 "'1'.";
1957
Matthew Jones7c37430cd2017-09-11 15:59:281958const char kProgressBarThrottleName[] = "Android progress update throttling.";
1959const char kProgressBarThrottleDescription[] =
1960 "Limit the maximum progress update to make progress appear smoother.";
1961
Brett Wilsonff596952017-07-14 01:06:551962const char kProgressBarCompletionName[] =
1963 "Android phone page load progress bar completion time.";
1964const char kProgressBarCompletionDescription[] =
1965 "Configures Android phone page loading progress bar completion time.";
1966const char kProgressBarCompletionLoadEvent[] =
1967 R"*(Top loading frame's onload event ("everything" is done in the )*"
1968 R"*(page, historical behavior).)*";
1969const char kProgressBarCompletionResourcesBeforeDcl[] =
1970 "Main frame's domContentLoaded and all resources loads started before "
1971 "domContentLoaded (iframes ignored).";
1972const char kProgressBarCompletionDomContentLoaded[] =
1973 "Main frame's domContentLoaded (iframes ignored).";
1974const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
1975 "domContentLoaded and all resources loads started before domContentLoaded "
1976 "(main frame and same origin iframes).";
1977
1978const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
1979const char kPullToRefreshEffectDescription[] =
1980 "Page reloads triggered by vertically overscrolling content.";
1981
Piotr Swigon7c296ef2017-08-29 04:32:001982const char kPwaImprovedSplashScreenName[] =
1983 "Improved Splash Screen for standalone PWAs";
1984const char kPwaImprovedSplashScreenDescription[] =
1985 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
1986 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:491987const char kPwaPersistentNotificationName[] =
1988 "Persistent notification in standalone PWA";
1989const char kPwaPersistentNotificationDescription[] =
1990 "Enables a persistent Android notification for standalone PWAs";
1991
Brett Wilsonff596952017-07-14 01:06:551992const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
1993const char kReaderModeHeuristicsDescription[] =
1994 "Determines what pages the Reader Mode infobar is shown on.";
1995const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
1996const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
1997const char kReaderModeHeuristicsAllArticles[] = "All articles";
1998const char kReaderModeHeuristicsAlwaysOff[] = "Never";
1999const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2000
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182001const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2002const char kReaderModeInCCTDescription[] =
2003 "Open Reader Mode in Chrome Custom Tabs.";
2004
Brett Wilsonff596952017-07-14 01:06:552005const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2006const char kSetMarketUrlForTestingDescription[] =
2007 "When enabled, sets the market URL for use in testing the update menu "
2008 "item.";
2009
2010const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2011const char kSpannableInlineAutocompleteDescription[] =
2012 "A new type of inline autocomplete for the omnibox that works with "
2013 "keyboards that compose text.";
2014
Brett Wilsonff596952017-07-14 01:06:552015const char kTranslateCompactUIName[] = "New Translate Infobar";
2016const char kTranslateCompactUIDescription[] =
2017 "Enable the new Translate compact infobar UI.";
2018
2019const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2020const char kUpdateMenuBadgeDescription[] =
2021 "When enabled, an update badge will be shown on the app menu button.";
2022
2023const char kUpdateMenuItemCustomSummaryDescription[] =
2024 "When this flag and the force show update menu item flag are enabled, a "
2025 "custom summary string will be displayed below the update menu item.";
2026const char kUpdateMenuItemCustomSummaryName[] =
2027 "Update menu item custom summary";
2028
2029const char kUpdateMenuItemName[] = "Force show update menu item";
2030const char kUpdateMenuItemDescription[] =
2031 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2032 R"*(menu.)*";
2033
2034const char kUseAndroidMidiApiName[] = "Use Android Midi API";
2035const char kUseAndroidMidiApiDescription[] =
2036 "Use Android Midi API for WebMIDI (effective only with Android M+ "
2037 "devices).";
2038
Marc Treib93af46a2017-08-23 13:30:002039const char kThirdPartyDoodlesName[] =
2040 "Enable Doodles for third-party search engines";
2041const char kThirdPartyDoodlesDescription[] =
2042 "Enables fetching and displaying Doodles on the NTP for third-party search "
2043 "engines.";
2044
Brett Wilsonff596952017-07-14 01:06:552045const char kXGEOVisibleNetworksName[] = "Enable XGEO Visible Networks";
2046const char kXGEOVisibleNetworksDescription[] =
2047 "If location permissions are granted, include visible networks in the XGEO "
2048 "Header for omnibox queries. This will only happen if location is not "
2049 "fresh or not available (for example, due to a cold start).";
2050
Brett Wilson7b44537e2017-08-18 01:38:282051// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552052
Brett Wilson7b44537e2017-08-18 01:38:282053#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482054
Brett Wilson7b44537e2017-08-18 01:38:282055const char kAccountConsistencyName[] =
2056 "Identity consistency between browser and cookie jar";
2057const char kAccountConsistencyDescription[] =
2058 "When enabled, the browser manages signing in and out of Google accounts.";
2059const char kAccountConsistencyChoiceMirror[] = "Mirror";
2060const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342061
Chris Pickel3a227ae62017-08-24 10:47:262062const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2063const char kDoodlesOnLocalNtpDescription[] =
2064 "Show doodles on the local New Tab page if Google is the default search "
2065 "engine.";
2066
mlamouriff56c092017-05-11 15:31:392067const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392068const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342069 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392070const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392071const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392072const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342073 "Enabled (Flash lowers volume when interrupted by other sound, "
2074 "experimental)";
2075
Brett Wilson7b44537e2017-08-18 01:38:282076const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2077const char kEnableNewAppMenuIconDescription[] =
2078 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342079
2080const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342081const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282082 "Enable receiving entity suggestions - disambiguation descriptions - for "
2083 "Omnibox suggestions.";
2084
2085const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2086const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192087 "Enable receiving tail suggestions, a type of search suggestion based on "
2088 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342089
Brett Wilson7b44537e2017-08-18 01:38:282090const char kOneGoogleBarOnLocalNtpName[] =
2091 "Enable the OneGoogleBar on the local NTP";
2092const char kOneGoogleBarOnLocalNtpDescription[] =
2093 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2094 "search engine.";
2095
ojan38c678352017-04-11 20:27:552096const char kPauseBackgroundTabsName[] = "Pause background tabs";
2097const char kPauseBackgroundTabsDescription[] =
2098 "Pause timers in background tabs after 5 minutes on desktop.";
2099
Brett Wilson7b44537e2017-08-18 01:38:282100const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2101const char kUseGoogleLocalNtpDescription[] =
2102 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322103
Brett Wilson7b44537e2017-08-18 01:38:282104const char kVoiceSearchOnLocalNtpName[] =
2105 "Enable Voice Search on the local NTP";
2106const char kVoiceSearchOnLocalNtpDescription[] =
2107 "Show a microphone for voice search on the local New Tab page "
2108 "if Google is the default search engine.";
2109
2110#if defined(GOOGLE_CHROME_BUILD)
2111
2112const char kGoogleBrandedContextMenuName[] =
2113 "Google branding in the context menu";
2114const char kGoogleBrandedContextMenuDescription[] =
2115 "Shows a Google icon next to context menu items powered by Google "
2116 "services.";
2117
2118#endif // !defined(GOOGLE_CHROME_BUILD)
2119
2120#endif // !defined(OS_ANDROID)
2121
2122// Windows ---------------------------------------------------------------------
2123
2124#if defined(OS_WIN)
2125
2126const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2127const char kCloudPrintXpsDescription[] =
2128 "XPS enables advanced options for classic printers connected to the Cloud "
2129 "Print with Chrome. Printers must be re-connected after changing this "
2130 "flag.";
2131
Dave Tapuskadd43469d2017-08-22 22:15:532132const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2133const char kDirectManipulationStylusDescription[] =
2134 "If enabled, Chrome will scroll web pages on stylus drag.";
2135
Brett Wilson7b44537e2017-08-18 01:38:282136const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2137const char kDisablePostscriptPrintingDescription[] =
2138 "Disables PostScript generation when printing to PostScript capable "
2139 "printers, and uses EMF generation in its place.";
2140
2141const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2142const char kEnableAppcontainerDescription[] =
2143 "Enables the use of an AppContainer on sandboxed processes to improve "
2144 "security.";
2145
2146const char kEnableD3DVsync[] = "D3D v-sync";
2147const char kEnableD3DVsyncDescription[] =
2148 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2149 "to occur.";
2150
2151const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2152const char kEnableDesktopIosPromotionsDescription[] =
2153 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2154 "eligible.";
2155
2156const char kGdiTextPrinting[] = "GDI Text Printing";
2157const char kGdiTextPrintingDescription[] =
2158 "Use GDI to print text as simply text";
2159
2160const char kMergeKeyCharEventsName[] =
2161 "Enable or disable merging merging the key event (WM_KEY*) with char event "
2162 "(WM_CHAR).";
2163const char kMergeKeyCharEventsDescription[] =
2164 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separately.";
2165
2166const char kTraceExportEventsToEtwName[] =
2167 "Enable exporting of tracing events to ETW.";
2168const char kTraceExportEventsToEtwDesription[] =
2169 "If enabled, trace events will be exported to the Event Tracing for "
2170 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2171 "Xperf.";
2172
2173const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2174const char kUseWinrtMidiApiDescription[] =
2175 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2176 "later).";
2177
2178const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2179const char kWindows10CustomTitlebarDescription[] =
2180 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2181 "deferring to Windows.";
2182
Wez6656c572017-08-29 22:29:582183#if DCHECK_IS_ON() && defined(SYZYASAN)
2184extern const char kSyzyAsanDcheckIsFatalName[] = "DCHECKs are fatal";
2185extern const char kSyzyAsanDcheckIsFatalDescription[] =
2186 "By default Chrome will evaluate DCHECKs in SyzyASAN builds, but only log "
2187 "failed DCHECKs. If enabled, DCHECKs will crash the calling process.";
2188#endif // DCHECK_IS_ON() && defined(SYZYASAN)
2189
Brett Wilson7b44537e2017-08-18 01:38:282190#endif // defined(OS_WIN)
2191
2192// Mac -------------------------------------------------------------------------
2193
2194#if defined(OS_MACOSX)
2195
2196const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2197const char kAppInfoDialogDescription[] =
2198 "Makes the Toolkit-Views based App Info dialog accessible from "
2199 "chrome://apps or chrome://extensions in place of the native extension "
2200 "permissions dialog, or the details link (which is a link to the Web "
2201 "Store).";
2202
2203const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2204const char kAppWindowCyclingDescription[] =
2205 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2206 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2207 "browser window, and browser windows will not be cycled when a Chrome App "
2208 "is active.";
2209
2210extern const char kCreditCardAutofillTouchBarName[] =
2211 "Credit Card Autofill Touch Bar";
2212extern const char kCreditCardAutofillTouchBarDescription[] =
2213 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2214
2215const char kFullscreenToolbarRevealName[] =
2216 "Enables the toolbar in fullscreen to reveal itself.";
2217const char kFullscreenToolbarRevealDescription[] =
2218 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2219 "has changed.";
2220
2221const char kContentFullscreenName[] = "Improved Content Fullscreen";
2222const char kContentFullscreenDescription[] =
2223 "Fullscreen content window detaches from main browser window and goes to "
2224 "a new space without moving or changing the original browser window.";
2225
2226extern const char kDialogTouchBarName[] = "Dialog Touch Bar";
2227extern const char kDialogTouchBarDescription[] =
2228 "Shows Dialog buttons on the Touch Bar.";
2229
2230const char kHostedAppsInWindowsName[] =
2231 "Allow hosted apps to be opened in windows";
2232const char kHostedAppsInWindowsDescription[] =
2233 "Allows hosted apps to be opened in windows instead of being limited to "
2234 "tabs.";
2235
2236extern const char kMacRTLName[] = "Enable RTL";
2237extern const char kMacRTLDescription[] =
2238 "Mirrors the UI for RTL language users";
2239
Leonard Grey2bdd08f2017-10-03 18:40:522240extern const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2241extern const char kMacSystemShareMenuDescription[] =
2242 "Enables sharing via macOS share extensions.";
2243
Brett Wilson7b44537e2017-08-18 01:38:282244extern const char kMacTouchBarName[] = "Hardware Touch Bar";
2245extern const char kMacTouchBarDescription[] =
2246 "Control the use of the Touch Bar.";
2247
2248const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2249const char kMacV2SandboxDescription[] =
2250 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2251 "entire life cycle.";
2252
2253const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2254const char kMacViewsNativeAppWindowsDescription[] =
2255 "Controls whether to use Toolkit-Views based Chrome App windows.";
2256
2257const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2258const char kMacViewsTaskManagerDescription[] =
2259 "Controls whether to use the Toolkit-Views based Task Manager.";
2260
2261const char kTabDetachingInFullscreenName[] =
2262 "Allow tab detaching in fullscreen";
2263const char kTabDetachingInFullscreenDescription[] =
2264 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2265
2266const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2267const char kTabStripKeyboardFocusDescription[] =
2268 "Enable keyboard focus for the tabs in the tab strip.";
2269
2270const char kTranslateNewUxName[] = "New Translate UX";
2271const char kTranslateNewUxDescription[] =
2272 "Enable the new Translate bubble UX is offered instead of the infobar.";
2273
2274// Non-Mac ---------------------------------------------------------------------
2275
2276#else // !defined(OS_MACOSX)
2277
2278const char kPermissionPromptPersistenceToggleName[] =
2279 "Persistence Toggle in Permission Prompts";
2280const char kPermissionPromptPersistenceToggleDescription[] =
2281 "Whether to display a persistence toggle in permission prompts.";
2282
2283#endif
2284
2285// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342286
2287#if defined(OS_CHROMEOS)
2288
Brett Wilson7b44537e2017-08-18 01:38:282289const char kAcceleratedMjpegDecodeName[] =
2290 "Hardware-accelerated mjpeg decode for captured frame";
2291const char kAcceleratedMjpegDecodeDescription[] =
2292 "Enable hardware-accelerated mjpeg decode for captured frame where "
2293 "available.";
vabr0215a8e2017-03-28 12:47:342294
Brett Wilson7b44537e2017-08-18 01:38:282295const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2296const char kAllowTouchpadThreeFingerClickDescription[] =
2297 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342298
Brett Wilson7b44537e2017-08-18 01:38:282299const char kArcBootCompleted[] = "Load Android apps automatically";
2300const char kArcBootCompletedDescription[] =
2301 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342302
Lev Rumyantsev7a8544312017-08-18 19:26:512303const char kArcNativeBridgeExperimentName[] =
2304 "Enable native bridge experiment for ARC";
2305const char kArcNativeBridgeExperimentDescription[] =
2306 "Enables experimental native bridge feature.";
2307
Brett Wilson7b44537e2017-08-18 01:38:282308const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2309const char kAshEnableUnifiedDesktopDescription[] =
2310 "Enable unified desktop mode which allows a window to span multiple "
2311 "displays.";
vabr0215a8e2017-03-28 12:47:342312
Brett Wilson7b44537e2017-08-18 01:38:282313const char kBootAnimationName[] = "Boot animation";
2314const char kBootAnimationDescription[] =
2315 "Wallpaper boot animation (except for OOBE case).";
vabr0215a8e2017-03-28 12:47:342316
Sean Kau5e956192017-10-06 22:25:172317const char kBulkPrintersName[] = "Bulk Printers Policy";
2318const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2319
Brett Wilson7b44537e2017-08-18 01:38:282320const char kCaptivePortalBypassProxyName[] =
2321 "Bypass proxy for Captive Portal Authorization";
2322const char kCaptivePortalBypassProxyDescription[] =
2323 "If proxy is configured, it usually prevents from authorization on "
2324 "different captive portals. This enables opening captive portal "
2325 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342326
Brett Wilson7b44537e2017-08-18 01:38:282327const char kCrOSComponentName[] = "Chrome OS Component";
2328const char kCrOSComponentDescription[] =
2329 "Enable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342330
Xiaochu Liu51d03fd2017-09-08 23:51:022331const char kCrOSContainerName[] = "Chrome OS Container";
2332const char kCrOSContainerDescription[] =
2333 "Enable the use of Chrome OS Container utility.";
2334
Brett Wilson7b44537e2017-08-18 01:38:282335const char kCrosRegionsModeName[] = "Cros-regions load mode";
2336const char kCrosRegionsModeDescription[] =
2337 "This flag controls cros-regions load mode";
2338const char kCrosRegionsModeDefault[] = "Default";
2339const char kCrosRegionsModeOverride[] = "Override VPD values.";
2340const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342341
Jacob Dufault2becbc482017-08-25 00:36:352342const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2343const char kDisableLockScreenAppsDescription[] =
2344 "Disable new-note action handler apps on the lock screen. The user will "
2345 "not be able to launch the preferred note-taking action from the lock "
2346 "screen, provided that the app supports lock screen note taking.";
2347
Brett Wilson7b44537e2017-08-18 01:38:282348const char kDisableNewVirtualKeyboardBehaviorName[] =
2349 "New window behavior for the accessibility keyboard";
2350const char kDisableNewVirtualKeyboardBehaviorDescription[] =
2351 "Disable new window behavior for the accessibility keyboard in non-sticky "
2352 "mode (do not change work area in non-sticky mode).";
vabr0215a8e2017-03-28 12:47:342353
Sammie Quonef6b4882017-09-14 16:50:052354const char kDisableTabletAutohideTitlebarsName[] =
2355 "Disable autohide titlebars in tablet mode";
2356const char kDisableTabletAutohideTitlebarsDescription[] =
2357 "Disable tablet mode autohide titlebars functionality. The user will be "
2358 "able to see the titlebar in tablet mode.";
2359
Brett Wilson7b44537e2017-08-18 01:38:282360const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2361const char kEnablePerUserTimezoneDescription[] =
2362 "Chrome OS system timezone preference is stored and handled for each user "
2363 "individually.";
vabr0215a8e2017-03-28 12:47:342364
Brett Wilson7b44537e2017-08-18 01:38:282365const char kDisableSystemTimezoneAutomaticDetectionName[] =
2366 "SystemTimezoneAutomaticDetection policy support";
2367const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2368 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342369
newcomer403ac142017-07-05 18:26:302370const char kEnableFullscreenAppListName[] = "Enable The Peeking Launcher";
newcomer403ac142017-07-05 18:26:302371const char kEnableFullscreenAppListDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192372 "The peeking launcher UI supports touch and provides more space for "
2373 "upcoming features.";
newcomer403ac142017-07-05 18:26:302374
Alex Newcomer43cb7f12017-07-28 17:37:392375extern const char kEnableBackgroundBlurName[] = "Enable background blur.";
2376extern const char kEnableBackgroundBlurDescription[] =
2377 "Enables background blur for the Peeking Launcher, Lock Screen, and Tab "
2378 "Switcher.";
2379
Brett Wilson7b44537e2017-08-18 01:38:282380const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2381const char kEnableAndroidWallpapersAppDescription[] =
2382 "Enables the Android Wallpapers App as the default Wallpaper App on Chrome "
2383 "OS.";
vabr0215a8e2017-03-28 12:47:342384
Brett Wilson7b44537e2017-08-18 01:38:282385const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2386const char kEnableChromevoxArcSupportDescription[] =
2387 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342388
Brett Wilson7b44537e2017-08-18 01:38:282389const char kEnableEhvInputName[] =
2390 "Emoji, handwriting and voice input on opt-in IME menu";
2391const char kEnableEhvInputDescription[] =
2392 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342393
Brett Wilson7b44537e2017-08-18 01:38:282394const char kEnableEncryptionMigrationName[] =
2395 "Enable encryption migration of user data";
2396const char kEnableEncryptionMigrationDescription[] =
2397 "If enabled and the device supports ARC, the user will be asked to update "
2398 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342399
Klemen Kozjekf2b30e452017-09-01 05:04:512400const char kEnableExternalDriveRename[] = "Enable external drive rename";
2401const char kEnableExternalDriveRenameDescription[] =
2402 "If enabled, external removable drives will get 'Rename' action in the "
2403 "context menu";
2404
Brett Wilson7b44537e2017-08-18 01:38:282405const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2406const char kEnableImeMenuDescription[] =
2407 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342408
xdai6459d0ca2017-10-11 19:23:102409const char kEnableTabletSplitViewName[] = "Split view in Tablet mode";
2410const char kEnableTabletSplitViewDescription[] =
2411 "Enable split view for Chrome OS tablet mode.";
2412
Brett Wilson7b44537e2017-08-18 01:38:282413const char kEnableZipArchiverOnFileManagerName[] = "ZIP archiver for Drive";
2414const char kEnableZipArchiverOnFileManagerDescription[] =
2415 "Enable the ability to archive and unpack files on Drive in the Files app";
2416
2417const char kEolNotificationName[] = "Disable Device End of Life notification.";
2418const char kEolNotificationDescription[] =
2419 "Disable Notifcation when Device is End of Life.";
2420
2421const char kExperimentalAccessibilityFeaturesName[] =
2422 "Experimental accessibility features";
2423const char kExperimentalAccessibilityFeaturesDescription[] =
2424 "Enable additional accessibility features in the Settings page.";
2425
2426const char kExperimentalInputViewFeaturesName[] =
2427 "Experimental input view features";
2428const char kExperimentalInputViewFeaturesDescription[] =
2429 "Enable experimental features for IME input views.";
2430
2431const char kFileManagerTouchModeName[] = "Files App. touch mode";
2432const char kFileManagerTouchModeDescription[] =
2433 "Touchscreen-specific interactions of the Files app.";
2434
2435const char kFirstRunUiTransitionsName[] =
2436 "Animated transitions in the first-run tutorial";
2437const char kFirstRunUiTransitionsDescription[] =
2438 "Transitions during first-run tutorial are animated.";
2439
2440const char kFloatingVirtualKeyboardName[] = "Floating virtual keyboard.";
2441const char kFloatingVirtualKeyboardDescription[] =
2442 "Enable/Disable floating virtual keyboard.";
2443
2444const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2445const char kForceEnableStylusToolsDescription[] =
2446 "Forces display of the stylus tools menu in the shelf and the stylus "
2447 "section in settings, even if there is no attached stylus device.";
2448
2449const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2450const char kGestureEditingDescription[] =
2451 "Enable/Disable gesture editing option in the settings page for the "
2452 "virtual keyboard.";
2453
2454const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2455const char kGestureTypingDescription[] =
2456 "Enable/Disable gesture typing option in the settings page for the virtual "
2457 "keyboard.";
2458
2459const char kInputViewName[] = "Input views";
2460const char kInputViewDescription[] =
2461 "Enable IME extensions to supply custom views for user input such as "
2462 "virtual keyboards.";
2463
2464const char kMemoryPressureThresholdName[] =
2465 "Memory discard strategy for advanced pressure handling";
2466const char kMemoryPressureThresholdDescription[] =
2467 "Memory discarding strategy to use";
2468const char kConservativeThresholds[] =
2469 "Conservative memory pressure release strategy";
2470const char kAggressiveCacheDiscardThresholds[] =
2471 "Aggressive cache release strategy";
2472const char kAggressiveTabDiscardThresholds[] =
2473 "Aggressive tab release strategy";
2474const char kAggressiveThresholds[] =
2475 "Aggressive tab and cache release strategy";
2476
2477const char kMtpWriteSupportName[] = "MTP write support";
2478const char kMtpWriteSupportDescription[] =
2479 "MTP write support in File System API (and file manager). In-place editing "
2480 "operations are not supported.";
2481
2482const char kMultideviceName[] = "Enable multidevice features";
2483const char kMultideviceDescription[] =
2484 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342485
2486const char kNetworkPortalNotificationName[] =
2487 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342488const char kNetworkPortalNotificationDescription[] =
2489 "If enabled, notification is displayed when device is connected to a "
2490 "network behind captive portal.";
2491
stevenjbe1d457382017-05-24 22:37:242492const char kNetworkSettingsConfigName[] =
2493 "Settings based Network Configuration";
stevenjbe1d457382017-05-24 22:37:242494const char kNetworkSettingsConfigDescription[] =
2495 "Enables the Settings based network configuration UI instead of the Views "
2496 "based configuration dialog.";
2497
Brett Wilson7b44537e2017-08-18 01:38:282498const char kNewKoreanImeName[] = "New Korean IME";
2499const char kNewKoreanImeDescription[] =
2500 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342501
Brett Wilson7b44537e2017-08-18 01:38:282502const char kNewZipUnpackerName[] = "New ZIP unpacker";
2503const char kNewZipUnpackerDescription[] =
2504 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342505
Brett Wilson7b44537e2017-08-18 01:38:282506const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2507const char kPhysicalKeyboardAutocorrectDescription[] =
2508 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2509 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342510
2511const char kPrinterProviderSearchAppName[] =
2512 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342513const char kPrinterProviderSearchAppDescription[] =
2514 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192515 "searches Chrome Web Store for extensions that support printing to a USB "
2516 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342517
Brett Wilson7b44537e2017-08-18 01:38:282518const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2519const char kQuickUnlockPinDescription[] =
2520 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2521 "device on the lock screen after you have signed into your device.";
2522const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2523const char kQuickUnlockPinSigninDescription[] =
2524 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2525 "device. After changing this flag PIN needs to be set up again.";
2526const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2527const char kQuickUnlockFingerprintDescription[] =
2528 "Enabling fingerprint quick unlock allows you to setup and use a "
2529 "fingerprint to unlock your Chromebook on the lock screen after you have "
2530 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342531
Brett Wilson7b44537e2017-08-18 01:38:282532const char kOfficeEditingComponentAppName[] =
2533 "Office Editing for Docs, Sheets & Slides";
2534const char kOfficeEditingComponentAppDescription[] =
2535 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072536
2537const char kSpuriousPowerButtonWindowName[] = "Spurious power button window";
2538const char kSpuriousPowerButtonWindowDescription[] =
2539 "Number of recent accelerometer samples to examine to determine if a power "
2540 "button event was spurious.";
2541
2542const char kSpuriousPowerButtonAccelCountName[] =
2543 "Spurious power button acceleration count";
2544const char kSpuriousPowerButtonAccelCountDescription[] =
2545 "Number of recent acceleration samples that must meet or exceed exceed the "
2546 "threshold in order for a power button event to be considered spurious.";
2547
2548const char kSpuriousPowerButtonScreenAccelName[] =
2549 "Spurious power button screen acceleration threshold";
2550const char kSpuriousPowerButtonScreenAccelDescription[] =
2551 "Threshold (in m/s^2, disregarding gravity) that screen acceleration must "
2552 "meet or exceed for a power button event to be considered spurious.";
2553
2554const char kSpuriousPowerButtonKeyboardAccelName[] =
2555 "Spurious power button keyboard acceleration threshold";
2556const char kSpuriousPowerButtonKeyboardAccelDescription[] =
2557 "Threshold (in m/s^2, disregarding gravity) that keyboard acceleration "
2558 "must meet or exceed for a power button event to be considered spurious.";
2559
2560const char kSpuriousPowerButtonLidAngleChangeName[] =
2561 "Spurious power button lid angle change threshold";
2562const char kSpuriousPowerButtonLidAngleChangeDescription[] =
2563 "Change in lid angle (i.e. hinge between keyboard and screen) that must be "
2564 "met or exceeded for a power button event to be considered spurious.";
2565
Chung-Sheng Wu468b0b32017-09-01 14:41:572566const char kSysInternalsName[] = "Enable Sys-Internals";
2567const char kSysInternalsDescription[] =
2568 "If enabled, user can monitor system information at "
2569 "chrome://sys-internals.";
2570
Brett Wilson7b44537e2017-08-18 01:38:282571const char kTeamDrivesName[] = "Enable Team Drives Integration";
2572const char kTeamDrivesDescription[] =
2573 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342574
Brett Wilson7b44537e2017-08-18 01:38:282575const char kTetherName[] = "Instant Tethering";
2576const char kTetherDescription[] =
2577 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2578 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372579
Brett Wilson7b44537e2017-08-18 01:38:282580const char kTouchscreenCalibrationName[] =
2581 "Enable/disable touchscreen calibration option in material design settings";
2582const char kTouchscreenCalibrationDescription[] =
2583 "If enabled, the user can calibrate the touch screen displays in "
2584 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092585
Mitsuru Oshima63d3f2a2017-08-23 00:12:112586// Force UI Mode
2587const char kUiModeName[] = "Force Ui Mode";
2588const char kUiModeDescription[] =
2589 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2590 R"*(despite its current orientation. "Tablet" means that the )*"
2591 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2592 R"*(means that the chromebook will act as if it were in clamshell )*"
2593 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2594 R"*(the two, based on its orientation.)*";
2595const char kUiModeTablet[] = "TouchView";
2596const char kUiModeClamshell[] = "Clamshell";
2597const char kUiModeAuto[] = "Auto (default)";
2598
bruthigeafb0c02017-06-09 13:11:532599const char kUiDevToolsName[] = "Enable native UI inspection";
2600const char kUiDevToolsDescription[] =
2601 "Enables inspection of native UI elements. For local inspection use "
2602 "chrome://inspect#other";
2603
Brett Wilson7b44537e2017-08-18 01:38:282604const char kUseMusName[] = "Mus";
2605const char kUseMusDescription[] = "Enable the Mojo UI service.";
2606const char kEnableMashDescription[] =
2607 "Mash (UI, Chrome and ash in separate services)";
2608const char kEnableMusDescription[] =
2609 "Mus (UI in separate service, Chrome and ash in same service)";
2610
2611const char kVideoPlayerChromecastSupportName[] =
2612 "Experimental Chromecast support for Video Player";
2613const char kVideoPlayerChromecastSupportDescription[] =
2614 "This option enables experimental Chromecast support for Video Player app "
2615 "on ChromeOS.";
2616
2617const char kVirtualKeyboardName[] = "Virtual Keyboard";
2618const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2619
2620const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2621const char kVirtualKeyboardOverscrollDescription[] =
2622 "Enables virtual keyboard overscroll support.";
2623
2624const char kVoiceInputName[] = "Voice input on virtual keyboard";
2625const char kVoiceInputDescription[] =
2626 "Enables voice input on virtual keyboard.";
2627
2628const char kWakeOnPacketsName[] = "Wake On Packets";
2629const char kWakeOnPacketsDescription[] =
2630 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202631
yhanadac5bff5b2017-05-18 06:37:092632#endif // defined(OS_CHROMEOS)
2633
Brett Wilson7b44537e2017-08-18 01:38:282634// Random platform combinations -----------------------------------------------
2635
2636#if defined(OS_WIN) || defined(OS_LINUX)
2637
2638const char kEnableInputImeApiName[] = "Enable Input IME API";
2639const char kEnableInputImeApiDescription[] =
2640 "Enable the use of chrome.input.ime API.";
2641
2642#endif // defined(OS_WIN) || defined(OS_LINUX)
2643
2644#if defined(OS_WIN) || defined(OS_MACOSX)
2645
2646const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2647const char kAutomaticTabDiscardingDescription[] =
2648 "If enabled, tabs get automatically discarded from memory when the system "
2649 "memory is low. Discarded tabs are still visible on the tab strip and get "
2650 "reloaded when clicked on. Info about discarded tabs can be found at "
2651 "chrome://discards.";
2652
2653#endif // defined(OS_WIN) || defined(OS_MACOSX)
2654
2655// Feature flags --------------------------------------------------------------
2656
2657#if BUILDFLAG(ENABLE_VR)
2658
2659#if defined(OS_ANDROID)
2660
2661const char kEnableVrShellName[] = "Enable Chrome VR.";
2662const char kEnableVrShellDescription[] =
2663 "Allow browsing with a VR headset if available for this device.";
2664
2665const char kVrCustomTabBrowsingName[] = "Enable Custom Tab browsing in VR.";
2666const char kVrCustomTabBrowsingDescription[] =
2667 "Allow browsing with a VR headset in a Custom Tab if available for this "
2668 "device.";
2669
2670const char kWebVrAutopresentName[] = "Enable WebVr auto presentation";
2671const char kWebVrAutopresentDescription[] =
2672 "Allows auto presentation of WebVr content from trusted first-party apps";
2673
2674const char kWebVrVsyncAlignName[] = "Enable WebVR VSync-aligned timing";
2675const char kWebVrVsyncAlignDescription[] =
2676 "Enabling this option aligns WebVR application rendering with VSync "
2677 "for smoother animations.";
2678
2679#endif // OS_ANDROID
2680
2681const char kWebvrExperimentalRenderingName[] =
2682 "WebVR experimental rendering optimizations";
2683const char kWebvrExperimentalRenderingDescription[] =
2684 "Enabling this option activates experimental rendering path optimizations "
2685 "for WebVR.";
2686
2687#endif // ENABLE_VR
2688
Nico Weberaf3b00b2017-09-11 17:58:172689#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282690
2691const char kNaclDebugMaskName[] =
2692 "Restrict Native Client GDB-based debugging by pattern";
2693const char kNaclDebugMaskDescription[] =
2694 "Restricts Native Client application GDB-based debugging by URL of "
2695 "manifest file. Native Client GDB-based debugging must be enabled for this "
2696 "option to work.";
2697const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
2698const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
2699 "Debug everything except secure shell and the PNaCl translator.";
2700const char kNaclDebugMaskChoiceIncludeDebug[] =
2701 "Debug only if manifest URL ends with debug.nmf.";
2702
2703const char kNaclDebugName[] = "Native Client GDB-based debugging";
2704const char kNaclDebugDescription[] =
2705 "Enable GDB debug stub. This will stop a Native Client application on "
2706 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
2707
2708const char kNaclName[] = "Native Client";
2709const char kNaclDescription[] =
2710 "Support Native Client for all web applications, even those that were not "
2711 "installed from the Chrome Web Store.";
2712
2713const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
2714const char kPnaclSubzeroDescription[] =
2715 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
2716
Nico Weberaf3b00b2017-09-11 17:58:172717#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282718
Brett Wilson7b44537e2017-08-18 01:38:282719#if BUILDFLAG(ENABLE_WEBRTC)
2720
2721const char kWebrtcH264WithOpenh264FfmpegName[] =
2722 "WebRTC H.264 software video encoder/decoder";
2723const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2724 "When enabled, an H.264 software video encoder/decoder pair is included. "
2725 "If a hardware encoder/decoder is also available it may be used instead of "
2726 "this encoder/decoder.";
2727
2728#endif // BUILDFLAG(ENABLE_WEBRTC)
2729
James Cookf9d34d22017-10-04 16:39:352730#if defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282731
2732const char kAshDisableSmoothScreenRotationName[] =
2733 "Disable smooth rotation animations.";
2734const char kAshDisableSmoothScreenRotationDescription[] =
2735 "Disable smooth rotation animations.";
2736
2737const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2738const char kAshEnableMirroredScreenDescription[] =
2739 "Enable the mirrored screen mode. This mode flips the screen image "
2740 "horizontally.";
2741
2742const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2743const char kAshShelfColorDescription[] =
2744 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2745 "--ash-shelf-color-scheme flag defines how that color is derived.";
2746
2747const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2748const char kAshShelfColorSchemeDescription[] =
2749 "Specify how the color is derived from the wallpaper. This flag is only "
2750 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2751const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2752const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2753const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2754const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2755const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2756const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2757
Mike Wassermana38a8a62017-10-02 03:04:272758const char kAshDisableShelfModelSynchronization[] =
2759 "Disable shelf model synchronization";
2760const char kAshDisableShelfModelSynchronizationDescription[] =
2761 "Use a single in-process shelf data model shared between Chrome and Ash. "
2762 "This only applies to the Classic Ash and Mus configs; synchronization "
2763 "between two models is required when running the Mash config via --mash.";
Mike Wasserman2115b162017-09-19 23:42:372764
Brett Wilson7b44537e2017-08-18 01:38:282765const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:372766 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:282767const char kMaterialDesignInkDropAnimationSpeedDescription[] =
2768 "Sets the speed of the experimental visual feedback animations for "
2769 "material design.";
2770const char kMaterialDesignInkDropAnimationFast[] = "Fast";
2771const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
2772
2773const char kUiShowCompositedLayerBordersName[] =
2774 "Show UI composited layer borders";
2775const char kUiShowCompositedLayerBordersDescription[] =
2776 "Show border around composited layers created by UI.";
2777const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
2778const char kUiShowCompositedLayerBordersSurface[] = "Surface";
2779const char kUiShowCompositedLayerBordersLayer[] = "Layer";
2780const char kUiShowCompositedLayerBordersAll[] = "All";
2781
2782const char kUiSlowAnimationsName[] = "Slow UI animations";
2783const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
2784
James Cookf9d34d22017-10-04 16:39:352785#endif // defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282786
Brett Wilson7b44537e2017-08-18 01:38:282787#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2788
2789const char kAutofillCreditCardUploadName[] =
2790 "Enable offering upload of Autofilled credit cards";
2791const char kAutofillCreditCardUploadDescription[] =
2792 "Enables a new option to upload credit cards to Google Payments for sync "
2793 "to all Chrome devices.";
2794
2795#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2796
2797// ============================================================================
2798// Don't just add flags to the end, put them in the right section in
2799// alphabetical order just like the header file.
2800// ============================================================================
2801
vabr0215a8e2017-03-28 12:47:342802} // namespace flag_descriptions