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