blob: a3daa9e96b55645ba36abce90ced5ae56cebd59b [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
Brett Wilsonf27ff602017-07-07 22:28:47302const char kEnableDataReductionProxyLitePageName[] =
303 "Lite pages for Data Saver Lo-Fi mode";
304const char kEnableDataReductionProxyLitePageDescription[] =
305 "Enable lite pages in Data Saver Lo-Fi mode. Previews of pages will be "
306 "shown instead of image placeholders when Lo-Fi is on. Data Saver and "
307 "Lo-Fi must be enabled for lite pages to be shown.";
308
309const char kDataReductionProxyServerAlternative[] =
310 "Use alternative server configuration";
311const char kEnableDataReductionProxyServerExperimentName[] =
312 "Use an alternative Data Saver back end configuration.";
313const char kEnableDataReductionProxyServerExperimentDescription[] =
314 "Enable a different approach to saving data by configuring the back end "
315 "server";
316
317const char kEnableDataReductionProxySavingsPromoName[] =
318 "Data Saver 1 MB Savings Promo";
319const char kEnableDataReductionProxySavingsPromoDescription[] =
320 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
321 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
322 "enabled for the promo to be shown.";
323
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17324const char kEnableDesktopPWAWindowingName[] =
325 "Windowing related features for desktop PWAs.";
326const char kEnableDesktopPWAWindowingDescription[] =
327 "Enable experimental windowing features for desktop PWAs.";
328
Brett Wilsonf27ff602017-07-07 22:28:47329const char kEnableEnumeratingAudioDevicesName[] =
330 "Experimentally enable enumerating audio devices.";
331const char kEnableEnumeratingAudioDevicesDescription[] =
332 "Experimentally enable the use of enumerating audio devices.";
333
334const char kEnableGenericSensorName[] = "Generic Sensor";
335const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25336 "Enables motion sensor classes based on Generic Sensor API, i.e. "
337 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
338 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
339
340const char kEnableGenericSensorExtraClassesName[] =
341 "Generic Sensor Extra Classes";
342const char kEnableGenericSensorExtraClassesDescription[] =
343 "Enables an extra set of sensor classes based on Generic Sensor API, which "
344 "expose previously unavailable platform features, i.e. AmbientLightSensor "
345 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47346
Brett Wilsonf27ff602017-07-07 22:28:47347const char kEnableHDRName[] = "HDR mode";
348const char kEnableHDRDescription[] =
349 "Enables HDR support on compatible displays.";
350
351const char kEnableHeapProfilingName[] = "Heap profiling";
352const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
353const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
354const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
355const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
356
357const char kEnableHttpFormWarningName[] =
358 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15359 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47360const char kEnableHttpFormWarningDescription[] =
361 "Attaches a warning UI to any password or credit card fields detected when "
362 "the top-level page is not HTTPS";
363
Sidney San Martín9375b892017-09-09 00:29:54364const char kEnableMacMaterialDesignDownloadShelfName[] =
365 "Enable Material Design download shelf";
366
367const char kEnableMacMaterialDesignDownloadShelfDescription[] =
368 "If enabled, the download shelf uses Material Design.";
369
Tatiana Gornakafb40452017-07-31 13:50:04370const char kEnableManualFallbacksFillingName[] =
371 "Manual fallbacks for password manager forms filling";
372const char kEnableManualFallbacksFillingDescription[] =
373 "If enabled, then if user clicks on the password field on a form, popup "
374 "might contain generation fallbacks or 'Show all saved passwords' "
375 "fallback.";
376
vabr0215a8e2017-03-28 12:47:34377const char kEnableMaterialDesignBookmarksName[] =
378 "Enable Material Design bookmarks";
vabr0215a8e2017-03-28 12:47:34379const char kEnableMaterialDesignBookmarksDescription[] =
380 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
381 "bookmarks page.";
382
vabr0215a8e2017-03-28 12:47:34383const char kEnableMaterialDesignExtensionsName[] =
384 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34385const char kEnableMaterialDesignExtensionsDescription[] =
386 "If enabled, the chrome://extensions/ URL loads the Material Design "
387 "extensions page.";
388
vabr0215a8e2017-03-28 12:47:34389const char kEnableMaterialDesignFeedbackName[] =
390 "Enable Material Design feedback";
vabr0215a8e2017-03-28 12:47:34391const char kEnableMaterialDesignFeedbackDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:19392 "If enabled, reporting an issue will load the Material Design feedback UI.";
vabr0215a8e2017-03-28 12:47:34393
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
494const char kEnableWebfontsInterventionName[] =
495 "New version of User Agent Intervention for WebFonts loading.";
496const char kEnableWebfontsInterventionDescription[] =
497 "Enable New version of User Agent Intervention for WebFonts loading.";
498const char kEnableWebfontsInterventionV2ChoiceDefault[] = "Default";
499const char kEnableWebfontsInterventionV2ChoiceEnabledWith2g[] = "Enabled: 2G";
500const char kEnableWebfontsInterventionV2ChoiceEnabledWith3g[] = "Enabled: 3G";
501const char kEnableWebfontsInterventionV2ChoiceEnabledWithSlow2g[] =
502 "Enabled: Slow 2G";
503const char kEnableWebfontsInterventionV2ChoiceDisabled[] = "Disabled";
504
505const char kEnableWebfontsInterventionTriggerName[] =
506 "Trigger User Agent Intervention for WebFonts loading always.";
507const char kEnableWebfontsInterventionTriggerDescription[] =
508 "Enable to trigger User Agent Intervention for WebFonts loading always. "
509 "This flag affects only when the intervention is enabled.";
510
511const char kEnableWebNotificationCustomLayoutsName[] =
512 "Enable custom layouts for Web Notifications.";
513const char kEnableWebNotificationCustomLayoutsDescription[] =
514 "Enable custom layouts for Web Notifications. They will have subtle layout "
515 "improvements that are otherwise not possible.";
516
517const char kExpensiveBackgroundTimerThrottlingName[] =
518 "Throttle expensive background timers";
519const char kExpensiveBackgroundTimerThrottlingDescription[] =
520 "Enables intervention to limit CPU usage of background timers to 1%.";
521
522const char kExperimentalAppBannersName[] = "Experimental app banners";
523const char kExperimentalAppBannersDescription[] =
524 "Enables a new experimental app banner flow and UI";
525
526const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
527const char kExperimentalCanvasFeaturesDescription[] =
528 "Enables the use of experimental canvas features which are still in "
529 "development.";
530
531const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
532const char kExperimentalExtensionApisDescription[] =
533 "Enables experimental extension APIs. Note that the extension gallery "
534 "doesn't allow you to upload extensions that use experimental APIs.";
535
536const char kExperimentalFullscreenExitUIName[] =
537 "Experimental fullscreen exit UI";
538const char kExperimentalFullscreenExitUIDescription[] =
539 "Displays experimental UI to allow mouse and touch input methods to exit "
540 "fullscreen mode.";
541
542const char kExperimentalHotwordHardwareName[] =
543 "Simulated hardware 'Ok Google' features";
544const char kExperimentalHotwordHardwareDescription[] =
545 "Enables an experimental version of 'Ok Google' hotword detection features "
546 "that have a hardware dependency.";
547
548const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
549const char kExperimentalKeyboardLockUiDescription[] =
550 "An experimental full screen with keyboard lock mode requiring users to "
551 "hold Esc to exit.";
552
553const char kExperimentalSecurityFeaturesName[] =
554 "Potentially annoying security features";
555const char kExperimentalSecurityFeaturesDescription[] =
556 "Enables several security features that will likely break one or more "
557 "pages that you visit on a daily basis. Strict mixed content checking, for "
558 "example. And locking powerful features to secure contexts. This flag will "
559 "probably annoy you.";
560
561const char kExperimentalWebPlatformFeaturesName[] =
562 "Experimental Web Platform features";
563const char kExperimentalWebPlatformFeaturesDescription[] =
564 "Enables experimental Web Platform features that are in development.";
565
566const char kExtensionContentVerificationName[] =
567 "Extension Content Verification";
568const char kExtensionContentVerificationDescription[] =
569 "This flag can be used to turn on verification that the contents of the "
570 "files on disk for extensions from the webstore match what they're "
571 "expected to be. This can be used to turn on this feature if it would not "
572 "otherwise have been turned on, but cannot be used to turn it off (because "
573 "this setting can be tampered with by malware).";
574const char kExtensionContentVerificationBootstrap[] =
575 "Bootstrap (get expected hashes, but do not enforce them)";
576const char kExtensionContentVerificationEnforce[] =
577 "Enforce (try to get hashes, and enforce them if successful)";
578const char kExtensionContentVerificationEnforceStrict[] =
579 "Enforce strict (hard fail if we can't get hashes)";
580
581const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
582const char kExtensionsOnChromeUrlsDescription[] =
583 "Enables running extensions on chrome:// URLs, where extensions explicitly "
584 "request this permission.";
galinapae72e152017-05-12 13:12:28585
Brett Wilsonecb80982017-07-12 20:34:51586const char kFastUnloadName[] = "Fast tab/window close";
587const char kFastUnloadDescription[] =
588 "Enables fast tab/window closing - runs a tab's onunload js handler "
589 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34590
Brett Wilsonecb80982017-07-12 20:34:51591const char kFeaturePolicyName[] = "Feature Policy";
592const char kFeaturePolicyDescription[] =
593 "Enables granting and removing access to features through the "
594 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34595
Brett Wilsonecb80982017-07-12 20:34:51596const char kFetchKeepaliveTimeoutSettingName[] =
597 "Fetch API keepalive timeout setting";
598const char kFetchKeepaliveTimeoutSettingDescription[] =
599 "This is for setting the timeout value for Fetch API with keepalive option "
600 "and SendBeacon";
601
602const char kFontCacheScalingName[] = "FontCache scaling";
603const char kFontCacheScalingDescription[] =
604 "Reuse a cached font in the renderer to serve different sizes of font for "
605 "faster layout.";
606
607const char kForceEffectiveConnectionTypeName[] =
608 "Override effective connection type";
609const char kForceEffectiveConnectionTypeDescription[] =
610 "Overrides the effective connection type of the current connection "
611 "returned by the network quality estimator.";
612const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
613const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
614const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
615const char kEffectiveConnectionType2GDescription[] = "2G";
616const char kEffectiveConnectionType3GDescription[] = "3G";
617const char kEffectiveConnectionType4GDescription[] = "4G";
618
619const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
620const char kFillOnAccountSelectDescription[] =
621 "Filling of passwords when an account is explicitly selected by the user "
622 "rather than autofilling credentials on page load.";
623
Brett Wilsonecb80982017-07-12 20:34:51624const char kForceTextDirectionName[] = "Force text direction";
625const char kForceTextDirectionDescription[] =
626 "Explicitly force the per-character directionality of UI text to "
627 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
628 "direction of the character language.";
629const char kForceDirectionLtr[] = "Left-to-right";
630const char kForceDirectionRtl[] = "Right-to-left";
631
632const char kForceUiDirectionName[] = "Force UI direction";
633const char kForceUiDirectionDescription[] =
634 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
635 "mode, overriding the default direction of the UI language.";
636
637const char kFramebustingName[] =
638 "Framebusting requires same-origin or a user gesture";
639const char kFramebustingDescription[] =
640 "Don't permit an iframe to navigate the top level browsing context unless "
641 "they are same-origin or the iframe is processing a user gesture.";
642
643const char kGamepadExtensionsName[] = "Gamepad Extensions";
644const char kGamepadExtensionsDescription[] =
645 "Enabling this option allows web applications to access experimental "
646 "extensions to the Gamepad APIs.";
647
sohan3f00ffc2017-07-14 22:28:08648const char kGlCompositedOverlayCandidateQuadBordersName[] =
649 "GL composited overlay candidate quad borders";
650const char kGlCompositedOverlayCandidateQuadBordersDescription[] =
Alex Newcomer43cb7f12017-07-28 17:37:39651 "Renders a border around GL composited overlay candidate quads to help "
652 "debug and study overlay support.";
Brett Wilsonecb80982017-07-12 20:34:51653
654const char kGpuRasterizationMsaaSampleCountName[] =
655 "GPU rasterization MSAA sample count.";
656const char kGpuRasterizationMsaaSampleCountDescription[] =
657 "Specify the number of MSAA samples for GPU rasterization.";
658const char kGpuRasterizationMsaaSampleCountZero[] = "0";
659const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
660const char kGpuRasterizationMsaaSampleCountFour[] = "4";
661const char kGpuRasterizationMsaaSampleCountEight[] = "8";
662const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
663
664const char kGpuRasterizationName[] = "GPU rasterization";
665const char kGpuRasterizationDescription[] =
666 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28667const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51668
669const char kGoogleProfileInfoName[] = "Google profile name and icon";
670const char kGoogleProfileInfoDescription[] =
671 "Enables using Google information to populate the profile name and icon in "
672 "the avatar menu.";
673
674const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
675const char kHarfbuzzRendertextDescription[] =
676 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
677 "web content.";
678
679const char kHistoryRequiresUserGestureName[] =
680 "New history entries require a user gesture.";
681const char kHistoryRequiresUserGestureDescription[] =
682 "Require a user gesture to add a history entry.";
683const char kHyperlinkAuditingName[] = "Hyperlink auditing";
684const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
685
686const char kHostedAppQuitNotificationName[] =
687 "Quit notification for hosted apps";
688const char kHostedAppQuitNotificationDescription[] =
689 "Display a notification when quitting Chrome if hosted apps are currently "
690 "running.";
691
692const char kHostedAppShimCreationName[] =
693 "Creation of app shims for hosted apps on Mac";
694const char kHostedAppShimCreationDescription[] =
695 "Create app shims on Mac when creating a hosted app.";
696
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48697const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
698const char kHtmlBasedUsernameDetectorDescription[] =
699 "Use HTML-based username detector for the password manager.";
700
Brett Wilsonecb80982017-07-12 20:34:51701const char kIconNtpName[] = "Large icons on the New Tab page";
702const char kIconNtpDescription[] =
703 "Enable the experimental New Tab page using large icons.";
704
705const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
706const char kIgnoreGpuBlacklistDescription[] =
707 "Overrides the built-in software rendering list and enables "
708 "GPU-acceleration on unsupported system configurations.";
709
710const char kImportantSitesInCbdName[] =
711 "Important sites options in clear browsing data dialog";
712const char kImportantSitesInCbdDescription[] =
713 "Include the option to whitelist important sites in the clear browsing "
714 "data dialog.";
715
716const char kInertVisualViewportName[] = "Inert visual viewport.";
717const char kInertVisualViewportDescription[] =
718 "Experiment to have all APIs reflect the layout viewport. This will make "
719 "window.scroll properties relative to the layout viewport.";
720
721const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
722const char kInProductHelpDemoModeChoiceDescription[] =
723 "Selects the In-Product Help demo mode.";
724
725const char kJavascriptHarmonyName[] = "Experimental JavaScript";
726const char kJavascriptHarmonyDescription[] =
727 "Enable web pages to use experimental JavaScript features.";
728
729const char kJavascriptHarmonyShippingName[] =
730 "Latest stable JavaScript features";
731const char kJavascriptHarmonyShippingDescription[] =
732 "Some web pages use legacy or non-standard JavaScript extensions that may "
733 "conflict with the latest JavaScript features. This flag allows disabling "
734 "support of those features for compatibility with such pages.";
735
Yutaka Hiranof7f2f632017-09-06 10:40:08736const char kKeepAliveRendererForKeepaliveRequestsName[] =
737 "Keep a renderer alive for keepalive fetch requests";
738const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
739 "Keep a render process alive when the process has a pending fetch request "
740 "with `keepalive' specified.";
741
Brett Wilsonecb80982017-07-12 20:34:51742const char kLcdTextName[] = "LCD text antialiasing";
743const char kLcdTextDescription[] =
744 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
745 "(subpixel) when doing accelerated compositing.";
746
Matt Giucac399982f2017-10-06 07:51:29747const char kLeftToRightUrlsName[] =
748 "Render bidirectional URLs from left to right";
749const char kLeftToRightUrlsDescription[] =
750 "An experimental Bidi URL rendering algorithm where the URL components are "
751 "always shown in order from left to right, regardless of any RTL "
752 "characters. (The contents of each component are still rendered with the "
753 "normal Bidi algorithm.)";
754
Brett Wilsonecb80982017-07-12 20:34:51755const char kLoadMediaRouterComponentExtensionName[] =
756 "Load Media Router Component Extension";
757const char kLoadMediaRouterComponentExtensionDescription[] =
758 "Loads the Media Router component extension at startup.";
759
760const char kManualPasswordGenerationName[] = "Manual password generation.";
761const char kManualPasswordGenerationDescription[] =
762 "Show a 'Generate Password' option on the context menu for all password "
763 "fields.";
764
Dominic Battref27e8762017-08-23 11:16:25765const char kManualPasswordSavingName[] = "Manual password saving.";
766const char kManualPasswordSavingDescription[] =
767 "Show the password manager icon when typing into a password filed. "
768 "Clicking it allows to save the password without submitting the form.";
769
Brett Wilsonecb80982017-07-12 20:34:51770const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
771const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
772const char kMarkHttpAsDangerous[] = "Always mark HTTP as actively dangerous";
773const char kMarkHttpAsNonSecureAfterEditing[] =
774 "Warn on HTTP after editing forms";
775const char kMarkHttpAsNonSecureWhileIncognito[] =
776 "Warn on HTTP while in Incognito mode";
777const char kMarkHttpAsNonSecureWhileIncognitoOrEditing[] =
778 "Warn on HTTP while in Incognito mode or after editing forms";
779
780extern const char kMaterialDesignIncognitoNTPName[] =
781 "Material Design Incognito NTP.";
782extern const char kMaterialDesignIncognitoNTPDescription[] =
783 "If enabled, the Incognito New Tab page uses the new material design with "
784 "a better readable text.";
785
786const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
787const char kMediaRemotingDescription[] =
788 "When Casting a tab to a remote device, enabling this turns on an "
789 "optimization that forwards the content bitstream directly to the remote "
790 "device when a video is fullscreened.";
791
792const char kMemoryAblationName[] = "Memory ablation experiment";
793const char kMemoryAblationDescription[] =
794 "Allocates extra memory in the browser process.";
795
796const char kMemoryCoordinatorName[] = "Memory coordinator";
797const char kMemoryCoordinatorDescription[] =
798 "Enable memory coordinator instead of memory pressure listeners.";
799
800const char kMessageCenterNewStyleNotificationName[] = "New style notification";
801const char kMessageCenterNewStyleNotificationDescription[] =
802 "Enables the experiment style of material-design notification";
803
Brett Wilsonecb80982017-07-12 20:34:51804const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
805const char kMhtmlGeneratorOptionDescription[] =
806 "Provides experimental options for MHTML file generator.";
807const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
808const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
809
810const char kMojoLoadingName[] = "Use Mojo IPC for resource loading";
811const char kMojoLoadingDescription[] =
812 "Use Mojo IPC instead of traditional Chrome IPC for resource loading.";
813
Miguel Casas-Sanchez10769c82017-07-27 23:52:04814const char kMojoVideoEncodeAcceleratorName[] =
815 "Hardware-accelerated video encoder accessed using Mojo IPC";
816const char kMojoVideoEncodeAcceleratorDescription[] =
817 "Use new Mojo IPC to access hardware-accelerated video encoder, where "
818 "available.";
819
Brett Wilsonecb80982017-07-12 20:34:51820const char kModuleScriptsName[] = "Enable ECMAScript 6 modules";
821const char kModuleScriptsDescription[] =
822 "Enables ECMAScript 6 modules support in Blink.";
823
Kouhei Ueno08445c22017-09-05 03:58:30824const char kModuleScriptsDynamicImportName[] =
825 "Enable ECMAScript 6 modules dynamic import";
826const char kModuleScriptsDynamicImportDescription[] =
827 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
828 "Blink.";
829
Brett Wilsonecb80982017-07-12 20:34:51830const char kNewAudioRenderingMixingStrategyName[] =
831 "New audio rendering mixing strategy";
832const char kNewAudioRenderingMixingStrategyDescription[] =
833 "Use the new audio rendering mixing strategy.";
834
835const char kNewBookmarkAppsName[] = "The new bookmark app system";
836const char kNewBookmarkAppsDescription[] =
837 "Enables the new system for creating bookmark apps.";
838
839const char kNewOmniboxAnswerTypesName[] =
840 "New omnibox answers in suggest types";
841const char kNewOmniboxAnswerTypesDescription[] =
842 "Enables new types of answers in the omnibox suggest drop-down: currency "
843 "conversions, dictionary definitions, sports scores, translations, and "
844 "when is.";
845
846const char kNewRemotePlaybackPipelineName[] =
847 "Enable the new remote playback pipeline.";
848const char kNewRemotePlaybackPipelineDescription[] =
849 "Enable the new pipeline for playing media element remotely via "
850 "RemotePlayback API or native controls.";
851
852const char kNewUsbBackendName[] = "Enable new USB backend";
853const char kNewUsbBackendDescription[] =
854 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34855
brettw5f9c1642017-05-14 17:12:48856const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34857const char kNostatePrefetchDescription[] =
858 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
859 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
860 R"*(improve load times even more. "Simple Load" does nothing and is )*"
861 R"*(similar to disabling the feature, but collects more metrics for )*"
862 R"*(comparison purposes.)*";
863
Brett Wilsonecb80982017-07-12 20:34:51864const char kNotificationsNativeFlagName[] = "Enable native notifications.";
865const char kNotificationsNativeFlagDescription[] =
866 "Enable support for using the native notification toasts and notification "
867 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34868
Brett Wilsonecb80982017-07-12 20:34:51869const char kNumRasterThreadsName[] = "Number of raster threads";
870const char kNumRasterThreadsDescription[] =
871 "Specify the number of raster threads.";
872const char kNumRasterThreadsOne[] = "1";
873const char kNumRasterThreadsTwo[] = "2";
874const char kNumRasterThreadsThree[] = "3";
875const char kNumRasterThreadsFour[] = "4";
876
877const char kOfferStoreUnmaskedWalletCardsName[] =
878 "Google Payments card saving checkbox";
879const char kOfferStoreUnmaskedWalletCardsDescription[] =
880 "Show the checkbox to offer local saving of a credit card downloaded from "
881 "the server.";
882
883const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
884const char kOfflineAutoReloadDescription[] =
885 "Pages that fail to load while the browser is offline will be "
886 "auto-reloaded when the browser is online again.";
887
888const char kOfflineAutoReloadVisibleOnlyName[] =
889 "Only Auto-Reload Visible Tabs";
890const char kOfflineAutoReloadVisibleOnlyDescription[] =
891 "Pages that fail to load while the browser is offline will only be "
892 "auto-reloaded if their tab is visible.";
893
894const char kOffMainThreadFetchName[] = "Off-main-thread fetch for Web Workers";
895const char kOffMainThreadFetchDescription[] =
896 "If enabled, the resource fetches from worker threads will not be blocked "
897 "by the busy main thread.";
898
899const char kOmniboxDisplayTitleForCurrentUrlName[] =
900 "Include title for the current URL in the omnibox";
901const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
902 "In the event that the omnibox provides suggestions on-focus, the URL of "
903 "the current page is provided as the first suggestion without a title. "
904 "Enabling this flag causes the title to be displayed.";
905
Benoit Lizeab08362c2017-07-19 14:50:54906const char kOmniboxSpareRendererName[] =
907 "Start spare renderer on omnibox focus";
908const char kOmniboxSpareRendererDescription[] =
909 "When the omnibox is focused, start an empty spare renderer. This can "
910 "speed up the load of the navigation from the omnibox.";
911
Tommy C. Li8875a442017-08-23 00:10:59912const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
913 "Omnibox UI Elide Suggestion URL After Host";
914const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
915 "Elides the path, query, and ref of suggested URLs in the Omnibox "
916 "dropdown.";
917
Brett Wilsonecb80982017-07-12 20:34:51918const char kOmniboxUIHideSuggestionUrlSchemeName[] =
919 "Omnibox UI Hide Suggestion URL Scheme";
920const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
921 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
922
923const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
924 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
925const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
926 "Elides trivially informative subdomains from suggested URLs in the "
927 "Omnibox dropdown (e.g. www. and m.).";
928
929const char kOmniboxUIMaxAutocompleteMatchesName[] =
930 "Omnibox UI Max Autocomplete Matches";
931
932const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
933 "Changes the maximum number of autocomplete matches displayed in the "
934 "Omnibox UI.";
935
936const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
937const char kOmniboxUINarrowDropdownDescription[] =
938 "Makes the suggestions dropdown width match the omnibox width.";
939
Justin Donnelly65c9e8b2017-10-01 05:15:01940const char kOmniboxUIShowSuggestionFaviconsName[] =
941 "Omnibox UI Show Suggestion Favicons";
942const char kOmniboxUIShowSuggestionFaviconsDescription[] =
943 "Shows favicons instead of generic vector icons for URL suggestions in the "
944 "Omnibox dropdown.";
945
946const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
947const char kOmniboxUISwapTitleAndUrlDescription[] =
948 "In the omnibox dropdown, shows titles before URLs when both are "
949 "available.";
950
Brett Wilsonecb80982017-07-12 20:34:51951const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
952const char kOmniboxUIVerticalLayoutDescription[] =
953 "Displays Omnibox sugestions in 2 lines - title over origin.";
954
955const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
956const char kOmniboxUIVerticalMarginDescription[] =
957 "Changes the vertical margin in the Omnibox UI.";
958
959const char kOriginTrialsName[] = "Origin Trials";
960const char kOriginTrialsDescription[] =
961 "Enables origin trials for controlling access to feature/API experiments.";
962
Becca Hughes930d8cd2017-10-02 11:09:12963const char kOverflowIconsForMediaControlsName[] =
964 "Icons on Media Controls Overflow Menu";
965const char kOverflowIconsForMediaControlsDescription[] =
966 "Displays icons on the overflow menu of the native media controls";
967
Brett Wilsonecb80982017-07-12 20:34:51968const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
969const char kOverlayScrollbarsDescription[] =
970 "Enable the experimental overlay scrollbars implementation. You must also "
971 "enable threaded compositing to have the scrollbars animate.";
972
chaopenge8aa016b2017-08-24 15:20:19973const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
974 "Flash Overlay Scrollbars After Any Scroll Update";
975const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
976 "Flash Overlay Scrollbars After any scroll update happends in page. You"
977 " must also enable Overlay Scrollbars.";
978
chaopeng343678022017-08-24 18:45:00979const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
980 "Flash Overlay Scrollbars When Mouse Enter";
981const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
982 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
983 " enable Overlay Scrollbars.";
984
Claudio Magni81326f92017-09-01 05:21:18985const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
986const char kUseNewAcceptLanguageHeaderDescription[] =
987 "Adds the base language code after other corresponding language+region "
988 "codes. This ensures that users receive content in their preferred "
989 "language.";
990
Brett Wilsonecb80982017-07-12 20:34:51991const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
992const char kOverscrollHistoryNavigationDescription[] =
993 "Experimental history navigation in response to horizontal overscroll.";
994const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
995
996const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
997const char kOverscrollStartThresholdDescription[] =
998 "Changes overscroll start threshold relative to the default value.";
999const char kOverscrollStartThreshold133Percent[] = "133%";
1000const char kOverscrollStartThreshold166Percent[] = "166%";
1001const char kOverscrollStartThreshold200Percent[] = "200%";
1002
Xing Liu5400a002017-09-15 21:48:291003const char kParallelDownloadingName[] = "Parallel downloading";
1004const char kParallelDownloadingDescription[] =
1005 "Enable parallel downloading to"
1006 "accelerate download speed.";
1007
Brett Wilsonecb80982017-07-12 20:34:511008const char kPassiveEventListenerDefaultName[] =
1009 "Passive Event Listener Override";
1010const char kPassiveEventListenerDefaultDescription[] =
1011 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1012 "haven't requested otherwise) to be treated as passive. This will break "
1013 "touch/wheel behavior on some websites but is useful for demonstrating the "
1014 "potential performance benefits of adopting passive event listeners.";
1015const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1016const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1017
1018const char kPassiveEventListenersDueToFlingName[] =
1019 "Touch Event Listeners Passive Default During Fling";
1020const char kPassiveEventListenersDueToFlingDescription[] =
1021 "Forces touchstart, and first touchmove per scroll event listeners during "
1022 "fling to be treated as passive.";
1023
1024const char kPassiveDocumentEventListenersName[] =
1025 "Document Level Event Listeners Passive Default";
1026const char kPassiveDocumentEventListenersDescription[] =
1027 "Forces touchstart, and touchmove event listeners on document level "
1028 "targets (which haven't requested otherwise) to be treated as passive.";
1029
1030const char kPasswordForceSavingName[] = "Force-saving of passwords";
1031const char kPasswordForceSavingDescription[] =
1032 "Allow the user to manually enforce password saving instead of relying on "
1033 "password manager's heuristics.";
1034
1035const char kPasswordGenerationName[] = "Password generation";
1036const char kPasswordGenerationDescription[] =
1037 "Allow the user to have Chrome generate passwords when it detects account "
1038 "creation pages.";
1039
1040const char kPasswordImportExportName[] = "Password import and export";
1041const char kPasswordImportExportDescription[] =
1042 "Import and Export functionality in password settings.";
1043
Maxim Kolosovskiyd97b94612017-09-19 20:10:391044const char kPasswordSelectionName[] =
1045 "Password selection and eye icon in prompt";
1046const char kPasswordSelectionDescription[] =
1047 "Show a password selector and an eye icon in prompt";
1048
Brett Wilsonecb80982017-07-12 20:34:511049const char kPermissionActionReportingName[] = "Permission Action Reporting";
1050const char kPermissionActionReportingDescription[] =
1051 "Enables permission action reporting to Safe Browsing servers for opted in "
1052 "users.";
1053
1054const char kPermissionsBlacklistName[] = "Permissions Blacklist";
1055const char kPermissionsBlacklistDescription[] =
1056 "Enables the Permissions Blacklist, which blocks permissions for "
1057 "blacklisted sites for Safe Browsing users.";
1058
1059const char kPinchScaleName[] = "Pinch scale";
1060const char kPinchScaleDescription[] =
1061 "Enables experimental support for scale using pinch.";
1062
Brett Wilsonecb80982017-07-12 20:34:511063const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1064const char kPrintPdfAsImageDescription[] =
1065 "If enabled, an option to print PDF files as images will be available in "
1066 "print preview.";
1067
1068const char kPrintPreviewRegisterPromosName[] =
1069 "Print Preview Registration Promos";
1070const char kPrintPreviewRegisterPromosDescription[] =
1071 "Enable registering unregistered cloud printers from print preview.";
1072
1073const char kProtectSyncCredentialName[] = "Autofill sync credential";
1074const char kProtectSyncCredentialDescription[] =
1075 "How the password manager handles autofill for the sync credential.";
1076
1077const char kProtectSyncCredentialOnReauthName[] =
1078 "Autofill sync credential only for transactional reauth pages";
1079const char kProtectSyncCredentialOnReauthDescription[] =
1080 "How the password manager handles autofill for the sync credential only "
1081 "for transactional reauth pages.";
1082
Mohsen Izadi93faac12017-07-29 04:45:151083const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1084const char kPullToRefreshDescription[] =
1085 "Pull-to-refresh gesture in response to vertical overscroll.";
1086
Brett Wilsonecb80982017-07-12 20:34:511087const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1088const char kPushApiBackgroundModeDescription[] =
1089 "Enable background mode for the Push API. This allows Chrome to continue "
1090 "running after the last window is closed, and to launch at OS startup, if "
1091 "the Push API needs it.";
1092
Piotr Swigon46929d12017-08-11 07:16:331093const char kPwaMinimalUiName[] = "Minimal-UI display mode for PWAs";
1094const char kPwaMinimalUiDescription[] =
1095 "Enables support for Minimal-UI display mode for installed PWAs";
1096
Brett Wilsonecb80982017-07-12 20:34:511097const char kQuicName[] = "Experimental QUIC protocol";
1098const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1099
1100const char kReducedReferrerGranularityName[] =
1101 "Reduce default 'referer' header granularity.";
1102const char kReducedReferrerGranularityDescription[] =
1103 "If a page hasn't set an explicit referrer policy, setting this flag will "
1104 "reduce the amount of information in the 'referer' header for cross-origin "
1105 "requests.";
1106
1107const char kRequestTabletSiteName[] =
1108 "Request tablet site option in the settings menu";
1109const char kRequestTabletSiteDescription[] =
1110 "Allows the user to request tablet site. Web content is often optimized "
1111 "for tablet devices. When this option is selected the user agent string is "
1112 "changed to indicate a tablet device. Web content optimized for tablets is "
1113 "received there after for the current tab.";
1114
1115const char kResetAppListInstallStateName[] =
1116 "Reset the App Launcher install state on every restart.";
1117const char kResetAppListInstallStateDescription[] =
1118 "Reset the App Launcher install state on every restart. While this flag is "
1119 "set, Chrome will forget the launcher has been installed each time it "
1120 "starts. This is used for testing the App Launcher install flow.";
1121
1122const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1123const char kResourceLoadSchedulerDescription[] =
1124 "Uses the resource load scheduler in blink to schedule and throttle "
1125 "resource load requests.";
1126
Brett Wilsonecb80982017-07-12 20:34:511127const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1128const char kSafeSearchUrlReportingDescription[] =
1129 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1130
1131const char kSaveasMenuLabelExperimentName[] =
1132 "Switch 'Save as' menu labels to 'Download'";
1133const char kSaveasMenuLabelExperimentDescription[] =
1134 "Enables an experiment to switch menu labels that use 'Save as...' to "
1135 "'Download'.";
1136
1137const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1138const char kSavePageAsMhtmlDescription[] =
1139 "Enables saving pages as MHTML: a single text file containing HTML and all "
1140 "sub-resources.";
1141
Nate Chapin9638e7102017-09-20 22:11:011142const char kSavePreviousDocumentResourcesName[] =
1143 "Save Previous Document Resources";
1144const char kSavePreviousDocumentResourcesDescription[] =
1145 "Saves an old document's cached resources until the specified point in the "
1146 "next document's lifecycle.";
1147const char kSavePreviousDocumentResourcesNever[] =
1148 "Don't explicitly save resources";
1149const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1150 "Save resources until onDOMContentLoaded completes";
1151const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1152 "Save resources until onload completes";
1153
Brett Wilsonecb80982017-07-12 20:34:511154const char kScrollPredictionName[] = "Scroll prediction";
1155const char kScrollPredictionDescription[] =
1156 "Predicts the finger's future position during scrolls allowing time to "
1157 "render the frame before the finger is there.";
1158
1159const char kSecondaryUiMd[] =
1160 "Material Design in the rest of the browser's native UI";
1161const char kSecondaryUiMdDescription[] =
1162 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1163 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1164 "browser dialogs.";
1165
1166const char kServiceWorkerNavigationPreloadName[] =
1167 "Service worker navigation preload.";
1168const char kServiceWorkerNavigationPreloadDescription[] =
1169 "Enable web pages to use the experimental service worker navigation "
1170 "preload API.";
1171
gogeraldd5061b592017-09-06 23:39:551172const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1173const char kServiceWorkerPaymentAppsDescription[] =
1174 "Enable Service Worker applications to integrate as payment apps";
1175
Makoto Shimazud9f333c2017-08-08 07:23:171176const char kServiceWorkerScriptStreamingName[] =
1177 "Service worker script streaming.";
1178const char kServiceWorkerScriptStreamingDescription[] =
1179 "Installed scripts for a service worker are sent over a dedicated "
1180 "message pipe and data pipes, and that is never be blocked on the main "
1181 "thread.";
1182
Brett Wilsonecb80982017-07-12 20:34:511183const char kSettingsWindowName[] = "Show settings in a window";
1184const char kSettingsWindowDescription[] =
1185 "Settings will be shown in a dedicated window instead of as a browser tab.";
1186
1187const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1188const char kShowAutofillSignaturesDescription[] =
1189 "Annotates web forms with Autofill signatures as HTML attributes.";
1190
1191const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1192const char kShowAutofillTypePredictionsDescription[] =
1193 "Annotates web forms with Autofill field type predictions as placeholder "
1194 "text.";
1195
1196const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1197const char kShowOverdrawFeedbackDescription[] =
1198 "Visualize overdraw by color-coding elements based on if they have other "
1199 "elements drawn underneath.";
1200
1201const char kShowSavedCopyName[] = "Show Saved Copy Button";
1202const char kShowSavedCopyDescription[] =
1203 "When a page fails to load, if a stale copy of the page exists in the "
1204 "browser cache, a button will be presented to allow the user to load that "
1205 "stale copy. The primary enabling choice puts the button in the most "
1206 "salient position on the error page; the secondary enabling choice puts it "
1207 "secondary to the reload button.";
1208const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1209const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1210const char kDisableShowSavedCopy[] = "Disable";
1211
1212const char kShowTouchHudName[] = "Show HUD for touch points";
1213const char kShowTouchHudDescription[] =
1214 "Enables a heads-up display at the top-left corner of the screen that "
1215 "lists information about the touch-points on the screen.";
1216
1217const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1218const char kSilentDebuggerExtensionApiDescription[] =
1219 "Do not show the infobar when an extension attaches to a page via "
1220 "chrome.debugger API. This is required to debug extension background "
1221 "pages.";
1222
1223const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1224const char kSimpleCacheBackendDescription[] =
1225 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1226 "disk space allocation.";
1227
1228const char kSimplifiedFullscreenUiName[] =
1229 "Simplified full screen / mouse lock UI.";
1230const char kSimplifiedFullscreenUiDescription[] =
1231 "A simplified new user experience when entering page-triggered full screen "
1232 "or mouse pointer lock states.";
1233
1234const char kSingleClickAutofillName[] = "Single-click autofill";
1235const char kSingleClickAutofillDescription[] =
1236 "Make autofill suggestions on initial mouse click on a form element.";
1237
1238const char kSiteDetails[] = "Site Details";
1239const char kSiteDetailsDescription[] =
1240 "Adds UI in MD Settings to view all content settings for a specific "
1241 "origin.";
1242
1243const char kSitePerProcessName[] = "Strict site isolation";
1244const char kSitePerProcessDescription[] =
1245 "Highly experimental security mode that ensures each renderer process "
1246 "contains pages from at most one site. In this mode, out-of-process "
1247 "iframes will be used whenever an iframe is cross-site.";
1248
1249const char kSiteSettings[] = "Site settings with All sites and Site details";
1250const char kSiteSettingsDescription[] =
1251 "Adds new ways of viewing Site settings.";
1252
1253const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
1254const char kSlimmingPaintInvalidationDescription[] =
1255 "Whether to enable a new paint invalidation system.";
1256
1257const char kSmoothScrollingName[] = "Smooth Scrolling";
1258const char kSmoothScrollingDescription[] =
1259 "Animate smoothly when scrolling page content.";
1260
1261const char kSoftwareRasterizerName[] = "3D software rasterizer";
1262const char kSoftwareRasterizerDescription[] =
1263 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1264
Tommy Steimel77704be2017-08-28 22:14:401265const char kSoundContentSettingName[] = "Sound content setting";
1266const char kSoundContentSettingDescription[] =
1267 "Enable site-wide muting in content settings and tab strip context menu.";
1268
Alexandr Ilinf0500ed32017-09-27 21:12:361269const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1270const char kSpeculativePreconnectDescription[] =
1271 "Enable the new implementation of preconnect and DNS preresolve. "
1272 "\"Learning\" means that only database construction is enabled, "
1273 "\"Preconnect\" enables both learning and preconnect and disables the "
1274 "existing implementation. \"No preconnect\" disables both implementations.";
1275
Brett Wilsonecb80982017-07-12 20:34:511276const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341277const char kSpeculativePrefetchDescription[] =
1278 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1279 R"*(load times, based on a local database (see chrome://predictors). )*"
1280 R"*("Learning" means that only the database construction is enabled, )*"
1281 R"*("Prefetching" that learning and prefetching are enabled.)*";
1282
Justin Donnelly4e448cb2017-07-07 21:32:131283const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1284 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131285const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1286 "If enabled, when the user enters text in the omnibox that looks like a "
1287 "a query, any service worker associated with the search engine the query "
1288 "will be sent to is started early.";
1289
Brett Wilsonecb80982017-07-12 20:34:511290const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1291const char kSpellingFeedbackFieldTrialDescription[] =
1292 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401293
Brett Wilsonecb80982017-07-12 20:34:511294const char kSuggestionsWithSubStringMatchName[] =
1295 "Substring matching for Autofill suggestions";
1296const char kSuggestionsWithSubStringMatchDescription[] =
1297 "Match Autofill suggestions based on substrings (token prefixes) rather "
1298 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341299
Brett Wilsonecb80982017-07-12 20:34:511300const char kSyncAppListName[] = "App Launcher sync";
1301const char kSyncAppListDescription[] =
1302 "Enable App Launcher sync. This also enables Folders where available (non "
1303 "OSX).";
vabr0215a8e2017-03-28 12:47:341304
Brett Wilsonecb80982017-07-12 20:34:511305const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1306const char kSyncSandboxDescription[] =
1307 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341308
Brett Wilsonecb80982017-07-12 20:34:511309const char kTabAudioMutingName[] = "Tab audio muting UI control";
1310const char kTabAudioMutingDescription[] =
1311 "When enabled, the audio indicators in the tab strip double as tab audio "
1312 "mute controls. This also adds commands in the tab context menu for "
1313 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341314
Christian Dullweberd0d96f02017-09-13 09:22:511315const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1316const char kTabsInCbdDescription[] =
1317 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1318
Brett Wilsonecb80982017-07-12 20:34:511319const char kTcpFastOpenName[] = "TCP Fast Open";
1320const char kTcpFastOpenDescription[] =
1321 "Enable the option to send extra authentication information in the initial "
1322 "SYN packet for a previously connected client, allowing faster data send "
1323 "start.";
vabr0215a8e2017-03-28 12:47:341324
Brett Wilsonecb80982017-07-12 20:34:511325const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1326const char kTopChromeMdDescription[] =
1327 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
1328const char kTopChromeMdMaterial[] = "Normal";
1329const char kTopChromeMdMaterialHybrid[] = "Touch";
vabr0215a8e2017-03-28 12:47:341330
Brett Wilsonecb80982017-07-12 20:34:511331const char kThreadedScrollingName[] = "Threaded scrolling";
1332const char kThreadedScrollingDescription[] =
1333 "Threaded handling of scroll-related input events. Disabling this will "
1334 "force all such scroll events to be handled on the main thread. Note that "
1335 "this can dramatically hurt scrolling performance of most websites and is "
1336 "intended for testing purposes only.";
1337
Steven Valdez4584b2482017-07-14 01:11:571338const char kTLS13VariantName[] = "TLS 1.3";
1339const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1340const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111341const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez4584b2482017-07-14 01:11:571342const char kTLS13VariantDraft[] = "Enabled (Draft)";
1343const char kTLS13VariantExperiment[] = "Enabled (Experiment)";
Steven Valdezf00f8782017-09-13 18:05:281344const char kTLS13VariantExperiment2[] = "Enabled (Experiment 2)";
1345const char kTLS13VariantExperiment3[] = "Enabled (Experiment 3)";
Steven Valdez4584b2482017-07-14 01:11:571346
Brett Wilsonecb80982017-07-12 20:34:511347const char kTopDocumentIsolationName[] = "Top document isolation";
1348const char kTopDocumentIsolationDescription[] =
1349 "Highly experimental performance mode where cross-site iframes are kept in "
1350 "a separate process from the top document. In this mode, iframes from "
1351 "different third-party sites will be allowed to share a process.";
1352
1353const char kTouchAdjustmentName[] = "Touch adjustment";
1354const char kTouchAdjustmentDescription[] =
1355 "Refine the position of a touch gesture in order to compensate for touches "
1356 "having poor resolution compared to a mouse.";
1357
1358const char kTouchDragDropName[] = "Touch initiated drag and drop";
1359const char kTouchDragDropDescription[] =
1360 "Touch drag and drop can be initiated through long press on a draggable "
1361 "element.";
1362
1363const char kTouchEventsName[] = "Touch Events API";
1364const char kTouchEventsDescription[] =
1365 "Force Touch Events API feature detection to always be enabled or "
1366 "disabled, or to be enabled when a touchscreen is detected on startup "
1367 "(Automatic, the default).";
1368
1369const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1370const char kTouchSelectionStrategyDescription[] =
1371 "Controls how text selection granularity changes when touch text selection "
1372 "handles are dragged. Non-default behavior is experimental.";
1373const char kTouchSelectionStrategyCharacter[] = "Character";
1374const char kTouchSelectionStrategyDirection[] = "Direction";
1375
1376const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1377const char kTraceUploadUrlDescription[] =
1378 "This is to be used in conjunction with the enable-navigation-tracing "
1379 "flag. Please select the label that best describes the recorded traces. "
1380 "This will choose the destination the traces are uploaded to. If you are "
1381 "not sure, select other. If left empty, no traces will be uploaded.";
1382const char kTraceUploadUrlChoiceOther[] = "Other";
1383const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1384const char kTraceUploadUrlChoiceQa[] = "QA";
1385const char kTraceUploadUrlChoiceTesting[] = "Testing";
1386
1387const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
1388const char kTranslate2016q2UiDescription[] =
1389 "Improved triggering logic and look for Translate Bubble UI";
1390
1391const char kTranslateLanguageByUlpName[] = "Translate Language by ULP";
1392const char kTranslateLanguageByUlpDescription[] =
1393 "Improved translate target language and triggering logic by considering "
1394 "information from User Language Profile (ULP).";
1395
Philippe Hamel7fdaa452017-09-29 17:22:491396const char kTranslateRankerEnforcementName[] =
1397 "Enforce TranslateRanker decisions";
1398const char kTranslateRankerEnforcementDescription[] =
1399 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1400 "or not Translate UI should be triggered in a given context.";
1401
Brett Wilsonecb80982017-07-12 20:34:511402const char kTrySupportedChannelLayoutsName[] =
1403 "Causes audio output streams to check if channel layouts other than the "
1404 "default hardware layout are available.";
1405const char kTrySupportedChannelLayoutsDescription[] =
1406 "Causes audio output streams to check if channel layouts other than the "
1407 "default hardware layout are available. Turning this on will allow the OS "
1408 "to do stereo to surround expansion if supported. May expose third party "
1409 "driver bugs, use with caution.";
1410
1411const char kUiPartialSwapName[] = "Partial swap";
1412const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1413
Chris Pickel3a227ae62017-08-24 10:47:261414const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1415const char kUseDdljsonApiDescription[] =
1416 "Enables the new ddljson API to fetch Doodles for the NTP.";
1417
Brett Wilsonecb80982017-07-12 20:34:511418const char kUserConsentForExtensionScriptsName[] =
1419 "User consent for extension scripts";
1420const char kUserConsentForExtensionScriptsDescription[] =
1421 "Require user consent for an extension running a script on the page, if "
1422 "the extension requested permission to run on all urls.";
1423
1424const char kUseSuggestionsEvenIfFewFeatureName[] =
1425 "Disable minimum for server-side tile suggestions on NTP.";
1426const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1427 "Request server-side suggestions even if there are only very few of them "
1428 "and use them for tiles on the New Tab Page.";
1429
1430const char kV8CacheOptionsName[] = "V8 caching mode.";
1431const char kV8CacheOptionsDescription[] =
1432 "Caching mode for the V8 JavaScript engine.";
1433const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1434const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1435
1436const char kV8CacheStrategiesForCacheStorageName[] =
1437 "V8 caching strategy for CacheStorage.";
1438const char kV8CacheStrategiesForCacheStorageDescription[] =
1439 "Caching strategy of scripts in CacheStorage for the V8 JavaScript engine.";
1440const char kV8CacheStrategiesForCacheStorageNormal[] = "Normal";
1441const char kV8CacheStrategiesForCacheStorageAggressive[] = "Aggressive";
1442
Hitoshi Yoshida3e5db562017-09-11 02:31:081443const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1444const char kV8ContextSnapshotDescription[] =
1445 "Sets to use a snapshot to create V8 contexts in frame creation.";
1446
Brett Wilsonecb80982017-07-12 20:34:511447const char kVibrateRequiresUserGestureName[] =
1448 "Requiring user gesture for the Vibration API";
1449const char kVibrateRequiresUserGestureDescription[] =
1450 "Block the Vibration API if no user gesture has been received on the frame "
1451 "or any embedded frame.";
1452
1453const char kVideoFullscreenOrientationLockName[] =
1454 "Lock screen orientation when playing a video fullscreen.";
1455const char kVideoFullscreenOrientationLockDescription[] =
1456 "Lock the screen orientation of the device to match video orientation when "
1457 "a video goes fullscreen. Only on phones.";
1458
1459const char kVideoRotateToFullscreenName[] =
1460 "Rotate-to-fullscreen gesture for videos.";
1461const char kVideoRotateToFullscreenDescription[] =
1462 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1463 "the video. Only on phones.";
1464
1465const char kWalletServiceUseSandboxName[] =
1466 "Use Google Payments sandbox servers";
1467const char kWalletServiceUseSandboxDescription[] =
1468 "For developers: use the sandbox service for Google Payments API calls.";
1469
Brett Wilsonecb80982017-07-12 20:34:511470const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1471const char kWebglDraftExtensionsDescription[] =
1472 "Enabling this option allows web applications to access the WebGL "
1473 "Extensions that are still in draft status.";
1474
1475const char kWebMidiName[] = "Web MIDI API";
1476const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1477
1478const char kWebPaymentsName[] = "Web Payments";
1479const char kWebPaymentsDescription[] =
1480 "Enable Web Payments API integration, a JavaScript API for merchants.";
1481
Mathieu Perreault51339b82017-07-20 17:06:051482const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1483const char kWebPaymentsModifiersDescription[] =
1484 "If the website provides modifiers in the payment request, show the custom "
1485 "total for each payment instrument, update the shopping cart when "
1486 "instruments are switched, and send modified payment method specific data "
1487 "to the payment app.";
1488
Brett Wilsonecb80982017-07-12 20:34:511489const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1490const char kWebrtcEchoCanceller3Description[] =
1491 "Experimental WebRTC echo canceller (AEC3).";
1492
1493const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1494const char kWebrtcHwDecodingDescription[] =
1495 "Support in WebRTC for decoding video streams using platform hardware.";
1496
1497const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1498const char kWebrtcHwEncodingDescription[] =
1499 "Support in WebRTC for encoding video streams using platform hardware.";
1500
1501const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1502const char kWebrtcHwH264EncodingDescription[] =
1503 "Support in WebRTC for encoding h264 video streams using platform "
1504 "hardware.";
1505
1506const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1507const char kWebrtcHwVP8EncodingDescription[] =
1508 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1509
1510const char kWebrtcSrtpAesGcmName[] =
1511 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1512const char kWebrtcSrtpAesGcmDescription[] =
1513 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1514
Joachim Bauch4a41d7512017-08-23 14:24:231515const char kWebrtcSrtpEncryptedHeadersName[] =
1516 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1517const char kWebrtcSrtpEncryptedHeadersDescription[] =
1518 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1519 "for SRTP.";
1520
Brett Wilsonecb80982017-07-12 20:34:511521const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1522const char kWebrtcStunOriginDescription[] =
1523 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1524 "header.";
1525
1526const char kWebvrName[] = "WebVR";
1527const char kWebvrDescription[] =
1528 "Enabling this option allows web applications to access experimental "
Michael Thiessenab056202017-10-05 16:50:121529 "Virtual Reality APIs. Warning: Enabling this will also allow WebVR "
1530 "content on insecure origins to access these powerful APIs, and may pose a "
1531 "security risk.";
Brett Wilsonecb80982017-07-12 20:34:511532
1533const char kWifiCredentialSyncName[] = "WiFi credential sync";
1534const char kWifiCredentialSyncDescription[] =
1535 "Enables synchronizing WiFi network settings across devices. When enabled, "
1536 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1537 "credentials are synchronized subject to user preferences. (See also, "
1538 "chrome://settings/syncSetup.)";
1539
1540const char kZeroCopyName[] = "Zero-copy rasterizer";
1541const char kZeroCopyDescription[] =
1542 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341543
Brett Wilsonff596952017-07-14 01:06:551544// Android ---------------------------------------------------------------------
1545
1546#if defined(OS_ANDROID)
1547
1548const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1549const char kAiaFetchingDescription[] =
1550 "Enable intermediate certificate fetching when a server does not provide "
1551 "sufficient certificates to build a chain to a trusted root.";
1552
1553const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1554const char kAccessibilityTabSwitcherDescription[] =
1555 "Enable the accessibility tab switcher for Android.";
1556
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251557const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1558const char kAllowReaderForAccessibilityDescription[] =
1559 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1560
Brett Wilsonff596952017-07-14 01:06:551561const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1562const char kAndroidAutofillAccessibilityDescription[] =
1563 "Enable accessibility for autofill popup.";
1564
1565const char kAndroidPaymentAppsName[] = "Android payment apps";
1566const char kAndroidPaymentAppsDescription[] =
1567 "Enable third party Android apps to integrate as payment apps";
1568
Iulia Harasim0b5a4312017-07-21 16:20:501569const char kAndroidSigninPromosName[] = "Signin promos for Android.";
1570const char kAndroidSigninPromosDescription[] =
1571 "New signin promos for Android which will be displayed in content "
1572 "suggestions, Settings, Bookmarks and Recent Tabs.";
1573
Tatiana Gornak38ab3562017-07-28 11:04:181574const char kAndroidViewPasswordsName[] = "Copy and view passwords for Android";
1575const char kAndroidViewPasswordsDescription[] =
1576 "Enables copying and viewing passwords in settings.";
1577
Miriam Gershenson23cfe346e2017-09-28 14:49:291578const char kAsyncDnsName[] = "Async DNS resolver";
1579const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1580
Brett Wilsonff596952017-07-14 01:06:551581const char kAutofillAccessoryViewName[] =
1582 "Autofill suggestions as keyboard accessory view";
1583const char kAutofillAccessoryViewDescription[] =
1584 "Shows Autofill suggestions on top of the keyboard rather than in a "
1585 "dropdown.";
1586
1587const char kBackgroundLoaderForDownloadsName[] =
1588 "Enables background downloading of pages.";
1589const char kBackgroundLoaderForDownloadsDescription[] =
1590 "Enables downloading pages in the background in case page is not yet "
1591 "loaded in current tab.";
1592
Theresa Wellington37014d92017-08-23 02:09:201593const char kChromeHomeDoodleName[] = "Chrome Home Doodle.";
1594const char kChromeHomeDoodleDescription[] =
1595 "Enables showing the Doodle on the NTP for Chrome Home.";
1596
Theresa Wellington82d6f6ef2017-10-12 02:39:131597const char kChromeHomeOptOutSnackbarName[] = "Chrome Home Opt-out Snackbar";
1598const char kChromeHomeOptOutSnackbarDescription[] =
1599 "Show a snackbar prompting users to take a survey the first time they"
1600 " opt-out of Chrome Home";
1601
Theresa Wellingtondd71c5c2017-10-02 15:50:381602const char kChromeHomePersonalizedOmniboxSuggestionsName[] =
1603 "Chrome Home Personalized Omnibox Suggestions";
1604const char kChromeHomePersonalizedOmniboxSuggestionsDescription[] =
1605 "Enable personalized omnibox suggestions on focus for Chrome Home.";
1606
Matthew Jones4214d2a12017-09-28 18:35:111607const char kChromeHomePromoName[] = "Chrome Home Promo";
1608const char kChromeHomePromoDescription[] =
1609 "Force the Chrome Home promotion to show each time the browser restarts.";
1610
Brett Wilsonff596952017-07-14 01:06:551611const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1612const char kChromeHomeSwipeLogicDescription[] =
1613 "Various swipe logic options for Chrome Home for sheet expansion.";
1614const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Brett Wilsonff596952017-07-14 01:06:551615
1616const char kChromeHomeName[] = "Chrome Home";
1617const char kChromeHomeDescription[] =
1618 "Enables Chrome Home on Android. You must restart the browser"
1619 " twice for changes to take effect.";
1620
Megan Jablonskic61eb1b82017-10-02 18:03:061621const char kChromeMemexName[] = "Chrome Memex";
1622const char kChromeMemexDescription[] =
1623 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1624 "Googlers.";
1625
Brett Wilsonff596952017-07-14 01:06:551626const char kContentSuggestionsCategoryOrderName[] =
1627 "Default content suggestions category order (e.g. on NTP)";
1628const char kContentSuggestionsCategoryOrderDescription[] =
1629 "Set default order of content suggestion categories (e.g. on the NTP).";
1630
1631const char kContentSuggestionsCategoryRankerName[] =
1632 "Content suggestions category ranker (e.g. on NTP)";
1633const char kContentSuggestionsCategoryRankerDescription[] =
1634 "Set category ranker to order categories of content suggestions (e.g. on "
1635 "the NTP).";
1636
Vitalii Iarkof52ff802017-09-14 12:34:241637const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1638const char kContentSuggestionsDebugLogDescription[] =
1639 "Enable content suggestions debug log accessible through "
1640 "snippets-internals.";
1641
Brett Wilsonff596952017-07-14 01:06:551642const char kContextualSearchContextualCardsBarIntegration[] =
1643 "Contextual Search - Contextual Cards Integration";
1644const char kContextualSearchContextualCardsBarIntegrationDescription[] =
1645 "Whether or not integration of Contextual Cards data in the Contextual "
1646 "Search Bar is enabled.";
1647
1648const char kContextualSearchSingleActionsName[] =
1649 "Contextual Search - Single Actions";
1650const char kContextualSearchSingleActionsDescription[] =
1651 "Whether or not single actions using Contextual Cards data in the "
1652 "Contextual Search Bar is enabled.";
1653
1654const char kContextualSearchUrlActionsName[] =
1655 "Contextual Search - URL Actions";
1656const char kContextualSearchUrlActionsDescription[] =
1657 "Whether or not URL actions using Contextual Cards data in the Contextual "
1658 "Search Bar is enabled.";
1659
1660const char kContextualSearchName[] = "Contextual Search";
1661const char kContextualSearchDescription[] =
1662 "Whether or not Contextual Search is enabled.";
1663
Dmitry Skiba9c3efa72017-07-20 22:01:141664const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1665const char kDontPrefetchLibrariesDescription[] =
1666 "Don't prefetch libraries after loading.";
1667
Joy Ming5fd29ca62017-10-02 22:51:221668const char kDownloadsForegroundName[] = "Enable downloads foreground";
1669const char kDownloadsForegroundDescription[] =
1670 "Enable downloads as a foreground service for all versions of Android.";
1671
Brett Wilsonff596952017-07-14 01:06:551672const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1673const char kEnableAndroidPayIntegrationV1Description[] =
1674 "Enable integration with Android Pay using the first version of the API";
1675
1676const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1677const char kEnableAndroidPayIntegrationV2Description[] =
1678 "Enable integration with Android Pay using the second version of the API";
1679
Vitalii Iarkof4ed32d2017-09-26 13:15:531680const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:551681const char kEnableAndroidSpellcheckerDescription[] =
1682 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:551683
1684const char kEnableContentSuggestionsLargeThumbnailName[] =
1685 "Large thumbnails layout for content suggestions cards.";
1686const char kEnableContentSuggestionsLargeThumbnailDescription[] =
1687 "If enabled, the content suggestions cards will use large thumbnails and "
1688 "some related adjustments.";
1689
Vitalii Iarkof4ed32d2017-09-26 13:15:531690const char kEnableContentSuggestionsNewFaviconServerName[] =
1691 "Get favicons for content suggestions from a new server.";
1692const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1693 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1694 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:551695
1696const char kEnableContentSuggestionsSettingsName[] =
1697 "Show content suggestions settings.";
1698const char kEnableContentSuggestionsSettingsDescription[] =
1699 "If enabled, the content suggestions settings will be available from the "
1700 "main settings menu.";
1701
Vitalii Iarkof4ed32d2017-09-26 13:15:531702const char kEnableContentSuggestionsThumbnailDominantColorName[] =
1703 "Use content suggestions thumbnail dominant color.";
1704const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
1705 "Use content suggestions thumbnail dominant color as a placeholder before "
1706 "the real thumbnail is fetched (requires Chrome Home).";
1707
Brett Wilsonff596952017-07-14 01:06:551708const char kEnableCopylessPasteName[] = "App Indexing (Copyless Paste)";
1709const char kEnableCopylessPasteDescription[] =
1710 "Provide suggestions for text input, based on your recent context. For "
1711 "example, if you looked at a restaurant website and switched to the Maps "
1712 "app, the keyboard would offer the name of that restaurant as a suggestion "
1713 "to enter into the search bar. The data is indexed locally, and never sent "
1714 "to the server. It's disabled in incognito mode.";
1715
1716const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1717const char kEnableCustomContextMenuDescription[] =
1718 "Enables a new context menu when a link, image, or video is pressed within "
1719 "Chrome.";
1720
1721const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1722const char kEnableCustomFeedbackUiDescription[] =
1723 "Enables a custom feedback UI when submitting feedback through Google "
1724 "Feedback. Works with Google Play Services v10.2+";
1725
1726const char kEnableDataReductionProxyMainMenuName[] =
1727 "Enable Data Saver main menu footer";
1728const char kEnableDataReductionProxyMainMenuDescription[] =
1729 "Enables the Data Saver footer in the main menu";
1730
1731const char kEnableDataReductionProxySiteBreakdownName[] =
1732 "Data Saver Site Breakdown";
1733const char kEnableDataReductionProxySiteBreakdownDescription[] =
1734 "Enable the site breakdown on the Data Saver settings page.";
1735
1736const char kEnableOmniboxClipboardProviderName[] =
1737 "Omnibox clipboard URL suggestions";
1738const char kEnableOmniboxClipboardProviderDescription[] =
1739 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1740 "focus in the omnibox.";
1741
1742const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1743 "Use expanded autofill credit card popup layout.";
1744const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1745 "If enabled, displays autofill credit card popup using expanded layout.";
1746
1747const char kEnableFaviconsFromWebManifestName[] =
1748 "Load favicons from Web Manifests";
1749const char kEnableFaviconsFromWebManifestDescription[] =
1750 "Fetch Web Manifests on page load to read favicons from them.";
1751
1752const char kEnableNtpAssetDownloadSuggestionsName[] =
1753 "Show asset downloads on the New Tab page";
1754const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1755 "If enabled, the list of content suggestions on the New Tab page will "
1756 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1757 "later use.";
1758
1759const char kEnableNtpBookmarkSuggestionsName[] =
1760 "Show recently visited bookmarks on the New Tab page";
1761const char kEnableNtpBookmarkSuggestionsDescription[] =
1762 "If enabled, the list of content suggestions on the New Tab page will "
1763 "contain recently visited bookmarks.";
1764
1765const char kEnableNtpForeignSessionsSuggestionsName[] =
1766 "Show recent foreign tabs on the New Tab page";
1767const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1768 "If enabled, the list of content suggestions on the New Tab page will "
1769 "contain recent foreign tabs.";
1770
1771const char kEnableNtpMostLikelyFaviconsFromServerName[] =
1772 "Download favicons for NTP tiles from Google.";
1773const char kEnableNtpMostLikelyFaviconsFromServerDescription[] =
1774 "If enabled, missing favicons for NTP tiles get downloaded from Google. "
1775 "This only applies to tiles that originate from synced history.";
1776
Jan Krcal7fadbd32017-08-04 10:49:211777const char kNtpTilesLowerResolutionFaviconsName[] =
1778 "Show also lower resolution favicons in NTP tiles.";
1779const char kNtpTilesLowerResolutionFaviconsDescription[] =
1780 "If enabled, the size limit for a favicon to get displayed in an NTP tile "
1781 "decreases. Tiles where the largest available favicon is below this limit "
1782 "get displayed as colored tiles.";
1783
Brett Wilsonff596952017-07-14 01:06:551784const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1785 "Show offline page downloads on the New Tab page";
1786const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1787 "If enabled, the list of content suggestions on the New Tab page will "
1788 "contain pages that the user downloaded for later use.";
1789
1790const char kEnableNtpRemoteSuggestionsName[] =
1791 "Show server-side suggestions on the New Tab page";
1792const char kEnableNtpRemoteSuggestionsDescription[] =
1793 "If enabled, the list of content suggestions on the New Tab page will "
1794 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
1795 "allows to override the source used to retrieve these server-side "
1796 "suggestions.";
1797
1798const char kEnableNtpSnippetsVisibilityName[] =
1799 "Make New Tab Page Snippets more visible.";
1800const char kEnableNtpSnippetsVisibilityDescription[] =
1801 "If enabled, the NTP snippets will become more discoverable with a larger "
1802 "portion of the first card above the fold.";
1803
1804const char kEnableNtpSuggestionsNotificationsName[] =
1805 "Notify about new content suggestions available at the New Tab page";
1806const char kEnableNtpSuggestionsNotificationsDescription[] =
1807 "If enabled, notifications will inform about new content suggestions on "
1808 "the New Tab page.";
1809
1810const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
1811const char kEnablePhysicalWebDescription[] =
1812 "Enable scanning for URLs from Physical Web objects.";
1813
1814const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1815const char kEnableOfflinePreviewsDescription[] =
1816 "Enable showing offline page previews on slow networks.";
1817
1818const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
1819const char kEnableOskOverscrollDescription[] =
1820 "Enable OSK overscroll support. With this flag on, the OSK will only "
1821 "resize the visual viewport.";
1822
1823const char kEnableSpecialLocaleName[] =
1824 "Enable custom logic for special locales.";
1825const char kEnableSpecialLocaleDescription[] =
1826 "Enable custom logic for special locales. In this mode, Chrome might "
1827 "behave differently in some locales.";
1828
Brett Wilsonff596952017-07-14 01:06:551829const char kEnableWebNfcName[] = "WebNFC";
1830const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
1831
gogeraldf3cbb422017-07-26 14:37:121832const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
1833 "Enable Web Payments method section order V2.";
1834const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
1835 "Enable this option to display payment method section above address "
1836 "section instead of below it.";
1837
Brett Wilsonff596952017-07-14 01:06:551838const char kEnableWebPaymentsSingleAppUiSkipName[] =
1839 "Enable Web Payments single app UI skip";
1840const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
1841 "Enable Web Payments to skip showing its UI if the developer specifies a "
1842 "single app.";
1843
1844const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
1845const char kHerbPrototypeChoicesDescription[] =
1846 "Switching this option changes which tab management prototype is being "
1847 "tested.";
1848const char kHerbPrototypeFlavorElderberry[] =
1849 "ELDERBERRY: All View Intents in CCT v2";
1850
1851const char kKeepPrefetchedContentSuggestionsName[] =
1852 "Keep prefetched content suggestions";
1853const char kKeepPrefetchedContentSuggestionsDescription[] =
1854 "If enabled, some of prefetched content suggestions are not replaced by "
1855 "the new fetched suggestions.";
1856
1857const char kLsdPermissionPromptName[] =
1858 "Location Settings Dialog Permission Prompt";
1859const char kLsdPermissionPromptDescription[] =
1860 "Whether to use the Google Play Services Location Settings Dialog "
1861 "permission dialog.";
1862
Brett Wilsonff596952017-07-14 01:06:551863const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
1864const char kMediaScreenCaptureDescription[] =
1865 "Enable this option for experimental ScreenCapture feature on Android.";
1866
1867const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
1868const char kModalPermissionPromptsDescription[] =
1869 "Whether to use permission dialogs in place of permission infobars.";
1870
Brett Wilsonff596952017-07-14 01:06:551871const char kNewPhotoPickerName[] = "Enable new Photopicker";
1872const char kNewPhotoPickerDescription[] =
1873 "Activates the new picker for selecting photos.";
1874
1875const char kNoCreditCardAbort[] = "No Credit Card Abort";
1876const char kNoCreditCardAbortDescription[] =
1877 "Whether or not the No Credit Card Abort is enabled.";
1878
1879const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
1880const char kNtpCondensedLayoutDescription[] =
1881 "Show a condensed layout on the New Tab Page.";
1882
1883const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
1884const char kNtpCondensedTileLayoutDescription[] =
1885 "Show a condensed tile layout on the New Tab Page.";
1886
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:041887const char kSiteExplorationUiName[] = "Site Exploration UI";
1888const char kSiteExplorationUiDescription[] =
1889 "Show site suggestions in the Exploration UI";
1890
Brett Wilsonff596952017-07-14 01:06:551891const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
1892const char kNtpGoogleGInOmniboxDescription[] =
1893 "Show a Google G in the omnibox on the New Tab Page.";
1894
1895const char kNtpOfflinePagesName[] = "Enable NTP offline pages";
1896const char kNtpOfflinePagesDescription[] =
1897 "Enables badging of offline pages on the New Tab page. Only relevant if "
1898 "offline pages are enabled.";
1899
1900const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
1901const char kNtpPopularSitesDescription[] =
1902 "Pre-populate the New Tab page with popular sites.";
1903
Brett Wilsonff596952017-07-14 01:06:551904const char kOfflineBookmarksName[] = "Enable offline bookmarks";
1905const char kOfflineBookmarksDescription[] =
1906 "Enable saving bookmarked pages for offline viewing.";
1907
1908const char kOfflinePagesAsyncDownloadName[] =
1909 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages.)*";
1910const char kOfflinePagesAsyncDownloadDescription[] =
1911 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages such )*"
1912 R"*(that the user can click on it to download the page later.)*";
1913
1914const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
1915const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
1916
1917const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
1918const char kOfflinePagesCtV2Description[] =
1919 "V2 features include attributing pages to the app that initiated the "
1920 "custom tabs, and being able to query for pages by page attribution.";
1921
1922const char kOfflinePagesLoadSignalCollectingName[] =
1923 "Enables collecting load timing data for offline page snapshots.";
1924const char kOfflinePagesLoadSignalCollectingDescription[] =
1925 "Enables loading completeness data collection while writing an offline "
1926 "page. This data is collected in the snapshotted offline page to allow "
1927 "data analysis to improve deciding when to make the offline snapshot.";
1928
1929const char kOfflinePagesPrefetchingName[] =
1930 "Enables suggested offline pages to be prefetched.";
1931const char kOfflinePagesPrefetchingDescription[] =
1932 "Enables suggested offline pages to be prefetched, so useful content is "
1933 "available while offline.";
1934
Cathy Li3d5379e2017-09-07 00:11:091935const char kOfflinePagesPrefetchingUIName[] =
1936 "Enables prefetched offline pages to be shown in UI.";
1937const char kOfflinePagesPrefetchingUIDescription[] =
1938 "Enables prefetched offline pages to raise notifications and be shown in "
1939 "download home UI.";
1940
Pete Williamson7845dff2017-09-20 11:06:191941const char kOfflinePagesResourceBasedSnapshotName[] =
1942 "Enables offline page snapshots to be based on percentage of page loaded.";
1943const char kOfflinePagesResourceBasedSnapshotDescription[] =
1944 "Enables offline page snapshots to use a resource percentage based "
1945 "approach for determining when the page is loaded as opposed to a time "
1946 "based approach";
1947
Collin Baker17f92a52017-07-19 21:41:251948const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
1949const char kOfflinePagesRenovationsDescription[] =
1950 "Enables offline page renovations which correct issues with dynamic "
1951 "content that occur when offlining pages that use JavaScript.";
1952
Brett Wilsonff596952017-07-14 01:06:551953const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
1954const char kOfflinePagesSharingDescription[] =
1955 "Enables the saved offline pages to be shared via other applications.";
1956
1957const char kOfflinePagesSvelteConcurrentLoadingName[] =
1958 "Enables concurrent background loading on svelte.";
1959const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
1960 "Enables concurrent background loading (or downloading) of pages on "
1961 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
1962 "happen when the svelte device is idle.";
1963
1964const char kOffliningRecentPagesName[] =
1965 "Enable offlining of recently visited pages";
1966const char kOffliningRecentPagesDescription[] =
1967 "Enable storing recently visited pages locally for offline use. Requires "
1968 "Offline Pages to be enabled.";
1969
1970extern const char kPayWithGoogleV1Name[] = "Pay with Google v1";
1971extern const char kPayWithGoogleV1Description[] =
1972 "Enable Pay with Google integration into Web Payments with API version "
1973 "'1'.";
1974
Matthew Jones7c37430cd2017-09-11 15:59:281975const char kProgressBarThrottleName[] = "Android progress update throttling.";
1976const char kProgressBarThrottleDescription[] =
1977 "Limit the maximum progress update to make progress appear smoother.";
1978
Brett Wilsonff596952017-07-14 01:06:551979const char kProgressBarCompletionName[] =
1980 "Android phone page load progress bar completion time.";
1981const char kProgressBarCompletionDescription[] =
1982 "Configures Android phone page loading progress bar completion time.";
1983const char kProgressBarCompletionLoadEvent[] =
1984 R"*(Top loading frame's onload event ("everything" is done in the )*"
1985 R"*(page, historical behavior).)*";
1986const char kProgressBarCompletionResourcesBeforeDcl[] =
1987 "Main frame's domContentLoaded and all resources loads started before "
1988 "domContentLoaded (iframes ignored).";
1989const char kProgressBarCompletionDomContentLoaded[] =
1990 "Main frame's domContentLoaded (iframes ignored).";
1991const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
1992 "domContentLoaded and all resources loads started before domContentLoaded "
1993 "(main frame and same origin iframes).";
1994
1995const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
1996const char kPullToRefreshEffectDescription[] =
1997 "Page reloads triggered by vertically overscrolling content.";
1998
Piotr Swigon7c296ef2017-08-29 04:32:001999const char kPwaImprovedSplashScreenName[] =
2000 "Improved Splash Screen for standalone PWAs";
2001const char kPwaImprovedSplashScreenDescription[] =
2002 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2003 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492004const char kPwaPersistentNotificationName[] =
2005 "Persistent notification in standalone PWA";
2006const char kPwaPersistentNotificationDescription[] =
2007 "Enables a persistent Android notification for standalone PWAs";
2008
Brett Wilsonff596952017-07-14 01:06:552009const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2010const char kReaderModeHeuristicsDescription[] =
2011 "Determines what pages the Reader Mode infobar is shown on.";
2012const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2013const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2014const char kReaderModeHeuristicsAllArticles[] = "All articles";
2015const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2016const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2017
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182018const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2019const char kReaderModeInCCTDescription[] =
2020 "Open Reader Mode in Chrome Custom Tabs.";
2021
Brett Wilsonff596952017-07-14 01:06:552022const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2023const char kSetMarketUrlForTestingDescription[] =
2024 "When enabled, sets the market URL for use in testing the update menu "
2025 "item.";
2026
2027const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2028const char kSpannableInlineAutocompleteDescription[] =
2029 "A new type of inline autocomplete for the omnibox that works with "
2030 "keyboards that compose text.";
2031
Brett Wilsonff596952017-07-14 01:06:552032const char kTranslateCompactUIName[] = "New Translate Infobar";
2033const char kTranslateCompactUIDescription[] =
2034 "Enable the new Translate compact infobar UI.";
2035
2036const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2037const char kUpdateMenuBadgeDescription[] =
2038 "When enabled, an update badge will be shown on the app menu button.";
2039
2040const char kUpdateMenuItemCustomSummaryDescription[] =
2041 "When this flag and the force show update menu item flag are enabled, a "
2042 "custom summary string will be displayed below the update menu item.";
2043const char kUpdateMenuItemCustomSummaryName[] =
2044 "Update menu item custom summary";
2045
2046const char kUpdateMenuItemName[] = "Force show update menu item";
2047const char kUpdateMenuItemDescription[] =
2048 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2049 R"*(menu.)*";
2050
2051const char kUseAndroidMidiApiName[] = "Use Android Midi API";
2052const char kUseAndroidMidiApiDescription[] =
2053 "Use Android Midi API for WebMIDI (effective only with Android M+ "
2054 "devices).";
2055
Marc Treib93af46a2017-08-23 13:30:002056const char kThirdPartyDoodlesName[] =
2057 "Enable Doodles for third-party search engines";
2058const char kThirdPartyDoodlesDescription[] =
2059 "Enables fetching and displaying Doodles on the NTP for third-party search "
2060 "engines.";
2061
Brett Wilsonff596952017-07-14 01:06:552062const char kXGEOVisibleNetworksName[] = "Enable XGEO Visible Networks";
2063const char kXGEOVisibleNetworksDescription[] =
2064 "If location permissions are granted, include visible networks in the XGEO "
2065 "Header for omnibox queries. This will only happen if location is not "
2066 "fresh or not available (for example, due to a cold start).";
2067
Brett Wilson7b44537e2017-08-18 01:38:282068// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552069
Brett Wilson7b44537e2017-08-18 01:38:282070#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482071
Brett Wilson7b44537e2017-08-18 01:38:282072const char kAccountConsistencyName[] =
2073 "Identity consistency between browser and cookie jar";
2074const char kAccountConsistencyDescription[] =
2075 "When enabled, the browser manages signing in and out of Google accounts.";
2076const char kAccountConsistencyChoiceMirror[] = "Mirror";
2077const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342078
Chris Pickel3a227ae62017-08-24 10:47:262079const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2080const char kDoodlesOnLocalNtpDescription[] =
2081 "Show doodles on the local New Tab page if Google is the default search "
2082 "engine.";
2083
mlamouriff56c092017-05-11 15:31:392084const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392085const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342086 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392087const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392088const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392089const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342090 "Enabled (Flash lowers volume when interrupted by other sound, "
2091 "experimental)";
2092
Brett Wilson7b44537e2017-08-18 01:38:282093const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2094const char kEnableNewAppMenuIconDescription[] =
2095 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342096
2097const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342098const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282099 "Enable receiving entity suggestions - disambiguation descriptions - for "
2100 "Omnibox suggestions.";
2101
2102const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2103const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192104 "Enable receiving tail suggestions, a type of search suggestion based on "
2105 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342106
Brett Wilson7b44537e2017-08-18 01:38:282107const char kOneGoogleBarOnLocalNtpName[] =
2108 "Enable the OneGoogleBar on the local NTP";
2109const char kOneGoogleBarOnLocalNtpDescription[] =
2110 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2111 "search engine.";
2112
ojan38c678352017-04-11 20:27:552113const char kPauseBackgroundTabsName[] = "Pause background tabs";
2114const char kPauseBackgroundTabsDescription[] =
2115 "Pause timers in background tabs after 5 minutes on desktop.";
2116
Brett Wilson7b44537e2017-08-18 01:38:282117const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2118const char kUseGoogleLocalNtpDescription[] =
2119 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322120
Brett Wilson7b44537e2017-08-18 01:38:282121const char kVoiceSearchOnLocalNtpName[] =
2122 "Enable Voice Search on the local NTP";
2123const char kVoiceSearchOnLocalNtpDescription[] =
2124 "Show a microphone for voice search on the local New Tab page "
2125 "if Google is the default search engine.";
2126
2127#if defined(GOOGLE_CHROME_BUILD)
2128
2129const char kGoogleBrandedContextMenuName[] =
2130 "Google branding in the context menu";
2131const char kGoogleBrandedContextMenuDescription[] =
2132 "Shows a Google icon next to context menu items powered by Google "
2133 "services.";
2134
2135#endif // !defined(GOOGLE_CHROME_BUILD)
2136
2137#endif // !defined(OS_ANDROID)
2138
2139// Windows ---------------------------------------------------------------------
2140
2141#if defined(OS_WIN)
2142
2143const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2144const char kCloudPrintXpsDescription[] =
2145 "XPS enables advanced options for classic printers connected to the Cloud "
2146 "Print with Chrome. Printers must be re-connected after changing this "
2147 "flag.";
2148
Dave Tapuskadd43469d2017-08-22 22:15:532149const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2150const char kDirectManipulationStylusDescription[] =
2151 "If enabled, Chrome will scroll web pages on stylus drag.";
2152
Brett Wilson7b44537e2017-08-18 01:38:282153const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2154const char kDisablePostscriptPrintingDescription[] =
2155 "Disables PostScript generation when printing to PostScript capable "
2156 "printers, and uses EMF generation in its place.";
2157
2158const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2159const char kEnableAppcontainerDescription[] =
2160 "Enables the use of an AppContainer on sandboxed processes to improve "
2161 "security.";
2162
2163const char kEnableD3DVsync[] = "D3D v-sync";
2164const char kEnableD3DVsyncDescription[] =
2165 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2166 "to occur.";
2167
2168const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2169const char kEnableDesktopIosPromotionsDescription[] =
2170 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2171 "eligible.";
2172
2173const char kGdiTextPrinting[] = "GDI Text Printing";
2174const char kGdiTextPrintingDescription[] =
2175 "Use GDI to print text as simply text";
2176
2177const char kMergeKeyCharEventsName[] =
2178 "Enable or disable merging merging the key event (WM_KEY*) with char event "
2179 "(WM_CHAR).";
2180const char kMergeKeyCharEventsDescription[] =
2181 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separately.";
2182
2183const char kTraceExportEventsToEtwName[] =
2184 "Enable exporting of tracing events to ETW.";
2185const char kTraceExportEventsToEtwDesription[] =
2186 "If enabled, trace events will be exported to the Event Tracing for "
2187 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2188 "Xperf.";
2189
2190const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2191const char kUseWinrtMidiApiDescription[] =
2192 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2193 "later).";
2194
2195const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2196const char kWindows10CustomTitlebarDescription[] =
2197 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2198 "deferring to Windows.";
2199
Wez6656c572017-08-29 22:29:582200#if DCHECK_IS_ON() && defined(SYZYASAN)
2201extern const char kSyzyAsanDcheckIsFatalName[] = "DCHECKs are fatal";
2202extern const char kSyzyAsanDcheckIsFatalDescription[] =
2203 "By default Chrome will evaluate DCHECKs in SyzyASAN builds, but only log "
2204 "failed DCHECKs. If enabled, DCHECKs will crash the calling process.";
2205#endif // DCHECK_IS_ON() && defined(SYZYASAN)
2206
Brett Wilson7b44537e2017-08-18 01:38:282207#endif // defined(OS_WIN)
2208
2209// Mac -------------------------------------------------------------------------
2210
2211#if defined(OS_MACOSX)
2212
2213const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2214const char kAppInfoDialogDescription[] =
2215 "Makes the Toolkit-Views based App Info dialog accessible from "
2216 "chrome://apps or chrome://extensions in place of the native extension "
2217 "permissions dialog, or the details link (which is a link to the Web "
2218 "Store).";
2219
2220const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2221const char kAppWindowCyclingDescription[] =
2222 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2223 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2224 "browser window, and browser windows will not be cycled when a Chrome App "
2225 "is active.";
2226
2227extern const char kCreditCardAutofillTouchBarName[] =
2228 "Credit Card Autofill Touch Bar";
2229extern const char kCreditCardAutofillTouchBarDescription[] =
2230 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2231
2232const char kFullscreenToolbarRevealName[] =
2233 "Enables the toolbar in fullscreen to reveal itself.";
2234const char kFullscreenToolbarRevealDescription[] =
2235 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2236 "has changed.";
2237
2238const char kContentFullscreenName[] = "Improved Content Fullscreen";
2239const char kContentFullscreenDescription[] =
2240 "Fullscreen content window detaches from main browser window and goes to "
2241 "a new space without moving or changing the original browser window.";
2242
2243extern const char kDialogTouchBarName[] = "Dialog Touch Bar";
2244extern const char kDialogTouchBarDescription[] =
2245 "Shows Dialog buttons on the Touch Bar.";
2246
2247const char kHostedAppsInWindowsName[] =
2248 "Allow hosted apps to be opened in windows";
2249const char kHostedAppsInWindowsDescription[] =
2250 "Allows hosted apps to be opened in windows instead of being limited to "
2251 "tabs.";
2252
2253extern const char kMacRTLName[] = "Enable RTL";
2254extern const char kMacRTLDescription[] =
2255 "Mirrors the UI for RTL language users";
2256
Leonard Grey2bdd08f2017-10-03 18:40:522257extern const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2258extern const char kMacSystemShareMenuDescription[] =
2259 "Enables sharing via macOS share extensions.";
2260
Brett Wilson7b44537e2017-08-18 01:38:282261extern const char kMacTouchBarName[] = "Hardware Touch Bar";
2262extern const char kMacTouchBarDescription[] =
2263 "Control the use of the Touch Bar.";
2264
2265const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2266const char kMacV2SandboxDescription[] =
2267 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2268 "entire life cycle.";
2269
2270const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2271const char kMacViewsNativeAppWindowsDescription[] =
2272 "Controls whether to use Toolkit-Views based Chrome App windows.";
2273
2274const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2275const char kMacViewsTaskManagerDescription[] =
2276 "Controls whether to use the Toolkit-Views based Task Manager.";
2277
2278const char kTabDetachingInFullscreenName[] =
2279 "Allow tab detaching in fullscreen";
2280const char kTabDetachingInFullscreenDescription[] =
2281 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2282
2283const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2284const char kTabStripKeyboardFocusDescription[] =
2285 "Enable keyboard focus for the tabs in the tab strip.";
2286
2287const char kTranslateNewUxName[] = "New Translate UX";
2288const char kTranslateNewUxDescription[] =
2289 "Enable the new Translate bubble UX is offered instead of the infobar.";
2290
2291// Non-Mac ---------------------------------------------------------------------
2292
2293#else // !defined(OS_MACOSX)
2294
2295const char kPermissionPromptPersistenceToggleName[] =
2296 "Persistence Toggle in Permission Prompts";
2297const char kPermissionPromptPersistenceToggleDescription[] =
2298 "Whether to display a persistence toggle in permission prompts.";
2299
2300#endif
2301
2302// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342303
2304#if defined(OS_CHROMEOS)
2305
Brett Wilson7b44537e2017-08-18 01:38:282306const char kAcceleratedMjpegDecodeName[] =
2307 "Hardware-accelerated mjpeg decode for captured frame";
2308const char kAcceleratedMjpegDecodeDescription[] =
2309 "Enable hardware-accelerated mjpeg decode for captured frame where "
2310 "available.";
vabr0215a8e2017-03-28 12:47:342311
Brett Wilson7b44537e2017-08-18 01:38:282312const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2313const char kAllowTouchpadThreeFingerClickDescription[] =
2314 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342315
Brett Wilson7b44537e2017-08-18 01:38:282316const char kArcBootCompleted[] = "Load Android apps automatically";
2317const char kArcBootCompletedDescription[] =
2318 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342319
Lev Rumyantsev7a8544312017-08-18 19:26:512320const char kArcNativeBridgeExperimentName[] =
2321 "Enable native bridge experiment for ARC";
2322const char kArcNativeBridgeExperimentDescription[] =
2323 "Enables experimental native bridge feature.";
2324
Brett Wilson7b44537e2017-08-18 01:38:282325const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2326const char kAshEnableUnifiedDesktopDescription[] =
2327 "Enable unified desktop mode which allows a window to span multiple "
2328 "displays.";
vabr0215a8e2017-03-28 12:47:342329
Brett Wilson7b44537e2017-08-18 01:38:282330const char kBootAnimationName[] = "Boot animation";
2331const char kBootAnimationDescription[] =
2332 "Wallpaper boot animation (except for OOBE case).";
vabr0215a8e2017-03-28 12:47:342333
Sean Kau5e956192017-10-06 22:25:172334const char kBulkPrintersName[] = "Bulk Printers Policy";
2335const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2336
Brett Wilson7b44537e2017-08-18 01:38:282337const char kCaptivePortalBypassProxyName[] =
2338 "Bypass proxy for Captive Portal Authorization";
2339const char kCaptivePortalBypassProxyDescription[] =
2340 "If proxy is configured, it usually prevents from authorization on "
2341 "different captive portals. This enables opening captive portal "
2342 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342343
Brett Wilson7b44537e2017-08-18 01:38:282344const char kCrOSComponentName[] = "Chrome OS Component";
2345const char kCrOSComponentDescription[] =
2346 "Enable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342347
Xiaochu Liu51d03fd2017-09-08 23:51:022348const char kCrOSContainerName[] = "Chrome OS Container";
2349const char kCrOSContainerDescription[] =
2350 "Enable the use of Chrome OS Container utility.";
2351
Brett Wilson7b44537e2017-08-18 01:38:282352const char kCrosRegionsModeName[] = "Cros-regions load mode";
2353const char kCrosRegionsModeDescription[] =
2354 "This flag controls cros-regions load mode";
2355const char kCrosRegionsModeDefault[] = "Default";
2356const char kCrosRegionsModeOverride[] = "Override VPD values.";
2357const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342358
Jacob Dufault2becbc482017-08-25 00:36:352359const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2360const char kDisableLockScreenAppsDescription[] =
2361 "Disable new-note action handler apps on the lock screen. The user will "
2362 "not be able to launch the preferred note-taking action from the lock "
2363 "screen, provided that the app supports lock screen note taking.";
2364
Brett Wilson7b44537e2017-08-18 01:38:282365const char kDisableNewVirtualKeyboardBehaviorName[] =
2366 "New window behavior for the accessibility keyboard";
2367const char kDisableNewVirtualKeyboardBehaviorDescription[] =
2368 "Disable new window behavior for the accessibility keyboard in non-sticky "
2369 "mode (do not change work area in non-sticky mode).";
vabr0215a8e2017-03-28 12:47:342370
Sammie Quonef6b4882017-09-14 16:50:052371const char kDisableTabletAutohideTitlebarsName[] =
2372 "Disable autohide titlebars in tablet mode";
2373const char kDisableTabletAutohideTitlebarsDescription[] =
2374 "Disable tablet mode autohide titlebars functionality. The user will be "
2375 "able to see the titlebar in tablet mode.";
2376
Brett Wilson7b44537e2017-08-18 01:38:282377const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2378const char kEnablePerUserTimezoneDescription[] =
2379 "Chrome OS system timezone preference is stored and handled for each user "
2380 "individually.";
vabr0215a8e2017-03-28 12:47:342381
Brett Wilson7b44537e2017-08-18 01:38:282382const char kDisableSystemTimezoneAutomaticDetectionName[] =
2383 "SystemTimezoneAutomaticDetection policy support";
2384const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2385 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342386
newcomer403ac142017-07-05 18:26:302387const char kEnableFullscreenAppListName[] = "Enable The Peeking Launcher";
newcomer403ac142017-07-05 18:26:302388const char kEnableFullscreenAppListDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192389 "The peeking launcher UI supports touch and provides more space for "
2390 "upcoming features.";
newcomer403ac142017-07-05 18:26:302391
Alex Newcomer43cb7f12017-07-28 17:37:392392extern const char kEnableBackgroundBlurName[] = "Enable background blur.";
2393extern const char kEnableBackgroundBlurDescription[] =
2394 "Enables background blur for the Peeking Launcher, Lock Screen, and Tab "
2395 "Switcher.";
2396
Brett Wilson7b44537e2017-08-18 01:38:282397const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2398const char kEnableAndroidWallpapersAppDescription[] =
2399 "Enables the Android Wallpapers App as the default Wallpaper App on Chrome "
2400 "OS.";
vabr0215a8e2017-03-28 12:47:342401
Brett Wilson7b44537e2017-08-18 01:38:282402const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2403const char kEnableChromevoxArcSupportDescription[] =
2404 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342405
Brett Wilson7b44537e2017-08-18 01:38:282406const char kEnableEhvInputName[] =
2407 "Emoji, handwriting and voice input on opt-in IME menu";
2408const char kEnableEhvInputDescription[] =
2409 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342410
Brett Wilson7b44537e2017-08-18 01:38:282411const char kEnableEncryptionMigrationName[] =
2412 "Enable encryption migration of user data";
2413const char kEnableEncryptionMigrationDescription[] =
2414 "If enabled and the device supports ARC, the user will be asked to update "
2415 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342416
Klemen Kozjekf2b30e452017-09-01 05:04:512417const char kEnableExternalDriveRename[] = "Enable external drive rename";
2418const char kEnableExternalDriveRenameDescription[] =
2419 "If enabled, external removable drives will get 'Rename' action in the "
2420 "context menu";
2421
Brett Wilson7b44537e2017-08-18 01:38:282422const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2423const char kEnableImeMenuDescription[] =
2424 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342425
xdai6459d0ca2017-10-11 19:23:102426const char kEnableTabletSplitViewName[] = "Split view in Tablet mode";
2427const char kEnableTabletSplitViewDescription[] =
2428 "Enable split view for Chrome OS tablet mode.";
2429
Brett Wilson7b44537e2017-08-18 01:38:282430const char kEnableZipArchiverOnFileManagerName[] = "ZIP archiver for Drive";
2431const char kEnableZipArchiverOnFileManagerDescription[] =
2432 "Enable the ability to archive and unpack files on Drive in the Files app";
2433
2434const char kEolNotificationName[] = "Disable Device End of Life notification.";
2435const char kEolNotificationDescription[] =
2436 "Disable Notifcation when Device is End of Life.";
2437
2438const char kExperimentalAccessibilityFeaturesName[] =
2439 "Experimental accessibility features";
2440const char kExperimentalAccessibilityFeaturesDescription[] =
2441 "Enable additional accessibility features in the Settings page.";
2442
2443const char kExperimentalInputViewFeaturesName[] =
2444 "Experimental input view features";
2445const char kExperimentalInputViewFeaturesDescription[] =
2446 "Enable experimental features for IME input views.";
2447
2448const char kFileManagerTouchModeName[] = "Files App. touch mode";
2449const char kFileManagerTouchModeDescription[] =
2450 "Touchscreen-specific interactions of the Files app.";
2451
2452const char kFirstRunUiTransitionsName[] =
2453 "Animated transitions in the first-run tutorial";
2454const char kFirstRunUiTransitionsDescription[] =
2455 "Transitions during first-run tutorial are animated.";
2456
2457const char kFloatingVirtualKeyboardName[] = "Floating virtual keyboard.";
2458const char kFloatingVirtualKeyboardDescription[] =
2459 "Enable/Disable floating virtual keyboard.";
2460
2461const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2462const char kForceEnableStylusToolsDescription[] =
2463 "Forces display of the stylus tools menu in the shelf and the stylus "
2464 "section in settings, even if there is no attached stylus device.";
2465
2466const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2467const char kGestureEditingDescription[] =
2468 "Enable/Disable gesture editing option in the settings page for the "
2469 "virtual keyboard.";
2470
2471const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2472const char kGestureTypingDescription[] =
2473 "Enable/Disable gesture typing option in the settings page for the virtual "
2474 "keyboard.";
2475
2476const char kInputViewName[] = "Input views";
2477const char kInputViewDescription[] =
2478 "Enable IME extensions to supply custom views for user input such as "
2479 "virtual keyboards.";
2480
2481const char kMemoryPressureThresholdName[] =
2482 "Memory discard strategy for advanced pressure handling";
2483const char kMemoryPressureThresholdDescription[] =
2484 "Memory discarding strategy to use";
2485const char kConservativeThresholds[] =
2486 "Conservative memory pressure release strategy";
2487const char kAggressiveCacheDiscardThresholds[] =
2488 "Aggressive cache release strategy";
2489const char kAggressiveTabDiscardThresholds[] =
2490 "Aggressive tab release strategy";
2491const char kAggressiveThresholds[] =
2492 "Aggressive tab and cache release strategy";
2493
2494const char kMtpWriteSupportName[] = "MTP write support";
2495const char kMtpWriteSupportDescription[] =
2496 "MTP write support in File System API (and file manager). In-place editing "
2497 "operations are not supported.";
2498
2499const char kMultideviceName[] = "Enable multidevice features";
2500const char kMultideviceDescription[] =
2501 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342502
2503const char kNetworkPortalNotificationName[] =
2504 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342505const char kNetworkPortalNotificationDescription[] =
2506 "If enabled, notification is displayed when device is connected to a "
2507 "network behind captive portal.";
2508
stevenjbe1d457382017-05-24 22:37:242509const char kNetworkSettingsConfigName[] =
2510 "Settings based Network Configuration";
stevenjbe1d457382017-05-24 22:37:242511const char kNetworkSettingsConfigDescription[] =
2512 "Enables the Settings based network configuration UI instead of the Views "
2513 "based configuration dialog.";
2514
Brett Wilson7b44537e2017-08-18 01:38:282515const char kNewKoreanImeName[] = "New Korean IME";
2516const char kNewKoreanImeDescription[] =
2517 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342518
Brett Wilson7b44537e2017-08-18 01:38:282519const char kNewZipUnpackerName[] = "New ZIP unpacker";
2520const char kNewZipUnpackerDescription[] =
2521 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342522
Brett Wilson7b44537e2017-08-18 01:38:282523const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2524const char kPhysicalKeyboardAutocorrectDescription[] =
2525 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2526 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342527
2528const char kPrinterProviderSearchAppName[] =
2529 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342530const char kPrinterProviderSearchAppDescription[] =
2531 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192532 "searches Chrome Web Store for extensions that support printing to a USB "
2533 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342534
Brett Wilson7b44537e2017-08-18 01:38:282535const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2536const char kQuickUnlockPinDescription[] =
2537 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2538 "device on the lock screen after you have signed into your device.";
2539const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2540const char kQuickUnlockPinSigninDescription[] =
2541 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2542 "device. After changing this flag PIN needs to be set up again.";
2543const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2544const char kQuickUnlockFingerprintDescription[] =
2545 "Enabling fingerprint quick unlock allows you to setup and use a "
2546 "fingerprint to unlock your Chromebook on the lock screen after you have "
2547 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342548
Brett Wilson7b44537e2017-08-18 01:38:282549const char kOfficeEditingComponentAppName[] =
2550 "Office Editing for Docs, Sheets & Slides";
2551const char kOfficeEditingComponentAppDescription[] =
2552 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072553
2554const char kSpuriousPowerButtonWindowName[] = "Spurious power button window";
2555const char kSpuriousPowerButtonWindowDescription[] =
2556 "Number of recent accelerometer samples to examine to determine if a power "
2557 "button event was spurious.";
2558
2559const char kSpuriousPowerButtonAccelCountName[] =
2560 "Spurious power button acceleration count";
2561const char kSpuriousPowerButtonAccelCountDescription[] =
2562 "Number of recent acceleration samples that must meet or exceed exceed the "
2563 "threshold in order for a power button event to be considered spurious.";
2564
2565const char kSpuriousPowerButtonScreenAccelName[] =
2566 "Spurious power button screen acceleration threshold";
2567const char kSpuriousPowerButtonScreenAccelDescription[] =
2568 "Threshold (in m/s^2, disregarding gravity) that screen acceleration must "
2569 "meet or exceed for a power button event to be considered spurious.";
2570
2571const char kSpuriousPowerButtonKeyboardAccelName[] =
2572 "Spurious power button keyboard acceleration threshold";
2573const char kSpuriousPowerButtonKeyboardAccelDescription[] =
2574 "Threshold (in m/s^2, disregarding gravity) that keyboard acceleration "
2575 "must meet or exceed for a power button event to be considered spurious.";
2576
2577const char kSpuriousPowerButtonLidAngleChangeName[] =
2578 "Spurious power button lid angle change threshold";
2579const char kSpuriousPowerButtonLidAngleChangeDescription[] =
2580 "Change in lid angle (i.e. hinge between keyboard and screen) that must be "
2581 "met or exceeded for a power button event to be considered spurious.";
2582
Chung-Sheng Wu468b0b32017-09-01 14:41:572583const char kSysInternalsName[] = "Enable Sys-Internals";
2584const char kSysInternalsDescription[] =
2585 "If enabled, user can monitor system information at "
2586 "chrome://sys-internals.";
2587
Brett Wilson7b44537e2017-08-18 01:38:282588const char kTeamDrivesName[] = "Enable Team Drives Integration";
2589const char kTeamDrivesDescription[] =
2590 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342591
Brett Wilson7b44537e2017-08-18 01:38:282592const char kTetherName[] = "Instant Tethering";
2593const char kTetherDescription[] =
2594 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2595 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372596
Brett Wilson7b44537e2017-08-18 01:38:282597const char kTouchscreenCalibrationName[] =
2598 "Enable/disable touchscreen calibration option in material design settings";
2599const char kTouchscreenCalibrationDescription[] =
2600 "If enabled, the user can calibrate the touch screen displays in "
2601 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092602
Mitsuru Oshima63d3f2a2017-08-23 00:12:112603// Force UI Mode
2604const char kUiModeName[] = "Force Ui Mode";
2605const char kUiModeDescription[] =
2606 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2607 R"*(despite its current orientation. "Tablet" means that the )*"
2608 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2609 R"*(means that the chromebook will act as if it were in clamshell )*"
2610 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2611 R"*(the two, based on its orientation.)*";
2612const char kUiModeTablet[] = "TouchView";
2613const char kUiModeClamshell[] = "Clamshell";
2614const char kUiModeAuto[] = "Auto (default)";
2615
bruthigeafb0c02017-06-09 13:11:532616const char kUiDevToolsName[] = "Enable native UI inspection";
2617const char kUiDevToolsDescription[] =
2618 "Enables inspection of native UI elements. For local inspection use "
2619 "chrome://inspect#other";
2620
Brett Wilson7b44537e2017-08-18 01:38:282621const char kUseMusName[] = "Mus";
2622const char kUseMusDescription[] = "Enable the Mojo UI service.";
2623const char kEnableMashDescription[] =
2624 "Mash (UI, Chrome and ash in separate services)";
2625const char kEnableMusDescription[] =
2626 "Mus (UI in separate service, Chrome and ash in same service)";
2627
2628const char kVideoPlayerChromecastSupportName[] =
2629 "Experimental Chromecast support for Video Player";
2630const char kVideoPlayerChromecastSupportDescription[] =
2631 "This option enables experimental Chromecast support for Video Player app "
2632 "on ChromeOS.";
2633
2634const char kVirtualKeyboardName[] = "Virtual Keyboard";
2635const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2636
2637const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2638const char kVirtualKeyboardOverscrollDescription[] =
2639 "Enables virtual keyboard overscroll support.";
2640
2641const char kVoiceInputName[] = "Voice input on virtual keyboard";
2642const char kVoiceInputDescription[] =
2643 "Enables voice input on virtual keyboard.";
2644
2645const char kWakeOnPacketsName[] = "Wake On Packets";
2646const char kWakeOnPacketsDescription[] =
2647 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202648
yhanadac5bff5b2017-05-18 06:37:092649#endif // defined(OS_CHROMEOS)
2650
Brett Wilson7b44537e2017-08-18 01:38:282651// Random platform combinations -----------------------------------------------
2652
2653#if defined(OS_WIN) || defined(OS_LINUX)
2654
2655const char kEnableInputImeApiName[] = "Enable Input IME API";
2656const char kEnableInputImeApiDescription[] =
2657 "Enable the use of chrome.input.ime API.";
2658
2659#endif // defined(OS_WIN) || defined(OS_LINUX)
2660
2661#if defined(OS_WIN) || defined(OS_MACOSX)
2662
2663const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2664const char kAutomaticTabDiscardingDescription[] =
2665 "If enabled, tabs get automatically discarded from memory when the system "
2666 "memory is low. Discarded tabs are still visible on the tab strip and get "
2667 "reloaded when clicked on. Info about discarded tabs can be found at "
2668 "chrome://discards.";
2669
2670#endif // defined(OS_WIN) || defined(OS_MACOSX)
2671
2672// Feature flags --------------------------------------------------------------
2673
2674#if BUILDFLAG(ENABLE_VR)
2675
2676#if defined(OS_ANDROID)
2677
2678const char kEnableVrShellName[] = "Enable Chrome VR.";
2679const char kEnableVrShellDescription[] =
2680 "Allow browsing with a VR headset if available for this device.";
2681
2682const char kVrCustomTabBrowsingName[] = "Enable Custom Tab browsing in VR.";
2683const char kVrCustomTabBrowsingDescription[] =
2684 "Allow browsing with a VR headset in a Custom Tab if available for this "
2685 "device.";
2686
2687const char kWebVrAutopresentName[] = "Enable WebVr auto presentation";
2688const char kWebVrAutopresentDescription[] =
2689 "Allows auto presentation of WebVr content from trusted first-party apps";
2690
2691const char kWebVrVsyncAlignName[] = "Enable WebVR VSync-aligned timing";
2692const char kWebVrVsyncAlignDescription[] =
2693 "Enabling this option aligns WebVR application rendering with VSync "
2694 "for smoother animations.";
2695
2696#endif // OS_ANDROID
2697
2698const char kWebvrExperimentalRenderingName[] =
2699 "WebVR experimental rendering optimizations";
2700const char kWebvrExperimentalRenderingDescription[] =
2701 "Enabling this option activates experimental rendering path optimizations "
2702 "for WebVR.";
2703
2704#endif // ENABLE_VR
2705
Nico Weberaf3b00b2017-09-11 17:58:172706#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282707
2708const char kNaclDebugMaskName[] =
2709 "Restrict Native Client GDB-based debugging by pattern";
2710const char kNaclDebugMaskDescription[] =
2711 "Restricts Native Client application GDB-based debugging by URL of "
2712 "manifest file. Native Client GDB-based debugging must be enabled for this "
2713 "option to work.";
2714const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
2715const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
2716 "Debug everything except secure shell and the PNaCl translator.";
2717const char kNaclDebugMaskChoiceIncludeDebug[] =
2718 "Debug only if manifest URL ends with debug.nmf.";
2719
2720const char kNaclDebugName[] = "Native Client GDB-based debugging";
2721const char kNaclDebugDescription[] =
2722 "Enable GDB debug stub. This will stop a Native Client application on "
2723 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
2724
2725const char kNaclName[] = "Native Client";
2726const char kNaclDescription[] =
2727 "Support Native Client for all web applications, even those that were not "
2728 "installed from the Chrome Web Store.";
2729
2730const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
2731const char kPnaclSubzeroDescription[] =
2732 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
2733
Nico Weberaf3b00b2017-09-11 17:58:172734#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282735
Brett Wilson7b44537e2017-08-18 01:38:282736#if BUILDFLAG(ENABLE_WEBRTC)
2737
2738const char kWebrtcH264WithOpenh264FfmpegName[] =
2739 "WebRTC H.264 software video encoder/decoder";
2740const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2741 "When enabled, an H.264 software video encoder/decoder pair is included. "
2742 "If a hardware encoder/decoder is also available it may be used instead of "
2743 "this encoder/decoder.";
2744
2745#endif // BUILDFLAG(ENABLE_WEBRTC)
2746
James Cookf9d34d22017-10-04 16:39:352747#if defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282748
2749const char kAshDisableSmoothScreenRotationName[] =
2750 "Disable smooth rotation animations.";
2751const char kAshDisableSmoothScreenRotationDescription[] =
2752 "Disable smooth rotation animations.";
2753
2754const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2755const char kAshEnableMirroredScreenDescription[] =
2756 "Enable the mirrored screen mode. This mode flips the screen image "
2757 "horizontally.";
2758
2759const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2760const char kAshShelfColorDescription[] =
2761 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2762 "--ash-shelf-color-scheme flag defines how that color is derived.";
2763
2764const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2765const char kAshShelfColorSchemeDescription[] =
2766 "Specify how the color is derived from the wallpaper. This flag is only "
2767 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2768const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2769const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2770const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2771const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2772const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2773const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2774
Mike Wassermana38a8a62017-10-02 03:04:272775const char kAshDisableShelfModelSynchronization[] =
2776 "Disable shelf model synchronization";
2777const char kAshDisableShelfModelSynchronizationDescription[] =
2778 "Use a single in-process shelf data model shared between Chrome and Ash. "
2779 "This only applies to the Classic Ash and Mus configs; synchronization "
2780 "between two models is required when running the Mash config via --mash.";
Mike Wasserman2115b162017-09-19 23:42:372781
Brett Wilson7b44537e2017-08-18 01:38:282782const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:372783 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:282784const char kMaterialDesignInkDropAnimationSpeedDescription[] =
2785 "Sets the speed of the experimental visual feedback animations for "
2786 "material design.";
2787const char kMaterialDesignInkDropAnimationFast[] = "Fast";
2788const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
2789
2790const char kUiShowCompositedLayerBordersName[] =
2791 "Show UI composited layer borders";
2792const char kUiShowCompositedLayerBordersDescription[] =
2793 "Show border around composited layers created by UI.";
2794const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
2795const char kUiShowCompositedLayerBordersSurface[] = "Surface";
2796const char kUiShowCompositedLayerBordersLayer[] = "Layer";
2797const char kUiShowCompositedLayerBordersAll[] = "All";
2798
2799const char kUiSlowAnimationsName[] = "Slow UI animations";
2800const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
2801
James Cookf9d34d22017-10-04 16:39:352802#endif // defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282803
Brett Wilson7b44537e2017-08-18 01:38:282804#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2805
2806const char kAutofillCreditCardUploadName[] =
2807 "Enable offering upload of Autofilled credit cards";
2808const char kAutofillCreditCardUploadDescription[] =
2809 "Enables a new option to upload credit cards to Google Payments for sync "
2810 "to all Chrome devices.";
2811
2812#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2813
2814// ============================================================================
2815// Don't just add flags to the end, put them in the right section in
2816// alphabetical order just like the header file.
2817// ============================================================================
2818
vabr0215a8e2017-03-28 12:47:342819} // namespace flag_descriptions