blob: 0f6fc486408dfc93b9bf72ee6b17a3fe0949f41f [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
Miguel Casas-Sanchez10769c82017-07-27 23:52:04753const char kMojoVideoEncodeAcceleratorName[] =
754 "Hardware-accelerated video encoder accessed using Mojo IPC";
755const char kMojoVideoEncodeAcceleratorDescription[] =
756 "Use new Mojo IPC to access hardware-accelerated video encoder, where "
757 "available.";
758
Brett Wilsonecb80982017-07-12 20:34:51759const char kModuleScriptsName[] = "Enable ECMAScript 6 modules";
760const char kModuleScriptsDescription[] =
761 "Enables ECMAScript 6 modules support in Blink.";
762
763const char kNewAudioRenderingMixingStrategyName[] =
764 "New audio rendering mixing strategy";
765const char kNewAudioRenderingMixingStrategyDescription[] =
766 "Use the new audio rendering mixing strategy.";
767
768const char kNewBookmarkAppsName[] = "The new bookmark app system";
769const char kNewBookmarkAppsDescription[] =
770 "Enables the new system for creating bookmark apps.";
771
772const char kNewOmniboxAnswerTypesName[] =
773 "New omnibox answers in suggest types";
774const char kNewOmniboxAnswerTypesDescription[] =
775 "Enables new types of answers in the omnibox suggest drop-down: currency "
776 "conversions, dictionary definitions, sports scores, translations, and "
777 "when is.";
778
779const char kNewRemotePlaybackPipelineName[] =
780 "Enable the new remote playback pipeline.";
781const char kNewRemotePlaybackPipelineDescription[] =
782 "Enable the new pipeline for playing media element remotely via "
783 "RemotePlayback API or native controls.";
784
785const char kNewUsbBackendName[] = "Enable new USB backend";
786const char kNewUsbBackendDescription[] =
787 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34788
brettw5f9c1642017-05-14 17:12:48789const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34790const char kNostatePrefetchDescription[] =
791 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
792 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
793 R"*(improve load times even more. "Simple Load" does nothing and is )*"
794 R"*(similar to disabling the feature, but collects more metrics for )*"
795 R"*(comparison purposes.)*";
796
Brett Wilsonecb80982017-07-12 20:34:51797const char kNotificationsNativeFlagName[] = "Enable native notifications.";
798const char kNotificationsNativeFlagDescription[] =
799 "Enable support for using the native notification toasts and notification "
800 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34801
Brett Wilsonecb80982017-07-12 20:34:51802const char kNumRasterThreadsName[] = "Number of raster threads";
803const char kNumRasterThreadsDescription[] =
804 "Specify the number of raster threads.";
805const char kNumRasterThreadsOne[] = "1";
806const char kNumRasterThreadsTwo[] = "2";
807const char kNumRasterThreadsThree[] = "3";
808const char kNumRasterThreadsFour[] = "4";
809
810const char kOfferStoreUnmaskedWalletCardsName[] =
811 "Google Payments card saving checkbox";
812const char kOfferStoreUnmaskedWalletCardsDescription[] =
813 "Show the checkbox to offer local saving of a credit card downloaded from "
814 "the server.";
815
816const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
817const char kOfflineAutoReloadDescription[] =
818 "Pages that fail to load while the browser is offline will be "
819 "auto-reloaded when the browser is online again.";
820
821const char kOfflineAutoReloadVisibleOnlyName[] =
822 "Only Auto-Reload Visible Tabs";
823const char kOfflineAutoReloadVisibleOnlyDescription[] =
824 "Pages that fail to load while the browser is offline will only be "
825 "auto-reloaded if their tab is visible.";
826
827const char kOffMainThreadFetchName[] = "Off-main-thread fetch for Web Workers";
828const char kOffMainThreadFetchDescription[] =
829 "If enabled, the resource fetches from worker threads will not be blocked "
830 "by the busy main thread.";
831
832const char kOmniboxDisplayTitleForCurrentUrlName[] =
833 "Include title for the current URL in the omnibox";
834const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
835 "In the event that the omnibox provides suggestions on-focus, the URL of "
836 "the current page is provided as the first suggestion without a title. "
837 "Enabling this flag causes the title to be displayed.";
838
839const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
840 "Omnibox UI Elide Suggestion URL After Host";
841const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
842 "Elides the path, query, and ref of suggested URLs in the Omnibox "
843 "dropdown.";
844
Benoit Lizeab08362c2017-07-19 14:50:54845const char kOmniboxSpareRendererName[] =
846 "Start spare renderer on omnibox focus";
847const char kOmniboxSpareRendererDescription[] =
848 "When the omnibox is focused, start an empty spare renderer. This can "
849 "speed up the load of the navigation from the omnibox.";
850
Brett Wilsonecb80982017-07-12 20:34:51851const char kOmniboxUIHideSuggestionUrlSchemeName[] =
852 "Omnibox UI Hide Suggestion URL Scheme";
853const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
854 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
855
856const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
857 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
858const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
859 "Elides trivially informative subdomains from suggested URLs in the "
860 "Omnibox dropdown (e.g. www. and m.).";
861
862const char kOmniboxUIMaxAutocompleteMatchesName[] =
863 "Omnibox UI Max Autocomplete Matches";
864
865const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
866 "Changes the maximum number of autocomplete matches displayed in the "
867 "Omnibox UI.";
868
869const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
870const char kOmniboxUINarrowDropdownDescription[] =
871 "Makes the suggestions dropdown width match the omnibox width.";
872
873const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
874const char kOmniboxUIVerticalLayoutDescription[] =
875 "Displays Omnibox sugestions in 2 lines - title over origin.";
876
877const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
878const char kOmniboxUIVerticalMarginDescription[] =
879 "Changes the vertical margin in the Omnibox UI.";
880
881const char kOriginTrialsName[] = "Origin Trials";
882const char kOriginTrialsDescription[] =
883 "Enables origin trials for controlling access to feature/API experiments.";
884
885const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
886const char kOverlayScrollbarsDescription[] =
887 "Enable the experimental overlay scrollbars implementation. You must also "
888 "enable threaded compositing to have the scrollbars animate.";
889
890const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
891const char kOverscrollHistoryNavigationDescription[] =
892 "Experimental history navigation in response to horizontal overscroll.";
893const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
894
895const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
896const char kOverscrollStartThresholdDescription[] =
897 "Changes overscroll start threshold relative to the default value.";
898const char kOverscrollStartThreshold133Percent[] = "133%";
899const char kOverscrollStartThreshold166Percent[] = "166%";
900const char kOverscrollStartThreshold200Percent[] = "200%";
901
902const char kPassiveEventListenerDefaultName[] =
903 "Passive Event Listener Override";
904const char kPassiveEventListenerDefaultDescription[] =
905 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
906 "haven't requested otherwise) to be treated as passive. This will break "
907 "touch/wheel behavior on some websites but is useful for demonstrating the "
908 "potential performance benefits of adopting passive event listeners.";
909const char kPassiveEventListenerTrue[] = "True (when unspecified)";
910const char kPassiveEventListenerForceAllTrue[] = "Force All True";
911
912const char kPassiveEventListenersDueToFlingName[] =
913 "Touch Event Listeners Passive Default During Fling";
914const char kPassiveEventListenersDueToFlingDescription[] =
915 "Forces touchstart, and first touchmove per scroll event listeners during "
916 "fling to be treated as passive.";
917
918const char kPassiveDocumentEventListenersName[] =
919 "Document Level Event Listeners Passive Default";
920const char kPassiveDocumentEventListenersDescription[] =
921 "Forces touchstart, and touchmove event listeners on document level "
922 "targets (which haven't requested otherwise) to be treated as passive.";
923
924const char kPasswordForceSavingName[] = "Force-saving of passwords";
925const char kPasswordForceSavingDescription[] =
926 "Allow the user to manually enforce password saving instead of relying on "
927 "password manager's heuristics.";
928
929const char kPasswordGenerationName[] = "Password generation";
930const char kPasswordGenerationDescription[] =
931 "Allow the user to have Chrome generate passwords when it detects account "
932 "creation pages.";
933
934const char kPasswordImportExportName[] = "Password import and export";
935const char kPasswordImportExportDescription[] =
936 "Import and Export functionality in password settings.";
937
938const char kPermissionActionReportingName[] = "Permission Action Reporting";
939const char kPermissionActionReportingDescription[] =
940 "Enables permission action reporting to Safe Browsing servers for opted in "
941 "users.";
942
943const char kPermissionsBlacklistName[] = "Permissions Blacklist";
944const char kPermissionsBlacklistDescription[] =
945 "Enables the Permissions Blacklist, which blocks permissions for "
946 "blacklisted sites for Safe Browsing users.";
947
948const char kPinchScaleName[] = "Pinch scale";
949const char kPinchScaleDescription[] =
950 "Enables experimental support for scale using pinch.";
951
Brett Wilsonecb80982017-07-12 20:34:51952const char kPrintPdfAsImageName[] = "Print Pdf as Image";
953const char kPrintPdfAsImageDescription[] =
954 "If enabled, an option to print PDF files as images will be available in "
955 "print preview.";
956
957const char kPrintPreviewRegisterPromosName[] =
958 "Print Preview Registration Promos";
959const char kPrintPreviewRegisterPromosDescription[] =
960 "Enable registering unregistered cloud printers from print preview.";
961
962const char kProtectSyncCredentialName[] = "Autofill sync credential";
963const char kProtectSyncCredentialDescription[] =
964 "How the password manager handles autofill for the sync credential.";
965
966const char kProtectSyncCredentialOnReauthName[] =
967 "Autofill sync credential only for transactional reauth pages";
968const char kProtectSyncCredentialOnReauthDescription[] =
969 "How the password manager handles autofill for the sync credential only "
970 "for transactional reauth pages.";
971
972const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
973const char kPushApiBackgroundModeDescription[] =
974 "Enable background mode for the Push API. This allows Chrome to continue "
975 "running after the last window is closed, and to launch at OS startup, if "
976 "the Push API needs it.";
977
978const char kQuicName[] = "Experimental QUIC protocol";
979const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
980
981const char kReducedReferrerGranularityName[] =
982 "Reduce default 'referer' header granularity.";
983const char kReducedReferrerGranularityDescription[] =
984 "If a page hasn't set an explicit referrer policy, setting this flag will "
985 "reduce the amount of information in the 'referer' header for cross-origin "
986 "requests.";
987
988const char kRequestTabletSiteName[] =
989 "Request tablet site option in the settings menu";
990const char kRequestTabletSiteDescription[] =
991 "Allows the user to request tablet site. Web content is often optimized "
992 "for tablet devices. When this option is selected the user agent string is "
993 "changed to indicate a tablet device. Web content optimized for tablets is "
994 "received there after for the current tab.";
995
996const char kResetAppListInstallStateName[] =
997 "Reset the App Launcher install state on every restart.";
998const char kResetAppListInstallStateDescription[] =
999 "Reset the App Launcher install state on every restart. While this flag is "
1000 "set, Chrome will forget the launcher has been installed each time it "
1001 "starts. This is used for testing the App Launcher install flow.";
1002
1003const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1004const char kResourceLoadSchedulerDescription[] =
1005 "Uses the resource load scheduler in blink to schedule and throttle "
1006 "resource load requests.";
1007
Brett Wilsonecb80982017-07-12 20:34:511008const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1009const char kSafeSearchUrlReportingDescription[] =
1010 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1011
1012const char kSaveasMenuLabelExperimentName[] =
1013 "Switch 'Save as' menu labels to 'Download'";
1014const char kSaveasMenuLabelExperimentDescription[] =
1015 "Enables an experiment to switch menu labels that use 'Save as...' to "
1016 "'Download'.";
1017
1018const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1019const char kSavePageAsMhtmlDescription[] =
1020 "Enables saving pages as MHTML: a single text file containing HTML and all "
1021 "sub-resources.";
1022
1023const char kScrollEndEffectName[] = "Scroll end effect";
1024const char kScrollEndEffectDescription[] =
1025 "Experimental scroll end effect in response to vertical overscroll.";
1026
1027const char kScrollPredictionName[] = "Scroll prediction";
1028const char kScrollPredictionDescription[] =
1029 "Predicts the finger's future position during scrolls allowing time to "
1030 "render the frame before the finger is there.";
1031
1032const char kSecondaryUiMd[] =
1033 "Material Design in the rest of the browser's native UI";
1034const char kSecondaryUiMdDescription[] =
1035 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1036 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1037 "browser dialogs.";
1038
1039const char kServiceWorkerNavigationPreloadName[] =
1040 "Service worker navigation preload.";
1041const char kServiceWorkerNavigationPreloadDescription[] =
1042 "Enable web pages to use the experimental service worker navigation "
1043 "preload API.";
1044
1045const char kSettingsWindowName[] = "Show settings in a window";
1046const char kSettingsWindowDescription[] =
1047 "Settings will be shown in a dedicated window instead of as a browser tab.";
1048
1049const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1050const char kShowAutofillSignaturesDescription[] =
1051 "Annotates web forms with Autofill signatures as HTML attributes.";
1052
1053const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1054const char kShowAutofillTypePredictionsDescription[] =
1055 "Annotates web forms with Autofill field type predictions as placeholder "
1056 "text.";
1057
1058const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1059const char kShowOverdrawFeedbackDescription[] =
1060 "Visualize overdraw by color-coding elements based on if they have other "
1061 "elements drawn underneath.";
1062
1063const char kShowSavedCopyName[] = "Show Saved Copy Button";
1064const char kShowSavedCopyDescription[] =
1065 "When a page fails to load, if a stale copy of the page exists in the "
1066 "browser cache, a button will be presented to allow the user to load that "
1067 "stale copy. The primary enabling choice puts the button in the most "
1068 "salient position on the error page; the secondary enabling choice puts it "
1069 "secondary to the reload button.";
1070const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1071const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1072const char kDisableShowSavedCopy[] = "Disable";
1073
1074const char kShowTouchHudName[] = "Show HUD for touch points";
1075const char kShowTouchHudDescription[] =
1076 "Enables a heads-up display at the top-left corner of the screen that "
1077 "lists information about the touch-points on the screen.";
1078
1079const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1080const char kSilentDebuggerExtensionApiDescription[] =
1081 "Do not show the infobar when an extension attaches to a page via "
1082 "chrome.debugger API. This is required to debug extension background "
1083 "pages.";
1084
1085const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1086const char kSimpleCacheBackendDescription[] =
1087 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1088 "disk space allocation.";
1089
1090const char kSimplifiedFullscreenUiName[] =
1091 "Simplified full screen / mouse lock UI.";
1092const char kSimplifiedFullscreenUiDescription[] =
1093 "A simplified new user experience when entering page-triggered full screen "
1094 "or mouse pointer lock states.";
1095
1096const char kSingleClickAutofillName[] = "Single-click autofill";
1097const char kSingleClickAutofillDescription[] =
1098 "Make autofill suggestions on initial mouse click on a form element.";
1099
1100const char kSiteDetails[] = "Site Details";
1101const char kSiteDetailsDescription[] =
1102 "Adds UI in MD Settings to view all content settings for a specific "
1103 "origin.";
1104
1105const char kSitePerProcessName[] = "Strict site isolation";
1106const char kSitePerProcessDescription[] =
1107 "Highly experimental security mode that ensures each renderer process "
1108 "contains pages from at most one site. In this mode, out-of-process "
1109 "iframes will be used whenever an iframe is cross-site.";
1110
1111const char kSiteSettings[] = "Site settings with All sites and Site details";
1112const char kSiteSettingsDescription[] =
1113 "Adds new ways of viewing Site settings.";
1114
1115const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
1116const char kSlimmingPaintInvalidationDescription[] =
1117 "Whether to enable a new paint invalidation system.";
1118
1119const char kSmoothScrollingName[] = "Smooth Scrolling";
1120const char kSmoothScrollingDescription[] =
1121 "Animate smoothly when scrolling page content.";
1122
1123const char kSoftwareRasterizerName[] = "3D software rasterizer";
1124const char kSoftwareRasterizerDescription[] =
1125 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1126
1127const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341128const char kSpeculativePrefetchDescription[] =
1129 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1130 R"*(load times, based on a local database (see chrome://predictors). )*"
1131 R"*("Learning" means that only the database construction is enabled, )*"
1132 R"*("Prefetching" that learning and prefetching are enabled.)*";
1133
Justin Donnelly4e448cb2017-07-07 21:32:131134const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1135 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131136const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1137 "If enabled, when the user enters text in the omnibox that looks like a "
1138 "a query, any service worker associated with the search engine the query "
1139 "will be sent to is started early.";
1140
Brett Wilsonecb80982017-07-12 20:34:511141const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1142const char kSpellingFeedbackFieldTrialDescription[] =
1143 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401144
Brett Wilsonecb80982017-07-12 20:34:511145const char kSuggestionsWithSubStringMatchName[] =
1146 "Substring matching for Autofill suggestions";
1147const char kSuggestionsWithSubStringMatchDescription[] =
1148 "Match Autofill suggestions based on substrings (token prefixes) rather "
1149 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341150
Brett Wilsonecb80982017-07-12 20:34:511151const char kSupervisedUserManagedBookmarksFolderName[] =
1152 "Managed bookmarks for supervised users";
1153const char kSupervisedUserManagedBookmarksFolderDescription[] =
1154 "Enable the managed bookmarks folder for supervised users.";
vabr0215a8e2017-03-28 12:47:341155
Brett Wilsonecb80982017-07-12 20:34:511156const char kSyncAppListName[] = "App Launcher sync";
1157const char kSyncAppListDescription[] =
1158 "Enable App Launcher sync. This also enables Folders where available (non "
1159 "OSX).";
vabr0215a8e2017-03-28 12:47:341160
Brett Wilsonecb80982017-07-12 20:34:511161const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1162const char kSyncSandboxDescription[] =
1163 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341164
Brett Wilsonecb80982017-07-12 20:34:511165const char kTabAudioMutingName[] = "Tab audio muting UI control";
1166const char kTabAudioMutingDescription[] =
1167 "When enabled, the audio indicators in the tab strip double as tab audio "
1168 "mute controls. This also adds commands in the tab context menu for "
1169 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341170
Brett Wilsonecb80982017-07-12 20:34:511171const char kTcpFastOpenName[] = "TCP Fast Open";
1172const char kTcpFastOpenDescription[] =
1173 "Enable the option to send extra authentication information in the initial "
1174 "SYN packet for a previously connected client, allowing faster data send "
1175 "start.";
vabr0215a8e2017-03-28 12:47:341176
Brett Wilsonecb80982017-07-12 20:34:511177const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1178const char kTopChromeMdDescription[] =
1179 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
1180const char kTopChromeMdMaterial[] = "Normal";
1181const char kTopChromeMdMaterialHybrid[] = "Touch";
vabr0215a8e2017-03-28 12:47:341182
Brett Wilsonecb80982017-07-12 20:34:511183const char kThreadedScrollingName[] = "Threaded scrolling";
1184const char kThreadedScrollingDescription[] =
1185 "Threaded handling of scroll-related input events. Disabling this will "
1186 "force all such scroll events to be handled on the main thread. Note that "
1187 "this can dramatically hurt scrolling performance of most websites and is "
1188 "intended for testing purposes only.";
1189
Steven Valdez4584b2482017-07-14 01:11:571190const char kTLS13VariantName[] = "TLS 1.3";
1191const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1192const char kTLS13VariantDisabled[] = "Disabled";
1193const char kTLS13VariantDraft[] = "Enabled (Draft)";
1194const char kTLS13VariantExperiment[] = "Enabled (Experiment)";
Steven Valdez2d7b4e82017-07-17 22:22:091195const char kTLS13VariantRecordTypeExperiment[] =
1196 "Enabled (Record Type Experiment)";
Steven Valdez2ee1c4a22017-07-19 20:39:311197const char kTLS13VariantNoSessionIDExperiment[] =
1198 "Enabled (No Session ID Experiment)";
Steven Valdez4584b2482017-07-14 01:11:571199
Brett Wilsonecb80982017-07-12 20:34:511200const char kTopDocumentIsolationName[] = "Top document isolation";
1201const char kTopDocumentIsolationDescription[] =
1202 "Highly experimental performance mode where cross-site iframes are kept in "
1203 "a separate process from the top document. In this mode, iframes from "
1204 "different third-party sites will be allowed to share a process.";
1205
1206const char kTouchAdjustmentName[] = "Touch adjustment";
1207const char kTouchAdjustmentDescription[] =
1208 "Refine the position of a touch gesture in order to compensate for touches "
1209 "having poor resolution compared to a mouse.";
1210
1211const char kTouchDragDropName[] = "Touch initiated drag and drop";
1212const char kTouchDragDropDescription[] =
1213 "Touch drag and drop can be initiated through long press on a draggable "
1214 "element.";
1215
1216const char kTouchEventsName[] = "Touch Events API";
1217const char kTouchEventsDescription[] =
1218 "Force Touch Events API feature detection to always be enabled or "
1219 "disabled, or to be enabled when a touchscreen is detected on startup "
1220 "(Automatic, the default).";
1221
1222const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1223const char kTouchSelectionStrategyDescription[] =
1224 "Controls how text selection granularity changes when touch text selection "
1225 "handles are dragged. Non-default behavior is experimental.";
1226const char kTouchSelectionStrategyCharacter[] = "Character";
1227const char kTouchSelectionStrategyDirection[] = "Direction";
1228
1229const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1230const char kTraceUploadUrlDescription[] =
1231 "This is to be used in conjunction with the enable-navigation-tracing "
1232 "flag. Please select the label that best describes the recorded traces. "
1233 "This will choose the destination the traces are uploaded to. If you are "
1234 "not sure, select other. If left empty, no traces will be uploaded.";
1235const char kTraceUploadUrlChoiceOther[] = "Other";
1236const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1237const char kTraceUploadUrlChoiceQa[] = "QA";
1238const char kTraceUploadUrlChoiceTesting[] = "Testing";
1239
1240const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
1241const char kTranslate2016q2UiDescription[] =
1242 "Improved triggering logic and look for Translate Bubble UI";
1243
1244const char kTranslateLanguageByUlpName[] = "Translate Language by ULP";
1245const char kTranslateLanguageByUlpDescription[] =
1246 "Improved translate target language and triggering logic by considering "
1247 "information from User Language Profile (ULP).";
1248
1249const char kTrySupportedChannelLayoutsName[] =
1250 "Causes audio output streams to check if channel layouts other than the "
1251 "default hardware layout are available.";
1252const char kTrySupportedChannelLayoutsDescription[] =
1253 "Causes audio output streams to check if channel layouts other than the "
1254 "default hardware layout are available. Turning this on will allow the OS "
1255 "to do stereo to surround expansion if supported. May expose third party "
1256 "driver bugs, use with caution.";
1257
1258const char kUiPartialSwapName[] = "Partial swap";
1259const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1260
1261const char kUserConsentForExtensionScriptsName[] =
1262 "User consent for extension scripts";
1263const char kUserConsentForExtensionScriptsDescription[] =
1264 "Require user consent for an extension running a script on the page, if "
1265 "the extension requested permission to run on all urls.";
1266
1267const char kUseSuggestionsEvenIfFewFeatureName[] =
1268 "Disable minimum for server-side tile suggestions on NTP.";
1269const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1270 "Request server-side suggestions even if there are only very few of them "
1271 "and use them for tiles on the New Tab Page.";
1272
1273const char kV8CacheOptionsName[] = "V8 caching mode.";
1274const char kV8CacheOptionsDescription[] =
1275 "Caching mode for the V8 JavaScript engine.";
1276const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1277const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1278
1279const char kV8CacheStrategiesForCacheStorageName[] =
1280 "V8 caching strategy for CacheStorage.";
1281const char kV8CacheStrategiesForCacheStorageDescription[] =
1282 "Caching strategy of scripts in CacheStorage for the V8 JavaScript engine.";
1283const char kV8CacheStrategiesForCacheStorageNormal[] = "Normal";
1284const char kV8CacheStrategiesForCacheStorageAggressive[] = "Aggressive";
1285
1286const char kVibrateRequiresUserGestureName[] =
1287 "Requiring user gesture for the Vibration API";
1288const char kVibrateRequiresUserGestureDescription[] =
1289 "Block the Vibration API if no user gesture has been received on the frame "
1290 "or any embedded frame.";
1291
1292const char kVideoFullscreenOrientationLockName[] =
1293 "Lock screen orientation when playing a video fullscreen.";
1294const char kVideoFullscreenOrientationLockDescription[] =
1295 "Lock the screen orientation of the device to match video orientation when "
1296 "a video goes fullscreen. Only on phones.";
1297
1298const char kVideoRotateToFullscreenName[] =
1299 "Rotate-to-fullscreen gesture for videos.";
1300const char kVideoRotateToFullscreenDescription[] =
1301 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1302 "the video. Only on phones.";
1303
1304const char kWalletServiceUseSandboxName[] =
1305 "Use Google Payments sandbox servers";
1306const char kWalletServiceUseSandboxDescription[] =
1307 "For developers: use the sandbox service for Google Payments API calls.";
1308
1309const char kWebgl2Name[] = "WebGL 2.0";
1310const char kWebgl2Description[] = "Allow web applications to access WebGL 2.0.";
1311
1312const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1313const char kWebglDraftExtensionsDescription[] =
1314 "Enabling this option allows web applications to access the WebGL "
1315 "Extensions that are still in draft status.";
1316
1317const char kWebMidiName[] = "Web MIDI API";
1318const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1319
1320const char kWebPaymentsName[] = "Web Payments";
1321const char kWebPaymentsDescription[] =
1322 "Enable Web Payments API integration, a JavaScript API for merchants.";
1323
Mathieu Perreault51339b82017-07-20 17:06:051324const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1325const char kWebPaymentsModifiersDescription[] =
1326 "If the website provides modifiers in the payment request, show the custom "
1327 "total for each payment instrument, update the shopping cart when "
1328 "instruments are switched, and send modified payment method specific data "
1329 "to the payment app.";
1330
Brett Wilsonecb80982017-07-12 20:34:511331const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1332const char kWebrtcEchoCanceller3Description[] =
1333 "Experimental WebRTC echo canceller (AEC3).";
1334
1335const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1336const char kWebrtcHwDecodingDescription[] =
1337 "Support in WebRTC for decoding video streams using platform hardware.";
1338
1339const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1340const char kWebrtcHwEncodingDescription[] =
1341 "Support in WebRTC for encoding video streams using platform hardware.";
1342
1343const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1344const char kWebrtcHwH264EncodingDescription[] =
1345 "Support in WebRTC for encoding h264 video streams using platform "
1346 "hardware.";
1347
1348const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1349const char kWebrtcHwVP8EncodingDescription[] =
1350 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1351
1352const char kWebrtcSrtpAesGcmName[] =
1353 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1354const char kWebrtcSrtpAesGcmDescription[] =
1355 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1356
1357const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1358const char kWebrtcStunOriginDescription[] =
1359 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1360 "header.";
1361
1362const char kWebvrName[] = "WebVR";
1363const char kWebvrDescription[] =
1364 "Enabling this option allows web applications to access experimental "
1365 "Virtual Reality APIs.";
1366
1367const char kWifiCredentialSyncName[] = "WiFi credential sync";
1368const char kWifiCredentialSyncDescription[] =
1369 "Enables synchronizing WiFi network settings across devices. When enabled, "
1370 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1371 "credentials are synchronized subject to user preferences. (See also, "
1372 "chrome://settings/syncSetup.)";
1373
1374const char kZeroCopyName[] = "Zero-copy rasterizer";
1375const char kZeroCopyDescription[] =
1376 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341377
Brett Wilsonff596952017-07-14 01:06:551378// Android ---------------------------------------------------------------------
1379
1380#if defined(OS_ANDROID)
1381
1382const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1383const char kAiaFetchingDescription[] =
1384 "Enable intermediate certificate fetching when a server does not provide "
1385 "sufficient certificates to build a chain to a trusted root.";
1386
1387const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1388const char kAccessibilityTabSwitcherDescription[] =
1389 "Enable the accessibility tab switcher for Android.";
1390
1391const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1392const char kAndroidAutofillAccessibilityDescription[] =
1393 "Enable accessibility for autofill popup.";
1394
1395const char kAndroidPaymentAppsName[] = "Android payment apps";
1396const char kAndroidPaymentAppsDescription[] =
1397 "Enable third party Android apps to integrate as payment apps";
1398
Iulia Harasim0b5a4312017-07-21 16:20:501399const char kAndroidSigninPromosName[] = "Signin promos for Android.";
1400const char kAndroidSigninPromosDescription[] =
1401 "New signin promos for Android which will be displayed in content "
1402 "suggestions, Settings, Bookmarks and Recent Tabs.";
1403
Tatiana Gornak38ab3562017-07-28 11:04:181404const char kAndroidViewPasswordsName[] = "Copy and view passwords for Android";
1405const char kAndroidViewPasswordsDescription[] =
1406 "Enables copying and viewing passwords in settings.";
1407
Brett Wilsonff596952017-07-14 01:06:551408const char kAutofillAccessoryViewName[] =
1409 "Autofill suggestions as keyboard accessory view";
1410const char kAutofillAccessoryViewDescription[] =
1411 "Shows Autofill suggestions on top of the keyboard rather than in a "
1412 "dropdown.";
1413
1414const char kBackgroundLoaderForDownloadsName[] =
1415 "Enables background downloading of pages.";
1416const char kBackgroundLoaderForDownloadsDescription[] =
1417 "Enables downloading pages in the background in case page is not yet "
1418 "loaded in current tab.";
1419
1420const char kChromeHomeExpandButtonName[] = "Chrome Home Expand Button";
1421const char kChromeHomeExpandButtonDescription[] =
1422 "Enables the expand button for Chrome Home.";
1423
1424const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1425const char kChromeHomeSwipeLogicDescription[] =
1426 "Various swipe logic options for Chrome Home for sheet expansion.";
1427const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
1428const char kChromeHomeSwipeLogicButtonOnly[] = "Swipe on expand button";
1429
1430const char kChromeHomeName[] = "Chrome Home";
1431const char kChromeHomeDescription[] =
1432 "Enables Chrome Home on Android. You must restart the browser"
1433 " twice for changes to take effect.";
1434
1435const char kContentSuggestionsCategoryOrderName[] =
1436 "Default content suggestions category order (e.g. on NTP)";
1437const char kContentSuggestionsCategoryOrderDescription[] =
1438 "Set default order of content suggestion categories (e.g. on the NTP).";
1439
1440const char kContentSuggestionsCategoryRankerName[] =
1441 "Content suggestions category ranker (e.g. on NTP)";
1442const char kContentSuggestionsCategoryRankerDescription[] =
1443 "Set category ranker to order categories of content suggestions (e.g. on "
1444 "the NTP).";
1445
1446const char kContextualSearchContextualCardsBarIntegration[] =
1447 "Contextual Search - Contextual Cards Integration";
1448const char kContextualSearchContextualCardsBarIntegrationDescription[] =
1449 "Whether or not integration of Contextual Cards data in the Contextual "
1450 "Search Bar is enabled.";
1451
1452const char kContextualSearchSingleActionsName[] =
1453 "Contextual Search - Single Actions";
1454const char kContextualSearchSingleActionsDescription[] =
1455 "Whether or not single actions using Contextual Cards data in the "
1456 "Contextual Search Bar is enabled.";
1457
1458const char kContextualSearchUrlActionsName[] =
1459 "Contextual Search - URL Actions";
1460const char kContextualSearchUrlActionsDescription[] =
1461 "Whether or not URL actions using Contextual Cards data in the Contextual "
1462 "Search Bar is enabled.";
1463
1464const char kContextualSearchName[] = "Contextual Search";
1465const char kContextualSearchDescription[] =
1466 "Whether or not Contextual Search is enabled.";
1467
Dmitry Skiba9c3efa72017-07-20 22:01:141468const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1469const char kDontPrefetchLibrariesDescription[] =
1470 "Don't prefetch libraries after loading.";
1471
Brett Wilsonff596952017-07-14 01:06:551472const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1473const char kEnableAndroidPayIntegrationV1Description[] =
1474 "Enable integration with Android Pay using the first version of the API";
1475
1476const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1477const char kEnableAndroidPayIntegrationV2Description[] =
1478 "Enable integration with Android Pay using the second version of the API";
1479
1480const char kEnableAndroidSpellcheckerDescription[] =
1481 "Enables use of the Android spellchecker.";
1482const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
1483
1484const char kEnableConsistentOmniboxGeolocationName[] =
1485 "Have consistent omnibox geolocation access.";
1486const char kEnableConsistentOmniboxGeolocationDescription[] =
1487 "Have consistent geolocation access between the omnibox and default search "
1488 "engine.";
1489
1490const char kEnableContentSuggestionsNewFaviconServerName[] =
1491 "Get favicons for content suggestions from a new server.";
1492const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1493 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1494 "new favicon server.";
1495
1496const char kEnableContentSuggestionsLargeThumbnailName[] =
1497 "Large thumbnails layout for content suggestions cards.";
1498const char kEnableContentSuggestionsLargeThumbnailDescription[] =
1499 "If enabled, the content suggestions cards will use large thumbnails and "
1500 "some related adjustments.";
1501
1502const char kEnableContentSuggestionsVideoOverlayName[] =
1503 "Video icon overlay on thumbnails for content suggestions cards.";
1504const char kEnableContentSuggestionsVideoOverlayDescription[] =
1505 "If enabled, the content suggestions cards for suggestions with a video "
1506 "will show a video play icon overlay on the thumbnail.";
1507
1508const char kEnableContentSuggestionsSettingsName[] =
1509 "Show content suggestions settings.";
1510const char kEnableContentSuggestionsSettingsDescription[] =
1511 "If enabled, the content suggestions settings will be available from the "
1512 "main settings menu.";
1513
1514const char kEnableContentSuggestionsShowSummaryName[] =
1515 "Show content suggestions summaries.";
1516const char kEnableContentSuggestionsShowSummaryDescription[] =
1517 "If enabled, the content suggestions summaries will be shown.";
1518
1519const char kEnableCopylessPasteName[] = "App Indexing (Copyless Paste)";
1520const char kEnableCopylessPasteDescription[] =
1521 "Provide suggestions for text input, based on your recent context. For "
1522 "example, if you looked at a restaurant website and switched to the Maps "
1523 "app, the keyboard would offer the name of that restaurant as a suggestion "
1524 "to enter into the search bar. The data is indexed locally, and never sent "
1525 "to the server. It's disabled in incognito mode.";
1526
1527const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1528const char kEnableCustomContextMenuDescription[] =
1529 "Enables a new context menu when a link, image, or video is pressed within "
1530 "Chrome.";
1531
1532const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1533const char kEnableCustomFeedbackUiDescription[] =
1534 "Enables a custom feedback UI when submitting feedback through Google "
1535 "Feedback. Works with Google Play Services v10.2+";
1536
1537const char kEnableDataReductionProxyMainMenuName[] =
1538 "Enable Data Saver main menu footer";
1539const char kEnableDataReductionProxyMainMenuDescription[] =
1540 "Enables the Data Saver footer in the main menu";
1541
1542const char kEnableDataReductionProxySiteBreakdownName[] =
1543 "Data Saver Site Breakdown";
1544const char kEnableDataReductionProxySiteBreakdownDescription[] =
1545 "Enable the site breakdown on the Data Saver settings page.";
1546
1547const char kEnableOmniboxClipboardProviderName[] =
1548 "Omnibox clipboard URL suggestions";
1549const char kEnableOmniboxClipboardProviderDescription[] =
1550 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1551 "focus in the omnibox.";
1552
1553const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1554 "Use expanded autofill credit card popup layout.";
1555const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1556 "If enabled, displays autofill credit card popup using expanded layout.";
1557
1558const char kEnableFaviconsFromWebManifestName[] =
1559 "Load favicons from Web Manifests";
1560const char kEnableFaviconsFromWebManifestDescription[] =
1561 "Fetch Web Manifests on page load to read favicons from them.";
1562
1563const char kEnableNtpAssetDownloadSuggestionsName[] =
1564 "Show asset downloads on the New Tab page";
1565const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1566 "If enabled, the list of content suggestions on the New Tab page will "
1567 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1568 "later use.";
1569
1570const char kEnableNtpBookmarkSuggestionsName[] =
1571 "Show recently visited bookmarks on the New Tab page";
1572const char kEnableNtpBookmarkSuggestionsDescription[] =
1573 "If enabled, the list of content suggestions on the New Tab page will "
1574 "contain recently visited bookmarks.";
1575
1576const char kEnableNtpForeignSessionsSuggestionsName[] =
1577 "Show recent foreign tabs on the New Tab page";
1578const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1579 "If enabled, the list of content suggestions on the New Tab page will "
1580 "contain recent foreign tabs.";
1581
1582const char kEnableNtpMostLikelyFaviconsFromServerName[] =
1583 "Download favicons for NTP tiles from Google.";
1584const char kEnableNtpMostLikelyFaviconsFromServerDescription[] =
1585 "If enabled, missing favicons for NTP tiles get downloaded from Google. "
1586 "This only applies to tiles that originate from synced history.";
1587
1588const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1589 "Show offline page downloads on the New Tab page";
1590const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1591 "If enabled, the list of content suggestions on the New Tab page will "
1592 "contain pages that the user downloaded for later use.";
1593
1594const char kEnableNtpRemoteSuggestionsName[] =
1595 "Show server-side suggestions on the New Tab page";
1596const char kEnableNtpRemoteSuggestionsDescription[] =
1597 "If enabled, the list of content suggestions on the New Tab page will "
1598 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
1599 "allows to override the source used to retrieve these server-side "
1600 "suggestions.";
1601
1602const char kEnableNtpSnippetsVisibilityName[] =
1603 "Make New Tab Page Snippets more visible.";
1604const char kEnableNtpSnippetsVisibilityDescription[] =
1605 "If enabled, the NTP snippets will become more discoverable with a larger "
1606 "portion of the first card above the fold.";
1607
1608const char kEnableNtpSuggestionsNotificationsName[] =
1609 "Notify about new content suggestions available at the New Tab page";
1610const char kEnableNtpSuggestionsNotificationsDescription[] =
1611 "If enabled, notifications will inform about new content suggestions on "
1612 "the New Tab page.";
1613
1614const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
1615const char kEnablePhysicalWebDescription[] =
1616 "Enable scanning for URLs from Physical Web objects.";
1617
1618const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1619const char kEnableOfflinePreviewsDescription[] =
1620 "Enable showing offline page previews on slow networks.";
1621
1622const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
1623const char kEnableOskOverscrollDescription[] =
1624 "Enable OSK overscroll support. With this flag on, the OSK will only "
1625 "resize the visual viewport.";
1626
1627const char kEnableSpecialLocaleName[] =
1628 "Enable custom logic for special locales.";
1629const char kEnableSpecialLocaleDescription[] =
1630 "Enable custom logic for special locales. In this mode, Chrome might "
1631 "behave differently in some locales.";
1632
1633const char kEnableWebapk[] = "Enable improved add to Home screen";
1634const char kEnableWebapkDescription[] =
1635 R"*(Packages "Progressive Web Apps" so that they can integrate more )*"
1636 R"*(deeply with Android. A Chrome server is used to package sites. In )*"
1637 R"*(Chrome Canary and Chrome Dev, this requires “Untrusted )*"
1638 R"*(sources” to be enabled in Android security settings.)*";
1639
1640const char kEnableWebNfcName[] = "WebNFC";
1641const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
1642
gogeraldf3cbb422017-07-26 14:37:121643const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
1644 "Enable Web Payments method section order V2.";
1645const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
1646 "Enable this option to display payment method section above address "
1647 "section instead of below it.";
1648
Brett Wilsonff596952017-07-14 01:06:551649const char kEnableWebPaymentsSingleAppUiSkipName[] =
1650 "Enable Web Payments single app UI skip";
1651const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
1652 "Enable Web Payments to skip showing its UI if the developer specifies a "
1653 "single app.";
1654
1655const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
1656const char kHerbPrototypeChoicesDescription[] =
1657 "Switching this option changes which tab management prototype is being "
1658 "tested.";
1659const char kHerbPrototypeFlavorElderberry[] =
1660 "ELDERBERRY: All View Intents in CCT v2";
1661
1662const char kKeepPrefetchedContentSuggestionsName[] =
1663 "Keep prefetched content suggestions";
1664const char kKeepPrefetchedContentSuggestionsDescription[] =
1665 "If enabled, some of prefetched content suggestions are not replaced by "
1666 "the new fetched suggestions.";
1667
1668const char kLsdPermissionPromptName[] =
1669 "Location Settings Dialog Permission Prompt";
1670const char kLsdPermissionPromptDescription[] =
1671 "Whether to use the Google Play Services Location Settings Dialog "
1672 "permission dialog.";
1673
1674const char kMediaDocumentDownloadButtonName[] =
1675 "Download button when opening a page with media url.";
1676const char kMediaDocumentDownloadButtonDescription[] =
1677 "Allow a download button to show up when opening a page with media url.";
1678
1679const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
1680const char kMediaScreenCaptureDescription[] =
1681 "Enable this option for experimental ScreenCapture feature on Android.";
1682
1683const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
1684const char kModalPermissionPromptsDescription[] =
1685 "Whether to use permission dialogs in place of permission infobars.";
1686
1687const char kNewBackgroundLoaderName[] =
1688 "Use background loader instead of prerenderer to load pages.";
1689const char kNewBackgroundLoaderDescription[] =
1690 "Use background loader instead of prerenderer to asynchronously download "
1691 "pages.";
1692
1693const char kNewPhotoPickerName[] = "Enable new Photopicker";
1694const char kNewPhotoPickerDescription[] =
1695 "Activates the new picker for selecting photos.";
1696
1697const char kNoCreditCardAbort[] = "No Credit Card Abort";
1698const char kNoCreditCardAbortDescription[] =
1699 "Whether or not the No Credit Card Abort is enabled.";
1700
1701const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
1702const char kNtpCondensedLayoutDescription[] =
1703 "Show a condensed layout on the New Tab Page.";
1704
1705const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
1706const char kNtpCondensedTileLayoutDescription[] =
1707 "Show a condensed tile layout on the New Tab Page.";
1708
1709const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
1710const char kNtpGoogleGInOmniboxDescription[] =
1711 "Show a Google G in the omnibox on the New Tab Page.";
1712
1713const char kNtpOfflinePagesName[] = "Enable NTP offline pages";
1714const char kNtpOfflinePagesDescription[] =
1715 "Enables badging of offline pages on the New Tab page. Only relevant if "
1716 "offline pages are enabled.";
1717
1718const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
1719const char kNtpPopularSitesDescription[] =
1720 "Pre-populate the New Tab page with popular sites.";
1721
1722const char kNtpSwitchToExistingTabName[] =
1723 "Switch to an existing tab for New Tab Page suggestions.";
1724const char kNtpSwitchToExistingTabDescription[] =
1725 "When opening a suggested webpage from the New Tab Page, if a tab is "
1726 "already open for the suggestion, switch to that one instead of loading "
1727 "the suggestion in the new tab.";
1728const char kNtpSwitchToExistingTabMatchUrl[] = "Match by URL";
1729const char kNtpSwitchToExistingTabMatchHost[] = "Match by Hostname";
1730
1731const char kOfflineBookmarksName[] = "Enable offline bookmarks";
1732const char kOfflineBookmarksDescription[] =
1733 "Enable saving bookmarked pages for offline viewing.";
1734
1735const char kOfflinePagesAsyncDownloadName[] =
1736 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages.)*";
1737const char kOfflinePagesAsyncDownloadDescription[] =
1738 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages such )*"
1739 R"*(that the user can click on it to download the page later.)*";
1740
1741const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
1742const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
1743
1744const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
1745const char kOfflinePagesCtV2Description[] =
1746 "V2 features include attributing pages to the app that initiated the "
1747 "custom tabs, and being able to query for pages by page attribution.";
1748
1749const char kOfflinePagesLoadSignalCollectingName[] =
1750 "Enables collecting load timing data for offline page snapshots.";
1751const char kOfflinePagesLoadSignalCollectingDescription[] =
1752 "Enables loading completeness data collection while writing an offline "
1753 "page. This data is collected in the snapshotted offline page to allow "
1754 "data analysis to improve deciding when to make the offline snapshot.";
1755
1756const char kOfflinePagesPrefetchingName[] =
1757 "Enables suggested offline pages to be prefetched.";
1758const char kOfflinePagesPrefetchingDescription[] =
1759 "Enables suggested offline pages to be prefetched, so useful content is "
1760 "available while offline.";
1761
Collin Baker17f92a52017-07-19 21:41:251762const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
1763const char kOfflinePagesRenovationsDescription[] =
1764 "Enables offline page renovations which correct issues with dynamic "
1765 "content that occur when offlining pages that use JavaScript.";
1766
Brett Wilsonff596952017-07-14 01:06:551767const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
1768const char kOfflinePagesSharingDescription[] =
1769 "Enables the saved offline pages to be shared via other applications.";
1770
1771const char kOfflinePagesSvelteConcurrentLoadingName[] =
1772 "Enables concurrent background loading on svelte.";
1773const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
1774 "Enables concurrent background loading (or downloading) of pages on "
1775 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
1776 "happen when the svelte device is idle.";
1777
1778const char kOffliningRecentPagesName[] =
1779 "Enable offlining of recently visited pages";
1780const char kOffliningRecentPagesDescription[] =
1781 "Enable storing recently visited pages locally for offline use. Requires "
1782 "Offline Pages to be enabled.";
1783
1784extern const char kPayWithGoogleV1Name[] = "Pay with Google v1";
1785extern const char kPayWithGoogleV1Description[] =
1786 "Enable Pay with Google integration into Web Payments with API version "
1787 "'1'.";
1788
1789const char kProgressBarAnimationName[] =
1790 "Android phone page loading progress bar animation";
1791const char kProgressBarAnimationDescription[] =
1792 "Configures Android phone page loading progress bar animation.";
1793const char kProgressBarAnimationLinear[] = "Linear";
1794const char kProgressBarAnimationSmooth[] = "Smooth";
1795const char kProgressBarAnimationSmoothIndeterminate[] = "Smooth indeterminate";
1796const char kProgressBarAnimationFastStart[] = "Fast start";
1797
1798const char kProgressBarCompletionName[] =
1799 "Android phone page load progress bar completion time.";
1800const char kProgressBarCompletionDescription[] =
1801 "Configures Android phone page loading progress bar completion time.";
1802const char kProgressBarCompletionLoadEvent[] =
1803 R"*(Top loading frame's onload event ("everything" is done in the )*"
1804 R"*(page, historical behavior).)*";
1805const char kProgressBarCompletionResourcesBeforeDcl[] =
1806 "Main frame's domContentLoaded and all resources loads started before "
1807 "domContentLoaded (iframes ignored).";
1808const char kProgressBarCompletionDomContentLoaded[] =
1809 "Main frame's domContentLoaded (iframes ignored).";
1810const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
1811 "domContentLoaded and all resources loads started before domContentLoaded "
1812 "(main frame and same origin iframes).";
1813
1814const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
1815const char kPullToRefreshEffectDescription[] =
1816 "Page reloads triggered by vertically overscrolling content.";
1817
Piotr Swigon9f630b32017-07-26 09:42:491818const char kPwaPersistentNotificationName[] =
1819 "Persistent notification in standalone PWA";
1820const char kPwaPersistentNotificationDescription[] =
1821 "Enables a persistent Android notification for standalone PWAs";
1822
Brett Wilsonff596952017-07-14 01:06:551823const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
1824const char kReaderModeHeuristicsDescription[] =
1825 "Determines what pages the Reader Mode infobar is shown on.";
1826const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
1827const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
1828const char kReaderModeHeuristicsAllArticles[] = "All articles";
1829const char kReaderModeHeuristicsAlwaysOff[] = "Never";
1830const char kReaderModeHeuristicsAlwaysOn[] = "Always";
1831
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:181832const char kReaderModeInCCTName[] = "Reader Mode in CCT";
1833const char kReaderModeInCCTDescription[] =
1834 "Open Reader Mode in Chrome Custom Tabs.";
1835
Brett Wilsonff596952017-07-14 01:06:551836const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1837const char kServiceWorkerPaymentAppsDescription[] =
1838 "Enable Service Worker applications to integrate as payment apps";
1839
1840const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
1841const char kSetMarketUrlForTestingDescription[] =
1842 "When enabled, sets the market URL for use in testing the update menu "
1843 "item.";
1844
1845const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
1846const char kSpannableInlineAutocompleteDescription[] =
1847 "A new type of inline autocomplete for the omnibox that works with "
1848 "keyboards that compose text.";
1849
1850const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1851const char kTabsInCbdDescription[] =
1852 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1853
1854const char kTranslateCompactUIName[] = "New Translate Infobar";
1855const char kTranslateCompactUIDescription[] =
1856 "Enable the new Translate compact infobar UI.";
1857
1858const char kUpdateMenuBadgeName[] = "Force show update menu badge";
1859const char kUpdateMenuBadgeDescription[] =
1860 "When enabled, an update badge will be shown on the app menu button.";
1861
1862const char kUpdateMenuItemCustomSummaryDescription[] =
1863 "When this flag and the force show update menu item flag are enabled, a "
1864 "custom summary string will be displayed below the update menu item.";
1865const char kUpdateMenuItemCustomSummaryName[] =
1866 "Update menu item custom summary";
1867
1868const char kUpdateMenuItemName[] = "Force show update menu item";
1869const char kUpdateMenuItemDescription[] =
1870 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
1871 R"*(menu.)*";
1872
1873const char kUseAndroidMidiApiName[] = "Use Android Midi API";
1874const char kUseAndroidMidiApiDescription[] =
1875 "Use Android Midi API for WebMIDI (effective only with Android M+ "
1876 "devices).";
1877
1878const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1879const char kUseDdljsonApiDescription[] =
1880 "Enables the new ddljson API to fetch Doodles for the NTP.";
1881
Brett Wilsonff596952017-07-14 01:06:551882const char kXGEOVisibleNetworksName[] = "Enable XGEO Visible Networks";
1883const char kXGEOVisibleNetworksDescription[] =
1884 "If location permissions are granted, include visible networks in the XGEO "
1885 "Header for omnibox queries. This will only happen if location is not "
1886 "fresh or not available (for example, due to a cold start).";
1887
1888#endif // OS_ANDROID
1889
brettw5f9c1642017-05-14 17:12:481890#if !defined(DISABLE_NACL)
1891
vabr0215a8e2017-03-28 12:47:341892const char kNaclName[] = "Native Client";
vabr0215a8e2017-03-28 12:47:341893const char kNaclDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:191894 "Support Native Client for all web applications, even those that were not "
1895 "installed from the Chrome Web Store.";
vabr0215a8e2017-03-28 12:47:341896
vabr0215a8e2017-03-28 12:47:341897const char kNaclDebugName[] = "Native Client GDB-based debugging";
vabr0215a8e2017-03-28 12:47:341898const char kNaclDebugDescription[] =
1899 "Enable GDB debug stub. This will stop a Native Client application on "
1900 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
1901
vabr0215a8e2017-03-28 12:47:341902const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
vabr0215a8e2017-03-28 12:47:341903const char kPnaclSubzeroDescription[] =
1904 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
1905
vabr0215a8e2017-03-28 12:47:341906const char kNaclDebugMaskName[] =
1907 "Restrict Native Client GDB-based debugging by pattern";
vabr0215a8e2017-03-28 12:47:341908const char kNaclDebugMaskDescription[] =
1909 "Restricts Native Client application GDB-based debugging by URL of "
Vitalii Iarko7df520142017-07-07 12:53:191910 "manifest file. Native Client GDB-based debugging must be enabled for this "
1911 "option to work.";
vabr0215a8e2017-03-28 12:47:341912const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
vabr0215a8e2017-03-28 12:47:341913const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
1914 "Debug everything except secure shell and the PNaCl translator.";
vabr0215a8e2017-03-28 12:47:341915const char kNaclDebugMaskChoiceIncludeDebug[] =
1916 "Debug only if manifest URL ends with debug.nmf.";
1917
brettw5f9c1642017-05-14 17:12:481918#endif
1919
vabr0215a8e2017-03-28 12:47:341920#if defined(OS_WIN)
1921
1922const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
1923
1924const char kCloudPrintXpsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:191925 "XPS enables advanced options for classic printers connected to the Cloud "
1926 "Print with Chrome. Printers must be re-connected after changing this "
1927 "flag.";
vabr0215a8e2017-03-28 12:47:341928
1929#endif // defined(OS_WIN)
1930
Evan Stadeb508c722017-07-12 02:19:081931const char kDelayReloadStopButtonChangeName[] =
1932 "Reduce stop/reload button flicker";
1933
1934const char kDelayReloadStopButtonChangeDescription[] =
1935 "Delays display of stop button when page is loading such that short "
1936 "loads won't show the stop button at all.";
1937
vabr0215a8e2017-03-28 12:47:341938#if BUILDFLAG(ENABLE_WEBRTC)
1939
1940const char kWebrtcH264WithOpenh264FfmpegName[] =
1941 "WebRTC H.264 software video encoder/decoder";
1942
1943const char kWebrtcH264WithOpenh264FfmpegDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:191944 "When enabled, an H.264 software video encoder/decoder pair is included. "
1945 "If a hardware encoder/decoder is also available it may be used instead of "
1946 "this encoder/decoder.";
vabr0215a8e2017-03-28 12:47:341947
1948#endif // BUILDFLAG(ENABLE_WEBRTC)
1949
vabr0215a8e2017-03-28 12:47:341950#if defined(USE_ASH)
1951
brettw81668cf2017-05-15 22:57:341952const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
vabr0215a8e2017-03-28 12:47:341953
1954const char kAshShelfColorDescription[] =
bruthigd8b95962017-03-31 19:38:341955 "Enables/disables the shelf color to be a derived from the wallpaper. The "
1956 "--ash-shelf-color-scheme flag defines how that color is derived.";
vabr0215a8e2017-03-28 12:47:341957
bruthigd8b95962017-03-31 19:38:341958const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
vabr0215a8e2017-03-28 12:47:341959
bruthigd8b95962017-03-31 19:38:341960const char kAshShelfColorSchemeDescription[] =
1961 "Specify how the color is derived from the wallpaper. This flag is only "
1962 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
vabr0215a8e2017-03-28 12:47:341963
bruthigd8b95962017-03-31 19:38:341964const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
vabr0215a8e2017-03-28 12:47:341965
bruthigd8b95962017-03-31 19:38:341966const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
vabr0215a8e2017-03-28 12:47:341967
bruthigd8b95962017-03-31 19:38:341968const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
vabr0215a8e2017-03-28 12:47:341969
bruthigd8b95962017-03-31 19:38:341970const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
1971
1972const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
1973
1974const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
vabr0215a8e2017-03-28 12:47:341975
vabr0215a8e2017-03-28 12:47:341976const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
1977
1978const char kAshEnableMirroredScreenDescription[] =
1979 "Enable the mirrored screen mode. This mode flips the screen image "
1980 "horizontally.";
1981
wutaob161bf22017-04-26 16:55:031982const char kAshDisableSmoothScreenRotationName[] =
1983 "Disable smooth rotation animations.";
wutao2c0ca182017-04-06 22:40:541984
wutaob161bf22017-04-26 16:55:031985const char kAshDisableSmoothScreenRotationDescription[] =
1986 "Disable smooth rotation animations.";
wutao2c0ca182017-04-06 22:40:541987
vabr0215a8e2017-03-28 12:47:341988const char kMaterialDesignInkDropAnimationFast[] = "Fast";
1989
1990const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
1991
1992const char kMaterialDesignInkDropAnimationSpeedName[] =
1993 "Material Design Ink Drop Animation Speed";
1994
1995const char kMaterialDesignInkDropAnimationSpeedDescription[] =
1996 "Sets the speed of the experimental visual feedback animations for "
1997 "material design.";
1998
1999const char kUiSlowAnimationsName[] = "Slow UI animations";
2000
2001const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
2002
reveman5be07ac82017-04-14 01:06:052003const char kUiShowCompositedLayerBordersName[] =
2004 "Show UI composited layer borders";
2005
2006const char kUiShowCompositedLayerBordersDescription[] =
2007 "Show border around composited layers created by UI.";
2008
2009const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
2010
2011const char kUiShowCompositedLayerBordersSurface[] = "Surface";
2012
2013const char kUiShowCompositedLayerBordersLayer[] = "Layer";
2014
2015const char kUiShowCompositedLayerBordersAll[] = "All";
2016
vabr0215a8e2017-03-28 12:47:342017#endif // defined(USE_ASH)
2018
vabr0215a8e2017-03-28 12:47:342019const char kForceGpuRasterization[] = "Force-enabled for all layers";
2020
vabr0215a8e2017-03-28 12:47:342021#if defined(OS_CHROMEOS)
2022
sky527bea52017-05-15 19:15:142023const char kUseMusDescription[] = "Enable the Mojo UI service.";
vabr0215a8e2017-03-28 12:47:342024
sky527bea52017-05-15 19:15:142025const char kUseMusName[] = "Mus";
2026
2027const char kEnableMashDescription[] =
2028 "Mash (UI, Chrome and ash in separate services)";
2029
2030const char kEnableMusDescription[] =
2031 "Mus (UI in separate service, Chrome and ash in same service)";
vabr0215a8e2017-03-28 12:47:342032
2033const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2034
2035const char kAllowTouchpadThreeFingerClickDescription[] =
2036 "Enables touchpad three-finger-click as middle button.";
2037
2038const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2039
2040const char kAshEnableUnifiedDesktopDescription[] =
2041 "Enable unified desktop mode which allows a window to span multiple "
2042 "displays.";
2043
brettw5f9c1642017-05-14 17:12:482044const char kBootAnimationName[] = "Boot animation";
vabr0215a8e2017-03-28 12:47:342045
2046const char kBootAnimationDescription[] =
2047 "Wallpaper boot animation (except for OOBE case).";
2048
hansberryc147785f2017-05-02 23:36:272049const char kTetherName[] = "Instant Tethering";
2050
2051const char kTetherDescription[] =
2052 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2053 "phone to share its Internet connection with this device.";
2054
vabr0215a8e2017-03-28 12:47:342055#endif // defined(OS_CHROMEOS)
2056
vabr0215a8e2017-03-28 12:47:342057#if defined(OS_CHROMEOS)
2058
2059const char kFirstRunUiTransitionsName[] =
2060 "Animated transitions in the first-run tutorial";
2061
2062const char kFirstRunUiTransitionsDescription[] =
2063 "Transitions during first-run tutorial are animated.";
2064
2065#endif // defined(OS_CHROMEOS)
2066
vabr0215a8e2017-03-28 12:47:342067#if defined(OS_MACOSX)
2068
2069const char kHostedAppsInWindowsName[] =
2070 "Allow hosted apps to be opened in windows";
2071
2072const char kHostedAppsInWindowsDescription[] =
2073 "Allows hosted apps to be opened in windows instead of being limited to "
2074 "tabs.";
2075
2076const char kTabDetachingInFullscreenName[] =
2077 "Allow tab detaching in fullscreen";
2078
2079const char kTabDetachingInFullscreenDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192080 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
vabr0215a8e2017-03-28 12:47:342081
2082const char kFullscreenToolbarRevealName[] =
2083 "Enables the toolbar in fullscreen to reveal itself.";
2084
2085const char kFullscreenToolbarRevealDescription[] =
2086 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2087 "has changed.";
2088
2089const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2090
2091const char kTabStripKeyboardFocusDescription[] =
2092 "Enable keyboard focus for the tabs in the tab strip.";
2093
2094#endif // defined(OS_MACOSX)
2095
vabr0215a8e2017-03-28 12:47:342096#if defined(OS_MACOSX)
2097
2098const char kTranslateNewUxName[] = "New Translate UX";
2099
2100const char kTranslateNewUxDescription[] =
2101 "Enable the new Translate bubble UX is offered instead of the infobar.";
2102
2103#endif // defined(OS_MACOSX)
2104
vabr0215a8e2017-03-28 12:47:342105#if defined(OS_MACOSX)
2106
2107const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2108
2109const char kAppInfoDialogDescription[] =
2110 "Makes the Toolkit-Views based App Info dialog accessible from "
2111 "chrome://apps or chrome://extensions in place of the native extension "
2112 "permissions dialog, or the details link (which is a link to the Web "
2113 "Store).";
2114
kerrnel7e4f7a7f2017-06-28 21:28:282115const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2116
2117const char kMacV2SandboxDescription[] =
2118 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2119 "entire life cycle.";
2120
vabr0215a8e2017-03-28 12:47:342121const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2122
2123const char kMacViewsNativeAppWindowsDescription[] =
2124 "Controls whether to use Toolkit-Views based Chrome App windows.";
2125
2126const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2127
2128const char kMacViewsTaskManagerDescription[] =
2129 "Controls whether to use the Toolkit-Views based Task Manager.";
2130
2131const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2132
2133const char kAppWindowCyclingDescription[] =
2134 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2135 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
Vitalii Iarko7df520142017-07-07 12:53:192136 "browser window, and browser windows will not be cycled when a Chrome App "
2137 "is active.";
vabr0215a8e2017-03-28 12:47:342138
2139#endif // defined(OS_MACOSX)
2140
2141#if defined(OS_CHROMEOS)
2142
2143const char kAcceleratedMjpegDecodeName[] =
2144 "Hardware-accelerated mjpeg decode for captured frame";
2145
2146const char kAcceleratedMjpegDecodeDescription[] =
2147 "Enable hardware-accelerated mjpeg decode for captured frame where "
2148 "available.";
2149
2150#endif // defined(OS_CHROMEOS)
2151
vabr0215a8e2017-03-28 12:47:342152#if defined(OS_WIN)
2153
2154const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2155
2156const char kEnableAppcontainerDescription[] =
2157 "Enables the use of an AppContainer on sandboxed processes to improve "
2158 "security.";
2159
2160#endif // defined(OS_WIN)
2161
thestig0c55ee32017-06-20 22:17:512162#if defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
elawrenced9978fc2017-05-02 02:45:192163
2164const char kShowCertLinkOnPageInfoName[] = "Show certificate link";
2165
2166const char kShowCertLinkOnPageInfoDescription[] =
2167 "Add a link from the Page Info bubble to the certificate viewer for HTTPS "
2168 "sites.";
2169
thestig0c55ee32017-06-20 22:17:512170#endif // defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
elawrenced9978fc2017-05-02 02:45:192171
vabr0215a8e2017-03-28 12:47:342172#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2173
2174const char kAutofillCreditCardUploadName[] =
2175 "Enable offering upload of Autofilled credit cards";
2176
2177const char kAutofillCreditCardUploadDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192178 "Enables a new option to upload credit cards to Google Payments for sync "
2179 "to all Chrome devices.";
vabr0215a8e2017-03-28 12:47:342180
2181#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2182
vabr0215a8e2017-03-28 12:47:342183#if defined(OS_WIN) || defined(OS_LINUX)
2184
2185const char kEnableInputImeApiName[] = "Enable Input IME API";
2186
2187const char kEnableInputImeApiDescription[] =
2188 "Enable the use of chrome.input.ime API.";
2189
2190#endif // defined(OS_WIN) || defined(OS_LINUX)
2191
vabr0215a8e2017-03-28 12:47:342192#if defined(OS_CHROMEOS)
2193
vabr0215a8e2017-03-28 12:47:342194const char kVirtualKeyboardName[] = "Virtual Keyboard";
2195
2196const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2197
2198const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2199
2200const char kVirtualKeyboardOverscrollDescription[] =
2201 "Enables virtual keyboard overscroll support.";
2202
2203const char kInputViewName[] = "Input views";
2204
2205const char kInputViewDescription[] =
2206 "Enable IME extensions to supply custom views for user input such as "
2207 "virtual keyboards.";
2208
2209const char kNewKoreanImeName[] = "New Korean IME";
2210
2211const char kNewKoreanImeDescription[] =
2212 "New Korean IME, which is based on Google Input Tools' HMM engine.";
2213
2214const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2215
2216const char kPhysicalKeyboardAutocorrectDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192217 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2218 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342219
2220const char kVoiceInputName[] = "Voice input on virtual keyboard";
2221
2222const char kVoiceInputDescription[] =
2223 "Enables voice input on virtual keyboard.";
2224
2225const char kExperimentalInputViewFeaturesName[] =
2226 "Experimental input view features";
2227
2228const char kExperimentalInputViewFeaturesDescription[] =
2229 "Enable experimental features for IME input views.";
2230
2231const char kFloatingVirtualKeyboardName[] = "Floating virtual keyboard.";
2232
2233const char kFloatingVirtualKeyboardDescription[] =
2234 "Enable/Disable floating virtual keyboard.";
2235
2236const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2237
2238const char kGestureTypingDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192239 "Enable/Disable gesture typing option in the settings page for the virtual "
2240 "keyboard.";
vabr0215a8e2017-03-28 12:47:342241
2242const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2243
2244const char kGestureEditingDescription[] =
2245 "Enable/Disable gesture editing option in the settings page for the "
2246 "virtual keyboard.";
2247
2248const char kCaptivePortalBypassProxyName[] =
2249 "Bypass proxy for Captive Portal Authorization";
2250
2251const char kCaptivePortalBypassProxyDescription[] =
2252 "If proxy is configured, it usually prevents from authorization on "
2253 "different captive portals. This enables opening captive portal "
Vitalii Iarko7df520142017-07-07 12:53:192254 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342255
2256const char kTouchscreenCalibrationName[] =
Vitalii Iarko7df520142017-07-07 12:53:192257 "Enable/disable touchscreen calibration option in material design settings";
vabr0215a8e2017-03-28 12:47:342258
2259const char kTouchscreenCalibrationDescription[] =
2260 "If enabled, the user can calibrate the touch screen displays in "
Dan Beame8db8412017-07-28 00:33:522261 "chrome://settings/display.";
vabr0215a8e2017-03-28 12:47:342262
yamaguchid99a64b2017-05-12 15:33:492263const char kTeamDrivesName[] = "Enable Team Drives Integration";
2264const char kTeamDrivesDescription[] =
2265 "If enabled, files under Team Drives will appear in the Files app.";
2266
vabr0215a8e2017-03-28 12:47:342267#endif // defined(OS_CHROMEOS)
2268
vabr0215a8e2017-03-28 12:47:342269#if defined(OS_WIN) || defined(OS_MACOSX)
2270
2271// Tab discarding
2272
2273const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2274
2275const char kAutomaticTabDiscardingDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192276 "If enabled, tabs get automatically discarded from memory when the system "
2277 "memory is low. Discarded tabs are still visible on the tab strip and get "
2278 "reloaded when clicked on. Info about discarded tabs can be found at "
2279 "chrome://discards.";
vabr0215a8e2017-03-28 12:47:342280
2281#endif // defined(OS_WIN) || defined(OS_MACOSX)
2282
vabr0215a8e2017-03-28 12:47:342283#if defined(OS_WIN)
2284
2285// Exporting tracing events to ETW
2286
2287const char kTraceExportEventsToEtwName[] =
2288 "Enable exporting of tracing events to ETW.";
2289
2290const char kTraceExportEventsToEtwDesription[] =
2291 "If enabled, trace events will be exported to the Event Tracing for "
2292 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2293 "Xperf.";
2294
2295const char kMergeKeyCharEventsName[] =
Vitalii Iarko7df520142017-07-07 12:53:192296 "Enable or disable merging merging the key event (WM_KEY*) with char event "
2297 "(WM_CHAR).";
vabr0215a8e2017-03-28 12:47:342298
2299const char kMergeKeyCharEventsDescription[] =
etienneb9a4b5302017-06-08 06:28:462300 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separately.";
vabr0215a8e2017-03-28 12:47:342301
2302const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2303
2304const char kUseWinrtMidiApiDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192305 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2306 "later).";
vabr0215a8e2017-03-28 12:47:342307
2308#endif // defined(OS_WIN)
2309
vabr0215a8e2017-03-28 12:47:342310#if defined(OS_CHROMEOS)
2311
vabr0215a8e2017-03-28 12:47:342312const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2313
2314const char kEnableAndroidWallpapersAppDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192315 "Enables the Android Wallpapers App as the default Wallpaper App on Chrome "
2316 "OS.";
vabr0215a8e2017-03-28 12:47:342317
2318const char kEnableTouchSupportForScreenMagnifierName[] =
2319 "Touch support for screen magnifier";
2320
2321const char kEnableTouchSupportForScreenMagnifierDescription[] =
2322 "Enables touch support for screen magnifier";
2323
Tatsuhisa Yamaguchi281eabf32017-07-19 21:55:522324const char kFileManagerTouchModeName[] = "Files App. touch mode";
2325const char kFileManagerTouchModeDescription[] =
2326 "Touchscreen-specific interactions of the Files app.";
2327
Rouslan Solomakhinbed1af22017-06-09 18:40:572328const char kEnableZipArchiverOnFileManagerName[] = "ZIP archiver for Drive";
takise183b8cb42017-04-07 05:12:082329
2330const char kEnableZipArchiverOnFileManagerDescription[] =
2331 "Enable the ability to archive and unpack files on Drive in the Files app";
2332
xiaochu32e9672a2017-05-04 04:15:082333const char kCrOSComponentName[] = "Chrome OS Component";
2334
2335const char kCrOSComponentDescription[] =
xiaochu169aadd2017-06-15 22:32:512336 "Enable the use of componentized escpr CUPS filter.";
xiaochu32e9672a2017-05-04 04:15:082337
vabr0215a8e2017-03-28 12:47:342338#endif // defined(OS_CHROMEOS)
2339
vabr0215a8e2017-03-28 12:47:342340#if !defined(OS_ANDROID) && defined(GOOGLE_CHROME_BUILD)
2341
2342const char kGoogleBrandedContextMenuName[] =
2343 "Google branding in the context menu";
2344
2345const char kGoogleBrandedContextMenuDescription[] =
2346 "Shows a Google icon next to context menu items powered by Google "
2347 "services.";
2348
2349#endif // !defined(OS_ANDROID) && defined(GOOGLE_CHROME_BUILD)
2350
mthiesse700b0b62017-05-19 01:37:312351#if BUILDFLAG(ENABLE_VR)
Brett Wilsonecb80982017-07-12 20:34:512352#if defined(OS_ANDROID)
vabr0215a8e2017-03-28 12:47:342353
Brett Wilsonecb80982017-07-12 20:34:512354const char kEnableVrShellName[] = "Enable Chrome VR.";
vabr0215a8e2017-03-28 12:47:342355const char kEnableVrShellDescription[] =
2356 "Allow browsing with a VR headset if available for this device.";
2357
mthiesse700b0b62017-05-19 01:37:312358const char kVrCustomTabBrowsingName[] = "Enable Custom Tab browsing in VR.";
mthiesse700b0b62017-05-19 01:37:312359const char kVrCustomTabBrowsingDescription[] =
2360 "Allow browsing with a VR headset in a Custom Tab if available for this "
2361 "device.";
ymalike78a83b2017-05-19 20:42:312362
2363const char kWebVrAutopresentName[] = "Enable WebVr auto presentation";
ymalike78a83b2017-05-19 20:42:312364const char kWebVrAutopresentDescription[] =
2365 "Allows auto presentation of WebVr content from trusted first-party apps";
Brett Wilsonecb80982017-07-12 20:34:512366
vabr0215a8e2017-03-28 12:47:342367#endif // defined(OS_ANDROID)
2368
Brett Wilsonecb80982017-07-12 20:34:512369const char kWebvrExperimentalRenderingName[] =
2370 "WebVR experimental rendering optimizations";
2371const char kWebvrExperimentalRenderingDescription[] =
2372 "Enabling this option activates experimental rendering path optimizations "
2373 "for WebVR.";
vabr0215a8e2017-03-28 12:47:342374
Brett Wilsonecb80982017-07-12 20:34:512375#endif // BUILDFLAG(ENABLE_VR)
vabr0215a8e2017-03-28 12:47:342376
vabr0215a8e2017-03-28 12:47:342377#if !defined(OS_ANDROID)
2378
mlamouriff56c092017-05-11 15:31:392379const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
vabr0215a8e2017-03-28 12:47:342380
mlamouriff56c092017-05-11 15:31:392381const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342382 "Manage audio focus across tabs to improve the audio mixing.";
2383
mlamouriff56c092017-05-11 15:31:392384const char kEnableAudioFocusDisabled[] = "Disabled";
vabr0215a8e2017-03-28 12:47:342385
mlamouriff56c092017-05-11 15:31:392386const char kEnableAudioFocusEnabled[] = "Enabled";
vabr0215a8e2017-03-28 12:47:342387
mlamouriff56c092017-05-11 15:31:392388const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342389 "Enabled (Flash lowers volume when interrupted by other sound, "
2390 "experimental)";
2391
2392#endif // !defined(OS_ANDROID)
2393
2394#if defined(OS_WIN)
2395
2396const char kGdiTextPrinting[] = "GDI Text Printing";
2397
2398const char kGdiTextPrintingDescription[] =
2399 "Use GDI to print text as simply text";
2400
2401#endif // defined(OS_WIN)
2402
vabr0215a8e2017-03-28 12:47:342403#if !defined(OS_MACOSX)
2404
2405const char kPermissionPromptPersistenceToggleName[] =
2406 "Persistence Toggle in Permission Prompts";
2407
2408const char kPermissionPromptPersistenceToggleDescription[] =
2409 "Whether to display a persistence toggle in permission prompts.";
2410
2411#endif // !defined(OS_MACOSX)
2412
vabr0215a8e2017-03-28 12:47:342413#if defined(OS_WIN)
2414
2415// Custom draw the Windows 10 titlebar. crbug.com/505013
2416
2417const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2418
2419const char kWindows10CustomTitlebarDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192420 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2421 "deferring to Windows.";
vabr0215a8e2017-03-28 12:47:342422
2423#endif // defined(OS_WIN)
2424
2425#if defined(OS_WIN)
2426
rbpotter556837e42017-05-01 18:49:042427const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
vabr0215a8e2017-03-28 12:47:342428
rbpotter556837e42017-05-01 18:49:042429const char kDisablePostscriptPrintingDescription[] =
2430 "Disables PostScript generation when printing to PostScript capable "
2431 "printers, and uses EMF generation in its place.";
vabr0215a8e2017-03-28 12:47:342432
2433#endif // defined(OS_WIN)
2434
vabr0215a8e2017-03-28 12:47:342435// Desktop iOS promotion chrome://flags strings
2436
2437#if defined(OS_WIN)
2438
2439const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2440
2441const char kEnableDesktopIosPromotionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192442 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2443 "eligible.";
vabr0215a8e2017-03-28 12:47:342444
2445#endif // defined(OS_WIN)
2446
vabr0215a8e2017-03-28 12:47:342447#if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || \
2448 defined(OS_WIN)
2449
2450const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342451const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282452 "Enable receiving entity suggestions - disambiguation descriptions - for "
2453 "Omnibox suggestions.";
2454
2455const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2456const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192457 "Enable receiving tail suggestions, a type of search suggestion based on "
2458 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342459
ojan38c678352017-04-11 20:27:552460const char kPauseBackgroundTabsName[] = "Pause background tabs";
2461const char kPauseBackgroundTabsDescription[] =
2462 "Pause timers in background tabs after 5 minutes on desktop.";
2463
spqchan6f9127a2017-04-29 03:42:022464const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2465const char kEnableNewAppMenuIconDescription[] =
2466 "Use the new app menu icon with update notification animations.";
spqchan064a8112017-04-18 16:46:322467
vabr0215a8e2017-03-28 12:47:342468#endif // defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) ||
2469 // defined(OS_WIN)
2470
2471#if defined(OS_CHROMEOS)
2472
2473const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2474
2475const char kEnableChromevoxArcSupportDescription[] =
2476 "Enable ChromeVox screen reader features in ARC";
2477
2478#endif // defined(OS_CHROMEOS)
2479
vabr0215a8e2017-03-28 12:47:342480#if defined(OS_CHROMEOS)
2481
2482// File Manager
2483
2484const char kVideoPlayerChromecastSupportName[] =
2485 "Experimental Chromecast support for Video Player";
2486
2487const char kVideoPlayerChromecastSupportDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192488 "This option enables experimental Chromecast support for Video Player app "
2489 "on ChromeOS.";
vabr0215a8e2017-03-28 12:47:342490
2491const char kNewZipUnpackerName[] = "New ZIP unpacker";
2492
2493const char kNewZipUnpackerDescription[] =
2494 "New ZIP unpacker flow, based on the File System Provider API.";
2495
vabr0215a8e2017-03-28 12:47:342496const char kOfficeEditingComponentAppName[] =
2497 "Office Editing for Docs, Sheets & Slides";
2498
2499const char kOfficeEditingComponentAppDescription[] =
2500 "Office Editing for Docs, Sheets & Slides for testing purposes.";
2501
2502const char kDisplayColorCalibrationName[] = "Color calibration of the display";
2503
2504const char kDisplayColorCalibrationDescription[] =
2505 "Allow color calibration of the display if the display supports the "
2506 "feature.";
2507
newcomer403ac142017-07-05 18:26:302508const char kEnableFullscreenAppListName[] = "Enable The Peeking Launcher";
2509
2510const char kEnableFullscreenAppListDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192511 "The peeking launcher UI supports touch and provides more space for "
2512 "upcoming features.";
newcomer403ac142017-07-05 18:26:302513
vabr0215a8e2017-03-28 12:47:342514const char kMemoryPressureThresholdName[] =
2515 "Memory discard strategy for advanced pressure handling";
2516
2517const char kMemoryPressureThresholdDescription[] =
2518 "Memory discarding strategy to use";
2519
2520const char kConservativeThresholds[] =
2521 "Conservative memory pressure release strategy";
2522
2523const char kAggressiveCacheDiscardThresholds[] =
2524 "Aggressive cache release strategy";
2525
2526const char kAggressiveTabDiscardThresholds[] =
2527 "Aggressive tab release strategy";
2528
2529const char kAggressiveThresholds[] =
2530 "Aggressive tab and cache release strategy";
2531
2532const char kWakeOnPacketsName[] = "Wake On Packets";
2533
2534const char kWakeOnPacketsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192535 "Enables waking the device based on the receipt of some network packets.";
vabr0215a8e2017-03-28 12:47:342536
brettw5f9c1642017-05-14 17:12:482537const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
vabr0215a8e2017-03-28 12:47:342538
2539const char kQuickUnlockPinDescription[] =
jdufault74476492017-04-20 01:20:002540 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2541 "device on the lock screen after you have signed into your device.";
2542
2543const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2544
2545const char kQuickUnlockPinSigninDescription[] =
2546 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2547 "device. After changing this flag PIN needs to be set up again.";
vabr0215a8e2017-03-28 12:47:342548
2549const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2550
2551const char kQuickUnlockFingerprintDescription[] =
2552 "Enabling fingerprint quick unlock allows you to setup and use a "
Vitalii Iarko7df520142017-07-07 12:53:192553 "fingerprint to unlock your Chromebook on the lock screen after you have "
2554 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342555
2556const char kExperimentalAccessibilityFeaturesName[] =
2557 "Experimental accessibility features";
2558
2559const char kExperimentalAccessibilityFeaturesDescription[] =
2560 "Enable additional accessibility features in the Settings page.";
2561
2562const char kDisableSystemTimezoneAutomaticDetectionName[] =
2563 "SystemTimezoneAutomaticDetection policy support";
2564
2565const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2566 "Disable system timezone automatic detection device policy.";
2567
2568const char kEolNotificationName[] = "Disable Device End of Life notification.";
2569
2570const char kEolNotificationDescription[] =
2571 "Disable Notifcation when Device is End of Life.";
2572
2573// Stylus strings
2574
2575const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2576
2577const char kForceEnableStylusToolsDescription[] =
2578 "Forces display of the stylus tools menu in the shelf and the stylus "
2579 "section in settings, even if there is no attached stylus device.";
2580
Toni Barzic0f3440a62017-07-19 20:19:312581const char kEnableLockScreenAppsName[] = "Enable lock screen note taking";
2582
2583const char kEnableLockScreenAppsDescription[] =
2584 "Enable new-note action handler apps on the lock screen. The user will be "
2585 "able to launch the preferred note-taking action from the lock screen, "
2586 "provided that the app supports lock screen note taking.";
2587
vabr0215a8e2017-03-28 12:47:342588// Network portal notification
2589
2590const char kNetworkPortalNotificationName[] =
2591 "Notifications about captive portals";
2592
2593const char kNetworkPortalNotificationDescription[] =
2594 "If enabled, notification is displayed when device is connected to a "
2595 "network behind captive portal.";
2596
stevenjbe1d457382017-05-24 22:37:242597const char kNetworkSettingsConfigName[] =
2598 "Settings based Network Configuration";
2599
2600const char kNetworkSettingsConfigDescription[] =
2601 "Enables the Settings based network configuration UI instead of the Views "
2602 "based configuration dialog.";
2603
vabr0215a8e2017-03-28 12:47:342604const char kMtpWriteSupportName[] = "MTP write support";
2605
2606const char kMtpWriteSupportDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192607 "MTP write support in File System API (and file manager). In-place editing "
2608 "operations are not supported.";
vabr0215a8e2017-03-28 12:47:342609
2610const char kCrosRegionsModeName[] = "Cros-regions load mode";
2611
2612const char kCrosRegionsModeDescription[] =
2613 "This flag controls cros-regions load mode";
2614
2615const char kCrosRegionsModeDefault[] = "Default";
2616
2617const char kCrosRegionsModeOverride[] = "Override VPD values.";
2618
2619const char kCrosRegionsModeHide[] = "Hide VPD values.";
2620
2621const char kPrinterProviderSearchAppName[] =
2622 "Chrome Web Store Gallery app for printer drivers";
2623
2624const char kPrinterProviderSearchAppDescription[] =
2625 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192626 "searches Chrome Web Store for extensions that support printing to a USB "
2627 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342628
2629const char kArcBootCompleted[] = "Load Android apps automatically";
2630
2631const char kArcBootCompletedDescription[] =
2632 "Allow Android apps to start automatically after signing in.";
2633
2634const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2635
2636const char kEnableImeMenuDescription[] =
2637 "Enable access to the new IME menu in the Language Settings page.";
2638
2639const char kEnableEhvInputName[] =
2640 "Emoji, handwriting and voice input on opt-in IME menu";
2641
2642const char kEnableEhvInputDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192643 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342644
fukino1b5ebe952017-04-07 05:35:302645const char kEnableEncryptionMigrationName[] =
2646 "Enable encryption migration of user data";
2647
2648const char kEnableEncryptionMigrationDescription[] =
2649 "If enabled and the device supports ARC, the user will be asked to update "
2650 "the encryption of user data when the user signs in.";
2651
Daniel Erat33054b22017-06-27 16:18:072652// Spurious power button detection
2653
2654const char kSpuriousPowerButtonWindowName[] = "Spurious power button window";
2655const char kSpuriousPowerButtonWindowDescription[] =
2656 "Number of recent accelerometer samples to examine to determine if a power "
2657 "button event was spurious.";
2658
2659const char kSpuriousPowerButtonAccelCountName[] =
2660 "Spurious power button acceleration count";
2661const char kSpuriousPowerButtonAccelCountDescription[] =
2662 "Number of recent acceleration samples that must meet or exceed exceed the "
2663 "threshold in order for a power button event to be considered spurious.";
2664
2665const char kSpuriousPowerButtonScreenAccelName[] =
2666 "Spurious power button screen acceleration threshold";
2667const char kSpuriousPowerButtonScreenAccelDescription[] =
2668 "Threshold (in m/s^2, disregarding gravity) that screen acceleration must "
2669 "meet or exceed for a power button event to be considered spurious.";
2670
2671const char kSpuriousPowerButtonKeyboardAccelName[] =
2672 "Spurious power button keyboard acceleration threshold";
2673const char kSpuriousPowerButtonKeyboardAccelDescription[] =
2674 "Threshold (in m/s^2, disregarding gravity) that keyboard acceleration "
2675 "must meet or exceed for a power button event to be considered spurious.";
2676
2677const char kSpuriousPowerButtonLidAngleChangeName[] =
2678 "Spurious power button lid angle change threshold";
2679const char kSpuriousPowerButtonLidAngleChangeDescription[] =
2680 "Change in lid angle (i.e. hinge between keyboard and screen) that must be "
2681 "met or exceeded for a power button event to be considered spurious.";
2682
vabr0215a8e2017-03-28 12:47:342683#endif // #if defined(OS_CHROMEOS)
2684
stanisc14bed0b132017-05-10 17:46:372685#if defined(OS_WIN)
2686
2687// Name and description of the flag that enables D3D v-sync.
2688const char kEnableD3DVsync[] = "D3D v-sync";
2689const char kEnableD3DVsyncDescription[] =
2690 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2691 "to occur.";
2692
2693#endif // defined(OS_WIN)
2694
thestig0c55ee32017-06-20 22:17:512695#if !defined(OS_ANDROID)
treib273e9db2017-05-11 14:02:262696
msarda6d4b3dc2017-06-02 15:39:472697const char kAccountConsistencyName[] =
2698 "Identity consistency between browser and cookie jar";
2699
2700const char kAccountConsistencyDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192701 "When enabled, the browser manages signing in and out of Google accounts.";
msarda6d4b3dc2017-06-02 15:39:472702
2703const char kAccountConsistencyChoiceMirror[] = "Mirror";
2704const char kAccountConsistencyChoiceDice[] = "Dice";
2705
treib273e9db2017-05-11 14:02:262706const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2707const char kUseGoogleLocalNtpDescription[] =
2708 "Use the local New Tab page if Google is the default search engine.";
2709
2710const char kOneGoogleBarOnLocalNtpName[] =
2711 "Enable the OneGoogleBar on the local NTP";
2712const char kOneGoogleBarOnLocalNtpDescription[] =
2713 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2714 "search engine.";
2715
thestig0c55ee32017-06-20 22:17:512716#endif // !defined(OS_ANDROID)
treib273e9db2017-05-11 14:02:262717
lgreyc0b638e52017-05-11 19:10:172718#if defined(OS_MACOSX)
2719extern const char kMacRTLName[] = "Enable RTL";
2720extern const char kMacRTLDescription[] =
2721 "Mirrors the UI for RTL language users";
spqchand24dbd52017-07-21 00:57:062722extern const char kMacTouchBarName[] = "Hardware Touch Bar";
elawrence408bddb2017-06-15 16:07:382723extern const char kMacTouchBarDescription[] =
spqchand24dbd52017-07-21 00:57:062724 "Control the use of the Touch Bar.";
2725extern const char kCreditCardAutofillTouchBarName[] =
2726 "Credit Card Autofill Touch Bar";
2727extern const char kCreditCardAutofillTouchBarDescription[] =
2728 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
lgreyc0b638e52017-05-11 19:10:172729#endif
2730
yhanadac5bff5b2017-05-18 06:37:092731#if defined(OS_CHROMEOS)
2732
2733const char kDisableNewVirtualKeyboardBehaviorName[] =
2734 "New window behavior for the accessibility keyboard";
2735const char kDisableNewVirtualKeyboardBehaviorDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192736 "Disable new window behavior for the accessibility keyboard in non-sticky "
2737 "mode (do not change work area in non-sticky mode).";
yhanadac5bff5b2017-05-18 06:37:092738
bruthigeafb0c02017-06-09 13:11:532739const char kUiDevToolsName[] = "Enable native UI inspection";
2740const char kUiDevToolsDescription[] =
2741 "Enables inspection of native UI elements. For local inspection use "
2742 "chrome://inspect#other";
2743
Takashi Toyoshima14f64f562017-07-19 08:38:202744const char kUseCrosMidiServiceName[] = "Use Chrome OS MIDI Service";
2745const char kUseCrosMidiServiceNameDescription[] =
2746 "Use Chrome OS MIDI Service for Web MIDI and allow ARC to support Android "
2747 "MIDI.";
2748
orenb21da031c2017-06-30 21:24:202749const char kMultideviceName[] = "Enable multidevice features";
2750const char kMultideviceDescription[] =
2751 "Enables UI for controlling multidevice features.";
2752
yhanadac5bff5b2017-05-18 06:37:092753#endif // defined(OS_CHROMEOS)
2754
vabr0215a8e2017-03-28 12:47:342755} // namespace flag_descriptions