blob: a390dc82c514262e23d87888543e2538ed839944 [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
7namespace flag_descriptions {
8
Brett Wilsonf27ff602017-07-07 22:28:479const char kAccelerated2dCanvasName[] = "Accelerated 2D canvas";
10const char kAccelerated2dCanvasDescription[] =
11 "Enables the use of the GPU to perform 2d canvas rendering instead of "
12 "using software rendering.";
horodb71a5a2017-06-09 16:08:2413
Brett Wilsonf27ff602017-07-07 22:28:4714const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode";
15const char kAcceleratedVideoDecodeDescription[] =
16 "Hardware-accelerated video decode where available.";
17
18const char kAffiliationBasedMatchingName[] =
19 "Affiliation based matching in password manager";
20const char kAffiliationBasedMatchingDescription[] =
21 "Allow credentials stored for Android applications to be filled into "
22 "corresponding websites.";
23
24const char kAllowInsecureLocalhostName[] =
25 "Allow invalid certificates for resources loaded from localhost.";
26const char kAllowInsecureLocalhostDescription[] =
27 "Allows requests to localhost over HTTPS even when an invalid certificate "
28 "is presented.";
29
30const char kAllowNaclSocketApiName[] = "NaCl Socket API.";
31const char kAllowNaclSocketApiDescription[] =
32 "Allows applications to use NaCl Socket API. Use only to test NaCl "
33 "plugins.";
34
35const char kAppBannersName[] = "App Banners";
36const char kAppBannersDescription[] =
37 "Enable the display of Progressive Web App banners, which prompt a user to "
38 "add a web app to their shelf, or other platform-specific equivalent.";
39
Khushalba202212017-07-12 19:53:4940const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
41const char kAsyncImageDecodingDescription[] =
42 "Enables asynchronous decoding of images from raster for web content";
43
Brett Wilsonf27ff602017-07-07 22:28:4744const char kAutoplayPolicyName[] = "Autoplay policy";
45const char kAutoplayPolicyDescription[] =
46 "Policy used when deciding if audio or video is allowed to autoplay.";
47
48const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
49 "User gesture is required for cross-origin iframes.";
50const char kAutoplayPolicyNoUserGestureRequired[] =
51 "No user gesture is required.";
52const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
53const char kAutoplayPolicyDocumentUserActivation[] =
54 "Document user activation is required.";
55
56const char kBackgroundVideoTrackOptimizationName[] =
57 "Optimize background video playback.";
58const char kBackgroundVideoTrackOptimizationDescription[] =
59 "Disable video tracks when the video is played in the background to "
60 "optimize performance.";
61
62const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
63const char kBleAdvertisingInExtensionsDescription[] =
64 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
65 "with regular use of Bluetooth Low Energy features.";
66
67const char kBrowserSideNavigationName[] = "Enable browser side navigation";
horodb71a5a2017-06-09 16:08:2468const char kBrowserSideNavigationDescription[] =
horo3beccfb2017-06-19 14:47:0169 "Enable browser side navigation (aka PlzNavigate).";
horodb71a5a2017-06-09 16:08:2470
Brett Wilsonf27ff602017-07-07 22:28:4771const char kBrowserTaskSchedulerName[] = "Task Scheduler";
72const char kBrowserTaskSchedulerDescription[] =
73 "Enables redirection of some task posting APIs to the task scheduler.";
74
75const char kBypassAppBannerEngagementChecksName[] =
76 "Bypass user engagement checks";
77const char kBypassAppBannerEngagementChecksDescription[] =
78 "Bypasses user engagement checks for displaying app banners, such as "
79 "requiring that users have visited the site before and that the banner "
80 "hasn't been shown recently. This allows developers to test that other "
81 "eligibility requirements for showing app banners, such as having a "
82 "manifest, are met.";
83
84const char kCaptureThumbnailOnLoadFinishedName[] =
85 "Capture page thumbnail on load finished";
86const char kCaptureThumbnailOnLoadFinishedDescription[] =
87 "Capture a page thumbnail (for use on the New Tab page) when the page load "
88 "finishes, in addition to other times a thumbnail may be captured.";
89
Marc Treibe3651be2017-07-14 11:05:4090const char kCaptureThumbnailOnNavigatingAwayName[] =
91 "Capture page thumbnail on navigating away";
92const char kCaptureThumbnailOnNavigatingAwayDescription[] =
93 "Capture a page thumbnail (for use on the New Tab page) when navigating "
94 "away from the current page, in addition to other times a thumbnail may be "
95 "captured.";
96
Brett Wilsonf27ff602017-07-07 22:28:4797const char kCastStreamingHwEncodingName[] =
98 "Cast Streaming hardware video encoding";
99const char kCastStreamingHwEncodingDescription[] =
100 "This option enables support in Cast Streaming for encoding video streams "
101 "using platform hardware.";
102
103const char kCloudImportName[] = "Cloud Import";
104const char kCloudImportDescription[] = "Allows the cloud-import feature.";
105
106const char kColorCorrectRenderingName[] = "Color correct rendering";
107const char kColorCorrectRenderingDescription[] =
108 "Enables color correct rendering of web content.";
109
110const char kCompositedLayerBordersName[] = "Composited render layer borders";
111const char kCompositedLayerBordersDescription[] =
112 "Renders a border around composited Render Layers to help debug and study "
113 "layer compositing.";
114
115const char kContextualSuggestionsCarouselName[] =
116 "Enable Contextual Suggestions";
117const char kContextualSuggestionsCarouselDescription[] =
118 "If enabled, shows contextual suggestions in a horizontal carousel in "
119 "bottom sheet content.";
120
121const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
122const char kCreditCardAssistDescription[] =
123 "Enable assisted credit card filling on certain sites.";
124
125const char kCrossProcessGuestViewIsolationName[] =
126 "Cross process frames for guests";
127const char kCrossProcessGuestViewIsolationDescription[] =
128 "Highly experimental where guests such as <webview> are implemented on "
129 "the out-of-process iframe infrastructure.";
130
Brett Wilsonf27ff602017-07-07 22:28:47131const char kDataReductionProxyLoFiName[] = "Data Saver Lo-Fi mode";
132const char kDataReductionProxyLoFiDescription[] =
133 "Forces Data Saver Lo-Fi mode to be always enabled, enabled only on "
134 "cellular connections, or disabled. Data Saver must be enabled for Lo-Fi "
135 "mode to be used.";
136const char kDataReductionProxyLoFiAlwaysOn[] = "Always on";
137const char kDataReductionProxyLoFiCellularOnly[] = "Cellular only";
138const char kDataReductionProxyLoFiDisabled[] = "Disable";
139const char kDataReductionProxyLoFiSlowConnectionsOnly[] =
140 "Slow connections only";
141
142const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
143const char kDatasaverPromptDescription[] =
144 "Enables a prompt, which appears when a cellular network connection is "
145 "detected, to take the user to the Data Saver extension page on Chrome Web "
146 "Store.";
147const char kDatasaverPromptDemoMode[] = "Demo mode";
148
149const char kDebugPackedAppName[] = "Debugging for packed apps";
150const char kDebugPackedAppDescription[] =
151 "Enables debugging context menu options such as Inspect Element for packed "
152 "applications.";
153
154const char kDefaultTileHeightName[] = "Default tile height";
155const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
156const char kDefaultTileHeightShort[] = "128";
157const char kDefaultTileHeightTall[] = "256";
158const char kDefaultTileHeightGrande[] = "512";
159const char kDefaultTileHeightVenti[] = "1024";
160
161const char kDefaultTileWidthName[] = "Default tile width";
162const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
163const char kDefaultTileWidthShort[] = "128";
164const char kDefaultTileWidthTall[] = "256";
165const char kDefaultTileWidthGrande[] = "512";
166const char kDefaultTileWidthVenti[] = "1024";
167
168const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
169const char kDebugShortcutsDescription[] =
170 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
171
172const char kDeviceDiscoveryNotificationsName[] =
173 "Device Discovery Notifications";
174const char kDeviceDiscoveryNotificationsDescription[] =
175 "Device discovery notifications on local network.";
176
177const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
178const char kDevtoolsExperimentsDescription[] =
179 "Enables Developer Tools experiments. Use Settings panel in Developer "
180 "Tools to toggle individual experiments.";
181
182const char kDisableAudioForDesktopShareName[] =
183 "Disable Audio For Desktop Share";
184const char kDisableAudioForDesktopShareDescription[] =
185 "With this flag on, desktop share picker window will not let the user "
186 "choose whether to share audio.";
187
188const char kDisableNightLightName[] = "Disable Night Light";
189const char kDisableNightLightDescription[] =
190 "Disable the Night Light feature which controls the color temperature of "
191 "the screen.";
192
193const char kDisableTabForDesktopShareName[] =
194 "Disable Desktop Share with tab source";
195const char kDisableTabForDesktopShareDescription[] =
196 "This flag controls whether users can choose a tab for desktop share.";
197
198const char kDisallowDocWrittenScriptsUiName[] =
199 "Block scripts loaded via document.write";
200const char kDisallowDocWrittenScriptsUiDescription[] =
201 "Disallows fetches for third-party parser-blocking scripts inserted into "
202 "the main frame via document.write.";
203
204const char kDisplayList2dCanvasName[] = "Display list 2D canvas";
205const char kDisplayList2dCanvasDescription[] =
206 "Enables the use of display lists to record 2D canvas commands. This "
207 "allows 2D canvas rasterization to be performed on separate thread.";
208
209const char kDistanceFieldTextName[] = "Distance field text";
210const char kDistanceFieldTextDescription[] =
211 "Text is rendered with signed distance fields rather than bitmap alpha "
212 "masks.";
213
214const char kDriveSearchInChromeLauncherName[] =
215 "Drive Search in Chrome App Launcher";
216const char kDriveSearchInChromeLauncherDescription[] =
217 "Files from Drive will show up when searching the Chrome App Launcher.";
218
219const char kDropSyncCredentialName[] =
220 "Drop sync credentials from password manager";
221const char kDropSyncCredentialDescription[] =
222 "The password manager will not offer to save the credential used to sync.";
223
224const char kEasyUnlockBluetoothLowEnergyDiscoveryName[] =
225 "Smart Lock Bluetooth Low Energy Discovery";
226const char kEasyUnlockBluetoothLowEnergyDiscoveryDescription[] =
Tim Song52c142c62017-07-20 03:29:07227 "Disables a Smart Lock setting that allows Chromebook to discover phones "
Brett Wilsonf27ff602017-07-07 22:28:47228 "over Bluetooth Low Energy in order to unlock the Chromebook when the "
229 "phone is in its proximity.";
230
Gustavo Sacomotofb11164f2017-07-21 12:56:18231const char kEasyUnlockPromotionsName[] = "Smart Lock Promotions";
232const char kEasyUnlockPromotionsDescription[] =
233 "Enables Smart Lock promotions. Promotions will be periodically display "
234 "if the user is eligible.";
235
Brett Wilsonf27ff602017-07-07 22:28:47236const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
237const char kEmbeddedExtensionOptionsDescription[] =
238 "Display extension options as an embedded element in chrome://extensions "
239 "rather than opening a new tab.";
240
241const char kEnableAsmWasmName[] =
242 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
243const char kEnableAsmWasmDescription[] =
244 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
245 R"*(WebAssembly.)*";
246
247const char kEnableAutofillCreditCardBankNameDisplayName[] =
248 "Display the issuer bank name of a credit card in autofill.";
249const char kEnableAutofillCreditCardBankNameDisplayDescription[] =
250 "If enabled, displays the issuer bank name of a credit card in autofill.";
251
252const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
253 "Display the last used date of a credit card in autofill.";
254const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
255 "If enabled, display the last used date of a credit card in autofill.";
256
257const char kEnableAutofillCreditCardUploadCvcPromptName[] =
258 "Enable requesting missing CVC during Autofill credit card upload";
259const char kEnableAutofillCreditCardUploadCvcPromptDescription[] =
260 "If enabled, requests missing CVC when offering to upload credit cards to "
261 "Google Payments.";
262
263const char kEnableBrotliName[] = "Brotli Content-Encoding.";
264const char kEnableBrotliDescription[] =
265 "Enable Brotli Content-Encoding support.";
266
267const char kEnableClearBrowsingDataCountersName[] =
268 "Enable Clear browsing data counters.";
269const char kEnableClearBrowsingDataCountersDescription[] =
270 "Shows data volume counters in the Clear browsing data dialog.";
271
sclittle50e4bb92017-07-08 02:23:03272const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
273
274const char kEnableClientLoFiDescription[] =
275 "Enable showing low fidelity images on some pages on slow networks.";
276
Brett Wilsonf27ff602017-07-07 22:28:47277const char kEnableDataReductionProxyLitePageName[] =
278 "Lite pages for Data Saver Lo-Fi mode";
279const char kEnableDataReductionProxyLitePageDescription[] =
280 "Enable lite pages in Data Saver Lo-Fi mode. Previews of pages will be "
281 "shown instead of image placeholders when Lo-Fi is on. Data Saver and "
282 "Lo-Fi must be enabled for lite pages to be shown.";
283
284const char kDataReductionProxyServerAlternative[] =
285 "Use alternative server configuration";
286const char kEnableDataReductionProxyServerExperimentName[] =
287 "Use an alternative Data Saver back end configuration.";
288const char kEnableDataReductionProxyServerExperimentDescription[] =
289 "Enable a different approach to saving data by configuring the back end "
290 "server";
291
292const char kEnableDataReductionProxySavingsPromoName[] =
293 "Data Saver 1 MB Savings Promo";
294const char kEnableDataReductionProxySavingsPromoDescription[] =
295 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
296 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
297 "enabled for the promo to be shown.";
298
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17299const char kEnableDesktopPWAWindowingName[] =
300 "Windowing related features for desktop PWAs.";
301const char kEnableDesktopPWAWindowingDescription[] =
302 "Enable experimental windowing features for desktop PWAs.";
303
Brett Wilsonf27ff602017-07-07 22:28:47304const char kEnableEnumeratingAudioDevicesName[] =
305 "Experimentally enable enumerating audio devices.";
306const char kEnableEnumeratingAudioDevicesDescription[] =
307 "Experimentally enable the use of enumerating audio devices.";
308
309const char kEnableGenericSensorName[] = "Generic Sensor";
310const char kEnableGenericSensorDescription[] =
311 "Enable sensor APIs based on Generic Sensor API.";
312
Brett Wilsonf27ff602017-07-07 22:28:47313const char kEnableHDRName[] = "HDR mode";
314const char kEnableHDRDescription[] =
315 "Enables HDR support on compatible displays.";
316
317const char kEnableHeapProfilingName[] = "Heap profiling";
318const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
319const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
320const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
321const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
322
323const char kEnableHttpFormWarningName[] =
324 "Show in-form warnings for sensitive fields when the top-level page is not "
325 "not HTTPS";
326const char kEnableHttpFormWarningDescription[] =
327 "Attaches a warning UI to any password or credit card fields detected when "
328 "the top-level page is not HTTPS";
329
330const char kEnableIdleTimeSpellCheckingName[] =
331 "Enable idle time spell checker";
332const char kEnableIdleTimeSpellCheckingDescription[] =
333 "Make spell-checking code run only when the browser is idle, so that input "
334 "latency is reduced, especially when editing long articles, emails, etc.";
vabr0215a8e2017-03-28 12:47:34335
336const char kEnableMaterialDesignBookmarksName[] =
337 "Enable Material Design bookmarks";
vabr0215a8e2017-03-28 12:47:34338const char kEnableMaterialDesignBookmarksDescription[] =
339 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
340 "bookmarks page.";
341
vabr0215a8e2017-03-28 12:47:34342const char kEnableMaterialDesignExtensionsName[] =
343 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34344const char kEnableMaterialDesignExtensionsDescription[] =
345 "If enabled, the chrome://extensions/ URL loads the Material Design "
346 "extensions page.";
347
vabr0215a8e2017-03-28 12:47:34348const char kEnableMaterialDesignFeedbackName[] =
349 "Enable Material Design feedback";
vabr0215a8e2017-03-28 12:47:34350const char kEnableMaterialDesignFeedbackDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:19351 "If enabled, reporting an issue will load the Material Design feedback UI.";
vabr0215a8e2017-03-28 12:47:34352
Brett Wilsonf27ff602017-07-07 22:28:47353const char kEnableMaterialDesignPolicyPageName[] =
354 "Enable Material Design policy page";
355const char kEnableMaterialDesignPolicyPageDescription[] =
356 "If enabled, the chrome://md-policy URL loads the Material Design policy "
357 "page.";
galinapae72e152017-05-12 13:12:28358
Brett Wilsonf27ff602017-07-07 22:28:47359const char kEnableMidiManagerDynamicInstantiationName[] =
360 "MIDIManager dynamic instantiation for Web MIDI.";
361const char kEnableMidiManagerDynamicInstantiationDescription[] =
362 "Enable MIDIManager dynamic instantiation for Web MIDI.";
363
364const char kEnableNavigationTracingName[] = "Enable navigation tracing";
365const char kEnableNavigationTracingDescription[] =
366 "This is to be used in conjunction with the trace-upload-url flag. "
367 "WARNING: When enabled, Chrome will record performance data for every "
368 "navigation and upload it to the URL specified by the trace-upload-url "
369 "flag. The trace may include personally identifiable information (PII) "
370 "such as the titles and URLs of websites you visit.";
371
372const char kEnableNetworkServiceName[] = "Enable network service";
373const char kEnableNetworkServiceDescription[] =
374 "Enables the network service, which makes network requests through a "
375 "separate service. Note: most features don't work with this yet.";
376
377const char kEnablePictureInPictureName[] = "Enable picture in picture.";
378const char kEnablePictureInPictureDescription[] =
379 "Enable the picture in picture feature for videos.";
380
Michael van Ouwerkerk093585592017-07-13 16:01:18381const char kEnableSuggestionsHomeModernLayoutName[] =
382 "Enable modern layout for suggestions.";
383const char kEnableSuggestionsHomeModernLayoutDescription[] =
384 "Enable modern layout for suggestions in Chrome Home.";
385
Brett Wilsonf27ff602017-07-07 22:28:47386const char kEnableTokenBindingName[] = "Token Binding.";
387const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
388
Irmak Kavasoglu7e16af02017-07-19 09:52:47389const char kEnableUsernameCorrectionName[] = "Enable username correction";
390const char kEnableUsernameCorrectionDescription[] =
391 "While on the pending password state, add an edit button to the bubble so "
392 "that user can edit the username.";
393
Brett Wilsonf27ff602017-07-07 22:28:47394const char kEnableUseZoomForDsfName[] =
395 "Use Blink's zoom for device scale factor.";
396const char kEnableUseZoomForDsfDescription[] =
397 "If enabled, Blink uses its zooming mechanism to scale content for device "
398 "scale factor.";
399const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
400const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
401const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
402
403const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
404const char kEnableScrollAnchoringDescription[] =
405 "Adjusts scroll position to prevent visible jumps when offscreen content "
406 "changes.";
407
408const char kEnableSharedArrayBufferName[] =
409 "Experimental enabled SharedArrayBuffer support in JavaScript.";
410const char kEnableSharedArrayBufferDescription[] =
411 "Enable SharedArrayBuffer support in JavaScript.";
412
413const char kEnableWasmName[] = "WebAssembly structured cloning support.";
414const char kEnableWasmDescription[] =
415 "Enable web pages to use WebAssembly structured cloning.";
416
417const char kEnableWebUsbName[] = "WebUSB";
418const char kEnableWebUsbDescription[] = "Enable WebUSB support.";
419
420const char kEnableImageCaptureAPIName[] = "Image Capture API";
421const char kEnableImageCaptureAPIDescription[] =
422 "Enables the Web Platform Image Capture API: takePhoto(), "
423 "getPhotoCapabilities(), etc.";
424
425const char kEnableZeroSuggestRedirectToChromeName[] =
426 "Experimental contextual omnibox suggestion";
427const char kEnableZeroSuggestRedirectToChromeDescription[] =
428 "Change omnibox contextual suggestions to an experimental source. Note "
429 "that this is not an on/off switch for contextual omnibox and it only "
430 "applies to suggestions provided before the user starts typing a URL or a "
431 "search query (i.e. zero suggest).";
432
433const char kEnableWasmStreamingName[] =
434 "WebAssembly streaming compile/instantiate support.";
435const char kEnableWasmStreamingDescription[] =
436 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
437
438const char kEnableWebfontsInterventionName[] =
439 "New version of User Agent Intervention for WebFonts loading.";
440const char kEnableWebfontsInterventionDescription[] =
441 "Enable New version of User Agent Intervention for WebFonts loading.";
442const char kEnableWebfontsInterventionV2ChoiceDefault[] = "Default";
443const char kEnableWebfontsInterventionV2ChoiceEnabledWith2g[] = "Enabled: 2G";
444const char kEnableWebfontsInterventionV2ChoiceEnabledWith3g[] = "Enabled: 3G";
445const char kEnableWebfontsInterventionV2ChoiceEnabledWithSlow2g[] =
446 "Enabled: Slow 2G";
447const char kEnableWebfontsInterventionV2ChoiceDisabled[] = "Disabled";
448
449const char kEnableWebfontsInterventionTriggerName[] =
450 "Trigger User Agent Intervention for WebFonts loading always.";
451const char kEnableWebfontsInterventionTriggerDescription[] =
452 "Enable to trigger User Agent Intervention for WebFonts loading always. "
453 "This flag affects only when the intervention is enabled.";
454
455const char kEnableWebNotificationCustomLayoutsName[] =
456 "Enable custom layouts for Web Notifications.";
457const char kEnableWebNotificationCustomLayoutsDescription[] =
458 "Enable custom layouts for Web Notifications. They will have subtle layout "
459 "improvements that are otherwise not possible.";
460
461const char kExpensiveBackgroundTimerThrottlingName[] =
462 "Throttle expensive background timers";
463const char kExpensiveBackgroundTimerThrottlingDescription[] =
464 "Enables intervention to limit CPU usage of background timers to 1%.";
465
466const char kExperimentalAppBannersName[] = "Experimental app banners";
467const char kExperimentalAppBannersDescription[] =
468 "Enables a new experimental app banner flow and UI";
469
470const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
471const char kExperimentalCanvasFeaturesDescription[] =
472 "Enables the use of experimental canvas features which are still in "
473 "development.";
474
475const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
476const char kExperimentalExtensionApisDescription[] =
477 "Enables experimental extension APIs. Note that the extension gallery "
478 "doesn't allow you to upload extensions that use experimental APIs.";
479
480const char kExperimentalFullscreenExitUIName[] =
481 "Experimental fullscreen exit UI";
482const char kExperimentalFullscreenExitUIDescription[] =
483 "Displays experimental UI to allow mouse and touch input methods to exit "
484 "fullscreen mode.";
485
486const char kExperimentalHotwordHardwareName[] =
487 "Simulated hardware 'Ok Google' features";
488const char kExperimentalHotwordHardwareDescription[] =
489 "Enables an experimental version of 'Ok Google' hotword detection features "
490 "that have a hardware dependency.";
491
492const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
493const char kExperimentalKeyboardLockUiDescription[] =
494 "An experimental full screen with keyboard lock mode requiring users to "
495 "hold Esc to exit.";
496
497const char kExperimentalSecurityFeaturesName[] =
498 "Potentially annoying security features";
499const char kExperimentalSecurityFeaturesDescription[] =
500 "Enables several security features that will likely break one or more "
501 "pages that you visit on a daily basis. Strict mixed content checking, for "
502 "example. And locking powerful features to secure contexts. This flag will "
503 "probably annoy you.";
504
505const char kExperimentalWebPlatformFeaturesName[] =
506 "Experimental Web Platform features";
507const char kExperimentalWebPlatformFeaturesDescription[] =
508 "Enables experimental Web Platform features that are in development.";
509
510const char kExtensionContentVerificationName[] =
511 "Extension Content Verification";
512const char kExtensionContentVerificationDescription[] =
513 "This flag can be used to turn on verification that the contents of the "
514 "files on disk for extensions from the webstore match what they're "
515 "expected to be. This can be used to turn on this feature if it would not "
516 "otherwise have been turned on, but cannot be used to turn it off (because "
517 "this setting can be tampered with by malware).";
518const char kExtensionContentVerificationBootstrap[] =
519 "Bootstrap (get expected hashes, but do not enforce them)";
520const char kExtensionContentVerificationEnforce[] =
521 "Enforce (try to get hashes, and enforce them if successful)";
522const char kExtensionContentVerificationEnforceStrict[] =
523 "Enforce strict (hard fail if we can't get hashes)";
524
525const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
526const char kExtensionsOnChromeUrlsDescription[] =
527 "Enables running extensions on chrome:// URLs, where extensions explicitly "
528 "request this permission.";
galinapae72e152017-05-12 13:12:28529
Brett Wilsonecb80982017-07-12 20:34:51530const char kFastUnloadName[] = "Fast tab/window close";
531const char kFastUnloadDescription[] =
532 "Enables fast tab/window closing - runs a tab's onunload js handler "
533 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34534
Brett Wilsonecb80982017-07-12 20:34:51535const char kFeaturePolicyName[] = "Feature Policy";
536const char kFeaturePolicyDescription[] =
537 "Enables granting and removing access to features through the "
538 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34539
Brett Wilsonecb80982017-07-12 20:34:51540const char kFetchKeepaliveTimeoutSettingName[] =
541 "Fetch API keepalive timeout setting";
542const char kFetchKeepaliveTimeoutSettingDescription[] =
543 "This is for setting the timeout value for Fetch API with keepalive option "
544 "and SendBeacon";
545
546const char kFontCacheScalingName[] = "FontCache scaling";
547const char kFontCacheScalingDescription[] =
548 "Reuse a cached font in the renderer to serve different sizes of font for "
549 "faster layout.";
550
551const char kForceEffectiveConnectionTypeName[] =
552 "Override effective connection type";
553const char kForceEffectiveConnectionTypeDescription[] =
554 "Overrides the effective connection type of the current connection "
555 "returned by the network quality estimator.";
556const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
557const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
558const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
559const char kEffectiveConnectionType2GDescription[] = "2G";
560const char kEffectiveConnectionType3GDescription[] = "3G";
561const char kEffectiveConnectionType4GDescription[] = "4G";
562
563const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
564const char kFillOnAccountSelectDescription[] =
565 "Filling of passwords when an account is explicitly selected by the user "
566 "rather than autofilling credentials on page load.";
567
568const char kForceTabletModeName[] = "Force Tablet Mode";
569const char kForceTabletModeDescription[] =
570 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
571 R"*(despite its current orientation. "TouchView" means that the )*"
572 R"*(chromebook will act as if it were in touch view mode. "Clamshell" )*"
573 R"*(means that the chromebook will act as if it were in clamshell )*"
574 R"*(mode . "Auto" means that the chromebook will alternate between )*"
575 R"*(the two, based on its orientation.)*";
576const char kForceTabletModeTouchview[] = "TouchView";
577const char kForceTabletModeClamshell[] = "Clamshell";
578const char kForceTabletModeAuto[] = "Auto (default)";
579
580const char kForceTextDirectionName[] = "Force text direction";
581const char kForceTextDirectionDescription[] =
582 "Explicitly force the per-character directionality of UI text to "
583 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
584 "direction of the character language.";
585const char kForceDirectionLtr[] = "Left-to-right";
586const char kForceDirectionRtl[] = "Right-to-left";
587
588const char kForceUiDirectionName[] = "Force UI direction";
589const char kForceUiDirectionDescription[] =
590 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
591 "mode, overriding the default direction of the UI language.";
592
593const char kFramebustingName[] =
594 "Framebusting requires same-origin or a user gesture";
595const char kFramebustingDescription[] =
596 "Don't permit an iframe to navigate the top level browsing context unless "
597 "they are same-origin or the iframe is processing a user gesture.";
598
599const char kGamepadExtensionsName[] = "Gamepad Extensions";
600const char kGamepadExtensionsDescription[] =
601 "Enabling this option allows web applications to access experimental "
602 "extensions to the Gamepad APIs.";
603
sohan3f00ffc2017-07-14 22:28:08604const char kGlCompositedOverlayCandidateQuadBordersName[] =
605 "GL composited overlay candidate quad borders";
606const char kGlCompositedOverlayCandidateQuadBordersDescription[] =
607 "Renders a border around GL composited overlay candidate quads to help debug and "
Brett Wilsonecb80982017-07-12 20:34:51608 "study overlay support.";
609
610const char kGpuRasterizationMsaaSampleCountName[] =
611 "GPU rasterization MSAA sample count.";
612const char kGpuRasterizationMsaaSampleCountDescription[] =
613 "Specify the number of MSAA samples for GPU rasterization.";
614const char kGpuRasterizationMsaaSampleCountZero[] = "0";
615const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
616const char kGpuRasterizationMsaaSampleCountFour[] = "4";
617const char kGpuRasterizationMsaaSampleCountEight[] = "8";
618const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
619
620const char kGpuRasterizationName[] = "GPU rasterization";
621const char kGpuRasterizationDescription[] =
622 "Use GPU to rasterize web content. Requires impl-side painting.";
623
624const char kGoogleProfileInfoName[] = "Google profile name and icon";
625const char kGoogleProfileInfoDescription[] =
626 "Enables using Google information to populate the profile name and icon in "
627 "the avatar menu.";
628
629const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
630const char kHarfbuzzRendertextDescription[] =
631 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
632 "web content.";
633
634const char kHistoryRequiresUserGestureName[] =
635 "New history entries require a user gesture.";
636const char kHistoryRequiresUserGestureDescription[] =
637 "Require a user gesture to add a history entry.";
638const char kHyperlinkAuditingName[] = "Hyperlink auditing";
639const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
640
641const char kHostedAppQuitNotificationName[] =
642 "Quit notification for hosted apps";
643const char kHostedAppQuitNotificationDescription[] =
644 "Display a notification when quitting Chrome if hosted apps are currently "
645 "running.";
646
647const char kHostedAppShimCreationName[] =
648 "Creation of app shims for hosted apps on Mac";
649const char kHostedAppShimCreationDescription[] =
650 "Create app shims on Mac when creating a hosted app.";
651
652const char kIconNtpName[] = "Large icons on the New Tab page";
653const char kIconNtpDescription[] =
654 "Enable the experimental New Tab page using large icons.";
655
656const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
657const char kIgnoreGpuBlacklistDescription[] =
658 "Overrides the built-in software rendering list and enables "
659 "GPU-acceleration on unsupported system configurations.";
660
661const char kImportantSitesInCbdName[] =
662 "Important sites options in clear browsing data dialog";
663const char kImportantSitesInCbdDescription[] =
664 "Include the option to whitelist important sites in the clear browsing "
665 "data dialog.";
666
667const char kInertVisualViewportName[] = "Inert visual viewport.";
668const char kInertVisualViewportDescription[] =
669 "Experiment to have all APIs reflect the layout viewport. This will make "
670 "window.scroll properties relative to the layout viewport.";
671
672const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
673const char kInProductHelpDemoModeChoiceDescription[] =
674 "Selects the In-Product Help demo mode.";
675
676const char kJavascriptHarmonyName[] = "Experimental JavaScript";
677const char kJavascriptHarmonyDescription[] =
678 "Enable web pages to use experimental JavaScript features.";
679
680const char kJavascriptHarmonyShippingName[] =
681 "Latest stable JavaScript features";
682const char kJavascriptHarmonyShippingDescription[] =
683 "Some web pages use legacy or non-standard JavaScript extensions that may "
684 "conflict with the latest JavaScript features. This flag allows disabling "
685 "support of those features for compatibility with such pages.";
686
687const char kLcdTextName[] = "LCD text antialiasing";
688const char kLcdTextDescription[] =
689 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
690 "(subpixel) when doing accelerated compositing.";
691
692const char kLoadMediaRouterComponentExtensionName[] =
693 "Load Media Router Component Extension";
694const char kLoadMediaRouterComponentExtensionDescription[] =
695 "Loads the Media Router component extension at startup.";
696
697const char kManualPasswordGenerationName[] = "Manual password generation.";
698const char kManualPasswordGenerationDescription[] =
699 "Show a 'Generate Password' option on the context menu for all password "
700 "fields.";
701
702const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
703const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
704const char kMarkHttpAsDangerous[] = "Always mark HTTP as actively dangerous";
705const char kMarkHttpAsNonSecureAfterEditing[] =
706 "Warn on HTTP after editing forms";
707const char kMarkHttpAsNonSecureWhileIncognito[] =
708 "Warn on HTTP while in Incognito mode";
709const char kMarkHttpAsNonSecureWhileIncognitoOrEditing[] =
710 "Warn on HTTP while in Incognito mode or after editing forms";
711
712extern const char kMaterialDesignIncognitoNTPName[] =
713 "Material Design Incognito NTP.";
714extern const char kMaterialDesignIncognitoNTPDescription[] =
715 "If enabled, the Incognito New Tab page uses the new material design with "
716 "a better readable text.";
717
718const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
719const char kMediaRemotingDescription[] =
720 "When Casting a tab to a remote device, enabling this turns on an "
721 "optimization that forwards the content bitstream directly to the remote "
722 "device when a video is fullscreened.";
723
724const char kMemoryAblationName[] = "Memory ablation experiment";
725const char kMemoryAblationDescription[] =
726 "Allocates extra memory in the browser process.";
727
728const char kMemoryCoordinatorName[] = "Memory coordinator";
729const char kMemoryCoordinatorDescription[] =
730 "Enable memory coordinator instead of memory pressure listeners.";
731
732const char kMessageCenterNewStyleNotificationName[] = "New style notification";
733const char kMessageCenterNewStyleNotificationDescription[] =
734 "Enables the experiment style of material-design notification";
735
736const char kMessageCenterAlwaysScrollUpUponRemovalName[] =
737 "Experiments that message center always scroll up upon notification "
738 "removal";
739const char kMessageCenterAlwaysScrollUpUponRemovalDescription[] =
740 "Enables experiment that message center always scroll up when a "
741 "notification is removed.";
742
743const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
744const char kMhtmlGeneratorOptionDescription[] =
745 "Provides experimental options for MHTML file generator.";
746const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
747const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
748
749const char kMojoLoadingName[] = "Use Mojo IPC for resource loading";
750const char kMojoLoadingDescription[] =
751 "Use Mojo IPC instead of traditional Chrome IPC for resource loading.";
752
753const char kModuleScriptsName[] = "Enable ECMAScript 6 modules";
754const char kModuleScriptsDescription[] =
755 "Enables ECMAScript 6 modules support in Blink.";
756
757const char kNewAudioRenderingMixingStrategyName[] =
758 "New audio rendering mixing strategy";
759const char kNewAudioRenderingMixingStrategyDescription[] =
760 "Use the new audio rendering mixing strategy.";
761
762const char kNewBookmarkAppsName[] = "The new bookmark app system";
763const char kNewBookmarkAppsDescription[] =
764 "Enables the new system for creating bookmark apps.";
765
766const char kNewOmniboxAnswerTypesName[] =
767 "New omnibox answers in suggest types";
768const char kNewOmniboxAnswerTypesDescription[] =
769 "Enables new types of answers in the omnibox suggest drop-down: currency "
770 "conversions, dictionary definitions, sports scores, translations, and "
771 "when is.";
772
773const char kNewRemotePlaybackPipelineName[] =
774 "Enable the new remote playback pipeline.";
775const char kNewRemotePlaybackPipelineDescription[] =
776 "Enable the new pipeline for playing media element remotely via "
777 "RemotePlayback API or native controls.";
778
779const char kNewUsbBackendName[] = "Enable new USB backend";
780const char kNewUsbBackendDescription[] =
781 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34782
brettw5f9c1642017-05-14 17:12:48783const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34784const char kNostatePrefetchDescription[] =
785 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
786 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
787 R"*(improve load times even more. "Simple Load" does nothing and is )*"
788 R"*(similar to disabling the feature, but collects more metrics for )*"
789 R"*(comparison purposes.)*";
790
Brett Wilsonecb80982017-07-12 20:34:51791const char kNotificationsNativeFlagName[] = "Enable native notifications.";
792const char kNotificationsNativeFlagDescription[] =
793 "Enable support for using the native notification toasts and notification "
794 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34795
Brett Wilsonecb80982017-07-12 20:34:51796const char kNumRasterThreadsName[] = "Number of raster threads";
797const char kNumRasterThreadsDescription[] =
798 "Specify the number of raster threads.";
799const char kNumRasterThreadsOne[] = "1";
800const char kNumRasterThreadsTwo[] = "2";
801const char kNumRasterThreadsThree[] = "3";
802const char kNumRasterThreadsFour[] = "4";
803
804const char kOfferStoreUnmaskedWalletCardsName[] =
805 "Google Payments card saving checkbox";
806const char kOfferStoreUnmaskedWalletCardsDescription[] =
807 "Show the checkbox to offer local saving of a credit card downloaded from "
808 "the server.";
809
810const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
811const char kOfflineAutoReloadDescription[] =
812 "Pages that fail to load while the browser is offline will be "
813 "auto-reloaded when the browser is online again.";
814
815const char kOfflineAutoReloadVisibleOnlyName[] =
816 "Only Auto-Reload Visible Tabs";
817const char kOfflineAutoReloadVisibleOnlyDescription[] =
818 "Pages that fail to load while the browser is offline will only be "
819 "auto-reloaded if their tab is visible.";
820
821const char kOffMainThreadFetchName[] = "Off-main-thread fetch for Web Workers";
822const char kOffMainThreadFetchDescription[] =
823 "If enabled, the resource fetches from worker threads will not be blocked "
824 "by the busy main thread.";
825
826const char kOmniboxDisplayTitleForCurrentUrlName[] =
827 "Include title for the current URL in the omnibox";
828const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
829 "In the event that the omnibox provides suggestions on-focus, the URL of "
830 "the current page is provided as the first suggestion without a title. "
831 "Enabling this flag causes the title to be displayed.";
832
833const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
834 "Omnibox UI Elide Suggestion URL After Host";
835const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
836 "Elides the path, query, and ref of suggested URLs in the Omnibox "
837 "dropdown.";
838
Benoit Lizeab08362c2017-07-19 14:50:54839const char kOmniboxSpareRendererName[] =
840 "Start spare renderer on omnibox focus";
841const char kOmniboxSpareRendererDescription[] =
842 "When the omnibox is focused, start an empty spare renderer. This can "
843 "speed up the load of the navigation from the omnibox.";
844
Brett Wilsonecb80982017-07-12 20:34:51845const char kOmniboxUIHideSuggestionUrlSchemeName[] =
846 "Omnibox UI Hide Suggestion URL Scheme";
847const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
848 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
849
850const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
851 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
852const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
853 "Elides trivially informative subdomains from suggested URLs in the "
854 "Omnibox dropdown (e.g. www. and m.).";
855
856const char kOmniboxUIMaxAutocompleteMatchesName[] =
857 "Omnibox UI Max Autocomplete Matches";
858
859const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
860 "Changes the maximum number of autocomplete matches displayed in the "
861 "Omnibox UI.";
862
863const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
864const char kOmniboxUINarrowDropdownDescription[] =
865 "Makes the suggestions dropdown width match the omnibox width.";
866
867const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
868const char kOmniboxUIVerticalLayoutDescription[] =
869 "Displays Omnibox sugestions in 2 lines - title over origin.";
870
871const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
872const char kOmniboxUIVerticalMarginDescription[] =
873 "Changes the vertical margin in the Omnibox UI.";
874
875const char kOriginTrialsName[] = "Origin Trials";
876const char kOriginTrialsDescription[] =
877 "Enables origin trials for controlling access to feature/API experiments.";
878
879const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
880const char kOverlayScrollbarsDescription[] =
881 "Enable the experimental overlay scrollbars implementation. You must also "
882 "enable threaded compositing to have the scrollbars animate.";
883
884const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
885const char kOverscrollHistoryNavigationDescription[] =
886 "Experimental history navigation in response to horizontal overscroll.";
887const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
888
889const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
890const char kOverscrollStartThresholdDescription[] =
891 "Changes overscroll start threshold relative to the default value.";
892const char kOverscrollStartThreshold133Percent[] = "133%";
893const char kOverscrollStartThreshold166Percent[] = "166%";
894const char kOverscrollStartThreshold200Percent[] = "200%";
895
896const char kPassiveEventListenerDefaultName[] =
897 "Passive Event Listener Override";
898const char kPassiveEventListenerDefaultDescription[] =
899 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
900 "haven't requested otherwise) to be treated as passive. This will break "
901 "touch/wheel behavior on some websites but is useful for demonstrating the "
902 "potential performance benefits of adopting passive event listeners.";
903const char kPassiveEventListenerTrue[] = "True (when unspecified)";
904const char kPassiveEventListenerForceAllTrue[] = "Force All True";
905
906const char kPassiveEventListenersDueToFlingName[] =
907 "Touch Event Listeners Passive Default During Fling";
908const char kPassiveEventListenersDueToFlingDescription[] =
909 "Forces touchstart, and first touchmove per scroll event listeners during "
910 "fling to be treated as passive.";
911
912const char kPassiveDocumentEventListenersName[] =
913 "Document Level Event Listeners Passive Default";
914const char kPassiveDocumentEventListenersDescription[] =
915 "Forces touchstart, and touchmove event listeners on document level "
916 "targets (which haven't requested otherwise) to be treated as passive.";
917
918const char kPasswordForceSavingName[] = "Force-saving of passwords";
919const char kPasswordForceSavingDescription[] =
920 "Allow the user to manually enforce password saving instead of relying on "
921 "password manager's heuristics.";
922
923const char kPasswordGenerationName[] = "Password generation";
924const char kPasswordGenerationDescription[] =
925 "Allow the user to have Chrome generate passwords when it detects account "
926 "creation pages.";
927
928const char kPasswordImportExportName[] = "Password import and export";
929const char kPasswordImportExportDescription[] =
930 "Import and Export functionality in password settings.";
931
932const char kPermissionActionReportingName[] = "Permission Action Reporting";
933const char kPermissionActionReportingDescription[] =
934 "Enables permission action reporting to Safe Browsing servers for opted in "
935 "users.";
936
937const char kPermissionsBlacklistName[] = "Permissions Blacklist";
938const char kPermissionsBlacklistDescription[] =
939 "Enables the Permissions Blacklist, which blocks permissions for "
940 "blacklisted sites for Safe Browsing users.";
941
942const char kPinchScaleName[] = "Pinch scale";
943const char kPinchScaleDescription[] =
944 "Enables experimental support for scale using pinch.";
945
Brett Wilsonecb80982017-07-12 20:34:51946const char kPrintPdfAsImageName[] = "Print Pdf as Image";
947const char kPrintPdfAsImageDescription[] =
948 "If enabled, an option to print PDF files as images will be available in "
949 "print preview.";
950
951const char kPrintPreviewRegisterPromosName[] =
952 "Print Preview Registration Promos";
953const char kPrintPreviewRegisterPromosDescription[] =
954 "Enable registering unregistered cloud printers from print preview.";
955
956const char kProtectSyncCredentialName[] = "Autofill sync credential";
957const char kProtectSyncCredentialDescription[] =
958 "How the password manager handles autofill for the sync credential.";
959
960const char kProtectSyncCredentialOnReauthName[] =
961 "Autofill sync credential only for transactional reauth pages";
962const char kProtectSyncCredentialOnReauthDescription[] =
963 "How the password manager handles autofill for the sync credential only "
964 "for transactional reauth pages.";
965
966const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
967const char kPushApiBackgroundModeDescription[] =
968 "Enable background mode for the Push API. This allows Chrome to continue "
969 "running after the last window is closed, and to launch at OS startup, if "
970 "the Push API needs it.";
971
972const char kQuicName[] = "Experimental QUIC protocol";
973const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
974
975const char kReducedReferrerGranularityName[] =
976 "Reduce default 'referer' header granularity.";
977const char kReducedReferrerGranularityDescription[] =
978 "If a page hasn't set an explicit referrer policy, setting this flag will "
979 "reduce the amount of information in the 'referer' header for cross-origin "
980 "requests.";
981
982const char kRequestTabletSiteName[] =
983 "Request tablet site option in the settings menu";
984const char kRequestTabletSiteDescription[] =
985 "Allows the user to request tablet site. Web content is often optimized "
986 "for tablet devices. When this option is selected the user agent string is "
987 "changed to indicate a tablet device. Web content optimized for tablets is "
988 "received there after for the current tab.";
989
990const char kResetAppListInstallStateName[] =
991 "Reset the App Launcher install state on every restart.";
992const char kResetAppListInstallStateDescription[] =
993 "Reset the App Launcher install state on every restart. While this flag is "
994 "set, Chrome will forget the launcher has been installed each time it "
995 "starts. This is used for testing the App Launcher install flow.";
996
997const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
998const char kResourceLoadSchedulerDescription[] =
999 "Uses the resource load scheduler in blink to schedule and throttle "
1000 "resource load requests.";
1001
Brett Wilsonecb80982017-07-12 20:34:511002const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1003const char kSafeSearchUrlReportingDescription[] =
1004 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1005
1006const char kSaveasMenuLabelExperimentName[] =
1007 "Switch 'Save as' menu labels to 'Download'";
1008const char kSaveasMenuLabelExperimentDescription[] =
1009 "Enables an experiment to switch menu labels that use 'Save as...' to "
1010 "'Download'.";
1011
1012const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1013const char kSavePageAsMhtmlDescription[] =
1014 "Enables saving pages as MHTML: a single text file containing HTML and all "
1015 "sub-resources.";
1016
1017const char kScrollEndEffectName[] = "Scroll end effect";
1018const char kScrollEndEffectDescription[] =
1019 "Experimental scroll end effect in response to vertical overscroll.";
1020
1021const char kScrollPredictionName[] = "Scroll prediction";
1022const char kScrollPredictionDescription[] =
1023 "Predicts the finger's future position during scrolls allowing time to "
1024 "render the frame before the finger is there.";
1025
1026const char kSecondaryUiMd[] =
1027 "Material Design in the rest of the browser's native UI";
1028const char kSecondaryUiMdDescription[] =
1029 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1030 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1031 "browser dialogs.";
1032
1033const char kServiceWorkerNavigationPreloadName[] =
1034 "Service worker navigation preload.";
1035const char kServiceWorkerNavigationPreloadDescription[] =
1036 "Enable web pages to use the experimental service worker navigation "
1037 "preload API.";
1038
1039const char kSettingsWindowName[] = "Show settings in a window";
1040const char kSettingsWindowDescription[] =
1041 "Settings will be shown in a dedicated window instead of as a browser tab.";
1042
1043const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1044const char kShowAutofillSignaturesDescription[] =
1045 "Annotates web forms with Autofill signatures as HTML attributes.";
1046
1047const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1048const char kShowAutofillTypePredictionsDescription[] =
1049 "Annotates web forms with Autofill field type predictions as placeholder "
1050 "text.";
1051
1052const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1053const char kShowOverdrawFeedbackDescription[] =
1054 "Visualize overdraw by color-coding elements based on if they have other "
1055 "elements drawn underneath.";
1056
1057const char kShowSavedCopyName[] = "Show Saved Copy Button";
1058const char kShowSavedCopyDescription[] =
1059 "When a page fails to load, if a stale copy of the page exists in the "
1060 "browser cache, a button will be presented to allow the user to load that "
1061 "stale copy. The primary enabling choice puts the button in the most "
1062 "salient position on the error page; the secondary enabling choice puts it "
1063 "secondary to the reload button.";
1064const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1065const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1066const char kDisableShowSavedCopy[] = "Disable";
1067
1068const char kShowTouchHudName[] = "Show HUD for touch points";
1069const char kShowTouchHudDescription[] =
1070 "Enables a heads-up display at the top-left corner of the screen that "
1071 "lists information about the touch-points on the screen.";
1072
1073const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1074const char kSilentDebuggerExtensionApiDescription[] =
1075 "Do not show the infobar when an extension attaches to a page via "
1076 "chrome.debugger API. This is required to debug extension background "
1077 "pages.";
1078
1079const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1080const char kSimpleCacheBackendDescription[] =
1081 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1082 "disk space allocation.";
1083
1084const char kSimplifiedFullscreenUiName[] =
1085 "Simplified full screen / mouse lock UI.";
1086const char kSimplifiedFullscreenUiDescription[] =
1087 "A simplified new user experience when entering page-triggered full screen "
1088 "or mouse pointer lock states.";
1089
1090const char kSingleClickAutofillName[] = "Single-click autofill";
1091const char kSingleClickAutofillDescription[] =
1092 "Make autofill suggestions on initial mouse click on a form element.";
1093
1094const char kSiteDetails[] = "Site Details";
1095const char kSiteDetailsDescription[] =
1096 "Adds UI in MD Settings to view all content settings for a specific "
1097 "origin.";
1098
1099const char kSitePerProcessName[] = "Strict site isolation";
1100const char kSitePerProcessDescription[] =
1101 "Highly experimental security mode that ensures each renderer process "
1102 "contains pages from at most one site. In this mode, out-of-process "
1103 "iframes will be used whenever an iframe is cross-site.";
1104
1105const char kSiteSettings[] = "Site settings with All sites and Site details";
1106const char kSiteSettingsDescription[] =
1107 "Adds new ways of viewing Site settings.";
1108
1109const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
1110const char kSlimmingPaintInvalidationDescription[] =
1111 "Whether to enable a new paint invalidation system.";
1112
1113const char kSmoothScrollingName[] = "Smooth Scrolling";
1114const char kSmoothScrollingDescription[] =
1115 "Animate smoothly when scrolling page content.";
1116
1117const char kSoftwareRasterizerName[] = "3D software rasterizer";
1118const char kSoftwareRasterizerDescription[] =
1119 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1120
1121const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341122const char kSpeculativePrefetchDescription[] =
1123 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1124 R"*(load times, based on a local database (see chrome://predictors). )*"
1125 R"*("Learning" means that only the database construction is enabled, )*"
1126 R"*("Prefetching" that learning and prefetching are enabled.)*";
1127
Justin Donnelly4e448cb2017-07-07 21:32:131128const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1129 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131130const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1131 "If enabled, when the user enters text in the omnibox that looks like a "
1132 "a query, any service worker associated with the search engine the query "
1133 "will be sent to is started early.";
1134
Brett Wilsonecb80982017-07-12 20:34:511135const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1136const char kSpellingFeedbackFieldTrialDescription[] =
1137 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401138
Brett Wilsonecb80982017-07-12 20:34:511139const char kSuggestionsWithSubStringMatchName[] =
1140 "Substring matching for Autofill suggestions";
1141const char kSuggestionsWithSubStringMatchDescription[] =
1142 "Match Autofill suggestions based on substrings (token prefixes) rather "
1143 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341144
Brett Wilsonecb80982017-07-12 20:34:511145const char kSupervisedUserManagedBookmarksFolderName[] =
1146 "Managed bookmarks for supervised users";
1147const char kSupervisedUserManagedBookmarksFolderDescription[] =
1148 "Enable the managed bookmarks folder for supervised users.";
vabr0215a8e2017-03-28 12:47:341149
Brett Wilsonecb80982017-07-12 20:34:511150const char kSyncAppListName[] = "App Launcher sync";
1151const char kSyncAppListDescription[] =
1152 "Enable App Launcher sync. This also enables Folders where available (non "
1153 "OSX).";
vabr0215a8e2017-03-28 12:47:341154
Brett Wilsonecb80982017-07-12 20:34:511155const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1156const char kSyncSandboxDescription[] =
1157 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341158
Brett Wilsonecb80982017-07-12 20:34:511159const char kTabAudioMutingName[] = "Tab audio muting UI control";
1160const char kTabAudioMutingDescription[] =
1161 "When enabled, the audio indicators in the tab strip double as tab audio "
1162 "mute controls. This also adds commands in the tab context menu for "
1163 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341164
Brett Wilsonecb80982017-07-12 20:34:511165const char kTcpFastOpenName[] = "TCP Fast Open";
1166const char kTcpFastOpenDescription[] =
1167 "Enable the option to send extra authentication information in the initial "
1168 "SYN packet for a previously connected client, allowing faster data send "
1169 "start.";
vabr0215a8e2017-03-28 12:47:341170
Brett Wilsonecb80982017-07-12 20:34:511171const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1172const char kTopChromeMdDescription[] =
1173 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
1174const char kTopChromeMdMaterial[] = "Normal";
1175const char kTopChromeMdMaterialHybrid[] = "Touch";
vabr0215a8e2017-03-28 12:47:341176
Brett Wilsonecb80982017-07-12 20:34:511177const char kThreadedScrollingName[] = "Threaded scrolling";
1178const char kThreadedScrollingDescription[] =
1179 "Threaded handling of scroll-related input events. Disabling this will "
1180 "force all such scroll events to be handled on the main thread. Note that "
1181 "this can dramatically hurt scrolling performance of most websites and is "
1182 "intended for testing purposes only.";
1183
Steven Valdez4584b2482017-07-14 01:11:571184const char kTLS13VariantName[] = "TLS 1.3";
1185const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1186const char kTLS13VariantDisabled[] = "Disabled";
1187const char kTLS13VariantDraft[] = "Enabled (Draft)";
1188const char kTLS13VariantExperiment[] = "Enabled (Experiment)";
Steven Valdez2d7b4e82017-07-17 22:22:091189const char kTLS13VariantRecordTypeExperiment[] =
1190 "Enabled (Record Type Experiment)";
Steven Valdez2ee1c4a22017-07-19 20:39:311191const char kTLS13VariantNoSessionIDExperiment[] =
1192 "Enabled (No Session ID Experiment)";
Steven Valdez4584b2482017-07-14 01:11:571193
Brett Wilsonecb80982017-07-12 20:34:511194const char kTopDocumentIsolationName[] = "Top document isolation";
1195const char kTopDocumentIsolationDescription[] =
1196 "Highly experimental performance mode where cross-site iframes are kept in "
1197 "a separate process from the top document. In this mode, iframes from "
1198 "different third-party sites will be allowed to share a process.";
1199
1200const char kTouchAdjustmentName[] = "Touch adjustment";
1201const char kTouchAdjustmentDescription[] =
1202 "Refine the position of a touch gesture in order to compensate for touches "
1203 "having poor resolution compared to a mouse.";
1204
1205const char kTouchDragDropName[] = "Touch initiated drag and drop";
1206const char kTouchDragDropDescription[] =
1207 "Touch drag and drop can be initiated through long press on a draggable "
1208 "element.";
1209
1210const char kTouchEventsName[] = "Touch Events API";
1211const char kTouchEventsDescription[] =
1212 "Force Touch Events API feature detection to always be enabled or "
1213 "disabled, or to be enabled when a touchscreen is detected on startup "
1214 "(Automatic, the default).";
1215
1216const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1217const char kTouchSelectionStrategyDescription[] =
1218 "Controls how text selection granularity changes when touch text selection "
1219 "handles are dragged. Non-default behavior is experimental.";
1220const char kTouchSelectionStrategyCharacter[] = "Character";
1221const char kTouchSelectionStrategyDirection[] = "Direction";
1222
1223const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1224const char kTraceUploadUrlDescription[] =
1225 "This is to be used in conjunction with the enable-navigation-tracing "
1226 "flag. Please select the label that best describes the recorded traces. "
1227 "This will choose the destination the traces are uploaded to. If you are "
1228 "not sure, select other. If left empty, no traces will be uploaded.";
1229const char kTraceUploadUrlChoiceOther[] = "Other";
1230const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1231const char kTraceUploadUrlChoiceQa[] = "QA";
1232const char kTraceUploadUrlChoiceTesting[] = "Testing";
1233
1234const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
1235const char kTranslate2016q2UiDescription[] =
1236 "Improved triggering logic and look for Translate Bubble UI";
1237
1238const char kTranslateLanguageByUlpName[] = "Translate Language by ULP";
1239const char kTranslateLanguageByUlpDescription[] =
1240 "Improved translate target language and triggering logic by considering "
1241 "information from User Language Profile (ULP).";
1242
1243const char kTrySupportedChannelLayoutsName[] =
1244 "Causes audio output streams to check if channel layouts other than the "
1245 "default hardware layout are available.";
1246const char kTrySupportedChannelLayoutsDescription[] =
1247 "Causes audio output streams to check if channel layouts other than the "
1248 "default hardware layout are available. Turning this on will allow the OS "
1249 "to do stereo to surround expansion if supported. May expose third party "
1250 "driver bugs, use with caution.";
1251
1252const char kUiPartialSwapName[] = "Partial swap";
1253const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1254
1255const char kUserConsentForExtensionScriptsName[] =
1256 "User consent for extension scripts";
1257const char kUserConsentForExtensionScriptsDescription[] =
1258 "Require user consent for an extension running a script on the page, if "
1259 "the extension requested permission to run on all urls.";
1260
1261const char kUseSuggestionsEvenIfFewFeatureName[] =
1262 "Disable minimum for server-side tile suggestions on NTP.";
1263const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1264 "Request server-side suggestions even if there are only very few of them "
1265 "and use them for tiles on the New Tab Page.";
1266
1267const char kV8CacheOptionsName[] = "V8 caching mode.";
1268const char kV8CacheOptionsDescription[] =
1269 "Caching mode for the V8 JavaScript engine.";
1270const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1271const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1272
1273const char kV8CacheStrategiesForCacheStorageName[] =
1274 "V8 caching strategy for CacheStorage.";
1275const char kV8CacheStrategiesForCacheStorageDescription[] =
1276 "Caching strategy of scripts in CacheStorage for the V8 JavaScript engine.";
1277const char kV8CacheStrategiesForCacheStorageNormal[] = "Normal";
1278const char kV8CacheStrategiesForCacheStorageAggressive[] = "Aggressive";
1279
1280const char kVibrateRequiresUserGestureName[] =
1281 "Requiring user gesture for the Vibration API";
1282const char kVibrateRequiresUserGestureDescription[] =
1283 "Block the Vibration API if no user gesture has been received on the frame "
1284 "or any embedded frame.";
1285
1286const char kVideoFullscreenOrientationLockName[] =
1287 "Lock screen orientation when playing a video fullscreen.";
1288const char kVideoFullscreenOrientationLockDescription[] =
1289 "Lock the screen orientation of the device to match video orientation when "
1290 "a video goes fullscreen. Only on phones.";
1291
1292const char kVideoRotateToFullscreenName[] =
1293 "Rotate-to-fullscreen gesture for videos.";
1294const char kVideoRotateToFullscreenDescription[] =
1295 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1296 "the video. Only on phones.";
1297
1298const char kWalletServiceUseSandboxName[] =
1299 "Use Google Payments sandbox servers";
1300const char kWalletServiceUseSandboxDescription[] =
1301 "For developers: use the sandbox service for Google Payments API calls.";
1302
1303const char kWebgl2Name[] = "WebGL 2.0";
1304const char kWebgl2Description[] = "Allow web applications to access WebGL 2.0.";
1305
1306const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1307const char kWebglDraftExtensionsDescription[] =
1308 "Enabling this option allows web applications to access the WebGL "
1309 "Extensions that are still in draft status.";
1310
1311const char kWebMidiName[] = "Web MIDI API";
1312const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1313
1314const char kWebPaymentsName[] = "Web Payments";
1315const char kWebPaymentsDescription[] =
1316 "Enable Web Payments API integration, a JavaScript API for merchants.";
1317
Mathieu Perreault51339b82017-07-20 17:06:051318const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1319const char kWebPaymentsModifiersDescription[] =
1320 "If the website provides modifiers in the payment request, show the custom "
1321 "total for each payment instrument, update the shopping cart when "
1322 "instruments are switched, and send modified payment method specific data "
1323 "to the payment app.";
1324
Brett Wilsonecb80982017-07-12 20:34:511325const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1326const char kWebrtcEchoCanceller3Description[] =
1327 "Experimental WebRTC echo canceller (AEC3).";
1328
1329const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1330const char kWebrtcHwDecodingDescription[] =
1331 "Support in WebRTC for decoding video streams using platform hardware.";
1332
1333const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1334const char kWebrtcHwEncodingDescription[] =
1335 "Support in WebRTC for encoding video streams using platform hardware.";
1336
1337const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1338const char kWebrtcHwH264EncodingDescription[] =
1339 "Support in WebRTC for encoding h264 video streams using platform "
1340 "hardware.";
1341
1342const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1343const char kWebrtcHwVP8EncodingDescription[] =
1344 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1345
1346const char kWebrtcSrtpAesGcmName[] =
1347 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1348const char kWebrtcSrtpAesGcmDescription[] =
1349 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1350
1351const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1352const char kWebrtcStunOriginDescription[] =
1353 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1354 "header.";
1355
1356const char kWebvrName[] = "WebVR";
1357const char kWebvrDescription[] =
1358 "Enabling this option allows web applications to access experimental "
1359 "Virtual Reality APIs.";
1360
1361const char kWifiCredentialSyncName[] = "WiFi credential sync";
1362const char kWifiCredentialSyncDescription[] =
1363 "Enables synchronizing WiFi network settings across devices. When enabled, "
1364 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1365 "credentials are synchronized subject to user preferences. (See also, "
1366 "chrome://settings/syncSetup.)";
1367
1368const char kZeroCopyName[] = "Zero-copy rasterizer";
1369const char kZeroCopyDescription[] =
1370 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341371
Brett Wilsonff596952017-07-14 01:06:551372// Android ---------------------------------------------------------------------
1373
1374#if defined(OS_ANDROID)
1375
1376const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1377const char kAiaFetchingDescription[] =
1378 "Enable intermediate certificate fetching when a server does not provide "
1379 "sufficient certificates to build a chain to a trusted root.";
1380
1381const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1382const char kAccessibilityTabSwitcherDescription[] =
1383 "Enable the accessibility tab switcher for Android.";
1384
1385const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1386const char kAndroidAutofillAccessibilityDescription[] =
1387 "Enable accessibility for autofill popup.";
1388
1389const char kAndroidPaymentAppsName[] = "Android payment apps";
1390const char kAndroidPaymentAppsDescription[] =
1391 "Enable third party Android apps to integrate as payment apps";
1392
Iulia Harasim0b5a4312017-07-21 16:20:501393const char kAndroidSigninPromosName[] = "Signin promos for Android.";
1394const char kAndroidSigninPromosDescription[] =
1395 "New signin promos for Android which will be displayed in content "
1396 "suggestions, Settings, Bookmarks and Recent Tabs.";
1397
Brett Wilsonff596952017-07-14 01:06:551398const char kAutofillAccessoryViewName[] =
1399 "Autofill suggestions as keyboard accessory view";
1400const char kAutofillAccessoryViewDescription[] =
1401 "Shows Autofill suggestions on top of the keyboard rather than in a "
1402 "dropdown.";
1403
1404const char kBackgroundLoaderForDownloadsName[] =
1405 "Enables background downloading of pages.";
1406const char kBackgroundLoaderForDownloadsDescription[] =
1407 "Enables downloading pages in the background in case page is not yet "
1408 "loaded in current tab.";
1409
1410const char kChromeHomeExpandButtonName[] = "Chrome Home Expand Button";
1411const char kChromeHomeExpandButtonDescription[] =
1412 "Enables the expand button for Chrome Home.";
1413
1414const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1415const char kChromeHomeSwipeLogicDescription[] =
1416 "Various swipe logic options for Chrome Home for sheet expansion.";
1417const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
1418const char kChromeHomeSwipeLogicButtonOnly[] = "Swipe on expand button";
1419
1420const char kChromeHomeName[] = "Chrome Home";
1421const char kChromeHomeDescription[] =
1422 "Enables Chrome Home on Android. You must restart the browser"
1423 " twice for changes to take effect.";
1424
1425const char kContentSuggestionsCategoryOrderName[] =
1426 "Default content suggestions category order (e.g. on NTP)";
1427const char kContentSuggestionsCategoryOrderDescription[] =
1428 "Set default order of content suggestion categories (e.g. on the NTP).";
1429
1430const char kContentSuggestionsCategoryRankerName[] =
1431 "Content suggestions category ranker (e.g. on NTP)";
1432const char kContentSuggestionsCategoryRankerDescription[] =
1433 "Set category ranker to order categories of content suggestions (e.g. on "
1434 "the NTP).";
1435
1436const char kContextualSearchContextualCardsBarIntegration[] =
1437 "Contextual Search - Contextual Cards Integration";
1438const char kContextualSearchContextualCardsBarIntegrationDescription[] =
1439 "Whether or not integration of Contextual Cards data in the Contextual "
1440 "Search Bar is enabled.";
1441
1442const char kContextualSearchSingleActionsName[] =
1443 "Contextual Search - Single Actions";
1444const char kContextualSearchSingleActionsDescription[] =
1445 "Whether or not single actions using Contextual Cards data in the "
1446 "Contextual Search Bar is enabled.";
1447
1448const char kContextualSearchUrlActionsName[] =
1449 "Contextual Search - URL Actions";
1450const char kContextualSearchUrlActionsDescription[] =
1451 "Whether or not URL actions using Contextual Cards data in the Contextual "
1452 "Search Bar is enabled.";
1453
1454const char kContextualSearchName[] = "Contextual Search";
1455const char kContextualSearchDescription[] =
1456 "Whether or not Contextual Search is enabled.";
1457
Dmitry Skiba9c3efa72017-07-20 22:01:141458const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1459const char kDontPrefetchLibrariesDescription[] =
1460 "Don't prefetch libraries after loading.";
1461
Brett Wilsonff596952017-07-14 01:06:551462const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1463const char kEnableAndroidPayIntegrationV1Description[] =
1464 "Enable integration with Android Pay using the first version of the API";
1465
1466const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1467const char kEnableAndroidPayIntegrationV2Description[] =
1468 "Enable integration with Android Pay using the second version of the API";
1469
1470const char kEnableAndroidSpellcheckerDescription[] =
1471 "Enables use of the Android spellchecker.";
1472const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
1473
1474const char kEnableConsistentOmniboxGeolocationName[] =
1475 "Have consistent omnibox geolocation access.";
1476const char kEnableConsistentOmniboxGeolocationDescription[] =
1477 "Have consistent geolocation access between the omnibox and default search "
1478 "engine.";
1479
1480const char kEnableContentSuggestionsNewFaviconServerName[] =
1481 "Get favicons for content suggestions from a new server.";
1482const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1483 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1484 "new favicon server.";
1485
1486const char kEnableContentSuggestionsLargeThumbnailName[] =
1487 "Large thumbnails layout for content suggestions cards.";
1488const char kEnableContentSuggestionsLargeThumbnailDescription[] =
1489 "If enabled, the content suggestions cards will use large thumbnails and "
1490 "some related adjustments.";
1491
1492const char kEnableContentSuggestionsVideoOverlayName[] =
1493 "Video icon overlay on thumbnails for content suggestions cards.";
1494const char kEnableContentSuggestionsVideoOverlayDescription[] =
1495 "If enabled, the content suggestions cards for suggestions with a video "
1496 "will show a video play icon overlay on the thumbnail.";
1497
1498const char kEnableContentSuggestionsSettingsName[] =
1499 "Show content suggestions settings.";
1500const char kEnableContentSuggestionsSettingsDescription[] =
1501 "If enabled, the content suggestions settings will be available from the "
1502 "main settings menu.";
1503
1504const char kEnableContentSuggestionsShowSummaryName[] =
1505 "Show content suggestions summaries.";
1506const char kEnableContentSuggestionsShowSummaryDescription[] =
1507 "If enabled, the content suggestions summaries will be shown.";
1508
1509const char kEnableCopylessPasteName[] = "App Indexing (Copyless Paste)";
1510const char kEnableCopylessPasteDescription[] =
1511 "Provide suggestions for text input, based on your recent context. For "
1512 "example, if you looked at a restaurant website and switched to the Maps "
1513 "app, the keyboard would offer the name of that restaurant as a suggestion "
1514 "to enter into the search bar. The data is indexed locally, and never sent "
1515 "to the server. It's disabled in incognito mode.";
1516
1517const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1518const char kEnableCustomContextMenuDescription[] =
1519 "Enables a new context menu when a link, image, or video is pressed within "
1520 "Chrome.";
1521
1522const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1523const char kEnableCustomFeedbackUiDescription[] =
1524 "Enables a custom feedback UI when submitting feedback through Google "
1525 "Feedback. Works with Google Play Services v10.2+";
1526
1527const char kEnableDataReductionProxyMainMenuName[] =
1528 "Enable Data Saver main menu footer";
1529const char kEnableDataReductionProxyMainMenuDescription[] =
1530 "Enables the Data Saver footer in the main menu";
1531
1532const char kEnableDataReductionProxySiteBreakdownName[] =
1533 "Data Saver Site Breakdown";
1534const char kEnableDataReductionProxySiteBreakdownDescription[] =
1535 "Enable the site breakdown on the Data Saver settings page.";
1536
1537const char kEnableOmniboxClipboardProviderName[] =
1538 "Omnibox clipboard URL suggestions";
1539const char kEnableOmniboxClipboardProviderDescription[] =
1540 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1541 "focus in the omnibox.";
1542
1543const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1544 "Use expanded autofill credit card popup layout.";
1545const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1546 "If enabled, displays autofill credit card popup using expanded layout.";
1547
1548const char kEnableFaviconsFromWebManifestName[] =
1549 "Load favicons from Web Manifests";
1550const char kEnableFaviconsFromWebManifestDescription[] =
1551 "Fetch Web Manifests on page load to read favicons from them.";
1552
1553const char kEnableNtpAssetDownloadSuggestionsName[] =
1554 "Show asset downloads on the New Tab page";
1555const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1556 "If enabled, the list of content suggestions on the New Tab page will "
1557 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1558 "later use.";
1559
1560const char kEnableNtpBookmarkSuggestionsName[] =
1561 "Show recently visited bookmarks on the New Tab page";
1562const char kEnableNtpBookmarkSuggestionsDescription[] =
1563 "If enabled, the list of content suggestions on the New Tab page will "
1564 "contain recently visited bookmarks.";
1565
1566const char kEnableNtpForeignSessionsSuggestionsName[] =
1567 "Show recent foreign tabs on the New Tab page";
1568const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1569 "If enabled, the list of content suggestions on the New Tab page will "
1570 "contain recent foreign tabs.";
1571
1572const char kEnableNtpMostLikelyFaviconsFromServerName[] =
1573 "Download favicons for NTP tiles from Google.";
1574const char kEnableNtpMostLikelyFaviconsFromServerDescription[] =
1575 "If enabled, missing favicons for NTP tiles get downloaded from Google. "
1576 "This only applies to tiles that originate from synced history.";
1577
1578const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1579 "Show offline page downloads on the New Tab page";
1580const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1581 "If enabled, the list of content suggestions on the New Tab page will "
1582 "contain pages that the user downloaded for later use.";
1583
1584const char kEnableNtpRemoteSuggestionsName[] =
1585 "Show server-side suggestions on the New Tab page";
1586const char kEnableNtpRemoteSuggestionsDescription[] =
1587 "If enabled, the list of content suggestions on the New Tab page will "
1588 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
1589 "allows to override the source used to retrieve these server-side "
1590 "suggestions.";
1591
1592const char kEnableNtpSnippetsVisibilityName[] =
1593 "Make New Tab Page Snippets more visible.";
1594const char kEnableNtpSnippetsVisibilityDescription[] =
1595 "If enabled, the NTP snippets will become more discoverable with a larger "
1596 "portion of the first card above the fold.";
1597
1598const char kEnableNtpSuggestionsNotificationsName[] =
1599 "Notify about new content suggestions available at the New Tab page";
1600const char kEnableNtpSuggestionsNotificationsDescription[] =
1601 "If enabled, notifications will inform about new content suggestions on "
1602 "the New Tab page.";
1603
1604const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
1605const char kEnablePhysicalWebDescription[] =
1606 "Enable scanning for URLs from Physical Web objects.";
1607
1608const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1609const char kEnableOfflinePreviewsDescription[] =
1610 "Enable showing offline page previews on slow networks.";
1611
1612const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
1613const char kEnableOskOverscrollDescription[] =
1614 "Enable OSK overscroll support. With this flag on, the OSK will only "
1615 "resize the visual viewport.";
1616
1617const char kEnableSpecialLocaleName[] =
1618 "Enable custom logic for special locales.";
1619const char kEnableSpecialLocaleDescription[] =
1620 "Enable custom logic for special locales. In this mode, Chrome might "
1621 "behave differently in some locales.";
1622
1623const char kEnableWebapk[] = "Enable improved add to Home screen";
1624const char kEnableWebapkDescription[] =
1625 R"*(Packages "Progressive Web Apps" so that they can integrate more )*"
1626 R"*(deeply with Android. A Chrome server is used to package sites. In )*"
1627 R"*(Chrome Canary and Chrome Dev, this requires “Untrusted )*"
1628 R"*(sources” to be enabled in Android security settings.)*";
1629
1630const char kEnableWebNfcName[] = "WebNFC";
1631const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
1632
1633const char kEnableWebPaymentsSingleAppUiSkipName[] =
1634 "Enable Web Payments single app UI skip";
1635const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
1636 "Enable Web Payments to skip showing its UI if the developer specifies a "
1637 "single app.";
1638
1639const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
1640const char kHerbPrototypeChoicesDescription[] =
1641 "Switching this option changes which tab management prototype is being "
1642 "tested.";
1643const char kHerbPrototypeFlavorElderberry[] =
1644 "ELDERBERRY: All View Intents in CCT v2";
1645
1646const char kKeepPrefetchedContentSuggestionsName[] =
1647 "Keep prefetched content suggestions";
1648const char kKeepPrefetchedContentSuggestionsDescription[] =
1649 "If enabled, some of prefetched content suggestions are not replaced by "
1650 "the new fetched suggestions.";
1651
1652const char kLsdPermissionPromptName[] =
1653 "Location Settings Dialog Permission Prompt";
1654const char kLsdPermissionPromptDescription[] =
1655 "Whether to use the Google Play Services Location Settings Dialog "
1656 "permission dialog.";
1657
1658const char kMediaDocumentDownloadButtonName[] =
1659 "Download button when opening a page with media url.";
1660const char kMediaDocumentDownloadButtonDescription[] =
1661 "Allow a download button to show up when opening a page with media url.";
1662
1663const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
1664const char kMediaScreenCaptureDescription[] =
1665 "Enable this option for experimental ScreenCapture feature on Android.";
1666
1667const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
1668const char kModalPermissionPromptsDescription[] =
1669 "Whether to use permission dialogs in place of permission infobars.";
1670
1671const char kNewBackgroundLoaderName[] =
1672 "Use background loader instead of prerenderer to load pages.";
1673const char kNewBackgroundLoaderDescription[] =
1674 "Use background loader instead of prerenderer to asynchronously download "
1675 "pages.";
1676
1677const char kNewPhotoPickerName[] = "Enable new Photopicker";
1678const char kNewPhotoPickerDescription[] =
1679 "Activates the new picker for selecting photos.";
1680
1681const char kNoCreditCardAbort[] = "No Credit Card Abort";
1682const char kNoCreditCardAbortDescription[] =
1683 "Whether or not the No Credit Card Abort is enabled.";
1684
1685const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
1686const char kNtpCondensedLayoutDescription[] =
1687 "Show a condensed layout on the New Tab Page.";
1688
1689const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
1690const char kNtpCondensedTileLayoutDescription[] =
1691 "Show a condensed tile layout on the New Tab Page.";
1692
1693const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
1694const char kNtpGoogleGInOmniboxDescription[] =
1695 "Show a Google G in the omnibox on the New Tab Page.";
1696
1697const char kNtpOfflinePagesName[] = "Enable NTP offline pages";
1698const char kNtpOfflinePagesDescription[] =
1699 "Enables badging of offline pages on the New Tab page. Only relevant if "
1700 "offline pages are enabled.";
1701
1702const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
1703const char kNtpPopularSitesDescription[] =
1704 "Pre-populate the New Tab page with popular sites.";
1705
1706const char kNtpSwitchToExistingTabName[] =
1707 "Switch to an existing tab for New Tab Page suggestions.";
1708const char kNtpSwitchToExistingTabDescription[] =
1709 "When opening a suggested webpage from the New Tab Page, if a tab is "
1710 "already open for the suggestion, switch to that one instead of loading "
1711 "the suggestion in the new tab.";
1712const char kNtpSwitchToExistingTabMatchUrl[] = "Match by URL";
1713const char kNtpSwitchToExistingTabMatchHost[] = "Match by Hostname";
1714
1715const char kOfflineBookmarksName[] = "Enable offline bookmarks";
1716const char kOfflineBookmarksDescription[] =
1717 "Enable saving bookmarked pages for offline viewing.";
1718
1719const char kOfflinePagesAsyncDownloadName[] =
1720 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages.)*";
1721const char kOfflinePagesAsyncDownloadDescription[] =
1722 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages such )*"
1723 R"*(that the user can click on it to download the page later.)*";
1724
1725const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
1726const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
1727
1728const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
1729const char kOfflinePagesCtV2Description[] =
1730 "V2 features include attributing pages to the app that initiated the "
1731 "custom tabs, and being able to query for pages by page attribution.";
1732
1733const char kOfflinePagesLoadSignalCollectingName[] =
1734 "Enables collecting load timing data for offline page snapshots.";
1735const char kOfflinePagesLoadSignalCollectingDescription[] =
1736 "Enables loading completeness data collection while writing an offline "
1737 "page. This data is collected in the snapshotted offline page to allow "
1738 "data analysis to improve deciding when to make the offline snapshot.";
1739
1740const char kOfflinePagesPrefetchingName[] =
1741 "Enables suggested offline pages to be prefetched.";
1742const char kOfflinePagesPrefetchingDescription[] =
1743 "Enables suggested offline pages to be prefetched, so useful content is "
1744 "available while offline.";
1745
Collin Baker17f92a52017-07-19 21:41:251746const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
1747const char kOfflinePagesRenovationsDescription[] =
1748 "Enables offline page renovations which correct issues with dynamic "
1749 "content that occur when offlining pages that use JavaScript.";
1750
Brett Wilsonff596952017-07-14 01:06:551751const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
1752const char kOfflinePagesSharingDescription[] =
1753 "Enables the saved offline pages to be shared via other applications.";
1754
1755const char kOfflinePagesSvelteConcurrentLoadingName[] =
1756 "Enables concurrent background loading on svelte.";
1757const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
1758 "Enables concurrent background loading (or downloading) of pages on "
1759 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
1760 "happen when the svelte device is idle.";
1761
1762const char kOffliningRecentPagesName[] =
1763 "Enable offlining of recently visited pages";
1764const char kOffliningRecentPagesDescription[] =
1765 "Enable storing recently visited pages locally for offline use. Requires "
1766 "Offline Pages to be enabled.";
1767
1768extern const char kPayWithGoogleV1Name[] = "Pay with Google v1";
1769extern const char kPayWithGoogleV1Description[] =
1770 "Enable Pay with Google integration into Web Payments with API version "
1771 "'1'.";
1772
1773const char kProgressBarAnimationName[] =
1774 "Android phone page loading progress bar animation";
1775const char kProgressBarAnimationDescription[] =
1776 "Configures Android phone page loading progress bar animation.";
1777const char kProgressBarAnimationLinear[] = "Linear";
1778const char kProgressBarAnimationSmooth[] = "Smooth";
1779const char kProgressBarAnimationSmoothIndeterminate[] = "Smooth indeterminate";
1780const char kProgressBarAnimationFastStart[] = "Fast start";
1781
1782const char kProgressBarCompletionName[] =
1783 "Android phone page load progress bar completion time.";
1784const char kProgressBarCompletionDescription[] =
1785 "Configures Android phone page loading progress bar completion time.";
1786const char kProgressBarCompletionLoadEvent[] =
1787 R"*(Top loading frame's onload event ("everything" is done in the )*"
1788 R"*(page, historical behavior).)*";
1789const char kProgressBarCompletionResourcesBeforeDcl[] =
1790 "Main frame's domContentLoaded and all resources loads started before "
1791 "domContentLoaded (iframes ignored).";
1792const char kProgressBarCompletionDomContentLoaded[] =
1793 "Main frame's domContentLoaded (iframes ignored).";
1794const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
1795 "domContentLoaded and all resources loads started before domContentLoaded "
1796 "(main frame and same origin iframes).";
1797
1798const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
1799const char kPullToRefreshEffectDescription[] =
1800 "Page reloads triggered by vertically overscrolling content.";
1801
Piotr Swigon9f630b32017-07-26 09:42:491802const char kPwaPersistentNotificationName[] =
1803 "Persistent notification in standalone PWA";
1804const char kPwaPersistentNotificationDescription[] =
1805 "Enables a persistent Android notification for standalone PWAs";
1806
Brett Wilsonff596952017-07-14 01:06:551807const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
1808const char kReaderModeHeuristicsDescription[] =
1809 "Determines what pages the Reader Mode infobar is shown on.";
1810const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
1811const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
1812const char kReaderModeHeuristicsAllArticles[] = "All articles";
1813const char kReaderModeHeuristicsAlwaysOff[] = "Never";
1814const char kReaderModeHeuristicsAlwaysOn[] = "Always";
1815
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:181816const char kReaderModeInCCTName[] = "Reader Mode in CCT";
1817const char kReaderModeInCCTDescription[] =
1818 "Open Reader Mode in Chrome Custom Tabs.";
1819
Brett Wilsonff596952017-07-14 01:06:551820const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1821const char kServiceWorkerPaymentAppsDescription[] =
1822 "Enable Service Worker applications to integrate as payment apps";
1823
1824const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
1825const char kSetMarketUrlForTestingDescription[] =
1826 "When enabled, sets the market URL for use in testing the update menu "
1827 "item.";
1828
1829const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
1830const char kSpannableInlineAutocompleteDescription[] =
1831 "A new type of inline autocomplete for the omnibox that works with "
1832 "keyboards that compose text.";
1833
1834const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1835const char kTabsInCbdDescription[] =
1836 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1837
1838const char kTranslateCompactUIName[] = "New Translate Infobar";
1839const char kTranslateCompactUIDescription[] =
1840 "Enable the new Translate compact infobar UI.";
1841
1842const char kUpdateMenuBadgeName[] = "Force show update menu badge";
1843const char kUpdateMenuBadgeDescription[] =
1844 "When enabled, an update badge will be shown on the app menu button.";
1845
1846const char kUpdateMenuItemCustomSummaryDescription[] =
1847 "When this flag and the force show update menu item flag are enabled, a "
1848 "custom summary string will be displayed below the update menu item.";
1849const char kUpdateMenuItemCustomSummaryName[] =
1850 "Update menu item custom summary";
1851
1852const char kUpdateMenuItemName[] = "Force show update menu item";
1853const char kUpdateMenuItemDescription[] =
1854 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
1855 R"*(menu.)*";
1856
1857const char kUseAndroidMidiApiName[] = "Use Android Midi API";
1858const char kUseAndroidMidiApiDescription[] =
1859 "Use Android Midi API for WebMIDI (effective only with Android M+ "
1860 "devices).";
1861
1862const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1863const char kUseDdljsonApiDescription[] =
1864 "Enables the new ddljson API to fetch Doodles for the NTP.";
1865
Brett Wilsonff596952017-07-14 01:06:551866const char kXGEOVisibleNetworksName[] = "Enable XGEO Visible Networks";
1867const char kXGEOVisibleNetworksDescription[] =
1868 "If location permissions are granted, include visible networks in the XGEO "
1869 "Header for omnibox queries. This will only happen if location is not "
1870 "fresh or not available (for example, due to a cold start).";
1871
1872#endif // OS_ANDROID
1873
brettw5f9c1642017-05-14 17:12:481874#if !defined(DISABLE_NACL)
1875
vabr0215a8e2017-03-28 12:47:341876const char kNaclName[] = "Native Client";
vabr0215a8e2017-03-28 12:47:341877const char kNaclDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:191878 "Support Native Client for all web applications, even those that were not "
1879 "installed from the Chrome Web Store.";
vabr0215a8e2017-03-28 12:47:341880
vabr0215a8e2017-03-28 12:47:341881const char kNaclDebugName[] = "Native Client GDB-based debugging";
vabr0215a8e2017-03-28 12:47:341882const char kNaclDebugDescription[] =
1883 "Enable GDB debug stub. This will stop a Native Client application on "
1884 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
1885
vabr0215a8e2017-03-28 12:47:341886const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
vabr0215a8e2017-03-28 12:47:341887const char kPnaclSubzeroDescription[] =
1888 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
1889
vabr0215a8e2017-03-28 12:47:341890const char kNaclDebugMaskName[] =
1891 "Restrict Native Client GDB-based debugging by pattern";
vabr0215a8e2017-03-28 12:47:341892const char kNaclDebugMaskDescription[] =
1893 "Restricts Native Client application GDB-based debugging by URL of "
Vitalii Iarko7df520142017-07-07 12:53:191894 "manifest file. Native Client GDB-based debugging must be enabled for this "
1895 "option to work.";
vabr0215a8e2017-03-28 12:47:341896const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
vabr0215a8e2017-03-28 12:47:341897const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
1898 "Debug everything except secure shell and the PNaCl translator.";
vabr0215a8e2017-03-28 12:47:341899const char kNaclDebugMaskChoiceIncludeDebug[] =
1900 "Debug only if manifest URL ends with debug.nmf.";
1901
brettw5f9c1642017-05-14 17:12:481902#endif
1903
vabr0215a8e2017-03-28 12:47:341904#if defined(OS_WIN)
1905
1906const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
1907
1908const char kCloudPrintXpsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:191909 "XPS enables advanced options for classic printers connected to the Cloud "
1910 "Print with Chrome. Printers must be re-connected after changing this "
1911 "flag.";
vabr0215a8e2017-03-28 12:47:341912
1913#endif // defined(OS_WIN)
1914
Evan Stadeb508c722017-07-12 02:19:081915const char kDelayReloadStopButtonChangeName[] =
1916 "Reduce stop/reload button flicker";
1917
1918const char kDelayReloadStopButtonChangeDescription[] =
1919 "Delays display of stop button when page is loading such that short "
1920 "loads won't show the stop button at all.";
1921
vabr0215a8e2017-03-28 12:47:341922#if BUILDFLAG(ENABLE_WEBRTC)
1923
1924const char kWebrtcH264WithOpenh264FfmpegName[] =
1925 "WebRTC H.264 software video encoder/decoder";
1926
1927const char kWebrtcH264WithOpenh264FfmpegDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:191928 "When enabled, an H.264 software video encoder/decoder pair is included. "
1929 "If a hardware encoder/decoder is also available it may be used instead of "
1930 "this encoder/decoder.";
vabr0215a8e2017-03-28 12:47:341931
1932#endif // BUILDFLAG(ENABLE_WEBRTC)
1933
vabr0215a8e2017-03-28 12:47:341934#if defined(USE_ASH)
1935
brettw81668cf2017-05-15 22:57:341936const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
vabr0215a8e2017-03-28 12:47:341937
1938const char kAshShelfColorDescription[] =
bruthigd8b95962017-03-31 19:38:341939 "Enables/disables the shelf color to be a derived from the wallpaper. The "
1940 "--ash-shelf-color-scheme flag defines how that color is derived.";
vabr0215a8e2017-03-28 12:47:341941
bruthigd8b95962017-03-31 19:38:341942const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
vabr0215a8e2017-03-28 12:47:341943
bruthigd8b95962017-03-31 19:38:341944const char kAshShelfColorSchemeDescription[] =
1945 "Specify how the color is derived from the wallpaper. This flag is only "
1946 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
vabr0215a8e2017-03-28 12:47:341947
bruthigd8b95962017-03-31 19:38:341948const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
vabr0215a8e2017-03-28 12:47:341949
bruthigd8b95962017-03-31 19:38:341950const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
vabr0215a8e2017-03-28 12:47:341951
bruthigd8b95962017-03-31 19:38:341952const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
vabr0215a8e2017-03-28 12:47:341953
bruthigd8b95962017-03-31 19:38:341954const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
1955
1956const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
1957
1958const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
vabr0215a8e2017-03-28 12:47:341959
vabr0215a8e2017-03-28 12:47:341960const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
1961
1962const char kAshEnableMirroredScreenDescription[] =
1963 "Enable the mirrored screen mode. This mode flips the screen image "
1964 "horizontally.";
1965
wutaob161bf22017-04-26 16:55:031966const char kAshDisableSmoothScreenRotationName[] =
1967 "Disable smooth rotation animations.";
wutao2c0ca182017-04-06 22:40:541968
wutaob161bf22017-04-26 16:55:031969const char kAshDisableSmoothScreenRotationDescription[] =
1970 "Disable smooth rotation animations.";
wutao2c0ca182017-04-06 22:40:541971
vabr0215a8e2017-03-28 12:47:341972const char kMaterialDesignInkDropAnimationFast[] = "Fast";
1973
1974const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
1975
1976const char kMaterialDesignInkDropAnimationSpeedName[] =
1977 "Material Design Ink Drop Animation Speed";
1978
1979const char kMaterialDesignInkDropAnimationSpeedDescription[] =
1980 "Sets the speed of the experimental visual feedback animations for "
1981 "material design.";
1982
1983const char kUiSlowAnimationsName[] = "Slow UI animations";
1984
1985const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
1986
reveman5be07ac82017-04-14 01:06:051987const char kUiShowCompositedLayerBordersName[] =
1988 "Show UI composited layer borders";
1989
1990const char kUiShowCompositedLayerBordersDescription[] =
1991 "Show border around composited layers created by UI.";
1992
1993const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
1994
1995const char kUiShowCompositedLayerBordersSurface[] = "Surface";
1996
1997const char kUiShowCompositedLayerBordersLayer[] = "Layer";
1998
1999const char kUiShowCompositedLayerBordersAll[] = "All";
2000
vabr0215a8e2017-03-28 12:47:342001#endif // defined(USE_ASH)
2002
vabr0215a8e2017-03-28 12:47:342003const char kForceGpuRasterization[] = "Force-enabled for all layers";
2004
vabr0215a8e2017-03-28 12:47:342005#if defined(OS_CHROMEOS)
2006
sky527bea52017-05-15 19:15:142007const char kUseMusDescription[] = "Enable the Mojo UI service.";
vabr0215a8e2017-03-28 12:47:342008
sky527bea52017-05-15 19:15:142009const char kUseMusName[] = "Mus";
2010
2011const char kEnableMashDescription[] =
2012 "Mash (UI, Chrome and ash in separate services)";
2013
2014const char kEnableMusDescription[] =
2015 "Mus (UI in separate service, Chrome and ash in same service)";
vabr0215a8e2017-03-28 12:47:342016
2017const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2018
2019const char kAllowTouchpadThreeFingerClickDescription[] =
2020 "Enables touchpad three-finger-click as middle button.";
2021
2022const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2023
2024const char kAshEnableUnifiedDesktopDescription[] =
2025 "Enable unified desktop mode which allows a window to span multiple "
2026 "displays.";
2027
brettw5f9c1642017-05-14 17:12:482028const char kBootAnimationName[] = "Boot animation";
vabr0215a8e2017-03-28 12:47:342029
2030const char kBootAnimationDescription[] =
2031 "Wallpaper boot animation (except for OOBE case).";
2032
hansberryc147785f2017-05-02 23:36:272033const char kTetherName[] = "Instant Tethering";
2034
2035const char kTetherDescription[] =
2036 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2037 "phone to share its Internet connection with this device.";
2038
vabr0215a8e2017-03-28 12:47:342039#endif // defined(OS_CHROMEOS)
2040
vabr0215a8e2017-03-28 12:47:342041#if defined(OS_CHROMEOS)
2042
2043const char kFirstRunUiTransitionsName[] =
2044 "Animated transitions in the first-run tutorial";
2045
2046const char kFirstRunUiTransitionsDescription[] =
2047 "Transitions during first-run tutorial are animated.";
2048
2049#endif // defined(OS_CHROMEOS)
2050
vabr0215a8e2017-03-28 12:47:342051#if defined(OS_MACOSX)
2052
2053const char kHostedAppsInWindowsName[] =
2054 "Allow hosted apps to be opened in windows";
2055
2056const char kHostedAppsInWindowsDescription[] =
2057 "Allows hosted apps to be opened in windows instead of being limited to "
2058 "tabs.";
2059
2060const char kTabDetachingInFullscreenName[] =
2061 "Allow tab detaching in fullscreen";
2062
2063const char kTabDetachingInFullscreenDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192064 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
vabr0215a8e2017-03-28 12:47:342065
2066const char kFullscreenToolbarRevealName[] =
2067 "Enables the toolbar in fullscreen to reveal itself.";
2068
2069const char kFullscreenToolbarRevealDescription[] =
2070 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2071 "has changed.";
2072
2073const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2074
2075const char kTabStripKeyboardFocusDescription[] =
2076 "Enable keyboard focus for the tabs in the tab strip.";
2077
2078#endif // defined(OS_MACOSX)
2079
vabr0215a8e2017-03-28 12:47:342080#if defined(OS_MACOSX)
2081
2082const char kTranslateNewUxName[] = "New Translate UX";
2083
2084const char kTranslateNewUxDescription[] =
2085 "Enable the new Translate bubble UX is offered instead of the infobar.";
2086
2087#endif // defined(OS_MACOSX)
2088
vabr0215a8e2017-03-28 12:47:342089#if defined(OS_MACOSX)
2090
2091const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2092
2093const char kAppInfoDialogDescription[] =
2094 "Makes the Toolkit-Views based App Info dialog accessible from "
2095 "chrome://apps or chrome://extensions in place of the native extension "
2096 "permissions dialog, or the details link (which is a link to the Web "
2097 "Store).";
2098
kerrnel7e4f7a7f2017-06-28 21:28:282099const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2100
2101const char kMacV2SandboxDescription[] =
2102 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2103 "entire life cycle.";
2104
vabr0215a8e2017-03-28 12:47:342105const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2106
2107const char kMacViewsNativeAppWindowsDescription[] =
2108 "Controls whether to use Toolkit-Views based Chrome App windows.";
2109
2110const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2111
2112const char kMacViewsTaskManagerDescription[] =
2113 "Controls whether to use the Toolkit-Views based Task Manager.";
2114
2115const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2116
2117const char kAppWindowCyclingDescription[] =
2118 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2119 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
Vitalii Iarko7df520142017-07-07 12:53:192120 "browser window, and browser windows will not be cycled when a Chrome App "
2121 "is active.";
vabr0215a8e2017-03-28 12:47:342122
2123#endif // defined(OS_MACOSX)
2124
2125#if defined(OS_CHROMEOS)
2126
2127const char kAcceleratedMjpegDecodeName[] =
2128 "Hardware-accelerated mjpeg decode for captured frame";
2129
2130const char kAcceleratedMjpegDecodeDescription[] =
2131 "Enable hardware-accelerated mjpeg decode for captured frame where "
2132 "available.";
2133
2134#endif // defined(OS_CHROMEOS)
2135
vabr0215a8e2017-03-28 12:47:342136#if defined(OS_WIN)
2137
2138const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2139
2140const char kEnableAppcontainerDescription[] =
2141 "Enables the use of an AppContainer on sandboxed processes to improve "
2142 "security.";
2143
2144#endif // defined(OS_WIN)
2145
thestig0c55ee32017-06-20 22:17:512146#if defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
elawrenced9978fc2017-05-02 02:45:192147
2148const char kShowCertLinkOnPageInfoName[] = "Show certificate link";
2149
2150const char kShowCertLinkOnPageInfoDescription[] =
2151 "Add a link from the Page Info bubble to the certificate viewer for HTTPS "
2152 "sites.";
2153
thestig0c55ee32017-06-20 22:17:512154#endif // defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
elawrenced9978fc2017-05-02 02:45:192155
vabr0215a8e2017-03-28 12:47:342156#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2157
2158const char kAutofillCreditCardUploadName[] =
2159 "Enable offering upload of Autofilled credit cards";
2160
2161const char kAutofillCreditCardUploadDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192162 "Enables a new option to upload credit cards to Google Payments for sync "
2163 "to all Chrome devices.";
vabr0215a8e2017-03-28 12:47:342164
2165#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2166
vabr0215a8e2017-03-28 12:47:342167#if defined(OS_WIN) || defined(OS_LINUX)
2168
2169const char kEnableInputImeApiName[] = "Enable Input IME API";
2170
2171const char kEnableInputImeApiDescription[] =
2172 "Enable the use of chrome.input.ime API.";
2173
2174#endif // defined(OS_WIN) || defined(OS_LINUX)
2175
vabr0215a8e2017-03-28 12:47:342176#if defined(OS_CHROMEOS)
2177
vabr0215a8e2017-03-28 12:47:342178const char kVirtualKeyboardName[] = "Virtual Keyboard";
2179
2180const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2181
2182const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2183
2184const char kVirtualKeyboardOverscrollDescription[] =
2185 "Enables virtual keyboard overscroll support.";
2186
2187const char kInputViewName[] = "Input views";
2188
2189const char kInputViewDescription[] =
2190 "Enable IME extensions to supply custom views for user input such as "
2191 "virtual keyboards.";
2192
2193const char kNewKoreanImeName[] = "New Korean IME";
2194
2195const char kNewKoreanImeDescription[] =
2196 "New Korean IME, which is based on Google Input Tools' HMM engine.";
2197
2198const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2199
2200const char kPhysicalKeyboardAutocorrectDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192201 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2202 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342203
2204const char kVoiceInputName[] = "Voice input on virtual keyboard";
2205
2206const char kVoiceInputDescription[] =
2207 "Enables voice input on virtual keyboard.";
2208
2209const char kExperimentalInputViewFeaturesName[] =
2210 "Experimental input view features";
2211
2212const char kExperimentalInputViewFeaturesDescription[] =
2213 "Enable experimental features for IME input views.";
2214
2215const char kFloatingVirtualKeyboardName[] = "Floating virtual keyboard.";
2216
2217const char kFloatingVirtualKeyboardDescription[] =
2218 "Enable/Disable floating virtual keyboard.";
2219
2220const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2221
2222const char kGestureTypingDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192223 "Enable/Disable gesture typing option in the settings page for the virtual "
2224 "keyboard.";
vabr0215a8e2017-03-28 12:47:342225
2226const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2227
2228const char kGestureEditingDescription[] =
2229 "Enable/Disable gesture editing option in the settings page for the "
2230 "virtual keyboard.";
2231
2232const char kCaptivePortalBypassProxyName[] =
2233 "Bypass proxy for Captive Portal Authorization";
2234
2235const char kCaptivePortalBypassProxyDescription[] =
2236 "If proxy is configured, it usually prevents from authorization on "
2237 "different captive portals. This enables opening captive portal "
Vitalii Iarko7df520142017-07-07 12:53:192238 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342239
2240const char kTouchscreenCalibrationName[] =
Vitalii Iarko7df520142017-07-07 12:53:192241 "Enable/disable touchscreen calibration option in material design settings";
vabr0215a8e2017-03-28 12:47:342242
2243const char kTouchscreenCalibrationDescription[] =
2244 "If enabled, the user can calibrate the touch screen displays in "
2245 "chrome://md-settings/display.";
2246
yamaguchid99a64b2017-05-12 15:33:492247const char kTeamDrivesName[] = "Enable Team Drives Integration";
2248const char kTeamDrivesDescription[] =
2249 "If enabled, files under Team Drives will appear in the Files app.";
2250
vabr0215a8e2017-03-28 12:47:342251#endif // defined(OS_CHROMEOS)
2252
vabr0215a8e2017-03-28 12:47:342253#if defined(OS_WIN) || defined(OS_MACOSX)
2254
2255// Tab discarding
2256
2257const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2258
2259const char kAutomaticTabDiscardingDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192260 "If enabled, tabs get automatically discarded from memory when the system "
2261 "memory is low. Discarded tabs are still visible on the tab strip and get "
2262 "reloaded when clicked on. Info about discarded tabs can be found at "
2263 "chrome://discards.";
vabr0215a8e2017-03-28 12:47:342264
2265#endif // defined(OS_WIN) || defined(OS_MACOSX)
2266
vabr0215a8e2017-03-28 12:47:342267#if defined(OS_WIN)
2268
2269// Exporting tracing events to ETW
2270
2271const char kTraceExportEventsToEtwName[] =
2272 "Enable exporting of tracing events to ETW.";
2273
2274const char kTraceExportEventsToEtwDesription[] =
2275 "If enabled, trace events will be exported to the Event Tracing for "
2276 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2277 "Xperf.";
2278
2279const char kMergeKeyCharEventsName[] =
Vitalii Iarko7df520142017-07-07 12:53:192280 "Enable or disable merging merging the key event (WM_KEY*) with char event "
2281 "(WM_CHAR).";
vabr0215a8e2017-03-28 12:47:342282
2283const char kMergeKeyCharEventsDescription[] =
etienneb9a4b5302017-06-08 06:28:462284 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separately.";
vabr0215a8e2017-03-28 12:47:342285
2286const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2287
2288const char kUseWinrtMidiApiDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192289 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2290 "later).";
vabr0215a8e2017-03-28 12:47:342291
2292#endif // defined(OS_WIN)
2293
vabr0215a8e2017-03-28 12:47:342294#if defined(OS_CHROMEOS)
2295
vabr0215a8e2017-03-28 12:47:342296const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2297
2298const char kEnableAndroidWallpapersAppDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192299 "Enables the Android Wallpapers App as the default Wallpaper App on Chrome "
2300 "OS.";
vabr0215a8e2017-03-28 12:47:342301
2302const char kEnableTouchSupportForScreenMagnifierName[] =
2303 "Touch support for screen magnifier";
2304
2305const char kEnableTouchSupportForScreenMagnifierDescription[] =
2306 "Enables touch support for screen magnifier";
2307
Tatsuhisa Yamaguchi281eabf32017-07-19 21:55:522308const char kFileManagerTouchModeName[] = "Files App. touch mode";
2309const char kFileManagerTouchModeDescription[] =
2310 "Touchscreen-specific interactions of the Files app.";
2311
Rouslan Solomakhinbed1af22017-06-09 18:40:572312const char kEnableZipArchiverOnFileManagerName[] = "ZIP archiver for Drive";
takise183b8cb42017-04-07 05:12:082313
2314const char kEnableZipArchiverOnFileManagerDescription[] =
2315 "Enable the ability to archive and unpack files on Drive in the Files app";
2316
xiaochu32e9672a2017-05-04 04:15:082317const char kCrOSComponentName[] = "Chrome OS Component";
2318
2319const char kCrOSComponentDescription[] =
xiaochu169aadd2017-06-15 22:32:512320 "Enable the use of componentized escpr CUPS filter.";
xiaochu32e9672a2017-05-04 04:15:082321
vabr0215a8e2017-03-28 12:47:342322#endif // defined(OS_CHROMEOS)
2323
vabr0215a8e2017-03-28 12:47:342324#if !defined(OS_ANDROID) && defined(GOOGLE_CHROME_BUILD)
2325
2326const char kGoogleBrandedContextMenuName[] =
2327 "Google branding in the context menu";
2328
2329const char kGoogleBrandedContextMenuDescription[] =
2330 "Shows a Google icon next to context menu items powered by Google "
2331 "services.";
2332
2333#endif // !defined(OS_ANDROID) && defined(GOOGLE_CHROME_BUILD)
2334
mthiesse700b0b62017-05-19 01:37:312335#if BUILDFLAG(ENABLE_VR)
Brett Wilsonecb80982017-07-12 20:34:512336#if defined(OS_ANDROID)
vabr0215a8e2017-03-28 12:47:342337
Brett Wilsonecb80982017-07-12 20:34:512338const char kEnableVrShellName[] = "Enable Chrome VR.";
vabr0215a8e2017-03-28 12:47:342339const char kEnableVrShellDescription[] =
2340 "Allow browsing with a VR headset if available for this device.";
2341
mthiesse700b0b62017-05-19 01:37:312342const char kVrCustomTabBrowsingName[] = "Enable Custom Tab browsing in VR.";
mthiesse700b0b62017-05-19 01:37:312343const char kVrCustomTabBrowsingDescription[] =
2344 "Allow browsing with a VR headset in a Custom Tab if available for this "
2345 "device.";
ymalike78a83b2017-05-19 20:42:312346
2347const char kWebVrAutopresentName[] = "Enable WebVr auto presentation";
ymalike78a83b2017-05-19 20:42:312348const char kWebVrAutopresentDescription[] =
2349 "Allows auto presentation of WebVr content from trusted first-party apps";
Brett Wilsonecb80982017-07-12 20:34:512350
vabr0215a8e2017-03-28 12:47:342351#endif // defined(OS_ANDROID)
2352
Brett Wilsonecb80982017-07-12 20:34:512353const char kWebvrExperimentalRenderingName[] =
2354 "WebVR experimental rendering optimizations";
2355const char kWebvrExperimentalRenderingDescription[] =
2356 "Enabling this option activates experimental rendering path optimizations "
2357 "for WebVR.";
vabr0215a8e2017-03-28 12:47:342358
Brett Wilsonecb80982017-07-12 20:34:512359#endif // BUILDFLAG(ENABLE_VR)
vabr0215a8e2017-03-28 12:47:342360
vabr0215a8e2017-03-28 12:47:342361#if !defined(OS_ANDROID)
2362
mlamouriff56c092017-05-11 15:31:392363const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
vabr0215a8e2017-03-28 12:47:342364
mlamouriff56c092017-05-11 15:31:392365const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342366 "Manage audio focus across tabs to improve the audio mixing.";
2367
mlamouriff56c092017-05-11 15:31:392368const char kEnableAudioFocusDisabled[] = "Disabled";
vabr0215a8e2017-03-28 12:47:342369
mlamouriff56c092017-05-11 15:31:392370const char kEnableAudioFocusEnabled[] = "Enabled";
vabr0215a8e2017-03-28 12:47:342371
mlamouriff56c092017-05-11 15:31:392372const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342373 "Enabled (Flash lowers volume when interrupted by other sound, "
2374 "experimental)";
2375
2376#endif // !defined(OS_ANDROID)
2377
2378#if defined(OS_WIN)
2379
2380const char kGdiTextPrinting[] = "GDI Text Printing";
2381
2382const char kGdiTextPrintingDescription[] =
2383 "Use GDI to print text as simply text";
2384
2385#endif // defined(OS_WIN)
2386
vabr0215a8e2017-03-28 12:47:342387#if !defined(OS_MACOSX)
2388
2389const char kPermissionPromptPersistenceToggleName[] =
2390 "Persistence Toggle in Permission Prompts";
2391
2392const char kPermissionPromptPersistenceToggleDescription[] =
2393 "Whether to display a persistence toggle in permission prompts.";
2394
2395#endif // !defined(OS_MACOSX)
2396
vabr0215a8e2017-03-28 12:47:342397#if defined(OS_WIN)
2398
2399// Custom draw the Windows 10 titlebar. crbug.com/505013
2400
2401const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2402
2403const char kWindows10CustomTitlebarDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192404 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2405 "deferring to Windows.";
vabr0215a8e2017-03-28 12:47:342406
2407#endif // defined(OS_WIN)
2408
2409#if defined(OS_WIN)
2410
rbpotter556837e42017-05-01 18:49:042411const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
vabr0215a8e2017-03-28 12:47:342412
rbpotter556837e42017-05-01 18:49:042413const char kDisablePostscriptPrintingDescription[] =
2414 "Disables PostScript generation when printing to PostScript capable "
2415 "printers, and uses EMF generation in its place.";
vabr0215a8e2017-03-28 12:47:342416
2417#endif // defined(OS_WIN)
2418
vabr0215a8e2017-03-28 12:47:342419// Desktop iOS promotion chrome://flags strings
2420
2421#if defined(OS_WIN)
2422
2423const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2424
2425const char kEnableDesktopIosPromotionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192426 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2427 "eligible.";
vabr0215a8e2017-03-28 12:47:342428
2429#endif // defined(OS_WIN)
2430
vabr0215a8e2017-03-28 12:47:342431#if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || \
2432 defined(OS_WIN)
2433
2434const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342435const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282436 "Enable receiving entity suggestions - disambiguation descriptions - for "
2437 "Omnibox suggestions.";
2438
2439const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2440const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192441 "Enable receiving tail suggestions, a type of search suggestion based on "
2442 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342443
ojan38c678352017-04-11 20:27:552444const char kPauseBackgroundTabsName[] = "Pause background tabs";
2445const char kPauseBackgroundTabsDescription[] =
2446 "Pause timers in background tabs after 5 minutes on desktop.";
2447
spqchan6f9127a2017-04-29 03:42:022448const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2449const char kEnableNewAppMenuIconDescription[] =
2450 "Use the new app menu icon with update notification animations.";
spqchan064a8112017-04-18 16:46:322451
vabr0215a8e2017-03-28 12:47:342452#endif // defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) ||
2453 // defined(OS_WIN)
2454
2455#if defined(OS_CHROMEOS)
2456
2457const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2458
2459const char kEnableChromevoxArcSupportDescription[] =
2460 "Enable ChromeVox screen reader features in ARC";
2461
2462#endif // defined(OS_CHROMEOS)
2463
vabr0215a8e2017-03-28 12:47:342464#if defined(OS_CHROMEOS)
2465
2466// File Manager
2467
2468const char kVideoPlayerChromecastSupportName[] =
2469 "Experimental Chromecast support for Video Player";
2470
2471const char kVideoPlayerChromecastSupportDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192472 "This option enables experimental Chromecast support for Video Player app "
2473 "on ChromeOS.";
vabr0215a8e2017-03-28 12:47:342474
2475const char kNewZipUnpackerName[] = "New ZIP unpacker";
2476
2477const char kNewZipUnpackerDescription[] =
2478 "New ZIP unpacker flow, based on the File System Provider API.";
2479
vabr0215a8e2017-03-28 12:47:342480const char kOfficeEditingComponentAppName[] =
2481 "Office Editing for Docs, Sheets & Slides";
2482
2483const char kOfficeEditingComponentAppDescription[] =
2484 "Office Editing for Docs, Sheets & Slides for testing purposes.";
2485
2486const char kDisplayColorCalibrationName[] = "Color calibration of the display";
2487
2488const char kDisplayColorCalibrationDescription[] =
2489 "Allow color calibration of the display if the display supports the "
2490 "feature.";
2491
newcomer403ac142017-07-05 18:26:302492const char kEnableFullscreenAppListName[] = "Enable The Peeking Launcher";
2493
2494const char kEnableFullscreenAppListDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192495 "The peeking launcher UI supports touch and provides more space for "
2496 "upcoming features.";
newcomer403ac142017-07-05 18:26:302497
vabr0215a8e2017-03-28 12:47:342498const char kMemoryPressureThresholdName[] =
2499 "Memory discard strategy for advanced pressure handling";
2500
2501const char kMemoryPressureThresholdDescription[] =
2502 "Memory discarding strategy to use";
2503
2504const char kConservativeThresholds[] =
2505 "Conservative memory pressure release strategy";
2506
2507const char kAggressiveCacheDiscardThresholds[] =
2508 "Aggressive cache release strategy";
2509
2510const char kAggressiveTabDiscardThresholds[] =
2511 "Aggressive tab release strategy";
2512
2513const char kAggressiveThresholds[] =
2514 "Aggressive tab and cache release strategy";
2515
2516const char kWakeOnPacketsName[] = "Wake On Packets";
2517
2518const char kWakeOnPacketsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192519 "Enables waking the device based on the receipt of some network packets.";
vabr0215a8e2017-03-28 12:47:342520
brettw5f9c1642017-05-14 17:12:482521const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
vabr0215a8e2017-03-28 12:47:342522
2523const char kQuickUnlockPinDescription[] =
jdufault74476492017-04-20 01:20:002524 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2525 "device on the lock screen after you have signed into your device.";
2526
2527const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2528
2529const char kQuickUnlockPinSigninDescription[] =
2530 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2531 "device. After changing this flag PIN needs to be set up again.";
vabr0215a8e2017-03-28 12:47:342532
2533const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2534
2535const char kQuickUnlockFingerprintDescription[] =
2536 "Enabling fingerprint quick unlock allows you to setup and use a "
Vitalii Iarko7df520142017-07-07 12:53:192537 "fingerprint to unlock your Chromebook on the lock screen after you have "
2538 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342539
2540const char kExperimentalAccessibilityFeaturesName[] =
2541 "Experimental accessibility features";
2542
2543const char kExperimentalAccessibilityFeaturesDescription[] =
2544 "Enable additional accessibility features in the Settings page.";
2545
2546const char kDisableSystemTimezoneAutomaticDetectionName[] =
2547 "SystemTimezoneAutomaticDetection policy support";
2548
2549const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2550 "Disable system timezone automatic detection device policy.";
2551
2552const char kEolNotificationName[] = "Disable Device End of Life notification.";
2553
2554const char kEolNotificationDescription[] =
2555 "Disable Notifcation when Device is End of Life.";
2556
2557// Stylus strings
2558
2559const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2560
2561const char kForceEnableStylusToolsDescription[] =
2562 "Forces display of the stylus tools menu in the shelf and the stylus "
2563 "section in settings, even if there is no attached stylus device.";
2564
Toni Barzic0f3440a62017-07-19 20:19:312565const char kEnableLockScreenAppsName[] = "Enable lock screen note taking";
2566
2567const char kEnableLockScreenAppsDescription[] =
2568 "Enable new-note action handler apps on the lock screen. The user will be "
2569 "able to launch the preferred note-taking action from the lock screen, "
2570 "provided that the app supports lock screen note taking.";
2571
vabr0215a8e2017-03-28 12:47:342572// Network portal notification
2573
2574const char kNetworkPortalNotificationName[] =
2575 "Notifications about captive portals";
2576
2577const char kNetworkPortalNotificationDescription[] =
2578 "If enabled, notification is displayed when device is connected to a "
2579 "network behind captive portal.";
2580
stevenjbe1d457382017-05-24 22:37:242581const char kNetworkSettingsConfigName[] =
2582 "Settings based Network Configuration";
2583
2584const char kNetworkSettingsConfigDescription[] =
2585 "Enables the Settings based network configuration UI instead of the Views "
2586 "based configuration dialog.";
2587
vabr0215a8e2017-03-28 12:47:342588const char kMtpWriteSupportName[] = "MTP write support";
2589
2590const char kMtpWriteSupportDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192591 "MTP write support in File System API (and file manager). In-place editing "
2592 "operations are not supported.";
vabr0215a8e2017-03-28 12:47:342593
2594const char kCrosRegionsModeName[] = "Cros-regions load mode";
2595
2596const char kCrosRegionsModeDescription[] =
2597 "This flag controls cros-regions load mode";
2598
2599const char kCrosRegionsModeDefault[] = "Default";
2600
2601const char kCrosRegionsModeOverride[] = "Override VPD values.";
2602
2603const char kCrosRegionsModeHide[] = "Hide VPD values.";
2604
2605const char kPrinterProviderSearchAppName[] =
2606 "Chrome Web Store Gallery app for printer drivers";
2607
2608const char kPrinterProviderSearchAppDescription[] =
2609 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192610 "searches Chrome Web Store for extensions that support printing to a USB "
2611 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342612
2613const char kArcBootCompleted[] = "Load Android apps automatically";
2614
2615const char kArcBootCompletedDescription[] =
2616 "Allow Android apps to start automatically after signing in.";
2617
2618const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2619
2620const char kEnableImeMenuDescription[] =
2621 "Enable access to the new IME menu in the Language Settings page.";
2622
2623const char kEnableEhvInputName[] =
2624 "Emoji, handwriting and voice input on opt-in IME menu";
2625
2626const char kEnableEhvInputDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192627 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342628
fukino1b5ebe952017-04-07 05:35:302629const char kEnableEncryptionMigrationName[] =
2630 "Enable encryption migration of user data";
2631
2632const char kEnableEncryptionMigrationDescription[] =
2633 "If enabled and the device supports ARC, the user will be asked to update "
2634 "the encryption of user data when the user signs in.";
2635
Daniel Erat33054b22017-06-27 16:18:072636// Spurious power button detection
2637
2638const char kSpuriousPowerButtonWindowName[] = "Spurious power button window";
2639const char kSpuriousPowerButtonWindowDescription[] =
2640 "Number of recent accelerometer samples to examine to determine if a power "
2641 "button event was spurious.";
2642
2643const char kSpuriousPowerButtonAccelCountName[] =
2644 "Spurious power button acceleration count";
2645const char kSpuriousPowerButtonAccelCountDescription[] =
2646 "Number of recent acceleration samples that must meet or exceed exceed the "
2647 "threshold in order for a power button event to be considered spurious.";
2648
2649const char kSpuriousPowerButtonScreenAccelName[] =
2650 "Spurious power button screen acceleration threshold";
2651const char kSpuriousPowerButtonScreenAccelDescription[] =
2652 "Threshold (in m/s^2, disregarding gravity) that screen acceleration must "
2653 "meet or exceed for a power button event to be considered spurious.";
2654
2655const char kSpuriousPowerButtonKeyboardAccelName[] =
2656 "Spurious power button keyboard acceleration threshold";
2657const char kSpuriousPowerButtonKeyboardAccelDescription[] =
2658 "Threshold (in m/s^2, disregarding gravity) that keyboard acceleration "
2659 "must meet or exceed for a power button event to be considered spurious.";
2660
2661const char kSpuriousPowerButtonLidAngleChangeName[] =
2662 "Spurious power button lid angle change threshold";
2663const char kSpuriousPowerButtonLidAngleChangeDescription[] =
2664 "Change in lid angle (i.e. hinge between keyboard and screen) that must be "
2665 "met or exceeded for a power button event to be considered spurious.";
2666
vabr0215a8e2017-03-28 12:47:342667#endif // #if defined(OS_CHROMEOS)
2668
stanisc14bed0b132017-05-10 17:46:372669#if defined(OS_WIN)
2670
2671// Name and description of the flag that enables D3D v-sync.
2672const char kEnableD3DVsync[] = "D3D v-sync";
2673const char kEnableD3DVsyncDescription[] =
2674 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2675 "to occur.";
2676
2677#endif // defined(OS_WIN)
2678
thestig0c55ee32017-06-20 22:17:512679#if !defined(OS_ANDROID)
treib273e9db2017-05-11 14:02:262680
msarda6d4b3dc2017-06-02 15:39:472681const char kAccountConsistencyName[] =
2682 "Identity consistency between browser and cookie jar";
2683
2684const char kAccountConsistencyDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192685 "When enabled, the browser manages signing in and out of Google accounts.";
msarda6d4b3dc2017-06-02 15:39:472686
2687const char kAccountConsistencyChoiceMirror[] = "Mirror";
2688const char kAccountConsistencyChoiceDice[] = "Dice";
2689
treib273e9db2017-05-11 14:02:262690const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2691const char kUseGoogleLocalNtpDescription[] =
2692 "Use the local New Tab page if Google is the default search engine.";
2693
2694const char kOneGoogleBarOnLocalNtpName[] =
2695 "Enable the OneGoogleBar on the local NTP";
2696const char kOneGoogleBarOnLocalNtpDescription[] =
2697 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2698 "search engine.";
2699
thestig0c55ee32017-06-20 22:17:512700#endif // !defined(OS_ANDROID)
treib273e9db2017-05-11 14:02:262701
lgreyc0b638e52017-05-11 19:10:172702#if defined(OS_MACOSX)
2703extern const char kMacRTLName[] = "Enable RTL";
2704extern const char kMacRTLDescription[] =
2705 "Mirrors the UI for RTL language users";
spqchand24dbd52017-07-21 00:57:062706extern const char kMacTouchBarName[] = "Hardware Touch Bar";
elawrence408bddb2017-06-15 16:07:382707extern const char kMacTouchBarDescription[] =
spqchand24dbd52017-07-21 00:57:062708 "Control the use of the Touch Bar.";
2709extern const char kCreditCardAutofillTouchBarName[] =
2710 "Credit Card Autofill Touch Bar";
2711extern const char kCreditCardAutofillTouchBarDescription[] =
2712 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
lgreyc0b638e52017-05-11 19:10:172713#endif
2714
yhanadac5bff5b2017-05-18 06:37:092715#if defined(OS_CHROMEOS)
2716
2717const char kDisableNewVirtualKeyboardBehaviorName[] =
2718 "New window behavior for the accessibility keyboard";
2719const char kDisableNewVirtualKeyboardBehaviorDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192720 "Disable new window behavior for the accessibility keyboard in non-sticky "
2721 "mode (do not change work area in non-sticky mode).";
yhanadac5bff5b2017-05-18 06:37:092722
bruthigeafb0c02017-06-09 13:11:532723const char kUiDevToolsName[] = "Enable native UI inspection";
2724const char kUiDevToolsDescription[] =
2725 "Enables inspection of native UI elements. For local inspection use "
2726 "chrome://inspect#other";
2727
Takashi Toyoshima14f64f562017-07-19 08:38:202728const char kUseCrosMidiServiceName[] = "Use Chrome OS MIDI Service";
2729const char kUseCrosMidiServiceNameDescription[] =
2730 "Use Chrome OS MIDI Service for Web MIDI and allow ARC to support Android "
2731 "MIDI.";
2732
orenb21da031c2017-06-30 21:24:202733const char kMultideviceName[] = "Enable multidevice features";
2734const char kMultideviceDescription[] =
2735 "Enables UI for controlling multidevice features.";
2736
yhanadac5bff5b2017-05-18 06:37:092737#endif // defined(OS_CHROMEOS)
2738
vabr0215a8e2017-03-28 12:47:342739} // namespace flag_descriptions