blob: 363854e9bd34c94ddb4def4ddbe81830f6ca6c3c [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[] =
227 "Enables a Smart Lock setting that allows Chromebook to discover phones "
228 "over Bluetooth Low Energy in order to unlock the Chromebook when the "
229 "phone is in its proximity.";
230
Brett Wilsonf27ff602017-07-07 22:28:47231const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
232const char kEmbeddedExtensionOptionsDescription[] =
233 "Display extension options as an embedded element in chrome://extensions "
234 "rather than opening a new tab.";
235
236const char kEnableAsmWasmName[] =
237 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
238const char kEnableAsmWasmDescription[] =
239 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
240 R"*(WebAssembly.)*";
241
242const char kEnableAutofillCreditCardBankNameDisplayName[] =
243 "Display the issuer bank name of a credit card in autofill.";
244const char kEnableAutofillCreditCardBankNameDisplayDescription[] =
245 "If enabled, displays the issuer bank name of a credit card in autofill.";
246
247const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
248 "Display the last used date of a credit card in autofill.";
249const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
250 "If enabled, display the last used date of a credit card in autofill.";
251
252const char kEnableAutofillCreditCardUploadCvcPromptName[] =
253 "Enable requesting missing CVC during Autofill credit card upload";
254const char kEnableAutofillCreditCardUploadCvcPromptDescription[] =
255 "If enabled, requests missing CVC when offering to upload credit cards to "
256 "Google Payments.";
257
258const char kEnableBrotliName[] = "Brotli Content-Encoding.";
259const char kEnableBrotliDescription[] =
260 "Enable Brotli Content-Encoding support.";
261
262const char kEnableClearBrowsingDataCountersName[] =
263 "Enable Clear browsing data counters.";
264const char kEnableClearBrowsingDataCountersDescription[] =
265 "Shows data volume counters in the Clear browsing data dialog.";
266
sclittle50e4bb92017-07-08 02:23:03267const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
268
269const char kEnableClientLoFiDescription[] =
270 "Enable showing low fidelity images on some pages on slow networks.";
271
Brett Wilsonf27ff602017-07-07 22:28:47272const char kEnableDataReductionProxyLitePageName[] =
273 "Lite pages for Data Saver Lo-Fi mode";
274const char kEnableDataReductionProxyLitePageDescription[] =
275 "Enable lite pages in Data Saver Lo-Fi mode. Previews of pages will be "
276 "shown instead of image placeholders when Lo-Fi is on. Data Saver and "
277 "Lo-Fi must be enabled for lite pages to be shown.";
278
279const char kDataReductionProxyServerAlternative[] =
280 "Use alternative server configuration";
281const char kEnableDataReductionProxyServerExperimentName[] =
282 "Use an alternative Data Saver back end configuration.";
283const char kEnableDataReductionProxyServerExperimentDescription[] =
284 "Enable a different approach to saving data by configuring the back end "
285 "server";
286
287const char kEnableDataReductionProxySavingsPromoName[] =
288 "Data Saver 1 MB Savings Promo";
289const char kEnableDataReductionProxySavingsPromoDescription[] =
290 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
291 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
292 "enabled for the promo to be shown.";
293
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17294const char kEnableDesktopPWAWindowingName[] =
295 "Windowing related features for desktop PWAs.";
296const char kEnableDesktopPWAWindowingDescription[] =
297 "Enable experimental windowing features for desktop PWAs.";
298
Brett Wilsonf27ff602017-07-07 22:28:47299const char kEnableEnumeratingAudioDevicesName[] =
300 "Experimentally enable enumerating audio devices.";
301const char kEnableEnumeratingAudioDevicesDescription[] =
302 "Experimentally enable the use of enumerating audio devices.";
303
304const char kEnableGenericSensorName[] = "Generic Sensor";
305const char kEnableGenericSensorDescription[] =
306 "Enable sensor APIs based on Generic Sensor API.";
307
Brett Wilsonf27ff602017-07-07 22:28:47308const char kEnableHDRName[] = "HDR mode";
309const char kEnableHDRDescription[] =
310 "Enables HDR support on compatible displays.";
311
312const char kEnableHeapProfilingName[] = "Heap profiling";
313const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
314const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
315const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
316const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
317
318const char kEnableHttpFormWarningName[] =
319 "Show in-form warnings for sensitive fields when the top-level page is not "
320 "not HTTPS";
321const char kEnableHttpFormWarningDescription[] =
322 "Attaches a warning UI to any password or credit card fields detected when "
323 "the top-level page is not HTTPS";
324
325const char kEnableIdleTimeSpellCheckingName[] =
326 "Enable idle time spell checker";
327const char kEnableIdleTimeSpellCheckingDescription[] =
328 "Make spell-checking code run only when the browser is idle, so that input "
329 "latency is reduced, especially when editing long articles, emails, etc.";
vabr0215a8e2017-03-28 12:47:34330
331const char kEnableMaterialDesignBookmarksName[] =
332 "Enable Material Design bookmarks";
vabr0215a8e2017-03-28 12:47:34333const char kEnableMaterialDesignBookmarksDescription[] =
334 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
335 "bookmarks page.";
336
vabr0215a8e2017-03-28 12:47:34337const char kEnableMaterialDesignExtensionsName[] =
338 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34339const char kEnableMaterialDesignExtensionsDescription[] =
340 "If enabled, the chrome://extensions/ URL loads the Material Design "
341 "extensions page.";
342
vabr0215a8e2017-03-28 12:47:34343const char kEnableMaterialDesignFeedbackName[] =
344 "Enable Material Design feedback";
vabr0215a8e2017-03-28 12:47:34345const char kEnableMaterialDesignFeedbackDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:19346 "If enabled, reporting an issue will load the Material Design feedback UI.";
vabr0215a8e2017-03-28 12:47:34347
Brett Wilsonf27ff602017-07-07 22:28:47348const char kEnableMaterialDesignPolicyPageName[] =
349 "Enable Material Design policy page";
350const char kEnableMaterialDesignPolicyPageDescription[] =
351 "If enabled, the chrome://md-policy URL loads the Material Design policy "
352 "page.";
galinapae72e152017-05-12 13:12:28353
Brett Wilsonf27ff602017-07-07 22:28:47354const char kEnableMidiManagerDynamicInstantiationName[] =
355 "MIDIManager dynamic instantiation for Web MIDI.";
356const char kEnableMidiManagerDynamicInstantiationDescription[] =
357 "Enable MIDIManager dynamic instantiation for Web MIDI.";
358
359const char kEnableNavigationTracingName[] = "Enable navigation tracing";
360const char kEnableNavigationTracingDescription[] =
361 "This is to be used in conjunction with the trace-upload-url flag. "
362 "WARNING: When enabled, Chrome will record performance data for every "
363 "navigation and upload it to the URL specified by the trace-upload-url "
364 "flag. The trace may include personally identifiable information (PII) "
365 "such as the titles and URLs of websites you visit.";
366
367const char kEnableNetworkServiceName[] = "Enable network service";
368const char kEnableNetworkServiceDescription[] =
369 "Enables the network service, which makes network requests through a "
370 "separate service. Note: most features don't work with this yet.";
371
372const char kEnablePictureInPictureName[] = "Enable picture in picture.";
373const char kEnablePictureInPictureDescription[] =
374 "Enable the picture in picture feature for videos.";
375
Michael van Ouwerkerk093585592017-07-13 16:01:18376const char kEnableSuggestionsHomeModernLayoutName[] =
377 "Enable modern layout for suggestions.";
378const char kEnableSuggestionsHomeModernLayoutDescription[] =
379 "Enable modern layout for suggestions in Chrome Home.";
380
Brett Wilsonf27ff602017-07-07 22:28:47381const char kEnableTokenBindingName[] = "Token Binding.";
382const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
383
Irmak Kavasoglu7e16af02017-07-19 09:52:47384const char kEnableUsernameCorrectionName[] = "Enable username correction";
385const char kEnableUsernameCorrectionDescription[] =
386 "While on the pending password state, add an edit button to the bubble so "
387 "that user can edit the username.";
388
Brett Wilsonf27ff602017-07-07 22:28:47389const char kEnableUseZoomForDsfName[] =
390 "Use Blink's zoom for device scale factor.";
391const char kEnableUseZoomForDsfDescription[] =
392 "If enabled, Blink uses its zooming mechanism to scale content for device "
393 "scale factor.";
394const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
395const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
396const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
397
398const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
399const char kEnableScrollAnchoringDescription[] =
400 "Adjusts scroll position to prevent visible jumps when offscreen content "
401 "changes.";
402
403const char kEnableSharedArrayBufferName[] =
404 "Experimental enabled SharedArrayBuffer support in JavaScript.";
405const char kEnableSharedArrayBufferDescription[] =
406 "Enable SharedArrayBuffer support in JavaScript.";
407
408const char kEnableWasmName[] = "WebAssembly structured cloning support.";
409const char kEnableWasmDescription[] =
410 "Enable web pages to use WebAssembly structured cloning.";
411
412const char kEnableWebUsbName[] = "WebUSB";
413const char kEnableWebUsbDescription[] = "Enable WebUSB support.";
414
415const char kEnableImageCaptureAPIName[] = "Image Capture API";
416const char kEnableImageCaptureAPIDescription[] =
417 "Enables the Web Platform Image Capture API: takePhoto(), "
418 "getPhotoCapabilities(), etc.";
419
420const char kEnableZeroSuggestRedirectToChromeName[] =
421 "Experimental contextual omnibox suggestion";
422const char kEnableZeroSuggestRedirectToChromeDescription[] =
423 "Change omnibox contextual suggestions to an experimental source. Note "
424 "that this is not an on/off switch for contextual omnibox and it only "
425 "applies to suggestions provided before the user starts typing a URL or a "
426 "search query (i.e. zero suggest).";
427
428const char kEnableWasmStreamingName[] =
429 "WebAssembly streaming compile/instantiate support.";
430const char kEnableWasmStreamingDescription[] =
431 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
432
433const char kEnableWebfontsInterventionName[] =
434 "New version of User Agent Intervention for WebFonts loading.";
435const char kEnableWebfontsInterventionDescription[] =
436 "Enable New version of User Agent Intervention for WebFonts loading.";
437const char kEnableWebfontsInterventionV2ChoiceDefault[] = "Default";
438const char kEnableWebfontsInterventionV2ChoiceEnabledWith2g[] = "Enabled: 2G";
439const char kEnableWebfontsInterventionV2ChoiceEnabledWith3g[] = "Enabled: 3G";
440const char kEnableWebfontsInterventionV2ChoiceEnabledWithSlow2g[] =
441 "Enabled: Slow 2G";
442const char kEnableWebfontsInterventionV2ChoiceDisabled[] = "Disabled";
443
444const char kEnableWebfontsInterventionTriggerName[] =
445 "Trigger User Agent Intervention for WebFonts loading always.";
446const char kEnableWebfontsInterventionTriggerDescription[] =
447 "Enable to trigger User Agent Intervention for WebFonts loading always. "
448 "This flag affects only when the intervention is enabled.";
449
450const char kEnableWebNotificationCustomLayoutsName[] =
451 "Enable custom layouts for Web Notifications.";
452const char kEnableWebNotificationCustomLayoutsDescription[] =
453 "Enable custom layouts for Web Notifications. They will have subtle layout "
454 "improvements that are otherwise not possible.";
455
456const char kExpensiveBackgroundTimerThrottlingName[] =
457 "Throttle expensive background timers";
458const char kExpensiveBackgroundTimerThrottlingDescription[] =
459 "Enables intervention to limit CPU usage of background timers to 1%.";
460
461const char kExperimentalAppBannersName[] = "Experimental app banners";
462const char kExperimentalAppBannersDescription[] =
463 "Enables a new experimental app banner flow and UI";
464
465const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
466const char kExperimentalCanvasFeaturesDescription[] =
467 "Enables the use of experimental canvas features which are still in "
468 "development.";
469
470const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
471const char kExperimentalExtensionApisDescription[] =
472 "Enables experimental extension APIs. Note that the extension gallery "
473 "doesn't allow you to upload extensions that use experimental APIs.";
474
475const char kExperimentalFullscreenExitUIName[] =
476 "Experimental fullscreen exit UI";
477const char kExperimentalFullscreenExitUIDescription[] =
478 "Displays experimental UI to allow mouse and touch input methods to exit "
479 "fullscreen mode.";
480
481const char kExperimentalHotwordHardwareName[] =
482 "Simulated hardware 'Ok Google' features";
483const char kExperimentalHotwordHardwareDescription[] =
484 "Enables an experimental version of 'Ok Google' hotword detection features "
485 "that have a hardware dependency.";
486
487const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
488const char kExperimentalKeyboardLockUiDescription[] =
489 "An experimental full screen with keyboard lock mode requiring users to "
490 "hold Esc to exit.";
491
492const char kExperimentalSecurityFeaturesName[] =
493 "Potentially annoying security features";
494const char kExperimentalSecurityFeaturesDescription[] =
495 "Enables several security features that will likely break one or more "
496 "pages that you visit on a daily basis. Strict mixed content checking, for "
497 "example. And locking powerful features to secure contexts. This flag will "
498 "probably annoy you.";
499
500const char kExperimentalWebPlatformFeaturesName[] =
501 "Experimental Web Platform features";
502const char kExperimentalWebPlatformFeaturesDescription[] =
503 "Enables experimental Web Platform features that are in development.";
504
505const char kExtensionContentVerificationName[] =
506 "Extension Content Verification";
507const char kExtensionContentVerificationDescription[] =
508 "This flag can be used to turn on verification that the contents of the "
509 "files on disk for extensions from the webstore match what they're "
510 "expected to be. This can be used to turn on this feature if it would not "
511 "otherwise have been turned on, but cannot be used to turn it off (because "
512 "this setting can be tampered with by malware).";
513const char kExtensionContentVerificationBootstrap[] =
514 "Bootstrap (get expected hashes, but do not enforce them)";
515const char kExtensionContentVerificationEnforce[] =
516 "Enforce (try to get hashes, and enforce them if successful)";
517const char kExtensionContentVerificationEnforceStrict[] =
518 "Enforce strict (hard fail if we can't get hashes)";
519
520const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
521const char kExtensionsOnChromeUrlsDescription[] =
522 "Enables running extensions on chrome:// URLs, where extensions explicitly "
523 "request this permission.";
galinapae72e152017-05-12 13:12:28524
Brett Wilsonecb80982017-07-12 20:34:51525const char kFastUnloadName[] = "Fast tab/window close";
526const char kFastUnloadDescription[] =
527 "Enables fast tab/window closing - runs a tab's onunload js handler "
528 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34529
Brett Wilsonecb80982017-07-12 20:34:51530const char kFeaturePolicyName[] = "Feature Policy";
531const char kFeaturePolicyDescription[] =
532 "Enables granting and removing access to features through the "
533 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34534
Brett Wilsonecb80982017-07-12 20:34:51535const char kFetchKeepaliveTimeoutSettingName[] =
536 "Fetch API keepalive timeout setting";
537const char kFetchKeepaliveTimeoutSettingDescription[] =
538 "This is for setting the timeout value for Fetch API with keepalive option "
539 "and SendBeacon";
540
541const char kFontCacheScalingName[] = "FontCache scaling";
542const char kFontCacheScalingDescription[] =
543 "Reuse a cached font in the renderer to serve different sizes of font for "
544 "faster layout.";
545
546const char kForceEffectiveConnectionTypeName[] =
547 "Override effective connection type";
548const char kForceEffectiveConnectionTypeDescription[] =
549 "Overrides the effective connection type of the current connection "
550 "returned by the network quality estimator.";
551const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
552const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
553const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
554const char kEffectiveConnectionType2GDescription[] = "2G";
555const char kEffectiveConnectionType3GDescription[] = "3G";
556const char kEffectiveConnectionType4GDescription[] = "4G";
557
558const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
559const char kFillOnAccountSelectDescription[] =
560 "Filling of passwords when an account is explicitly selected by the user "
561 "rather than autofilling credentials on page load.";
562
563const char kForceTabletModeName[] = "Force Tablet Mode";
564const char kForceTabletModeDescription[] =
565 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
566 R"*(despite its current orientation. "TouchView" means that the )*"
567 R"*(chromebook will act as if it were in touch view mode. "Clamshell" )*"
568 R"*(means that the chromebook will act as if it were in clamshell )*"
569 R"*(mode . "Auto" means that the chromebook will alternate between )*"
570 R"*(the two, based on its orientation.)*";
571const char kForceTabletModeTouchview[] = "TouchView";
572const char kForceTabletModeClamshell[] = "Clamshell";
573const char kForceTabletModeAuto[] = "Auto (default)";
574
575const char kForceTextDirectionName[] = "Force text direction";
576const char kForceTextDirectionDescription[] =
577 "Explicitly force the per-character directionality of UI text to "
578 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
579 "direction of the character language.";
580const char kForceDirectionLtr[] = "Left-to-right";
581const char kForceDirectionRtl[] = "Right-to-left";
582
583const char kForceUiDirectionName[] = "Force UI direction";
584const char kForceUiDirectionDescription[] =
585 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
586 "mode, overriding the default direction of the UI language.";
587
588const char kFramebustingName[] =
589 "Framebusting requires same-origin or a user gesture";
590const char kFramebustingDescription[] =
591 "Don't permit an iframe to navigate the top level browsing context unless "
592 "they are same-origin or the iframe is processing a user gesture.";
593
594const char kGamepadExtensionsName[] = "Gamepad Extensions";
595const char kGamepadExtensionsDescription[] =
596 "Enabling this option allows web applications to access experimental "
597 "extensions to the Gamepad APIs.";
598
sohan3f00ffc2017-07-14 22:28:08599const char kGlCompositedOverlayCandidateQuadBordersName[] =
600 "GL composited overlay candidate quad borders";
601const char kGlCompositedOverlayCandidateQuadBordersDescription[] =
602 "Renders a border around GL composited overlay candidate quads to help debug and "
Brett Wilsonecb80982017-07-12 20:34:51603 "study overlay support.";
604
605const char kGpuRasterizationMsaaSampleCountName[] =
606 "GPU rasterization MSAA sample count.";
607const char kGpuRasterizationMsaaSampleCountDescription[] =
608 "Specify the number of MSAA samples for GPU rasterization.";
609const char kGpuRasterizationMsaaSampleCountZero[] = "0";
610const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
611const char kGpuRasterizationMsaaSampleCountFour[] = "4";
612const char kGpuRasterizationMsaaSampleCountEight[] = "8";
613const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
614
615const char kGpuRasterizationName[] = "GPU rasterization";
616const char kGpuRasterizationDescription[] =
617 "Use GPU to rasterize web content. Requires impl-side painting.";
618
619const char kGoogleProfileInfoName[] = "Google profile name and icon";
620const char kGoogleProfileInfoDescription[] =
621 "Enables using Google information to populate the profile name and icon in "
622 "the avatar menu.";
623
624const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
625const char kHarfbuzzRendertextDescription[] =
626 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
627 "web content.";
628
629const char kHistoryRequiresUserGestureName[] =
630 "New history entries require a user gesture.";
631const char kHistoryRequiresUserGestureDescription[] =
632 "Require a user gesture to add a history entry.";
633const char kHyperlinkAuditingName[] = "Hyperlink auditing";
634const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
635
636const char kHostedAppQuitNotificationName[] =
637 "Quit notification for hosted apps";
638const char kHostedAppQuitNotificationDescription[] =
639 "Display a notification when quitting Chrome if hosted apps are currently "
640 "running.";
641
642const char kHostedAppShimCreationName[] =
643 "Creation of app shims for hosted apps on Mac";
644const char kHostedAppShimCreationDescription[] =
645 "Create app shims on Mac when creating a hosted app.";
646
647const char kIconNtpName[] = "Large icons on the New Tab page";
648const char kIconNtpDescription[] =
649 "Enable the experimental New Tab page using large icons.";
650
651const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
652const char kIgnoreGpuBlacklistDescription[] =
653 "Overrides the built-in software rendering list and enables "
654 "GPU-acceleration on unsupported system configurations.";
655
656const char kImportantSitesInCbdName[] =
657 "Important sites options in clear browsing data dialog";
658const char kImportantSitesInCbdDescription[] =
659 "Include the option to whitelist important sites in the clear browsing "
660 "data dialog.";
661
662const char kInertVisualViewportName[] = "Inert visual viewport.";
663const char kInertVisualViewportDescription[] =
664 "Experiment to have all APIs reflect the layout viewport. This will make "
665 "window.scroll properties relative to the layout viewport.";
666
667const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
668const char kInProductHelpDemoModeChoiceDescription[] =
669 "Selects the In-Product Help demo mode.";
670
671const char kJavascriptHarmonyName[] = "Experimental JavaScript";
672const char kJavascriptHarmonyDescription[] =
673 "Enable web pages to use experimental JavaScript features.";
674
675const char kJavascriptHarmonyShippingName[] =
676 "Latest stable JavaScript features";
677const char kJavascriptHarmonyShippingDescription[] =
678 "Some web pages use legacy or non-standard JavaScript extensions that may "
679 "conflict with the latest JavaScript features. This flag allows disabling "
680 "support of those features for compatibility with such pages.";
681
682const char kLcdTextName[] = "LCD text antialiasing";
683const char kLcdTextDescription[] =
684 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
685 "(subpixel) when doing accelerated compositing.";
686
687const char kLoadMediaRouterComponentExtensionName[] =
688 "Load Media Router Component Extension";
689const char kLoadMediaRouterComponentExtensionDescription[] =
690 "Loads the Media Router component extension at startup.";
691
692const char kManualPasswordGenerationName[] = "Manual password generation.";
693const char kManualPasswordGenerationDescription[] =
694 "Show a 'Generate Password' option on the context menu for all password "
695 "fields.";
696
697const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
698const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
699const char kMarkHttpAsDangerous[] = "Always mark HTTP as actively dangerous";
700const char kMarkHttpAsNonSecureAfterEditing[] =
701 "Warn on HTTP after editing forms";
702const char kMarkHttpAsNonSecureWhileIncognito[] =
703 "Warn on HTTP while in Incognito mode";
704const char kMarkHttpAsNonSecureWhileIncognitoOrEditing[] =
705 "Warn on HTTP while in Incognito mode or after editing forms";
706
707extern const char kMaterialDesignIncognitoNTPName[] =
708 "Material Design Incognito NTP.";
709extern const char kMaterialDesignIncognitoNTPDescription[] =
710 "If enabled, the Incognito New Tab page uses the new material design with "
711 "a better readable text.";
712
713const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
714const char kMediaRemotingDescription[] =
715 "When Casting a tab to a remote device, enabling this turns on an "
716 "optimization that forwards the content bitstream directly to the remote "
717 "device when a video is fullscreened.";
718
719const char kMemoryAblationName[] = "Memory ablation experiment";
720const char kMemoryAblationDescription[] =
721 "Allocates extra memory in the browser process.";
722
723const char kMemoryCoordinatorName[] = "Memory coordinator";
724const char kMemoryCoordinatorDescription[] =
725 "Enable memory coordinator instead of memory pressure listeners.";
726
727const char kMessageCenterNewStyleNotificationName[] = "New style notification";
728const char kMessageCenterNewStyleNotificationDescription[] =
729 "Enables the experiment style of material-design notification";
730
731const char kMessageCenterAlwaysScrollUpUponRemovalName[] =
732 "Experiments that message center always scroll up upon notification "
733 "removal";
734const char kMessageCenterAlwaysScrollUpUponRemovalDescription[] =
735 "Enables experiment that message center always scroll up when a "
736 "notification is removed.";
737
738const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
739const char kMhtmlGeneratorOptionDescription[] =
740 "Provides experimental options for MHTML file generator.";
741const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
742const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
743
744const char kMojoLoadingName[] = "Use Mojo IPC for resource loading";
745const char kMojoLoadingDescription[] =
746 "Use Mojo IPC instead of traditional Chrome IPC for resource loading.";
747
748const char kModuleScriptsName[] = "Enable ECMAScript 6 modules";
749const char kModuleScriptsDescription[] =
750 "Enables ECMAScript 6 modules support in Blink.";
751
752const char kNewAudioRenderingMixingStrategyName[] =
753 "New audio rendering mixing strategy";
754const char kNewAudioRenderingMixingStrategyDescription[] =
755 "Use the new audio rendering mixing strategy.";
756
757const char kNewBookmarkAppsName[] = "The new bookmark app system";
758const char kNewBookmarkAppsDescription[] =
759 "Enables the new system for creating bookmark apps.";
760
761const char kNewOmniboxAnswerTypesName[] =
762 "New omnibox answers in suggest types";
763const char kNewOmniboxAnswerTypesDescription[] =
764 "Enables new types of answers in the omnibox suggest drop-down: currency "
765 "conversions, dictionary definitions, sports scores, translations, and "
766 "when is.";
767
768const char kNewRemotePlaybackPipelineName[] =
769 "Enable the new remote playback pipeline.";
770const char kNewRemotePlaybackPipelineDescription[] =
771 "Enable the new pipeline for playing media element remotely via "
772 "RemotePlayback API or native controls.";
773
774const char kNewUsbBackendName[] = "Enable new USB backend";
775const char kNewUsbBackendDescription[] =
776 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34777
brettw5f9c1642017-05-14 17:12:48778const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34779const char kNostatePrefetchDescription[] =
780 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
781 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
782 R"*(improve load times even more. "Simple Load" does nothing and is )*"
783 R"*(similar to disabling the feature, but collects more metrics for )*"
784 R"*(comparison purposes.)*";
785
Brett Wilsonecb80982017-07-12 20:34:51786const char kNotificationsNativeFlagName[] = "Enable native notifications.";
787const char kNotificationsNativeFlagDescription[] =
788 "Enable support for using the native notification toasts and notification "
789 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34790
Brett Wilsonecb80982017-07-12 20:34:51791const char kNumRasterThreadsName[] = "Number of raster threads";
792const char kNumRasterThreadsDescription[] =
793 "Specify the number of raster threads.";
794const char kNumRasterThreadsOne[] = "1";
795const char kNumRasterThreadsTwo[] = "2";
796const char kNumRasterThreadsThree[] = "3";
797const char kNumRasterThreadsFour[] = "4";
798
799const char kOfferStoreUnmaskedWalletCardsName[] =
800 "Google Payments card saving checkbox";
801const char kOfferStoreUnmaskedWalletCardsDescription[] =
802 "Show the checkbox to offer local saving of a credit card downloaded from "
803 "the server.";
804
805const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
806const char kOfflineAutoReloadDescription[] =
807 "Pages that fail to load while the browser is offline will be "
808 "auto-reloaded when the browser is online again.";
809
810const char kOfflineAutoReloadVisibleOnlyName[] =
811 "Only Auto-Reload Visible Tabs";
812const char kOfflineAutoReloadVisibleOnlyDescription[] =
813 "Pages that fail to load while the browser is offline will only be "
814 "auto-reloaded if their tab is visible.";
815
816const char kOffMainThreadFetchName[] = "Off-main-thread fetch for Web Workers";
817const char kOffMainThreadFetchDescription[] =
818 "If enabled, the resource fetches from worker threads will not be blocked "
819 "by the busy main thread.";
820
821const char kOmniboxDisplayTitleForCurrentUrlName[] =
822 "Include title for the current URL in the omnibox";
823const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
824 "In the event that the omnibox provides suggestions on-focus, the URL of "
825 "the current page is provided as the first suggestion without a title. "
826 "Enabling this flag causes the title to be displayed.";
827
828const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
829 "Omnibox UI Elide Suggestion URL After Host";
830const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
831 "Elides the path, query, and ref of suggested URLs in the Omnibox "
832 "dropdown.";
833
Benoit Lizeab08362c2017-07-19 14:50:54834const char kOmniboxSpareRendererName[] =
835 "Start spare renderer on omnibox focus";
836const char kOmniboxSpareRendererDescription[] =
837 "When the omnibox is focused, start an empty spare renderer. This can "
838 "speed up the load of the navigation from the omnibox.";
839
Brett Wilsonecb80982017-07-12 20:34:51840const char kOmniboxUIHideSuggestionUrlSchemeName[] =
841 "Omnibox UI Hide Suggestion URL Scheme";
842const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
843 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
844
845const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
846 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
847const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
848 "Elides trivially informative subdomains from suggested URLs in the "
849 "Omnibox dropdown (e.g. www. and m.).";
850
851const char kOmniboxUIMaxAutocompleteMatchesName[] =
852 "Omnibox UI Max Autocomplete Matches";
853
854const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
855 "Changes the maximum number of autocomplete matches displayed in the "
856 "Omnibox UI.";
857
858const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
859const char kOmniboxUINarrowDropdownDescription[] =
860 "Makes the suggestions dropdown width match the omnibox width.";
861
862const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
863const char kOmniboxUIVerticalLayoutDescription[] =
864 "Displays Omnibox sugestions in 2 lines - title over origin.";
865
866const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
867const char kOmniboxUIVerticalMarginDescription[] =
868 "Changes the vertical margin in the Omnibox UI.";
869
870const char kOriginTrialsName[] = "Origin Trials";
871const char kOriginTrialsDescription[] =
872 "Enables origin trials for controlling access to feature/API experiments.";
873
874const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
875const char kOverlayScrollbarsDescription[] =
876 "Enable the experimental overlay scrollbars implementation. You must also "
877 "enable threaded compositing to have the scrollbars animate.";
878
879const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
880const char kOverscrollHistoryNavigationDescription[] =
881 "Experimental history navigation in response to horizontal overscroll.";
882const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
883
884const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
885const char kOverscrollStartThresholdDescription[] =
886 "Changes overscroll start threshold relative to the default value.";
887const char kOverscrollStartThreshold133Percent[] = "133%";
888const char kOverscrollStartThreshold166Percent[] = "166%";
889const char kOverscrollStartThreshold200Percent[] = "200%";
890
891const char kPassiveEventListenerDefaultName[] =
892 "Passive Event Listener Override";
893const char kPassiveEventListenerDefaultDescription[] =
894 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
895 "haven't requested otherwise) to be treated as passive. This will break "
896 "touch/wheel behavior on some websites but is useful for demonstrating the "
897 "potential performance benefits of adopting passive event listeners.";
898const char kPassiveEventListenerTrue[] = "True (when unspecified)";
899const char kPassiveEventListenerForceAllTrue[] = "Force All True";
900
901const char kPassiveEventListenersDueToFlingName[] =
902 "Touch Event Listeners Passive Default During Fling";
903const char kPassiveEventListenersDueToFlingDescription[] =
904 "Forces touchstart, and first touchmove per scroll event listeners during "
905 "fling to be treated as passive.";
906
907const char kPassiveDocumentEventListenersName[] =
908 "Document Level Event Listeners Passive Default";
909const char kPassiveDocumentEventListenersDescription[] =
910 "Forces touchstart, and touchmove event listeners on document level "
911 "targets (which haven't requested otherwise) to be treated as passive.";
912
913const char kPasswordForceSavingName[] = "Force-saving of passwords";
914const char kPasswordForceSavingDescription[] =
915 "Allow the user to manually enforce password saving instead of relying on "
916 "password manager's heuristics.";
917
918const char kPasswordGenerationName[] = "Password generation";
919const char kPasswordGenerationDescription[] =
920 "Allow the user to have Chrome generate passwords when it detects account "
921 "creation pages.";
922
923const char kPasswordImportExportName[] = "Password import and export";
924const char kPasswordImportExportDescription[] =
925 "Import and Export functionality in password settings.";
926
927const char kPermissionActionReportingName[] = "Permission Action Reporting";
928const char kPermissionActionReportingDescription[] =
929 "Enables permission action reporting to Safe Browsing servers for opted in "
930 "users.";
931
932const char kPermissionsBlacklistName[] = "Permissions Blacklist";
933const char kPermissionsBlacklistDescription[] =
934 "Enables the Permissions Blacklist, which blocks permissions for "
935 "blacklisted sites for Safe Browsing users.";
936
937const char kPinchScaleName[] = "Pinch scale";
938const char kPinchScaleDescription[] =
939 "Enables experimental support for scale using pinch.";
940
941const char kPreferHtmlOverPluginsName[] = "Prefer HTML over Flash";
942const char kPreferHtmlOverPluginsDescription[] =
943 "Prefer HTML content by hiding Flash from the list of plugins.";
944
945const char kPrintPdfAsImageName[] = "Print Pdf as Image";
946const char kPrintPdfAsImageDescription[] =
947 "If enabled, an option to print PDF files as images will be available in "
948 "print preview.";
949
950const char kPrintPreviewRegisterPromosName[] =
951 "Print Preview Registration Promos";
952const char kPrintPreviewRegisterPromosDescription[] =
953 "Enable registering unregistered cloud printers from print preview.";
954
955const char kProtectSyncCredentialName[] = "Autofill sync credential";
956const char kProtectSyncCredentialDescription[] =
957 "How the password manager handles autofill for the sync credential.";
958
959const char kProtectSyncCredentialOnReauthName[] =
960 "Autofill sync credential only for transactional reauth pages";
961const char kProtectSyncCredentialOnReauthDescription[] =
962 "How the password manager handles autofill for the sync credential only "
963 "for transactional reauth pages.";
964
965const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
966const char kPushApiBackgroundModeDescription[] =
967 "Enable background mode for the Push API. This allows Chrome to continue "
968 "running after the last window is closed, and to launch at OS startup, if "
969 "the Push API needs it.";
970
971const char kQuicName[] = "Experimental QUIC protocol";
972const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
973
974const char kReducedReferrerGranularityName[] =
975 "Reduce default 'referer' header granularity.";
976const char kReducedReferrerGranularityDescription[] =
977 "If a page hasn't set an explicit referrer policy, setting this flag will "
978 "reduce the amount of information in the 'referer' header for cross-origin "
979 "requests.";
980
981const char kRequestTabletSiteName[] =
982 "Request tablet site option in the settings menu";
983const char kRequestTabletSiteDescription[] =
984 "Allows the user to request tablet site. Web content is often optimized "
985 "for tablet devices. When this option is selected the user agent string is "
986 "changed to indicate a tablet device. Web content optimized for tablets is "
987 "received there after for the current tab.";
988
989const char kResetAppListInstallStateName[] =
990 "Reset the App Launcher install state on every restart.";
991const char kResetAppListInstallStateDescription[] =
992 "Reset the App Launcher install state on every restart. While this flag is "
993 "set, Chrome will forget the launcher has been installed each time it "
994 "starts. This is used for testing the App Launcher install flow.";
995
996const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
997const char kResourceLoadSchedulerDescription[] =
998 "Uses the resource load scheduler in blink to schedule and throttle "
999 "resource load requests.";
1000
1001const char kRunAllFlashInAllowModeName[] =
1002 R"*(Run all Flash content when Flash setting is set to "allow")*";
1003const char kRunAllFlashInAllowModeDescription[] =
1004 R"*(For sites that have been set to "allow" Flash content, run all )*"
1005 R"*(content including any that has been deemed unimportant.)*";
1006
1007const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1008const char kSafeSearchUrlReportingDescription[] =
1009 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1010
1011const char kSaveasMenuLabelExperimentName[] =
1012 "Switch 'Save as' menu labels to 'Download'";
1013const char kSaveasMenuLabelExperimentDescription[] =
1014 "Enables an experiment to switch menu labels that use 'Save as...' to "
1015 "'Download'.";
1016
1017const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1018const char kSavePageAsMhtmlDescription[] =
1019 "Enables saving pages as MHTML: a single text file containing HTML and all "
1020 "sub-resources.";
1021
1022const char kScrollEndEffectName[] = "Scroll end effect";
1023const char kScrollEndEffectDescription[] =
1024 "Experimental scroll end effect in response to vertical overscroll.";
1025
1026const char kScrollPredictionName[] = "Scroll prediction";
1027const char kScrollPredictionDescription[] =
1028 "Predicts the finger's future position during scrolls allowing time to "
1029 "render the frame before the finger is there.";
1030
1031const char kSecondaryUiMd[] =
1032 "Material Design in the rest of the browser's native UI";
1033const char kSecondaryUiMdDescription[] =
1034 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1035 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1036 "browser dialogs.";
1037
1038const char kServiceWorkerNavigationPreloadName[] =
1039 "Service worker navigation preload.";
1040const char kServiceWorkerNavigationPreloadDescription[] =
1041 "Enable web pages to use the experimental service worker navigation "
1042 "preload API.";
1043
1044const char kSettingsWindowName[] = "Show settings in a window";
1045const char kSettingsWindowDescription[] =
1046 "Settings will be shown in a dedicated window instead of as a browser tab.";
1047
1048const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1049const char kShowAutofillSignaturesDescription[] =
1050 "Annotates web forms with Autofill signatures as HTML attributes.";
1051
1052const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1053const char kShowAutofillTypePredictionsDescription[] =
1054 "Annotates web forms with Autofill field type predictions as placeholder "
1055 "text.";
1056
1057const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1058const char kShowOverdrawFeedbackDescription[] =
1059 "Visualize overdraw by color-coding elements based on if they have other "
1060 "elements drawn underneath.";
1061
1062const char kShowSavedCopyName[] = "Show Saved Copy Button";
1063const char kShowSavedCopyDescription[] =
1064 "When a page fails to load, if a stale copy of the page exists in the "
1065 "browser cache, a button will be presented to allow the user to load that "
1066 "stale copy. The primary enabling choice puts the button in the most "
1067 "salient position on the error page; the secondary enabling choice puts it "
1068 "secondary to the reload button.";
1069const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1070const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1071const char kDisableShowSavedCopy[] = "Disable";
1072
1073const char kShowTouchHudName[] = "Show HUD for touch points";
1074const char kShowTouchHudDescription[] =
1075 "Enables a heads-up display at the top-left corner of the screen that "
1076 "lists information about the touch-points on the screen.";
1077
1078const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1079const char kSilentDebuggerExtensionApiDescription[] =
1080 "Do not show the infobar when an extension attaches to a page via "
1081 "chrome.debugger API. This is required to debug extension background "
1082 "pages.";
1083
1084const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1085const char kSimpleCacheBackendDescription[] =
1086 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1087 "disk space allocation.";
1088
1089const char kSimplifiedFullscreenUiName[] =
1090 "Simplified full screen / mouse lock UI.";
1091const char kSimplifiedFullscreenUiDescription[] =
1092 "A simplified new user experience when entering page-triggered full screen "
1093 "or mouse pointer lock states.";
1094
1095const char kSingleClickAutofillName[] = "Single-click autofill";
1096const char kSingleClickAutofillDescription[] =
1097 "Make autofill suggestions on initial mouse click on a form element.";
1098
1099const char kSiteDetails[] = "Site Details";
1100const char kSiteDetailsDescription[] =
1101 "Adds UI in MD Settings to view all content settings for a specific "
1102 "origin.";
1103
1104const char kSitePerProcessName[] = "Strict site isolation";
1105const char kSitePerProcessDescription[] =
1106 "Highly experimental security mode that ensures each renderer process "
1107 "contains pages from at most one site. In this mode, out-of-process "
1108 "iframes will be used whenever an iframe is cross-site.";
1109
1110const char kSiteSettings[] = "Site settings with All sites and Site details";
1111const char kSiteSettingsDescription[] =
1112 "Adds new ways of viewing Site settings.";
1113
1114const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
1115const char kSlimmingPaintInvalidationDescription[] =
1116 "Whether to enable a new paint invalidation system.";
1117
1118const char kSmoothScrollingName[] = "Smooth Scrolling";
1119const char kSmoothScrollingDescription[] =
1120 "Animate smoothly when scrolling page content.";
1121
1122const char kSoftwareRasterizerName[] = "3D software rasterizer";
1123const char kSoftwareRasterizerDescription[] =
1124 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1125
1126const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341127const char kSpeculativePrefetchDescription[] =
1128 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1129 R"*(load times, based on a local database (see chrome://predictors). )*"
1130 R"*("Learning" means that only the database construction is enabled, )*"
1131 R"*("Prefetching" that learning and prefetching are enabled.)*";
1132
Justin Donnelly4e448cb2017-07-07 21:32:131133const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1134 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131135const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1136 "If enabled, when the user enters text in the omnibox that looks like a "
1137 "a query, any service worker associated with the search engine the query "
1138 "will be sent to is started early.";
1139
Brett Wilsonecb80982017-07-12 20:34:511140const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1141const char kSpellingFeedbackFieldTrialDescription[] =
1142 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401143
Brett Wilsonecb80982017-07-12 20:34:511144const char kSuggestionsWithSubStringMatchName[] =
1145 "Substring matching for Autofill suggestions";
1146const char kSuggestionsWithSubStringMatchDescription[] =
1147 "Match Autofill suggestions based on substrings (token prefixes) rather "
1148 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341149
Brett Wilsonecb80982017-07-12 20:34:511150const char kSupervisedUserManagedBookmarksFolderName[] =
1151 "Managed bookmarks for supervised users";
1152const char kSupervisedUserManagedBookmarksFolderDescription[] =
1153 "Enable the managed bookmarks folder for supervised users.";
vabr0215a8e2017-03-28 12:47:341154
Brett Wilsonecb80982017-07-12 20:34:511155const char kSyncAppListName[] = "App Launcher sync";
1156const char kSyncAppListDescription[] =
1157 "Enable App Launcher sync. This also enables Folders where available (non "
1158 "OSX).";
vabr0215a8e2017-03-28 12:47:341159
Brett Wilsonecb80982017-07-12 20:34:511160const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1161const char kSyncSandboxDescription[] =
1162 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341163
Brett Wilsonecb80982017-07-12 20:34:511164const char kTabAudioMutingName[] = "Tab audio muting UI control";
1165const char kTabAudioMutingDescription[] =
1166 "When enabled, the audio indicators in the tab strip double as tab audio "
1167 "mute controls. This also adds commands in the tab context menu for "
1168 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341169
Brett Wilsonecb80982017-07-12 20:34:511170const char kTcpFastOpenName[] = "TCP Fast Open";
1171const char kTcpFastOpenDescription[] =
1172 "Enable the option to send extra authentication information in the initial "
1173 "SYN packet for a previously connected client, allowing faster data send "
1174 "start.";
vabr0215a8e2017-03-28 12:47:341175
Brett Wilsonecb80982017-07-12 20:34:511176const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1177const char kTopChromeMdDescription[] =
1178 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
1179const char kTopChromeMdMaterial[] = "Normal";
1180const char kTopChromeMdMaterialHybrid[] = "Touch";
vabr0215a8e2017-03-28 12:47:341181
Brett Wilsonecb80982017-07-12 20:34:511182const char kThreadedScrollingName[] = "Threaded scrolling";
1183const char kThreadedScrollingDescription[] =
1184 "Threaded handling of scroll-related input events. Disabling this will "
1185 "force all such scroll events to be handled on the main thread. Note that "
1186 "this can dramatically hurt scrolling performance of most websites and is "
1187 "intended for testing purposes only.";
1188
Steven Valdez4584b2482017-07-14 01:11:571189const char kTLS13VariantName[] = "TLS 1.3";
1190const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1191const char kTLS13VariantDisabled[] = "Disabled";
1192const char kTLS13VariantDraft[] = "Enabled (Draft)";
1193const char kTLS13VariantExperiment[] = "Enabled (Experiment)";
Steven Valdez2d7b4e82017-07-17 22:22:091194const char kTLS13VariantRecordTypeExperiment[] =
1195 "Enabled (Record Type Experiment)";
Steven Valdez2ee1c4a22017-07-19 20:39:311196const char kTLS13VariantNoSessionIDExperiment[] =
1197 "Enabled (No Session ID Experiment)";
Steven Valdez4584b2482017-07-14 01:11:571198
Brett Wilsonecb80982017-07-12 20:34:511199const char kTopDocumentIsolationName[] = "Top document isolation";
1200const char kTopDocumentIsolationDescription[] =
1201 "Highly experimental performance mode where cross-site iframes are kept in "
1202 "a separate process from the top document. In this mode, iframes from "
1203 "different third-party sites will be allowed to share a process.";
1204
1205const char kTouchAdjustmentName[] = "Touch adjustment";
1206const char kTouchAdjustmentDescription[] =
1207 "Refine the position of a touch gesture in order to compensate for touches "
1208 "having poor resolution compared to a mouse.";
1209
1210const char kTouchDragDropName[] = "Touch initiated drag and drop";
1211const char kTouchDragDropDescription[] =
1212 "Touch drag and drop can be initiated through long press on a draggable "
1213 "element.";
1214
1215const char kTouchEventsName[] = "Touch Events API";
1216const char kTouchEventsDescription[] =
1217 "Force Touch Events API feature detection to always be enabled or "
1218 "disabled, or to be enabled when a touchscreen is detected on startup "
1219 "(Automatic, the default).";
1220
1221const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1222const char kTouchSelectionStrategyDescription[] =
1223 "Controls how text selection granularity changes when touch text selection "
1224 "handles are dragged. Non-default behavior is experimental.";
1225const char kTouchSelectionStrategyCharacter[] = "Character";
1226const char kTouchSelectionStrategyDirection[] = "Direction";
1227
1228const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1229const char kTraceUploadUrlDescription[] =
1230 "This is to be used in conjunction with the enable-navigation-tracing "
1231 "flag. Please select the label that best describes the recorded traces. "
1232 "This will choose the destination the traces are uploaded to. If you are "
1233 "not sure, select other. If left empty, no traces will be uploaded.";
1234const char kTraceUploadUrlChoiceOther[] = "Other";
1235const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1236const char kTraceUploadUrlChoiceQa[] = "QA";
1237const char kTraceUploadUrlChoiceTesting[] = "Testing";
1238
1239const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
1240const char kTranslate2016q2UiDescription[] =
1241 "Improved triggering logic and look for Translate Bubble UI";
1242
1243const char kTranslateLanguageByUlpName[] = "Translate Language by ULP";
1244const char kTranslateLanguageByUlpDescription[] =
1245 "Improved translate target language and triggering logic by considering "
1246 "information from User Language Profile (ULP).";
1247
1248const char kTrySupportedChannelLayoutsName[] =
1249 "Causes audio output streams to check if channel layouts other than the "
1250 "default hardware layout are available.";
1251const char kTrySupportedChannelLayoutsDescription[] =
1252 "Causes audio output streams to check if channel layouts other than the "
1253 "default hardware layout are available. Turning this on will allow the OS "
1254 "to do stereo to surround expansion if supported. May expose third party "
1255 "driver bugs, use with caution.";
1256
1257const char kUiPartialSwapName[] = "Partial swap";
1258const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1259
1260const char kUserConsentForExtensionScriptsName[] =
1261 "User consent for extension scripts";
1262const char kUserConsentForExtensionScriptsDescription[] =
1263 "Require user consent for an extension running a script on the page, if "
1264 "the extension requested permission to run on all urls.";
1265
1266const char kUseSuggestionsEvenIfFewFeatureName[] =
1267 "Disable minimum for server-side tile suggestions on NTP.";
1268const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1269 "Request server-side suggestions even if there are only very few of them "
1270 "and use them for tiles on the New Tab Page.";
1271
1272const char kV8CacheOptionsName[] = "V8 caching mode.";
1273const char kV8CacheOptionsDescription[] =
1274 "Caching mode for the V8 JavaScript engine.";
1275const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1276const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1277
1278const char kV8CacheStrategiesForCacheStorageName[] =
1279 "V8 caching strategy for CacheStorage.";
1280const char kV8CacheStrategiesForCacheStorageDescription[] =
1281 "Caching strategy of scripts in CacheStorage for the V8 JavaScript engine.";
1282const char kV8CacheStrategiesForCacheStorageNormal[] = "Normal";
1283const char kV8CacheStrategiesForCacheStorageAggressive[] = "Aggressive";
1284
1285const char kVibrateRequiresUserGestureName[] =
1286 "Requiring user gesture for the Vibration API";
1287const char kVibrateRequiresUserGestureDescription[] =
1288 "Block the Vibration API if no user gesture has been received on the frame "
1289 "or any embedded frame.";
1290
1291const char kVideoFullscreenOrientationLockName[] =
1292 "Lock screen orientation when playing a video fullscreen.";
1293const char kVideoFullscreenOrientationLockDescription[] =
1294 "Lock the screen orientation of the device to match video orientation when "
1295 "a video goes fullscreen. Only on phones.";
1296
1297const char kVideoRotateToFullscreenName[] =
1298 "Rotate-to-fullscreen gesture for videos.";
1299const char kVideoRotateToFullscreenDescription[] =
1300 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1301 "the video. Only on phones.";
1302
1303const char kWalletServiceUseSandboxName[] =
1304 "Use Google Payments sandbox servers";
1305const char kWalletServiceUseSandboxDescription[] =
1306 "For developers: use the sandbox service for Google Payments API calls.";
1307
1308const char kWebgl2Name[] = "WebGL 2.0";
1309const char kWebgl2Description[] = "Allow web applications to access WebGL 2.0.";
1310
1311const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1312const char kWebglDraftExtensionsDescription[] =
1313 "Enabling this option allows web applications to access the WebGL "
1314 "Extensions that are still in draft status.";
1315
1316const char kWebMidiName[] = "Web MIDI API";
1317const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1318
1319const char kWebPaymentsName[] = "Web Payments";
1320const char kWebPaymentsDescription[] =
1321 "Enable Web Payments API integration, a JavaScript API for merchants.";
1322
1323const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1324const char kWebrtcEchoCanceller3Description[] =
1325 "Experimental WebRTC echo canceller (AEC3).";
1326
1327const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1328const char kWebrtcHwDecodingDescription[] =
1329 "Support in WebRTC for decoding video streams using platform hardware.";
1330
1331const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1332const char kWebrtcHwEncodingDescription[] =
1333 "Support in WebRTC for encoding video streams using platform hardware.";
1334
1335const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1336const char kWebrtcHwH264EncodingDescription[] =
1337 "Support in WebRTC for encoding h264 video streams using platform "
1338 "hardware.";
1339
1340const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1341const char kWebrtcHwVP8EncodingDescription[] =
1342 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1343
1344const char kWebrtcSrtpAesGcmName[] =
1345 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1346const char kWebrtcSrtpAesGcmDescription[] =
1347 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1348
1349const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1350const char kWebrtcStunOriginDescription[] =
1351 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1352 "header.";
1353
1354const char kWebvrName[] = "WebVR";
1355const char kWebvrDescription[] =
1356 "Enabling this option allows web applications to access experimental "
1357 "Virtual Reality APIs.";
1358
1359const char kWifiCredentialSyncName[] = "WiFi credential sync";
1360const char kWifiCredentialSyncDescription[] =
1361 "Enables synchronizing WiFi network settings across devices. When enabled, "
1362 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1363 "credentials are synchronized subject to user preferences. (See also, "
1364 "chrome://settings/syncSetup.)";
1365
1366const char kZeroCopyName[] = "Zero-copy rasterizer";
1367const char kZeroCopyDescription[] =
1368 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341369
Brett Wilsonff596952017-07-14 01:06:551370// Android ---------------------------------------------------------------------
1371
1372#if defined(OS_ANDROID)
1373
1374const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1375const char kAiaFetchingDescription[] =
1376 "Enable intermediate certificate fetching when a server does not provide "
1377 "sufficient certificates to build a chain to a trusted root.";
1378
1379const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1380const char kAccessibilityTabSwitcherDescription[] =
1381 "Enable the accessibility tab switcher for Android.";
1382
1383const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1384const char kAndroidAutofillAccessibilityDescription[] =
1385 "Enable accessibility for autofill popup.";
1386
1387const char kAndroidPaymentAppsName[] = "Android payment apps";
1388const char kAndroidPaymentAppsDescription[] =
1389 "Enable third party Android apps to integrate as payment apps";
1390
1391const char kAutofillAccessoryViewName[] =
1392 "Autofill suggestions as keyboard accessory view";
1393const char kAutofillAccessoryViewDescription[] =
1394 "Shows Autofill suggestions on top of the keyboard rather than in a "
1395 "dropdown.";
1396
1397const char kBackgroundLoaderForDownloadsName[] =
1398 "Enables background downloading of pages.";
1399const char kBackgroundLoaderForDownloadsDescription[] =
1400 "Enables downloading pages in the background in case page is not yet "
1401 "loaded in current tab.";
1402
1403const char kChromeHomeExpandButtonName[] = "Chrome Home Expand Button";
1404const char kChromeHomeExpandButtonDescription[] =
1405 "Enables the expand button for Chrome Home.";
1406
1407const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1408const char kChromeHomeSwipeLogicDescription[] =
1409 "Various swipe logic options for Chrome Home for sheet expansion.";
1410const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
1411const char kChromeHomeSwipeLogicButtonOnly[] = "Swipe on expand button";
1412
1413const char kChromeHomeName[] = "Chrome Home";
1414const char kChromeHomeDescription[] =
1415 "Enables Chrome Home on Android. You must restart the browser"
1416 " twice for changes to take effect.";
1417
1418const char kContentSuggestionsCategoryOrderName[] =
1419 "Default content suggestions category order (e.g. on NTP)";
1420const char kContentSuggestionsCategoryOrderDescription[] =
1421 "Set default order of content suggestion categories (e.g. on the NTP).";
1422
1423const char kContentSuggestionsCategoryRankerName[] =
1424 "Content suggestions category ranker (e.g. on NTP)";
1425const char kContentSuggestionsCategoryRankerDescription[] =
1426 "Set category ranker to order categories of content suggestions (e.g. on "
1427 "the NTP).";
1428
1429const char kContextualSearchContextualCardsBarIntegration[] =
1430 "Contextual Search - Contextual Cards Integration";
1431const char kContextualSearchContextualCardsBarIntegrationDescription[] =
1432 "Whether or not integration of Contextual Cards data in the Contextual "
1433 "Search Bar is enabled.";
1434
1435const char kContextualSearchSingleActionsName[] =
1436 "Contextual Search - Single Actions";
1437const char kContextualSearchSingleActionsDescription[] =
1438 "Whether or not single actions using Contextual Cards data in the "
1439 "Contextual Search Bar is enabled.";
1440
1441const char kContextualSearchUrlActionsName[] =
1442 "Contextual Search - URL Actions";
1443const char kContextualSearchUrlActionsDescription[] =
1444 "Whether or not URL actions using Contextual Cards data in the Contextual "
1445 "Search Bar is enabled.";
1446
1447const char kContextualSearchName[] = "Contextual Search";
1448const char kContextualSearchDescription[] =
1449 "Whether or not Contextual Search is enabled.";
1450
1451const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1452const char kEnableAndroidPayIntegrationV1Description[] =
1453 "Enable integration with Android Pay using the first version of the API";
1454
1455const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1456const char kEnableAndroidPayIntegrationV2Description[] =
1457 "Enable integration with Android Pay using the second version of the API";
1458
1459const char kEnableAndroidSpellcheckerDescription[] =
1460 "Enables use of the Android spellchecker.";
1461const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
1462
1463const char kEnableConsistentOmniboxGeolocationName[] =
1464 "Have consistent omnibox geolocation access.";
1465const char kEnableConsistentOmniboxGeolocationDescription[] =
1466 "Have consistent geolocation access between the omnibox and default search "
1467 "engine.";
1468
1469const char kEnableContentSuggestionsNewFaviconServerName[] =
1470 "Get favicons for content suggestions from a new server.";
1471const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1472 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1473 "new favicon server.";
1474
1475const char kEnableContentSuggestionsLargeThumbnailName[] =
1476 "Large thumbnails layout for content suggestions cards.";
1477const char kEnableContentSuggestionsLargeThumbnailDescription[] =
1478 "If enabled, the content suggestions cards will use large thumbnails and "
1479 "some related adjustments.";
1480
1481const char kEnableContentSuggestionsVideoOverlayName[] =
1482 "Video icon overlay on thumbnails for content suggestions cards.";
1483const char kEnableContentSuggestionsVideoOverlayDescription[] =
1484 "If enabled, the content suggestions cards for suggestions with a video "
1485 "will show a video play icon overlay on the thumbnail.";
1486
1487const char kEnableContentSuggestionsSettingsName[] =
1488 "Show content suggestions settings.";
1489const char kEnableContentSuggestionsSettingsDescription[] =
1490 "If enabled, the content suggestions settings will be available from the "
1491 "main settings menu.";
1492
1493const char kEnableContentSuggestionsShowSummaryName[] =
1494 "Show content suggestions summaries.";
1495const char kEnableContentSuggestionsShowSummaryDescription[] =
1496 "If enabled, the content suggestions summaries will be shown.";
1497
1498const char kEnableCopylessPasteName[] = "App Indexing (Copyless Paste)";
1499const char kEnableCopylessPasteDescription[] =
1500 "Provide suggestions for text input, based on your recent context. For "
1501 "example, if you looked at a restaurant website and switched to the Maps "
1502 "app, the keyboard would offer the name of that restaurant as a suggestion "
1503 "to enter into the search bar. The data is indexed locally, and never sent "
1504 "to the server. It's disabled in incognito mode.";
1505
1506const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1507const char kEnableCustomContextMenuDescription[] =
1508 "Enables a new context menu when a link, image, or video is pressed within "
1509 "Chrome.";
1510
1511const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1512const char kEnableCustomFeedbackUiDescription[] =
1513 "Enables a custom feedback UI when submitting feedback through Google "
1514 "Feedback. Works with Google Play Services v10.2+";
1515
1516const char kEnableDataReductionProxyMainMenuName[] =
1517 "Enable Data Saver main menu footer";
1518const char kEnableDataReductionProxyMainMenuDescription[] =
1519 "Enables the Data Saver footer in the main menu";
1520
1521const char kEnableDataReductionProxySiteBreakdownName[] =
1522 "Data Saver Site Breakdown";
1523const char kEnableDataReductionProxySiteBreakdownDescription[] =
1524 "Enable the site breakdown on the Data Saver settings page.";
1525
1526const char kEnableOmniboxClipboardProviderName[] =
1527 "Omnibox clipboard URL suggestions";
1528const char kEnableOmniboxClipboardProviderDescription[] =
1529 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1530 "focus in the omnibox.";
1531
1532const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1533 "Use expanded autofill credit card popup layout.";
1534const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1535 "If enabled, displays autofill credit card popup using expanded layout.";
1536
1537const char kEnableFaviconsFromWebManifestName[] =
1538 "Load favicons from Web Manifests";
1539const char kEnableFaviconsFromWebManifestDescription[] =
1540 "Fetch Web Manifests on page load to read favicons from them.";
1541
1542const char kEnableNtpAssetDownloadSuggestionsName[] =
1543 "Show asset downloads on the New Tab page";
1544const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1545 "If enabled, the list of content suggestions on the New Tab page will "
1546 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1547 "later use.";
1548
1549const char kEnableNtpBookmarkSuggestionsName[] =
1550 "Show recently visited bookmarks on the New Tab page";
1551const char kEnableNtpBookmarkSuggestionsDescription[] =
1552 "If enabled, the list of content suggestions on the New Tab page will "
1553 "contain recently visited bookmarks.";
1554
1555const char kEnableNtpForeignSessionsSuggestionsName[] =
1556 "Show recent foreign tabs on the New Tab page";
1557const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1558 "If enabled, the list of content suggestions on the New Tab page will "
1559 "contain recent foreign tabs.";
1560
1561const char kEnableNtpMostLikelyFaviconsFromServerName[] =
1562 "Download favicons for NTP tiles from Google.";
1563const char kEnableNtpMostLikelyFaviconsFromServerDescription[] =
1564 "If enabled, missing favicons for NTP tiles get downloaded from Google. "
1565 "This only applies to tiles that originate from synced history.";
1566
1567const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1568 "Show offline page downloads on the New Tab page";
1569const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1570 "If enabled, the list of content suggestions on the New Tab page will "
1571 "contain pages that the user downloaded for later use.";
1572
1573const char kEnableNtpRemoteSuggestionsName[] =
1574 "Show server-side suggestions on the New Tab page";
1575const char kEnableNtpRemoteSuggestionsDescription[] =
1576 "If enabled, the list of content suggestions on the New Tab page will "
1577 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
1578 "allows to override the source used to retrieve these server-side "
1579 "suggestions.";
1580
1581const char kEnableNtpSnippetsVisibilityName[] =
1582 "Make New Tab Page Snippets more visible.";
1583const char kEnableNtpSnippetsVisibilityDescription[] =
1584 "If enabled, the NTP snippets will become more discoverable with a larger "
1585 "portion of the first card above the fold.";
1586
1587const char kEnableNtpSuggestionsNotificationsName[] =
1588 "Notify about new content suggestions available at the New Tab page";
1589const char kEnableNtpSuggestionsNotificationsDescription[] =
1590 "If enabled, notifications will inform about new content suggestions on "
1591 "the New Tab page.";
1592
1593const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
1594const char kEnablePhysicalWebDescription[] =
1595 "Enable scanning for URLs from Physical Web objects.";
1596
1597const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1598const char kEnableOfflinePreviewsDescription[] =
1599 "Enable showing offline page previews on slow networks.";
1600
1601const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
1602const char kEnableOskOverscrollDescription[] =
1603 "Enable OSK overscroll support. With this flag on, the OSK will only "
1604 "resize the visual viewport.";
1605
1606const char kEnableSpecialLocaleName[] =
1607 "Enable custom logic for special locales.";
1608const char kEnableSpecialLocaleDescription[] =
1609 "Enable custom logic for special locales. In this mode, Chrome might "
1610 "behave differently in some locales.";
1611
1612const char kEnableWebapk[] = "Enable improved add to Home screen";
1613const char kEnableWebapkDescription[] =
1614 R"*(Packages "Progressive Web Apps" so that they can integrate more )*"
1615 R"*(deeply with Android. A Chrome server is used to package sites. In )*"
1616 R"*(Chrome Canary and Chrome Dev, this requires “Untrusted )*"
1617 R"*(sources” to be enabled in Android security settings.)*";
1618
1619const char kEnableWebNfcName[] = "WebNFC";
1620const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
1621
1622const char kEnableWebPaymentsSingleAppUiSkipName[] =
1623 "Enable Web Payments single app UI skip";
1624const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
1625 "Enable Web Payments to skip showing its UI if the developer specifies a "
1626 "single app.";
1627
1628const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
1629const char kHerbPrototypeChoicesDescription[] =
1630 "Switching this option changes which tab management prototype is being "
1631 "tested.";
1632const char kHerbPrototypeFlavorElderberry[] =
1633 "ELDERBERRY: All View Intents in CCT v2";
1634
1635const char kKeepPrefetchedContentSuggestionsName[] =
1636 "Keep prefetched content suggestions";
1637const char kKeepPrefetchedContentSuggestionsDescription[] =
1638 "If enabled, some of prefetched content suggestions are not replaced by "
1639 "the new fetched suggestions.";
1640
1641const char kLsdPermissionPromptName[] =
1642 "Location Settings Dialog Permission Prompt";
1643const char kLsdPermissionPromptDescription[] =
1644 "Whether to use the Google Play Services Location Settings Dialog "
1645 "permission dialog.";
1646
1647const char kMediaDocumentDownloadButtonName[] =
1648 "Download button when opening a page with media url.";
1649const char kMediaDocumentDownloadButtonDescription[] =
1650 "Allow a download button to show up when opening a page with media url.";
1651
1652const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
1653const char kMediaScreenCaptureDescription[] =
1654 "Enable this option for experimental ScreenCapture feature on Android.";
1655
1656const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
1657const char kModalPermissionPromptsDescription[] =
1658 "Whether to use permission dialogs in place of permission infobars.";
1659
1660const char kNewBackgroundLoaderName[] =
1661 "Use background loader instead of prerenderer to load pages.";
1662const char kNewBackgroundLoaderDescription[] =
1663 "Use background loader instead of prerenderer to asynchronously download "
1664 "pages.";
1665
1666const char kNewPhotoPickerName[] = "Enable new Photopicker";
1667const char kNewPhotoPickerDescription[] =
1668 "Activates the new picker for selecting photos.";
1669
1670const char kNoCreditCardAbort[] = "No Credit Card Abort";
1671const char kNoCreditCardAbortDescription[] =
1672 "Whether or not the No Credit Card Abort is enabled.";
1673
1674const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
1675const char kNtpCondensedLayoutDescription[] =
1676 "Show a condensed layout on the New Tab Page.";
1677
1678const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
1679const char kNtpCondensedTileLayoutDescription[] =
1680 "Show a condensed tile layout on the New Tab Page.";
1681
1682const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
1683const char kNtpGoogleGInOmniboxDescription[] =
1684 "Show a Google G in the omnibox on the New Tab Page.";
1685
1686const char kNtpOfflinePagesName[] = "Enable NTP offline pages";
1687const char kNtpOfflinePagesDescription[] =
1688 "Enables badging of offline pages on the New Tab page. Only relevant if "
1689 "offline pages are enabled.";
1690
1691const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
1692const char kNtpPopularSitesDescription[] =
1693 "Pre-populate the New Tab page with popular sites.";
1694
1695const char kNtpSwitchToExistingTabName[] =
1696 "Switch to an existing tab for New Tab Page suggestions.";
1697const char kNtpSwitchToExistingTabDescription[] =
1698 "When opening a suggested webpage from the New Tab Page, if a tab is "
1699 "already open for the suggestion, switch to that one instead of loading "
1700 "the suggestion in the new tab.";
1701const char kNtpSwitchToExistingTabMatchUrl[] = "Match by URL";
1702const char kNtpSwitchToExistingTabMatchHost[] = "Match by Hostname";
1703
1704const char kOfflineBookmarksName[] = "Enable offline bookmarks";
1705const char kOfflineBookmarksDescription[] =
1706 "Enable saving bookmarked pages for offline viewing.";
1707
1708const char kOfflinePagesAsyncDownloadName[] =
1709 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages.)*";
1710const char kOfflinePagesAsyncDownloadDescription[] =
1711 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages such )*"
1712 R"*(that the user can click on it to download the page later.)*";
1713
1714const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
1715const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
1716
1717const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
1718const char kOfflinePagesCtV2Description[] =
1719 "V2 features include attributing pages to the app that initiated the "
1720 "custom tabs, and being able to query for pages by page attribution.";
1721
1722const char kOfflinePagesLoadSignalCollectingName[] =
1723 "Enables collecting load timing data for offline page snapshots.";
1724const char kOfflinePagesLoadSignalCollectingDescription[] =
1725 "Enables loading completeness data collection while writing an offline "
1726 "page. This data is collected in the snapshotted offline page to allow "
1727 "data analysis to improve deciding when to make the offline snapshot.";
1728
1729const char kOfflinePagesPrefetchingName[] =
1730 "Enables suggested offline pages to be prefetched.";
1731const char kOfflinePagesPrefetchingDescription[] =
1732 "Enables suggested offline pages to be prefetched, so useful content is "
1733 "available while offline.";
1734
Collin Baker17f92a52017-07-19 21:41:251735const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
1736const char kOfflinePagesRenovationsDescription[] =
1737 "Enables offline page renovations which correct issues with dynamic "
1738 "content that occur when offlining pages that use JavaScript.";
1739
Brett Wilsonff596952017-07-14 01:06:551740const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
1741const char kOfflinePagesSharingDescription[] =
1742 "Enables the saved offline pages to be shared via other applications.";
1743
1744const char kOfflinePagesSvelteConcurrentLoadingName[] =
1745 "Enables concurrent background loading on svelte.";
1746const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
1747 "Enables concurrent background loading (or downloading) of pages on "
1748 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
1749 "happen when the svelte device is idle.";
1750
1751const char kOffliningRecentPagesName[] =
1752 "Enable offlining of recently visited pages";
1753const char kOffliningRecentPagesDescription[] =
1754 "Enable storing recently visited pages locally for offline use. Requires "
1755 "Offline Pages to be enabled.";
1756
1757extern const char kPayWithGoogleV1Name[] = "Pay with Google v1";
1758extern const char kPayWithGoogleV1Description[] =
1759 "Enable Pay with Google integration into Web Payments with API version "
1760 "'1'.";
1761
1762const char kProgressBarAnimationName[] =
1763 "Android phone page loading progress bar animation";
1764const char kProgressBarAnimationDescription[] =
1765 "Configures Android phone page loading progress bar animation.";
1766const char kProgressBarAnimationLinear[] = "Linear";
1767const char kProgressBarAnimationSmooth[] = "Smooth";
1768const char kProgressBarAnimationSmoothIndeterminate[] = "Smooth indeterminate";
1769const char kProgressBarAnimationFastStart[] = "Fast start";
1770
1771const char kProgressBarCompletionName[] =
1772 "Android phone page load progress bar completion time.";
1773const char kProgressBarCompletionDescription[] =
1774 "Configures Android phone page loading progress bar completion time.";
1775const char kProgressBarCompletionLoadEvent[] =
1776 R"*(Top loading frame's onload event ("everything" is done in the )*"
1777 R"*(page, historical behavior).)*";
1778const char kProgressBarCompletionResourcesBeforeDcl[] =
1779 "Main frame's domContentLoaded and all resources loads started before "
1780 "domContentLoaded (iframes ignored).";
1781const char kProgressBarCompletionDomContentLoaded[] =
1782 "Main frame's domContentLoaded (iframes ignored).";
1783const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
1784 "domContentLoaded and all resources loads started before domContentLoaded "
1785 "(main frame and same origin iframes).";
1786
1787const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
1788const char kPullToRefreshEffectDescription[] =
1789 "Page reloads triggered by vertically overscrolling content.";
1790
1791const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
1792const char kReaderModeHeuristicsDescription[] =
1793 "Determines what pages the Reader Mode infobar is shown on.";
1794const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
1795const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
1796const char kReaderModeHeuristicsAllArticles[] = "All articles";
1797const char kReaderModeHeuristicsAlwaysOff[] = "Never";
1798const char kReaderModeHeuristicsAlwaysOn[] = "Always";
1799
1800const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1801const char kServiceWorkerPaymentAppsDescription[] =
1802 "Enable Service Worker applications to integrate as payment apps";
1803
1804const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
1805const char kSetMarketUrlForTestingDescription[] =
1806 "When enabled, sets the market URL for use in testing the update menu "
1807 "item.";
1808
1809const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
1810const char kSpannableInlineAutocompleteDescription[] =
1811 "A new type of inline autocomplete for the omnibox that works with "
1812 "keyboards that compose text.";
1813
1814const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1815const char kTabsInCbdDescription[] =
1816 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1817
1818const char kTranslateCompactUIName[] = "New Translate Infobar";
1819const char kTranslateCompactUIDescription[] =
1820 "Enable the new Translate compact infobar UI.";
1821
1822const char kUpdateMenuBadgeName[] = "Force show update menu badge";
1823const char kUpdateMenuBadgeDescription[] =
1824 "When enabled, an update badge will be shown on the app menu button.";
1825
1826const char kUpdateMenuItemCustomSummaryDescription[] =
1827 "When this flag and the force show update menu item flag are enabled, a "
1828 "custom summary string will be displayed below the update menu item.";
1829const char kUpdateMenuItemCustomSummaryName[] =
1830 "Update menu item custom summary";
1831
1832const char kUpdateMenuItemName[] = "Force show update menu item";
1833const char kUpdateMenuItemDescription[] =
1834 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
1835 R"*(menu.)*";
1836
1837const char kUseAndroidMidiApiName[] = "Use Android Midi API";
1838const char kUseAndroidMidiApiDescription[] =
1839 "Use Android Midi API for WebMIDI (effective only with Android M+ "
1840 "devices).";
1841
1842const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1843const char kUseDdljsonApiDescription[] =
1844 "Enables the new ddljson API to fetch Doodles for the NTP.";
1845
1846const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1847const char kWebPaymentsModifiersDescription[] =
1848 "If the website provides modifiers in the payment request, show the custom "
1849 "total for each payment instrument, update the shopping cart when "
1850 "instruments are switched, and send modified payment method specific data "
1851 "to the payment app.";
1852
1853const char kXGEOVisibleNetworksName[] = "Enable XGEO Visible Networks";
1854const char kXGEOVisibleNetworksDescription[] =
1855 "If location permissions are granted, include visible networks in the XGEO "
1856 "Header for omnibox queries. This will only happen if location is not "
1857 "fresh or not available (for example, due to a cold start).";
1858
1859#endif // OS_ANDROID
1860
brettw5f9c1642017-05-14 17:12:481861#if !defined(DISABLE_NACL)
1862
vabr0215a8e2017-03-28 12:47:341863const char kNaclName[] = "Native Client";
vabr0215a8e2017-03-28 12:47:341864const char kNaclDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:191865 "Support Native Client for all web applications, even those that were not "
1866 "installed from the Chrome Web Store.";
vabr0215a8e2017-03-28 12:47:341867
vabr0215a8e2017-03-28 12:47:341868const char kNaclDebugName[] = "Native Client GDB-based debugging";
vabr0215a8e2017-03-28 12:47:341869const char kNaclDebugDescription[] =
1870 "Enable GDB debug stub. This will stop a Native Client application on "
1871 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
1872
vabr0215a8e2017-03-28 12:47:341873const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
vabr0215a8e2017-03-28 12:47:341874const char kPnaclSubzeroDescription[] =
1875 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
1876
vabr0215a8e2017-03-28 12:47:341877const char kNaclDebugMaskName[] =
1878 "Restrict Native Client GDB-based debugging by pattern";
vabr0215a8e2017-03-28 12:47:341879const char kNaclDebugMaskDescription[] =
1880 "Restricts Native Client application GDB-based debugging by URL of "
Vitalii Iarko7df520142017-07-07 12:53:191881 "manifest file. Native Client GDB-based debugging must be enabled for this "
1882 "option to work.";
vabr0215a8e2017-03-28 12:47:341883const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
vabr0215a8e2017-03-28 12:47:341884const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
1885 "Debug everything except secure shell and the PNaCl translator.";
vabr0215a8e2017-03-28 12:47:341886const char kNaclDebugMaskChoiceIncludeDebug[] =
1887 "Debug only if manifest URL ends with debug.nmf.";
1888
brettw5f9c1642017-05-14 17:12:481889#endif
1890
vabr0215a8e2017-03-28 12:47:341891#if defined(OS_WIN)
1892
1893const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
1894
1895const char kCloudPrintXpsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:191896 "XPS enables advanced options for classic printers connected to the Cloud "
1897 "Print with Chrome. Printers must be re-connected after changing this "
1898 "flag.";
vabr0215a8e2017-03-28 12:47:341899
1900#endif // defined(OS_WIN)
1901
Evan Stadeb508c722017-07-12 02:19:081902const char kDelayReloadStopButtonChangeName[] =
1903 "Reduce stop/reload button flicker";
1904
1905const char kDelayReloadStopButtonChangeDescription[] =
1906 "Delays display of stop button when page is loading such that short "
1907 "loads won't show the stop button at all.";
1908
vabr0215a8e2017-03-28 12:47:341909#if BUILDFLAG(ENABLE_WEBRTC)
1910
1911const char kWebrtcH264WithOpenh264FfmpegName[] =
1912 "WebRTC H.264 software video encoder/decoder";
1913
1914const char kWebrtcH264WithOpenh264FfmpegDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:191915 "When enabled, an H.264 software video encoder/decoder pair is included. "
1916 "If a hardware encoder/decoder is also available it may be used instead of "
1917 "this encoder/decoder.";
vabr0215a8e2017-03-28 12:47:341918
1919#endif // BUILDFLAG(ENABLE_WEBRTC)
1920
vabr0215a8e2017-03-28 12:47:341921#if defined(USE_ASH)
1922
brettw81668cf2017-05-15 22:57:341923const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
vabr0215a8e2017-03-28 12:47:341924
1925const char kAshShelfColorDescription[] =
bruthigd8b95962017-03-31 19:38:341926 "Enables/disables the shelf color to be a derived from the wallpaper. The "
1927 "--ash-shelf-color-scheme flag defines how that color is derived.";
vabr0215a8e2017-03-28 12:47:341928
bruthigd8b95962017-03-31 19:38:341929const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
vabr0215a8e2017-03-28 12:47:341930
bruthigd8b95962017-03-31 19:38:341931const char kAshShelfColorSchemeDescription[] =
1932 "Specify how the color is derived from the wallpaper. This flag is only "
1933 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
vabr0215a8e2017-03-28 12:47:341934
bruthigd8b95962017-03-31 19:38:341935const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
vabr0215a8e2017-03-28 12:47:341936
bruthigd8b95962017-03-31 19:38:341937const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
vabr0215a8e2017-03-28 12:47:341938
bruthigd8b95962017-03-31 19:38:341939const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
vabr0215a8e2017-03-28 12:47:341940
bruthigd8b95962017-03-31 19:38:341941const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
1942
1943const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
1944
1945const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
vabr0215a8e2017-03-28 12:47:341946
vabr0215a8e2017-03-28 12:47:341947const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
1948
1949const char kAshEnableMirroredScreenDescription[] =
1950 "Enable the mirrored screen mode. This mode flips the screen image "
1951 "horizontally.";
1952
wutaob161bf22017-04-26 16:55:031953const char kAshDisableSmoothScreenRotationName[] =
1954 "Disable smooth rotation animations.";
wutao2c0ca182017-04-06 22:40:541955
wutaob161bf22017-04-26 16:55:031956const char kAshDisableSmoothScreenRotationDescription[] =
1957 "Disable smooth rotation animations.";
wutao2c0ca182017-04-06 22:40:541958
vabr0215a8e2017-03-28 12:47:341959const char kMaterialDesignInkDropAnimationFast[] = "Fast";
1960
1961const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
1962
1963const char kMaterialDesignInkDropAnimationSpeedName[] =
1964 "Material Design Ink Drop Animation Speed";
1965
1966const char kMaterialDesignInkDropAnimationSpeedDescription[] =
1967 "Sets the speed of the experimental visual feedback animations for "
1968 "material design.";
1969
1970const char kUiSlowAnimationsName[] = "Slow UI animations";
1971
1972const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
1973
reveman5be07ac82017-04-14 01:06:051974const char kUiShowCompositedLayerBordersName[] =
1975 "Show UI composited layer borders";
1976
1977const char kUiShowCompositedLayerBordersDescription[] =
1978 "Show border around composited layers created by UI.";
1979
1980const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
1981
1982const char kUiShowCompositedLayerBordersSurface[] = "Surface";
1983
1984const char kUiShowCompositedLayerBordersLayer[] = "Layer";
1985
1986const char kUiShowCompositedLayerBordersAll[] = "All";
1987
vabr0215a8e2017-03-28 12:47:341988#endif // defined(USE_ASH)
1989
vabr0215a8e2017-03-28 12:47:341990const char kForceGpuRasterization[] = "Force-enabled for all layers";
1991
vabr0215a8e2017-03-28 12:47:341992#if defined(OS_CHROMEOS)
1993
sky527bea52017-05-15 19:15:141994const char kUseMusDescription[] = "Enable the Mojo UI service.";
vabr0215a8e2017-03-28 12:47:341995
sky527bea52017-05-15 19:15:141996const char kUseMusName[] = "Mus";
1997
1998const char kEnableMashDescription[] =
1999 "Mash (UI, Chrome and ash in separate services)";
2000
2001const char kEnableMusDescription[] =
2002 "Mus (UI in separate service, Chrome and ash in same service)";
vabr0215a8e2017-03-28 12:47:342003
2004const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2005
2006const char kAllowTouchpadThreeFingerClickDescription[] =
2007 "Enables touchpad three-finger-click as middle button.";
2008
2009const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2010
2011const char kAshEnableUnifiedDesktopDescription[] =
2012 "Enable unified desktop mode which allows a window to span multiple "
2013 "displays.";
2014
brettw5f9c1642017-05-14 17:12:482015const char kBootAnimationName[] = "Boot animation";
vabr0215a8e2017-03-28 12:47:342016
2017const char kBootAnimationDescription[] =
2018 "Wallpaper boot animation (except for OOBE case).";
2019
hansberryc147785f2017-05-02 23:36:272020const char kTetherName[] = "Instant Tethering";
2021
2022const char kTetherDescription[] =
2023 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2024 "phone to share its Internet connection with this device.";
2025
vabr0215a8e2017-03-28 12:47:342026#endif // defined(OS_CHROMEOS)
2027
vabr0215a8e2017-03-28 12:47:342028#if defined(OS_CHROMEOS)
2029
2030const char kFirstRunUiTransitionsName[] =
2031 "Animated transitions in the first-run tutorial";
2032
2033const char kFirstRunUiTransitionsDescription[] =
2034 "Transitions during first-run tutorial are animated.";
2035
2036#endif // defined(OS_CHROMEOS)
2037
vabr0215a8e2017-03-28 12:47:342038#if defined(OS_MACOSX)
2039
2040const char kHostedAppsInWindowsName[] =
2041 "Allow hosted apps to be opened in windows";
2042
2043const char kHostedAppsInWindowsDescription[] =
2044 "Allows hosted apps to be opened in windows instead of being limited to "
2045 "tabs.";
2046
2047const char kTabDetachingInFullscreenName[] =
2048 "Allow tab detaching in fullscreen";
2049
2050const char kTabDetachingInFullscreenDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192051 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
vabr0215a8e2017-03-28 12:47:342052
2053const char kFullscreenToolbarRevealName[] =
2054 "Enables the toolbar in fullscreen to reveal itself.";
2055
2056const char kFullscreenToolbarRevealDescription[] =
2057 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2058 "has changed.";
2059
2060const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2061
2062const char kTabStripKeyboardFocusDescription[] =
2063 "Enable keyboard focus for the tabs in the tab strip.";
2064
2065#endif // defined(OS_MACOSX)
2066
vabr0215a8e2017-03-28 12:47:342067#if defined(OS_MACOSX)
2068
2069const char kTranslateNewUxName[] = "New Translate UX";
2070
2071const char kTranslateNewUxDescription[] =
2072 "Enable the new Translate bubble UX is offered instead of the infobar.";
2073
2074#endif // defined(OS_MACOSX)
2075
vabr0215a8e2017-03-28 12:47:342076#if defined(OS_MACOSX)
2077
2078const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2079
2080const char kAppInfoDialogDescription[] =
2081 "Makes the Toolkit-Views based App Info dialog accessible from "
2082 "chrome://apps or chrome://extensions in place of the native extension "
2083 "permissions dialog, or the details link (which is a link to the Web "
2084 "Store).";
2085
kerrnel7e4f7a7f2017-06-28 21:28:282086const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2087
2088const char kMacV2SandboxDescription[] =
2089 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2090 "entire life cycle.";
2091
vabr0215a8e2017-03-28 12:47:342092const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2093
2094const char kMacViewsNativeAppWindowsDescription[] =
2095 "Controls whether to use Toolkit-Views based Chrome App windows.";
2096
2097const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2098
2099const char kMacViewsTaskManagerDescription[] =
2100 "Controls whether to use the Toolkit-Views based Task Manager.";
2101
2102const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2103
2104const char kAppWindowCyclingDescription[] =
2105 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2106 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
Vitalii Iarko7df520142017-07-07 12:53:192107 "browser window, and browser windows will not be cycled when a Chrome App "
2108 "is active.";
vabr0215a8e2017-03-28 12:47:342109
2110#endif // defined(OS_MACOSX)
2111
2112#if defined(OS_CHROMEOS)
2113
2114const char kAcceleratedMjpegDecodeName[] =
2115 "Hardware-accelerated mjpeg decode for captured frame";
2116
2117const char kAcceleratedMjpegDecodeDescription[] =
2118 "Enable hardware-accelerated mjpeg decode for captured frame where "
2119 "available.";
2120
2121#endif // defined(OS_CHROMEOS)
2122
vabr0215a8e2017-03-28 12:47:342123#if defined(OS_WIN)
2124
2125const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2126
2127const char kEnableAppcontainerDescription[] =
2128 "Enables the use of an AppContainer on sandboxed processes to improve "
2129 "security.";
2130
2131#endif // defined(OS_WIN)
2132
thestig0c55ee32017-06-20 22:17:512133#if defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
elawrenced9978fc2017-05-02 02:45:192134
2135const char kShowCertLinkOnPageInfoName[] = "Show certificate link";
2136
2137const char kShowCertLinkOnPageInfoDescription[] =
2138 "Add a link from the Page Info bubble to the certificate viewer for HTTPS "
2139 "sites.";
2140
thestig0c55ee32017-06-20 22:17:512141#endif // defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
elawrenced9978fc2017-05-02 02:45:192142
vabr0215a8e2017-03-28 12:47:342143#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2144
2145const char kAutofillCreditCardUploadName[] =
2146 "Enable offering upload of Autofilled credit cards";
2147
2148const char kAutofillCreditCardUploadDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192149 "Enables a new option to upload credit cards to Google Payments for sync "
2150 "to all Chrome devices.";
vabr0215a8e2017-03-28 12:47:342151
2152#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2153
vabr0215a8e2017-03-28 12:47:342154#if defined(OS_WIN) || defined(OS_LINUX)
2155
2156const char kEnableInputImeApiName[] = "Enable Input IME API";
2157
2158const char kEnableInputImeApiDescription[] =
2159 "Enable the use of chrome.input.ime API.";
2160
2161#endif // defined(OS_WIN) || defined(OS_LINUX)
2162
vabr0215a8e2017-03-28 12:47:342163#if defined(OS_CHROMEOS)
2164
vabr0215a8e2017-03-28 12:47:342165const char kVirtualKeyboardName[] = "Virtual Keyboard";
2166
2167const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2168
2169const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2170
2171const char kVirtualKeyboardOverscrollDescription[] =
2172 "Enables virtual keyboard overscroll support.";
2173
2174const char kInputViewName[] = "Input views";
2175
2176const char kInputViewDescription[] =
2177 "Enable IME extensions to supply custom views for user input such as "
2178 "virtual keyboards.";
2179
2180const char kNewKoreanImeName[] = "New Korean IME";
2181
2182const char kNewKoreanImeDescription[] =
2183 "New Korean IME, which is based on Google Input Tools' HMM engine.";
2184
2185const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2186
2187const char kPhysicalKeyboardAutocorrectDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192188 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2189 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342190
2191const char kVoiceInputName[] = "Voice input on virtual keyboard";
2192
2193const char kVoiceInputDescription[] =
2194 "Enables voice input on virtual keyboard.";
2195
2196const char kExperimentalInputViewFeaturesName[] =
2197 "Experimental input view features";
2198
2199const char kExperimentalInputViewFeaturesDescription[] =
2200 "Enable experimental features for IME input views.";
2201
2202const char kFloatingVirtualKeyboardName[] = "Floating virtual keyboard.";
2203
2204const char kFloatingVirtualKeyboardDescription[] =
2205 "Enable/Disable floating virtual keyboard.";
2206
2207const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2208
2209const char kGestureTypingDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192210 "Enable/Disable gesture typing option in the settings page for the virtual "
2211 "keyboard.";
vabr0215a8e2017-03-28 12:47:342212
2213const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2214
2215const char kGestureEditingDescription[] =
2216 "Enable/Disable gesture editing option in the settings page for the "
2217 "virtual keyboard.";
2218
2219const char kCaptivePortalBypassProxyName[] =
2220 "Bypass proxy for Captive Portal Authorization";
2221
2222const char kCaptivePortalBypassProxyDescription[] =
2223 "If proxy is configured, it usually prevents from authorization on "
2224 "different captive portals. This enables opening captive portal "
Vitalii Iarko7df520142017-07-07 12:53:192225 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342226
2227const char kTouchscreenCalibrationName[] =
Vitalii Iarko7df520142017-07-07 12:53:192228 "Enable/disable touchscreen calibration option in material design settings";
vabr0215a8e2017-03-28 12:47:342229
2230const char kTouchscreenCalibrationDescription[] =
2231 "If enabled, the user can calibrate the touch screen displays in "
2232 "chrome://md-settings/display.";
2233
yamaguchid99a64b2017-05-12 15:33:492234const char kTeamDrivesName[] = "Enable Team Drives Integration";
2235const char kTeamDrivesDescription[] =
2236 "If enabled, files under Team Drives will appear in the Files app.";
2237
vabr0215a8e2017-03-28 12:47:342238#endif // defined(OS_CHROMEOS)
2239
vabr0215a8e2017-03-28 12:47:342240// Arc authorization
2241
2242#if defined(OS_CHROMEOS)
2243
2244const char kArcUseAuthEndpointName[] = "Android apps authorization point";
2245
2246const char kArcUseAuthEndpointDescription[] =
2247 "Enable Android apps authorization point to automatic sign-in in OptIn "
2248 "flow.";
2249
2250#endif // defined(OS_CHROMEOS)
2251
vabr0215a8e2017-03-28 12:47:342252#if defined(OS_WIN) || defined(OS_MACOSX)
2253
2254// Tab discarding
2255
2256const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2257
2258const char kAutomaticTabDiscardingDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192259 "If enabled, tabs get automatically discarded from memory when the system "
2260 "memory is low. Discarded tabs are still visible on the tab strip and get "
2261 "reloaded when clicked on. Info about discarded tabs can be found at "
2262 "chrome://discards.";
vabr0215a8e2017-03-28 12:47:342263
2264#endif // defined(OS_WIN) || defined(OS_MACOSX)
2265
vabr0215a8e2017-03-28 12:47:342266#if defined(OS_WIN)
2267
2268// Exporting tracing events to ETW
2269
2270const char kTraceExportEventsToEtwName[] =
2271 "Enable exporting of tracing events to ETW.";
2272
2273const char kTraceExportEventsToEtwDesription[] =
2274 "If enabled, trace events will be exported to the Event Tracing for "
2275 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2276 "Xperf.";
2277
2278const char kMergeKeyCharEventsName[] =
Vitalii Iarko7df520142017-07-07 12:53:192279 "Enable or disable merging merging the key event (WM_KEY*) with char event "
2280 "(WM_CHAR).";
vabr0215a8e2017-03-28 12:47:342281
2282const char kMergeKeyCharEventsDescription[] =
etienneb9a4b5302017-06-08 06:28:462283 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separately.";
vabr0215a8e2017-03-28 12:47:342284
2285const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2286
2287const char kUseWinrtMidiApiDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192288 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2289 "later).";
vabr0215a8e2017-03-28 12:47:342290
2291#endif // defined(OS_WIN)
2292
vabr0215a8e2017-03-28 12:47:342293#if defined(OS_CHROMEOS)
2294
skaua9afc0212017-04-07 19:18:472295const char kDisableNativeCupsName[] = "Native CUPS";
vabr0215a8e2017-03-28 12:47:342296
skaua9afc0212017-04-07 19:18:472297const char kDisableNativeCupsDescription[] =
2298 "Disable the use of the native CUPS printing backend.";
vabr0215a8e2017-03-28 12:47:342299
2300const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2301
2302const char kEnableAndroidWallpapersAppDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192303 "Enables the Android Wallpapers App as the default Wallpaper App on Chrome "
2304 "OS.";
vabr0215a8e2017-03-28 12:47:342305
2306const char kEnableTouchSupportForScreenMagnifierName[] =
2307 "Touch support for screen magnifier";
2308
2309const char kEnableTouchSupportForScreenMagnifierDescription[] =
2310 "Enables touch support for screen magnifier";
2311
Tatsuhisa Yamaguchi281eabf32017-07-19 21:55:522312const char kFileManagerTouchModeName[] = "Files App. touch mode";
2313const char kFileManagerTouchModeDescription[] =
2314 "Touchscreen-specific interactions of the Files app.";
2315
Rouslan Solomakhinbed1af22017-06-09 18:40:572316const char kEnableZipArchiverOnFileManagerName[] = "ZIP archiver for Drive";
takise183b8cb42017-04-07 05:12:082317
2318const char kEnableZipArchiverOnFileManagerDescription[] =
2319 "Enable the ability to archive and unpack files on Drive in the Files app";
2320
xiaochu32e9672a2017-05-04 04:15:082321const char kCrOSComponentName[] = "Chrome OS Component";
2322
2323const char kCrOSComponentDescription[] =
xiaochu169aadd2017-06-15 22:32:512324 "Enable the use of componentized escpr CUPS filter.";
xiaochu32e9672a2017-05-04 04:15:082325
vabr0215a8e2017-03-28 12:47:342326#endif // defined(OS_CHROMEOS)
2327
vabr0215a8e2017-03-28 12:47:342328#if !defined(OS_ANDROID) && defined(GOOGLE_CHROME_BUILD)
2329
2330const char kGoogleBrandedContextMenuName[] =
2331 "Google branding in the context menu";
2332
2333const char kGoogleBrandedContextMenuDescription[] =
2334 "Shows a Google icon next to context menu items powered by Google "
2335 "services.";
2336
2337#endif // !defined(OS_ANDROID) && defined(GOOGLE_CHROME_BUILD)
2338
mthiesse700b0b62017-05-19 01:37:312339#if BUILDFLAG(ENABLE_VR)
Brett Wilsonecb80982017-07-12 20:34:512340#if defined(OS_ANDROID)
vabr0215a8e2017-03-28 12:47:342341
Brett Wilsonecb80982017-07-12 20:34:512342const char kEnableVrShellName[] = "Enable Chrome VR.";
vabr0215a8e2017-03-28 12:47:342343const char kEnableVrShellDescription[] =
2344 "Allow browsing with a VR headset if available for this device.";
2345
mthiesse700b0b62017-05-19 01:37:312346const char kVrCustomTabBrowsingName[] = "Enable Custom Tab browsing in VR.";
mthiesse700b0b62017-05-19 01:37:312347const char kVrCustomTabBrowsingDescription[] =
2348 "Allow browsing with a VR headset in a Custom Tab if available for this "
2349 "device.";
ymalike78a83b2017-05-19 20:42:312350
2351const char kWebVrAutopresentName[] = "Enable WebVr auto presentation";
ymalike78a83b2017-05-19 20:42:312352const char kWebVrAutopresentDescription[] =
2353 "Allows auto presentation of WebVr content from trusted first-party apps";
Brett Wilsonecb80982017-07-12 20:34:512354
vabr0215a8e2017-03-28 12:47:342355#endif // defined(OS_ANDROID)
2356
Brett Wilsonecb80982017-07-12 20:34:512357const char kWebvrExperimentalRenderingName[] =
2358 "WebVR experimental rendering optimizations";
2359const char kWebvrExperimentalRenderingDescription[] =
2360 "Enabling this option activates experimental rendering path optimizations "
2361 "for WebVR.";
vabr0215a8e2017-03-28 12:47:342362
Brett Wilsonecb80982017-07-12 20:34:512363#endif // BUILDFLAG(ENABLE_VR)
vabr0215a8e2017-03-28 12:47:342364
vabr0215a8e2017-03-28 12:47:342365#if !defined(OS_ANDROID)
2366
mlamouriff56c092017-05-11 15:31:392367const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
vabr0215a8e2017-03-28 12:47:342368
mlamouriff56c092017-05-11 15:31:392369const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342370 "Manage audio focus across tabs to improve the audio mixing.";
2371
mlamouriff56c092017-05-11 15:31:392372const char kEnableAudioFocusDisabled[] = "Disabled";
vabr0215a8e2017-03-28 12:47:342373
mlamouriff56c092017-05-11 15:31:392374const char kEnableAudioFocusEnabled[] = "Enabled";
vabr0215a8e2017-03-28 12:47:342375
mlamouriff56c092017-05-11 15:31:392376const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342377 "Enabled (Flash lowers volume when interrupted by other sound, "
2378 "experimental)";
2379
2380#endif // !defined(OS_ANDROID)
2381
2382#if defined(OS_WIN)
2383
2384const char kGdiTextPrinting[] = "GDI Text Printing";
2385
2386const char kGdiTextPrintingDescription[] =
2387 "Use GDI to print text as simply text";
2388
2389#endif // defined(OS_WIN)
2390
vabr0215a8e2017-03-28 12:47:342391#if !defined(OS_MACOSX)
2392
2393const char kPermissionPromptPersistenceToggleName[] =
2394 "Persistence Toggle in Permission Prompts";
2395
2396const char kPermissionPromptPersistenceToggleDescription[] =
2397 "Whether to display a persistence toggle in permission prompts.";
2398
2399#endif // !defined(OS_MACOSX)
2400
vabr0215a8e2017-03-28 12:47:342401#if defined(OS_WIN)
2402
2403// Custom draw the Windows 10 titlebar. crbug.com/505013
2404
2405const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2406
2407const char kWindows10CustomTitlebarDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192408 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2409 "deferring to Windows.";
vabr0215a8e2017-03-28 12:47:342410
2411#endif // defined(OS_WIN)
2412
2413#if defined(OS_WIN)
2414
rbpotter556837e42017-05-01 18:49:042415const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
vabr0215a8e2017-03-28 12:47:342416
rbpotter556837e42017-05-01 18:49:042417const char kDisablePostscriptPrintingDescription[] =
2418 "Disables PostScript generation when printing to PostScript capable "
2419 "printers, and uses EMF generation in its place.";
vabr0215a8e2017-03-28 12:47:342420
2421#endif // defined(OS_WIN)
2422
vabr0215a8e2017-03-28 12:47:342423// Desktop iOS promotion chrome://flags strings
2424
2425#if defined(OS_WIN)
2426
2427const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2428
2429const char kEnableDesktopIosPromotionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192430 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2431 "eligible.";
vabr0215a8e2017-03-28 12:47:342432
2433#endif // defined(OS_WIN)
2434
vabr0215a8e2017-03-28 12:47:342435#if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || \
2436 defined(OS_WIN)
2437
2438const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342439const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282440 "Enable receiving entity suggestions - disambiguation descriptions - for "
2441 "Omnibox suggestions.";
2442
2443const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2444const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192445 "Enable receiving tail suggestions, a type of search suggestion based on "
2446 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342447
ojan38c678352017-04-11 20:27:552448const char kPauseBackgroundTabsName[] = "Pause background tabs";
2449const char kPauseBackgroundTabsDescription[] =
2450 "Pause timers in background tabs after 5 minutes on desktop.";
2451
spqchan6f9127a2017-04-29 03:42:022452const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2453const char kEnableNewAppMenuIconDescription[] =
2454 "Use the new app menu icon with update notification animations.";
spqchan064a8112017-04-18 16:46:322455
vabr0215a8e2017-03-28 12:47:342456#endif // defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) ||
2457 // defined(OS_WIN)
2458
2459#if defined(OS_CHROMEOS)
2460
2461const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2462
2463const char kEnableChromevoxArcSupportDescription[] =
2464 "Enable ChromeVox screen reader features in ARC";
2465
2466#endif // defined(OS_CHROMEOS)
2467
vabr0215a8e2017-03-28 12:47:342468#if defined(OS_CHROMEOS)
2469
2470// File Manager
2471
2472const char kVideoPlayerChromecastSupportName[] =
2473 "Experimental Chromecast support for Video Player";
2474
2475const char kVideoPlayerChromecastSupportDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192476 "This option enables experimental Chromecast support for Video Player app "
2477 "on ChromeOS.";
vabr0215a8e2017-03-28 12:47:342478
2479const char kNewZipUnpackerName[] = "New ZIP unpacker";
2480
2481const char kNewZipUnpackerDescription[] =
2482 "New ZIP unpacker flow, based on the File System Provider API.";
2483
vabr0215a8e2017-03-28 12:47:342484const char kOfficeEditingComponentAppName[] =
2485 "Office Editing for Docs, Sheets & Slides";
2486
2487const char kOfficeEditingComponentAppDescription[] =
2488 "Office Editing for Docs, Sheets & Slides for testing purposes.";
2489
2490const char kDisplayColorCalibrationName[] = "Color calibration of the display";
2491
2492const char kDisplayColorCalibrationDescription[] =
2493 "Allow color calibration of the display if the display supports the "
2494 "feature.";
2495
newcomer403ac142017-07-05 18:26:302496const char kEnableFullscreenAppListName[] = "Enable The Peeking Launcher";
2497
2498const char kEnableFullscreenAppListDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192499 "The peeking launcher UI supports touch and provides more space for "
2500 "upcoming features.";
newcomer403ac142017-07-05 18:26:302501
vabr0215a8e2017-03-28 12:47:342502const char kMemoryPressureThresholdName[] =
2503 "Memory discard strategy for advanced pressure handling";
2504
2505const char kMemoryPressureThresholdDescription[] =
2506 "Memory discarding strategy to use";
2507
2508const char kConservativeThresholds[] =
2509 "Conservative memory pressure release strategy";
2510
2511const char kAggressiveCacheDiscardThresholds[] =
2512 "Aggressive cache release strategy";
2513
2514const char kAggressiveTabDiscardThresholds[] =
2515 "Aggressive tab release strategy";
2516
2517const char kAggressiveThresholds[] =
2518 "Aggressive tab and cache release strategy";
2519
2520const char kWakeOnPacketsName[] = "Wake On Packets";
2521
2522const char kWakeOnPacketsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192523 "Enables waking the device based on the receipt of some network packets.";
vabr0215a8e2017-03-28 12:47:342524
brettw5f9c1642017-05-14 17:12:482525const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
vabr0215a8e2017-03-28 12:47:342526
2527const char kQuickUnlockPinDescription[] =
jdufault74476492017-04-20 01:20:002528 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2529 "device on the lock screen after you have signed into your device.";
2530
2531const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2532
2533const char kQuickUnlockPinSigninDescription[] =
2534 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2535 "device. After changing this flag PIN needs to be set up again.";
vabr0215a8e2017-03-28 12:47:342536
2537const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2538
2539const char kQuickUnlockFingerprintDescription[] =
2540 "Enabling fingerprint quick unlock allows you to setup and use a "
Vitalii Iarko7df520142017-07-07 12:53:192541 "fingerprint to unlock your Chromebook on the lock screen after you have "
2542 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342543
2544const char kExperimentalAccessibilityFeaturesName[] =
2545 "Experimental accessibility features";
2546
2547const char kExperimentalAccessibilityFeaturesDescription[] =
2548 "Enable additional accessibility features in the Settings page.";
2549
2550const char kDisableSystemTimezoneAutomaticDetectionName[] =
2551 "SystemTimezoneAutomaticDetection policy support";
2552
2553const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2554 "Disable system timezone automatic detection device policy.";
2555
2556const char kEolNotificationName[] = "Disable Device End of Life notification.";
2557
2558const char kEolNotificationDescription[] =
2559 "Disable Notifcation when Device is End of Life.";
2560
2561// Stylus strings
2562
2563const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2564
2565const char kForceEnableStylusToolsDescription[] =
2566 "Forces display of the stylus tools menu in the shelf and the stylus "
2567 "section in settings, even if there is no attached stylus device.";
2568
Toni Barzic0f3440a62017-07-19 20:19:312569const char kEnableLockScreenAppsName[] = "Enable lock screen note taking";
2570
2571const char kEnableLockScreenAppsDescription[] =
2572 "Enable new-note action handler apps on the lock screen. The user will be "
2573 "able to launch the preferred note-taking action from the lock screen, "
2574 "provided that the app supports lock screen note taking.";
2575
vabr0215a8e2017-03-28 12:47:342576// Network portal notification
2577
2578const char kNetworkPortalNotificationName[] =
2579 "Notifications about captive portals";
2580
2581const char kNetworkPortalNotificationDescription[] =
2582 "If enabled, notification is displayed when device is connected to a "
2583 "network behind captive portal.";
2584
stevenjbe1d457382017-05-24 22:37:242585const char kNetworkSettingsConfigName[] =
2586 "Settings based Network Configuration";
2587
2588const char kNetworkSettingsConfigDescription[] =
2589 "Enables the Settings based network configuration UI instead of the Views "
2590 "based configuration dialog.";
2591
vabr0215a8e2017-03-28 12:47:342592const char kMtpWriteSupportName[] = "MTP write support";
2593
2594const char kMtpWriteSupportDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192595 "MTP write support in File System API (and file manager). In-place editing "
2596 "operations are not supported.";
vabr0215a8e2017-03-28 12:47:342597
2598const char kCrosRegionsModeName[] = "Cros-regions load mode";
2599
2600const char kCrosRegionsModeDescription[] =
2601 "This flag controls cros-regions load mode";
2602
2603const char kCrosRegionsModeDefault[] = "Default";
2604
2605const char kCrosRegionsModeOverride[] = "Override VPD values.";
2606
2607const char kCrosRegionsModeHide[] = "Hide VPD values.";
2608
2609const char kPrinterProviderSearchAppName[] =
2610 "Chrome Web Store Gallery app for printer drivers";
2611
2612const char kPrinterProviderSearchAppDescription[] =
2613 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192614 "searches Chrome Web Store for extensions that support printing to a USB "
2615 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342616
2617const char kArcBootCompleted[] = "Load Android apps automatically";
2618
2619const char kArcBootCompletedDescription[] =
2620 "Allow Android apps to start automatically after signing in.";
2621
2622const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2623
2624const char kEnableImeMenuDescription[] =
2625 "Enable access to the new IME menu in the Language Settings page.";
2626
2627const char kEnableEhvInputName[] =
2628 "Emoji, handwriting and voice input on opt-in IME menu";
2629
2630const char kEnableEhvInputDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192631 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342632
fukino1b5ebe952017-04-07 05:35:302633const char kEnableEncryptionMigrationName[] =
2634 "Enable encryption migration of user data";
2635
2636const char kEnableEncryptionMigrationDescription[] =
2637 "If enabled and the device supports ARC, the user will be asked to update "
2638 "the encryption of user data when the user signs in.";
2639
Daniel Erat33054b22017-06-27 16:18:072640// Spurious power button detection
2641
2642const char kSpuriousPowerButtonWindowName[] = "Spurious power button window";
2643const char kSpuriousPowerButtonWindowDescription[] =
2644 "Number of recent accelerometer samples to examine to determine if a power "
2645 "button event was spurious.";
2646
2647const char kSpuriousPowerButtonAccelCountName[] =
2648 "Spurious power button acceleration count";
2649const char kSpuriousPowerButtonAccelCountDescription[] =
2650 "Number of recent acceleration samples that must meet or exceed exceed the "
2651 "threshold in order for a power button event to be considered spurious.";
2652
2653const char kSpuriousPowerButtonScreenAccelName[] =
2654 "Spurious power button screen acceleration threshold";
2655const char kSpuriousPowerButtonScreenAccelDescription[] =
2656 "Threshold (in m/s^2, disregarding gravity) that screen acceleration must "
2657 "meet or exceed for a power button event to be considered spurious.";
2658
2659const char kSpuriousPowerButtonKeyboardAccelName[] =
2660 "Spurious power button keyboard acceleration threshold";
2661const char kSpuriousPowerButtonKeyboardAccelDescription[] =
2662 "Threshold (in m/s^2, disregarding gravity) that keyboard acceleration "
2663 "must meet or exceed for a power button event to be considered spurious.";
2664
2665const char kSpuriousPowerButtonLidAngleChangeName[] =
2666 "Spurious power button lid angle change threshold";
2667const char kSpuriousPowerButtonLidAngleChangeDescription[] =
2668 "Change in lid angle (i.e. hinge between keyboard and screen) that must be "
2669 "met or exceeded for a power button event to be considered spurious.";
2670
vabr0215a8e2017-03-28 12:47:342671#endif // #if defined(OS_CHROMEOS)
2672
stanisc14bed0b132017-05-10 17:46:372673#if defined(OS_WIN)
2674
2675// Name and description of the flag that enables D3D v-sync.
2676const char kEnableD3DVsync[] = "D3D v-sync";
2677const char kEnableD3DVsyncDescription[] =
2678 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2679 "to occur.";
2680
2681#endif // defined(OS_WIN)
2682
thestig0c55ee32017-06-20 22:17:512683#if !defined(OS_ANDROID)
treib273e9db2017-05-11 14:02:262684
msarda6d4b3dc2017-06-02 15:39:472685const char kAccountConsistencyName[] =
2686 "Identity consistency between browser and cookie jar";
2687
2688const char kAccountConsistencyDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192689 "When enabled, the browser manages signing in and out of Google accounts.";
msarda6d4b3dc2017-06-02 15:39:472690
2691const char kAccountConsistencyChoiceMirror[] = "Mirror";
2692const char kAccountConsistencyChoiceDice[] = "Dice";
2693
treib273e9db2017-05-11 14:02:262694const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2695const char kUseGoogleLocalNtpDescription[] =
2696 "Use the local New Tab page if Google is the default search engine.";
2697
2698const char kOneGoogleBarOnLocalNtpName[] =
2699 "Enable the OneGoogleBar on the local NTP";
2700const char kOneGoogleBarOnLocalNtpDescription[] =
2701 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2702 "search engine.";
2703
thestig0c55ee32017-06-20 22:17:512704#endif // !defined(OS_ANDROID)
treib273e9db2017-05-11 14:02:262705
lgreyc0b638e52017-05-11 19:10:172706#if defined(OS_MACOSX)
2707extern const char kMacRTLName[] = "Enable RTL";
2708extern const char kMacRTLDescription[] =
2709 "Mirrors the UI for RTL language users";
elawrence408bddb2017-06-15 16:07:382710extern const char kMacTouchBarName[] = "Hardware TouchBar";
2711extern const char kMacTouchBarDescription[] =
2712 "Control the use of the TouchBar.";
lgreyc0b638e52017-05-11 19:10:172713#endif
2714
yhanadac5bff5b2017-05-18 06:37:092715#if defined(OS_CHROMEOS)
2716
2717const char kDisableNewVirtualKeyboardBehaviorName[] =
2718 "New window behavior for the accessibility keyboard";
2719const char kDisableNewVirtualKeyboardBehaviorDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192720 "Disable new window behavior for the accessibility keyboard in non-sticky "
2721 "mode (do not change work area in non-sticky mode).";
yhanadac5bff5b2017-05-18 06:37:092722
bruthigeafb0c02017-06-09 13:11:532723const char kUiDevToolsName[] = "Enable native UI inspection";
2724const char kUiDevToolsDescription[] =
2725 "Enables inspection of native UI elements. For local inspection use "
2726 "chrome://inspect#other";
2727
Takashi Toyoshima14f64f562017-07-19 08:38:202728const char kUseCrosMidiServiceName[] = "Use Chrome OS MIDI Service";
2729const char kUseCrosMidiServiceNameDescription[] =
2730 "Use Chrome OS MIDI Service for Web MIDI and allow ARC to support Android "
2731 "MIDI.";
2732
orenb21da031c2017-06-30 21:24:202733const char kMultideviceName[] = "Enable multidevice features";
2734const char kMultideviceDescription[] =
2735 "Enables UI for controlling multidevice features.";
2736
yhanadac5bff5b2017-05-18 06:37:092737#endif // defined(OS_CHROMEOS)
2738
vabr0215a8e2017-03-28 12:47:342739} // namespace flag_descriptions