blob: cf48122d006f0e17e098fd261ca9f0d45e97a370 [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
1600const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1601 "Show offline page downloads on the New Tab page";
1602const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1603 "If enabled, the list of content suggestions on the New Tab page will "
1604 "contain pages that the user downloaded for later use.";
1605
1606const char kEnableNtpRemoteSuggestionsName[] =
1607 "Show server-side suggestions on the New Tab page";
1608const char kEnableNtpRemoteSuggestionsDescription[] =
1609 "If enabled, the list of content suggestions on the New Tab page will "
1610 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
1611 "allows to override the source used to retrieve these server-side "
1612 "suggestions.";
1613
1614const char kEnableNtpSnippetsVisibilityName[] =
1615 "Make New Tab Page Snippets more visible.";
1616const char kEnableNtpSnippetsVisibilityDescription[] =
1617 "If enabled, the NTP snippets will become more discoverable with a larger "
1618 "portion of the first card above the fold.";
1619
1620const char kEnableNtpSuggestionsNotificationsName[] =
1621 "Notify about new content suggestions available at the New Tab page";
1622const char kEnableNtpSuggestionsNotificationsDescription[] =
1623 "If enabled, notifications will inform about new content suggestions on "
1624 "the New Tab page.";
1625
1626const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
1627const char kEnablePhysicalWebDescription[] =
1628 "Enable scanning for URLs from Physical Web objects.";
1629
1630const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1631const char kEnableOfflinePreviewsDescription[] =
1632 "Enable showing offline page previews on slow networks.";
1633
1634const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
1635const char kEnableOskOverscrollDescription[] =
1636 "Enable OSK overscroll support. With this flag on, the OSK will only "
1637 "resize the visual viewport.";
1638
1639const char kEnableSpecialLocaleName[] =
1640 "Enable custom logic for special locales.";
1641const char kEnableSpecialLocaleDescription[] =
1642 "Enable custom logic for special locales. In this mode, Chrome might "
1643 "behave differently in some locales.";
1644
1645const char kEnableWebapk[] = "Enable improved add to Home screen";
1646const char kEnableWebapkDescription[] =
1647 R"*(Packages "Progressive Web Apps" so that they can integrate more )*"
1648 R"*(deeply with Android. A Chrome server is used to package sites. In )*"
1649 R"*(Chrome Canary and Chrome Dev, this requires “Untrusted )*"
1650 R"*(sources” to be enabled in Android security settings.)*";
1651
1652const char kEnableWebNfcName[] = "WebNFC";
1653const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
1654
gogeraldf3cbb422017-07-26 14:37:121655const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
1656 "Enable Web Payments method section order V2.";
1657const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
1658 "Enable this option to display payment method section above address "
1659 "section instead of below it.";
1660
Brett Wilsonff596952017-07-14 01:06:551661const char kEnableWebPaymentsSingleAppUiSkipName[] =
1662 "Enable Web Payments single app UI skip";
1663const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
1664 "Enable Web Payments to skip showing its UI if the developer specifies a "
1665 "single app.";
1666
1667const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
1668const char kHerbPrototypeChoicesDescription[] =
1669 "Switching this option changes which tab management prototype is being "
1670 "tested.";
1671const char kHerbPrototypeFlavorElderberry[] =
1672 "ELDERBERRY: All View Intents in CCT v2";
1673
1674const char kKeepPrefetchedContentSuggestionsName[] =
1675 "Keep prefetched content suggestions";
1676const char kKeepPrefetchedContentSuggestionsDescription[] =
1677 "If enabled, some of prefetched content suggestions are not replaced by "
1678 "the new fetched suggestions.";
1679
1680const char kLsdPermissionPromptName[] =
1681 "Location Settings Dialog Permission Prompt";
1682const char kLsdPermissionPromptDescription[] =
1683 "Whether to use the Google Play Services Location Settings Dialog "
1684 "permission dialog.";
1685
1686const char kMediaDocumentDownloadButtonName[] =
1687 "Download button when opening a page with media url.";
1688const char kMediaDocumentDownloadButtonDescription[] =
1689 "Allow a download button to show up when opening a page with media url.";
1690
1691const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
1692const char kMediaScreenCaptureDescription[] =
1693 "Enable this option for experimental ScreenCapture feature on Android.";
1694
1695const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
1696const char kModalPermissionPromptsDescription[] =
1697 "Whether to use permission dialogs in place of permission infobars.";
1698
1699const char kNewBackgroundLoaderName[] =
1700 "Use background loader instead of prerenderer to load pages.";
1701const char kNewBackgroundLoaderDescription[] =
1702 "Use background loader instead of prerenderer to asynchronously download "
1703 "pages.";
1704
1705const char kNewPhotoPickerName[] = "Enable new Photopicker";
1706const char kNewPhotoPickerDescription[] =
1707 "Activates the new picker for selecting photos.";
1708
1709const char kNoCreditCardAbort[] = "No Credit Card Abort";
1710const char kNoCreditCardAbortDescription[] =
1711 "Whether or not the No Credit Card Abort is enabled.";
1712
1713const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
1714const char kNtpCondensedLayoutDescription[] =
1715 "Show a condensed layout on the New Tab Page.";
1716
1717const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
1718const char kNtpCondensedTileLayoutDescription[] =
1719 "Show a condensed tile layout on the New Tab Page.";
1720
1721const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
1722const char kNtpGoogleGInOmniboxDescription[] =
1723 "Show a Google G in the omnibox on the New Tab Page.";
1724
1725const char kNtpOfflinePagesName[] = "Enable NTP offline pages";
1726const char kNtpOfflinePagesDescription[] =
1727 "Enables badging of offline pages on the New Tab page. Only relevant if "
1728 "offline pages are enabled.";
1729
1730const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
1731const char kNtpPopularSitesDescription[] =
1732 "Pre-populate the New Tab page with popular sites.";
1733
1734const char kNtpSwitchToExistingTabName[] =
1735 "Switch to an existing tab for New Tab Page suggestions.";
1736const char kNtpSwitchToExistingTabDescription[] =
1737 "When opening a suggested webpage from the New Tab Page, if a tab is "
1738 "already open for the suggestion, switch to that one instead of loading "
1739 "the suggestion in the new tab.";
1740const char kNtpSwitchToExistingTabMatchUrl[] = "Match by URL";
1741const char kNtpSwitchToExistingTabMatchHost[] = "Match by Hostname";
1742
1743const char kOfflineBookmarksName[] = "Enable offline bookmarks";
1744const char kOfflineBookmarksDescription[] =
1745 "Enable saving bookmarked pages for offline viewing.";
1746
1747const char kOfflinePagesAsyncDownloadName[] =
1748 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages.)*";
1749const char kOfflinePagesAsyncDownloadDescription[] =
1750 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages such )*"
1751 R"*(that the user can click on it to download the page later.)*";
1752
1753const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
1754const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
1755
1756const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
1757const char kOfflinePagesCtV2Description[] =
1758 "V2 features include attributing pages to the app that initiated the "
1759 "custom tabs, and being able to query for pages by page attribution.";
1760
1761const char kOfflinePagesLoadSignalCollectingName[] =
1762 "Enables collecting load timing data for offline page snapshots.";
1763const char kOfflinePagesLoadSignalCollectingDescription[] =
1764 "Enables loading completeness data collection while writing an offline "
1765 "page. This data is collected in the snapshotted offline page to allow "
1766 "data analysis to improve deciding when to make the offline snapshot.";
1767
1768const char kOfflinePagesPrefetchingName[] =
1769 "Enables suggested offline pages to be prefetched.";
1770const char kOfflinePagesPrefetchingDescription[] =
1771 "Enables suggested offline pages to be prefetched, so useful content is "
1772 "available while offline.";
1773
Collin Baker17f92a52017-07-19 21:41:251774const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
1775const char kOfflinePagesRenovationsDescription[] =
1776 "Enables offline page renovations which correct issues with dynamic "
1777 "content that occur when offlining pages that use JavaScript.";
1778
Brett Wilsonff596952017-07-14 01:06:551779const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
1780const char kOfflinePagesSharingDescription[] =
1781 "Enables the saved offline pages to be shared via other applications.";
1782
1783const char kOfflinePagesSvelteConcurrentLoadingName[] =
1784 "Enables concurrent background loading on svelte.";
1785const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
1786 "Enables concurrent background loading (or downloading) of pages on "
1787 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
1788 "happen when the svelte device is idle.";
1789
1790const char kOffliningRecentPagesName[] =
1791 "Enable offlining of recently visited pages";
1792const char kOffliningRecentPagesDescription[] =
1793 "Enable storing recently visited pages locally for offline use. Requires "
1794 "Offline Pages to be enabled.";
1795
1796extern const char kPayWithGoogleV1Name[] = "Pay with Google v1";
1797extern const char kPayWithGoogleV1Description[] =
1798 "Enable Pay with Google integration into Web Payments with API version "
1799 "'1'.";
1800
1801const char kProgressBarAnimationName[] =
1802 "Android phone page loading progress bar animation";
1803const char kProgressBarAnimationDescription[] =
1804 "Configures Android phone page loading progress bar animation.";
1805const char kProgressBarAnimationLinear[] = "Linear";
1806const char kProgressBarAnimationSmooth[] = "Smooth";
1807const char kProgressBarAnimationSmoothIndeterminate[] = "Smooth indeterminate";
1808const char kProgressBarAnimationFastStart[] = "Fast start";
1809
1810const char kProgressBarCompletionName[] =
1811 "Android phone page load progress bar completion time.";
1812const char kProgressBarCompletionDescription[] =
1813 "Configures Android phone page loading progress bar completion time.";
1814const char kProgressBarCompletionLoadEvent[] =
1815 R"*(Top loading frame's onload event ("everything" is done in the )*"
1816 R"*(page, historical behavior).)*";
1817const char kProgressBarCompletionResourcesBeforeDcl[] =
1818 "Main frame's domContentLoaded and all resources loads started before "
1819 "domContentLoaded (iframes ignored).";
1820const char kProgressBarCompletionDomContentLoaded[] =
1821 "Main frame's domContentLoaded (iframes ignored).";
1822const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
1823 "domContentLoaded and all resources loads started before domContentLoaded "
1824 "(main frame and same origin iframes).";
1825
1826const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
1827const char kPullToRefreshEffectDescription[] =
1828 "Page reloads triggered by vertically overscrolling content.";
1829
Piotr Swigon9f630b32017-07-26 09:42:491830const char kPwaPersistentNotificationName[] =
1831 "Persistent notification in standalone PWA";
1832const char kPwaPersistentNotificationDescription[] =
1833 "Enables a persistent Android notification for standalone PWAs";
1834
Brett Wilsonff596952017-07-14 01:06:551835const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
1836const char kReaderModeHeuristicsDescription[] =
1837 "Determines what pages the Reader Mode infobar is shown on.";
1838const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
1839const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
1840const char kReaderModeHeuristicsAllArticles[] = "All articles";
1841const char kReaderModeHeuristicsAlwaysOff[] = "Never";
1842const char kReaderModeHeuristicsAlwaysOn[] = "Always";
1843
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:181844const char kReaderModeInCCTName[] = "Reader Mode in CCT";
1845const char kReaderModeInCCTDescription[] =
1846 "Open Reader Mode in Chrome Custom Tabs.";
1847
Brett Wilsonff596952017-07-14 01:06:551848const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1849const char kServiceWorkerPaymentAppsDescription[] =
1850 "Enable Service Worker applications to integrate as payment apps";
1851
1852const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
1853const char kSetMarketUrlForTestingDescription[] =
1854 "When enabled, sets the market URL for use in testing the update menu "
1855 "item.";
1856
1857const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
1858const char kSpannableInlineAutocompleteDescription[] =
1859 "A new type of inline autocomplete for the omnibox that works with "
1860 "keyboards that compose text.";
1861
1862const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1863const char kTabsInCbdDescription[] =
1864 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1865
1866const char kTranslateCompactUIName[] = "New Translate Infobar";
1867const char kTranslateCompactUIDescription[] =
1868 "Enable the new Translate compact infobar UI.";
1869
1870const char kUpdateMenuBadgeName[] = "Force show update menu badge";
1871const char kUpdateMenuBadgeDescription[] =
1872 "When enabled, an update badge will be shown on the app menu button.";
1873
1874const char kUpdateMenuItemCustomSummaryDescription[] =
1875 "When this flag and the force show update menu item flag are enabled, a "
1876 "custom summary string will be displayed below the update menu item.";
1877const char kUpdateMenuItemCustomSummaryName[] =
1878 "Update menu item custom summary";
1879
1880const char kUpdateMenuItemName[] = "Force show update menu item";
1881const char kUpdateMenuItemDescription[] =
1882 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
1883 R"*(menu.)*";
1884
1885const char kUseAndroidMidiApiName[] = "Use Android Midi API";
1886const char kUseAndroidMidiApiDescription[] =
1887 "Use Android Midi API for WebMIDI (effective only with Android M+ "
1888 "devices).";
1889
1890const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1891const char kUseDdljsonApiDescription[] =
1892 "Enables the new ddljson API to fetch Doodles for the NTP.";
1893
Brett Wilsonff596952017-07-14 01:06:551894const char kXGEOVisibleNetworksName[] = "Enable XGEO Visible Networks";
1895const char kXGEOVisibleNetworksDescription[] =
1896 "If location permissions are granted, include visible networks in the XGEO "
1897 "Header for omnibox queries. This will only happen if location is not "
1898 "fresh or not available (for example, due to a cold start).";
1899
1900#endif // OS_ANDROID
1901
brettw5f9c1642017-05-14 17:12:481902#if !defined(DISABLE_NACL)
1903
vabr0215a8e2017-03-28 12:47:341904const char kNaclName[] = "Native Client";
vabr0215a8e2017-03-28 12:47:341905const char kNaclDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:191906 "Support Native Client for all web applications, even those that were not "
1907 "installed from the Chrome Web Store.";
vabr0215a8e2017-03-28 12:47:341908
vabr0215a8e2017-03-28 12:47:341909const char kNaclDebugName[] = "Native Client GDB-based debugging";
vabr0215a8e2017-03-28 12:47:341910const char kNaclDebugDescription[] =
1911 "Enable GDB debug stub. This will stop a Native Client application on "
1912 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
1913
vabr0215a8e2017-03-28 12:47:341914const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
vabr0215a8e2017-03-28 12:47:341915const char kPnaclSubzeroDescription[] =
1916 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
1917
vabr0215a8e2017-03-28 12:47:341918const char kNaclDebugMaskName[] =
1919 "Restrict Native Client GDB-based debugging by pattern";
vabr0215a8e2017-03-28 12:47:341920const char kNaclDebugMaskDescription[] =
1921 "Restricts Native Client application GDB-based debugging by URL of "
Vitalii Iarko7df520142017-07-07 12:53:191922 "manifest file. Native Client GDB-based debugging must be enabled for this "
1923 "option to work.";
vabr0215a8e2017-03-28 12:47:341924const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
vabr0215a8e2017-03-28 12:47:341925const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
1926 "Debug everything except secure shell and the PNaCl translator.";
vabr0215a8e2017-03-28 12:47:341927const char kNaclDebugMaskChoiceIncludeDebug[] =
1928 "Debug only if manifest URL ends with debug.nmf.";
1929
brettw5f9c1642017-05-14 17:12:481930#endif
1931
vabr0215a8e2017-03-28 12:47:341932#if defined(OS_WIN)
1933
1934const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
1935
1936const char kCloudPrintXpsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:191937 "XPS enables advanced options for classic printers connected to the Cloud "
1938 "Print with Chrome. Printers must be re-connected after changing this "
1939 "flag.";
vabr0215a8e2017-03-28 12:47:341940
1941#endif // defined(OS_WIN)
1942
vabr0215a8e2017-03-28 12:47:341943#if BUILDFLAG(ENABLE_WEBRTC)
1944
1945const char kWebrtcH264WithOpenh264FfmpegName[] =
1946 "WebRTC H.264 software video encoder/decoder";
1947
1948const char kWebrtcH264WithOpenh264FfmpegDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:191949 "When enabled, an H.264 software video encoder/decoder pair is included. "
1950 "If a hardware encoder/decoder is also available it may be used instead of "
1951 "this encoder/decoder.";
vabr0215a8e2017-03-28 12:47:341952
1953#endif // BUILDFLAG(ENABLE_WEBRTC)
1954
vabr0215a8e2017-03-28 12:47:341955#if defined(USE_ASH)
1956
brettw81668cf2017-05-15 22:57:341957const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
vabr0215a8e2017-03-28 12:47:341958
1959const char kAshShelfColorDescription[] =
bruthigd8b95962017-03-31 19:38:341960 "Enables/disables the shelf color to be a derived from the wallpaper. The "
1961 "--ash-shelf-color-scheme flag defines how that color is derived.";
vabr0215a8e2017-03-28 12:47:341962
bruthigd8b95962017-03-31 19:38:341963const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
vabr0215a8e2017-03-28 12:47:341964
bruthigd8b95962017-03-31 19:38:341965const char kAshShelfColorSchemeDescription[] =
1966 "Specify how the color is derived from the wallpaper. This flag is only "
1967 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
vabr0215a8e2017-03-28 12:47:341968
bruthigd8b95962017-03-31 19:38:341969const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
vabr0215a8e2017-03-28 12:47:341970
bruthigd8b95962017-03-31 19:38:341971const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
vabr0215a8e2017-03-28 12:47:341972
bruthigd8b95962017-03-31 19:38:341973const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
vabr0215a8e2017-03-28 12:47:341974
bruthigd8b95962017-03-31 19:38:341975const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
1976
1977const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
1978
1979const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
vabr0215a8e2017-03-28 12:47:341980
vabr0215a8e2017-03-28 12:47:341981const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
1982
1983const char kAshEnableMirroredScreenDescription[] =
1984 "Enable the mirrored screen mode. This mode flips the screen image "
1985 "horizontally.";
1986
wutaob161bf22017-04-26 16:55:031987const char kAshDisableSmoothScreenRotationName[] =
1988 "Disable smooth rotation animations.";
wutao2c0ca182017-04-06 22:40:541989
wutaob161bf22017-04-26 16:55:031990const char kAshDisableSmoothScreenRotationDescription[] =
1991 "Disable smooth rotation animations.";
wutao2c0ca182017-04-06 22:40:541992
vabr0215a8e2017-03-28 12:47:341993const char kMaterialDesignInkDropAnimationFast[] = "Fast";
1994
1995const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
1996
1997const char kMaterialDesignInkDropAnimationSpeedName[] =
1998 "Material Design Ink Drop Animation Speed";
1999
2000const char kMaterialDesignInkDropAnimationSpeedDescription[] =
2001 "Sets the speed of the experimental visual feedback animations for "
2002 "material design.";
2003
2004const char kUiSlowAnimationsName[] = "Slow UI animations";
2005
2006const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
2007
reveman5be07ac82017-04-14 01:06:052008const char kUiShowCompositedLayerBordersName[] =
2009 "Show UI composited layer borders";
2010
2011const char kUiShowCompositedLayerBordersDescription[] =
2012 "Show border around composited layers created by UI.";
2013
2014const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
2015
2016const char kUiShowCompositedLayerBordersSurface[] = "Surface";
2017
2018const char kUiShowCompositedLayerBordersLayer[] = "Layer";
2019
2020const char kUiShowCompositedLayerBordersAll[] = "All";
2021
vabr0215a8e2017-03-28 12:47:342022#endif // defined(USE_ASH)
2023
vabr0215a8e2017-03-28 12:47:342024const char kForceGpuRasterization[] = "Force-enabled for all layers";
2025
vabr0215a8e2017-03-28 12:47:342026#if defined(OS_CHROMEOS)
2027
sky527bea52017-05-15 19:15:142028const char kUseMusDescription[] = "Enable the Mojo UI service.";
vabr0215a8e2017-03-28 12:47:342029
sky527bea52017-05-15 19:15:142030const char kUseMusName[] = "Mus";
2031
2032const char kEnableMashDescription[] =
2033 "Mash (UI, Chrome and ash in separate services)";
2034
2035const char kEnableMusDescription[] =
2036 "Mus (UI in separate service, Chrome and ash in same service)";
vabr0215a8e2017-03-28 12:47:342037
2038const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2039
2040const char kAllowTouchpadThreeFingerClickDescription[] =
2041 "Enables touchpad three-finger-click as middle button.";
2042
2043const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2044
2045const char kAshEnableUnifiedDesktopDescription[] =
2046 "Enable unified desktop mode which allows a window to span multiple "
2047 "displays.";
2048
brettw5f9c1642017-05-14 17:12:482049const char kBootAnimationName[] = "Boot animation";
vabr0215a8e2017-03-28 12:47:342050
2051const char kBootAnimationDescription[] =
2052 "Wallpaper boot animation (except for OOBE case).";
2053
hansberryc147785f2017-05-02 23:36:272054const char kTetherName[] = "Instant Tethering";
2055
2056const char kTetherDescription[] =
2057 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2058 "phone to share its Internet connection with this device.";
2059
vabr0215a8e2017-03-28 12:47:342060#endif // defined(OS_CHROMEOS)
2061
vabr0215a8e2017-03-28 12:47:342062#if defined(OS_CHROMEOS)
2063
2064const char kFirstRunUiTransitionsName[] =
2065 "Animated transitions in the first-run tutorial";
2066
2067const char kFirstRunUiTransitionsDescription[] =
2068 "Transitions during first-run tutorial are animated.";
2069
2070#endif // defined(OS_CHROMEOS)
2071
vabr0215a8e2017-03-28 12:47:342072#if defined(OS_MACOSX)
2073
2074const char kHostedAppsInWindowsName[] =
2075 "Allow hosted apps to be opened in windows";
2076
2077const char kHostedAppsInWindowsDescription[] =
2078 "Allows hosted apps to be opened in windows instead of being limited to "
2079 "tabs.";
2080
2081const char kTabDetachingInFullscreenName[] =
2082 "Allow tab detaching in fullscreen";
2083
2084const char kTabDetachingInFullscreenDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192085 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
vabr0215a8e2017-03-28 12:47:342086
2087const char kFullscreenToolbarRevealName[] =
2088 "Enables the toolbar in fullscreen to reveal itself.";
2089
2090const char kFullscreenToolbarRevealDescription[] =
2091 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2092 "has changed.";
2093
Luis Rabasabe8c6f82017-08-03 01:25:162094const char kContentFullscreenName[] = "Improved Content Fullscreen";
2095
2096const char kContentFullscreenDescription[] =
2097 "Fullscreen content window detaches from main browser window and goes to "
2098 "a new space without moving or changing the original browser window.";
2099
vabr0215a8e2017-03-28 12:47:342100const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2101
2102const char kTabStripKeyboardFocusDescription[] =
2103 "Enable keyboard focus for the tabs in the tab strip.";
2104
2105#endif // defined(OS_MACOSX)
2106
vabr0215a8e2017-03-28 12:47:342107#if defined(OS_MACOSX)
2108
2109const char kTranslateNewUxName[] = "New Translate UX";
2110
2111const char kTranslateNewUxDescription[] =
2112 "Enable the new Translate bubble UX is offered instead of the infobar.";
2113
2114#endif // defined(OS_MACOSX)
2115
vabr0215a8e2017-03-28 12:47:342116#if defined(OS_MACOSX)
2117
2118const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2119
2120const char kAppInfoDialogDescription[] =
2121 "Makes the Toolkit-Views based App Info dialog accessible from "
2122 "chrome://apps or chrome://extensions in place of the native extension "
2123 "permissions dialog, or the details link (which is a link to the Web "
2124 "Store).";
2125
kerrnel7e4f7a7f2017-06-28 21:28:282126const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2127
2128const char kMacV2SandboxDescription[] =
2129 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2130 "entire life cycle.";
2131
vabr0215a8e2017-03-28 12:47:342132const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2133
2134const char kMacViewsNativeAppWindowsDescription[] =
2135 "Controls whether to use Toolkit-Views based Chrome App windows.";
2136
2137const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2138
2139const char kMacViewsTaskManagerDescription[] =
2140 "Controls whether to use the Toolkit-Views based Task Manager.";
2141
2142const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2143
2144const char kAppWindowCyclingDescription[] =
2145 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2146 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
Vitalii Iarko7df520142017-07-07 12:53:192147 "browser window, and browser windows will not be cycled when a Chrome App "
2148 "is active.";
vabr0215a8e2017-03-28 12:47:342149
2150#endif // defined(OS_MACOSX)
2151
2152#if defined(OS_CHROMEOS)
2153
2154const char kAcceleratedMjpegDecodeName[] =
2155 "Hardware-accelerated mjpeg decode for captured frame";
2156
2157const char kAcceleratedMjpegDecodeDescription[] =
2158 "Enable hardware-accelerated mjpeg decode for captured frame where "
2159 "available.";
2160
2161#endif // defined(OS_CHROMEOS)
2162
vabr0215a8e2017-03-28 12:47:342163#if defined(OS_WIN)
2164
2165const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2166
2167const char kEnableAppcontainerDescription[] =
2168 "Enables the use of an AppContainer on sandboxed processes to improve "
2169 "security.";
2170
2171#endif // defined(OS_WIN)
2172
thestig0c55ee32017-06-20 22:17:512173#if defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
elawrenced9978fc2017-05-02 02:45:192174
2175const char kShowCertLinkOnPageInfoName[] = "Show certificate link";
2176
2177const char kShowCertLinkOnPageInfoDescription[] =
2178 "Add a link from the Page Info bubble to the certificate viewer for HTTPS "
2179 "sites.";
2180
thestig0c55ee32017-06-20 22:17:512181#endif // defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
elawrenced9978fc2017-05-02 02:45:192182
vabr0215a8e2017-03-28 12:47:342183#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2184
2185const char kAutofillCreditCardUploadName[] =
2186 "Enable offering upload of Autofilled credit cards";
2187
2188const char kAutofillCreditCardUploadDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192189 "Enables a new option to upload credit cards to Google Payments for sync "
2190 "to all Chrome devices.";
vabr0215a8e2017-03-28 12:47:342191
2192#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2193
vabr0215a8e2017-03-28 12:47:342194#if defined(OS_WIN) || defined(OS_LINUX)
2195
2196const char kEnableInputImeApiName[] = "Enable Input IME API";
2197
2198const char kEnableInputImeApiDescription[] =
2199 "Enable the use of chrome.input.ime API.";
2200
2201#endif // defined(OS_WIN) || defined(OS_LINUX)
2202
vabr0215a8e2017-03-28 12:47:342203#if defined(OS_CHROMEOS)
2204
vabr0215a8e2017-03-28 12:47:342205const char kVirtualKeyboardName[] = "Virtual Keyboard";
2206
2207const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2208
2209const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2210
2211const char kVirtualKeyboardOverscrollDescription[] =
2212 "Enables virtual keyboard overscroll support.";
2213
2214const char kInputViewName[] = "Input views";
2215
2216const char kInputViewDescription[] =
2217 "Enable IME extensions to supply custom views for user input such as "
2218 "virtual keyboards.";
2219
2220const char kNewKoreanImeName[] = "New Korean IME";
2221
2222const char kNewKoreanImeDescription[] =
2223 "New Korean IME, which is based on Google Input Tools' HMM engine.";
2224
2225const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2226
2227const char kPhysicalKeyboardAutocorrectDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192228 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2229 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342230
2231const char kVoiceInputName[] = "Voice input on virtual keyboard";
2232
2233const char kVoiceInputDescription[] =
2234 "Enables voice input on virtual keyboard.";
2235
2236const char kExperimentalInputViewFeaturesName[] =
2237 "Experimental input view features";
2238
2239const char kExperimentalInputViewFeaturesDescription[] =
2240 "Enable experimental features for IME input views.";
2241
2242const char kFloatingVirtualKeyboardName[] = "Floating virtual keyboard.";
2243
2244const char kFloatingVirtualKeyboardDescription[] =
2245 "Enable/Disable floating virtual keyboard.";
2246
2247const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2248
2249const char kGestureTypingDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192250 "Enable/Disable gesture typing option in the settings page for the virtual "
2251 "keyboard.";
vabr0215a8e2017-03-28 12:47:342252
2253const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2254
2255const char kGestureEditingDescription[] =
2256 "Enable/Disable gesture editing option in the settings page for the "
2257 "virtual keyboard.";
2258
2259const char kCaptivePortalBypassProxyName[] =
2260 "Bypass proxy for Captive Portal Authorization";
2261
2262const char kCaptivePortalBypassProxyDescription[] =
2263 "If proxy is configured, it usually prevents from authorization on "
2264 "different captive portals. This enables opening captive portal "
Vitalii Iarko7df520142017-07-07 12:53:192265 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342266
2267const char kTouchscreenCalibrationName[] =
Vitalii Iarko7df520142017-07-07 12:53:192268 "Enable/disable touchscreen calibration option in material design settings";
vabr0215a8e2017-03-28 12:47:342269
2270const char kTouchscreenCalibrationDescription[] =
2271 "If enabled, the user can calibrate the touch screen displays in "
Dan Beame8db8412017-07-28 00:33:522272 "chrome://settings/display.";
vabr0215a8e2017-03-28 12:47:342273
yamaguchid99a64b2017-05-12 15:33:492274const char kTeamDrivesName[] = "Enable Team Drives Integration";
2275const char kTeamDrivesDescription[] =
2276 "If enabled, files under Team Drives will appear in the Files app.";
2277
vabr0215a8e2017-03-28 12:47:342278#endif // defined(OS_CHROMEOS)
2279
vabr0215a8e2017-03-28 12:47:342280#if defined(OS_WIN) || defined(OS_MACOSX)
2281
2282// Tab discarding
2283
2284const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2285
2286const char kAutomaticTabDiscardingDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192287 "If enabled, tabs get automatically discarded from memory when the system "
2288 "memory is low. Discarded tabs are still visible on the tab strip and get "
2289 "reloaded when clicked on. Info about discarded tabs can be found at "
2290 "chrome://discards.";
vabr0215a8e2017-03-28 12:47:342291
2292#endif // defined(OS_WIN) || defined(OS_MACOSX)
2293
vabr0215a8e2017-03-28 12:47:342294#if defined(OS_WIN)
2295
2296// Exporting tracing events to ETW
2297
2298const char kTraceExportEventsToEtwName[] =
2299 "Enable exporting of tracing events to ETW.";
2300
2301const char kTraceExportEventsToEtwDesription[] =
2302 "If enabled, trace events will be exported to the Event Tracing for "
2303 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2304 "Xperf.";
2305
2306const char kMergeKeyCharEventsName[] =
Vitalii Iarko7df520142017-07-07 12:53:192307 "Enable or disable merging merging the key event (WM_KEY*) with char event "
2308 "(WM_CHAR).";
vabr0215a8e2017-03-28 12:47:342309
2310const char kMergeKeyCharEventsDescription[] =
etienneb9a4b5302017-06-08 06:28:462311 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separately.";
vabr0215a8e2017-03-28 12:47:342312
2313const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2314
2315const char kUseWinrtMidiApiDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192316 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2317 "later).";
vabr0215a8e2017-03-28 12:47:342318
2319#endif // defined(OS_WIN)
2320
vabr0215a8e2017-03-28 12:47:342321#if defined(OS_CHROMEOS)
2322
vabr0215a8e2017-03-28 12:47:342323const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2324
2325const char kEnableAndroidWallpapersAppDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192326 "Enables the Android Wallpapers App as the default Wallpaper App on Chrome "
2327 "OS.";
vabr0215a8e2017-03-28 12:47:342328
2329const char kEnableTouchSupportForScreenMagnifierName[] =
2330 "Touch support for screen magnifier";
2331
2332const char kEnableTouchSupportForScreenMagnifierDescription[] =
2333 "Enables touch support for screen magnifier";
2334
Tatsuhisa Yamaguchi281eabf32017-07-19 21:55:522335const char kFileManagerTouchModeName[] = "Files App. touch mode";
2336const char kFileManagerTouchModeDescription[] =
2337 "Touchscreen-specific interactions of the Files app.";
2338
Rouslan Solomakhinbed1af22017-06-09 18:40:572339const char kEnableZipArchiverOnFileManagerName[] = "ZIP archiver for Drive";
takise183b8cb42017-04-07 05:12:082340
2341const char kEnableZipArchiverOnFileManagerDescription[] =
2342 "Enable the ability to archive and unpack files on Drive in the Files app";
2343
xiaochu32e9672a2017-05-04 04:15:082344const char kCrOSComponentName[] = "Chrome OS Component";
2345
2346const char kCrOSComponentDescription[] =
xiaochu169aadd2017-06-15 22:32:512347 "Enable the use of componentized escpr CUPS filter.";
xiaochu32e9672a2017-05-04 04:15:082348
vabr0215a8e2017-03-28 12:47:342349#endif // defined(OS_CHROMEOS)
2350
vabr0215a8e2017-03-28 12:47:342351#if !defined(OS_ANDROID) && defined(GOOGLE_CHROME_BUILD)
2352
2353const char kGoogleBrandedContextMenuName[] =
2354 "Google branding in the context menu";
2355
2356const char kGoogleBrandedContextMenuDescription[] =
2357 "Shows a Google icon next to context menu items powered by Google "
2358 "services.";
2359
2360#endif // !defined(OS_ANDROID) && defined(GOOGLE_CHROME_BUILD)
2361
mthiesse700b0b62017-05-19 01:37:312362#if BUILDFLAG(ENABLE_VR)
Brett Wilsonecb80982017-07-12 20:34:512363#if defined(OS_ANDROID)
vabr0215a8e2017-03-28 12:47:342364
Brett Wilsonecb80982017-07-12 20:34:512365const char kEnableVrShellName[] = "Enable Chrome VR.";
vabr0215a8e2017-03-28 12:47:342366const char kEnableVrShellDescription[] =
2367 "Allow browsing with a VR headset if available for this device.";
2368
mthiesse700b0b62017-05-19 01:37:312369const char kVrCustomTabBrowsingName[] = "Enable Custom Tab browsing in VR.";
mthiesse700b0b62017-05-19 01:37:312370const char kVrCustomTabBrowsingDescription[] =
2371 "Allow browsing with a VR headset in a Custom Tab if available for this "
2372 "device.";
ymalike78a83b2017-05-19 20:42:312373
2374const char kWebVrAutopresentName[] = "Enable WebVr auto presentation";
ymalike78a83b2017-05-19 20:42:312375const char kWebVrAutopresentDescription[] =
2376 "Allows auto presentation of WebVr content from trusted first-party apps";
Brett Wilsonecb80982017-07-12 20:34:512377
vabr0215a8e2017-03-28 12:47:342378#endif // defined(OS_ANDROID)
2379
Brett Wilsonecb80982017-07-12 20:34:512380const char kWebvrExperimentalRenderingName[] =
2381 "WebVR experimental rendering optimizations";
2382const char kWebvrExperimentalRenderingDescription[] =
2383 "Enabling this option activates experimental rendering path optimizations "
2384 "for WebVR.";
vabr0215a8e2017-03-28 12:47:342385
Brett Wilsonecb80982017-07-12 20:34:512386#endif // BUILDFLAG(ENABLE_VR)
vabr0215a8e2017-03-28 12:47:342387
vabr0215a8e2017-03-28 12:47:342388#if !defined(OS_ANDROID)
2389
mlamouriff56c092017-05-11 15:31:392390const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
vabr0215a8e2017-03-28 12:47:342391
mlamouriff56c092017-05-11 15:31:392392const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342393 "Manage audio focus across tabs to improve the audio mixing.";
2394
mlamouriff56c092017-05-11 15:31:392395const char kEnableAudioFocusDisabled[] = "Disabled";
vabr0215a8e2017-03-28 12:47:342396
mlamouriff56c092017-05-11 15:31:392397const char kEnableAudioFocusEnabled[] = "Enabled";
vabr0215a8e2017-03-28 12:47:342398
mlamouriff56c092017-05-11 15:31:392399const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342400 "Enabled (Flash lowers volume when interrupted by other sound, "
2401 "experimental)";
2402
2403#endif // !defined(OS_ANDROID)
2404
2405#if defined(OS_WIN)
2406
2407const char kGdiTextPrinting[] = "GDI Text Printing";
2408
2409const char kGdiTextPrintingDescription[] =
2410 "Use GDI to print text as simply text";
2411
2412#endif // defined(OS_WIN)
2413
vabr0215a8e2017-03-28 12:47:342414#if !defined(OS_MACOSX)
2415
2416const char kPermissionPromptPersistenceToggleName[] =
2417 "Persistence Toggle in Permission Prompts";
2418
2419const char kPermissionPromptPersistenceToggleDescription[] =
2420 "Whether to display a persistence toggle in permission prompts.";
2421
2422#endif // !defined(OS_MACOSX)
2423
vabr0215a8e2017-03-28 12:47:342424#if defined(OS_WIN)
2425
2426// Custom draw the Windows 10 titlebar. crbug.com/505013
2427
2428const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2429
2430const char kWindows10CustomTitlebarDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192431 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2432 "deferring to Windows.";
vabr0215a8e2017-03-28 12:47:342433
2434#endif // defined(OS_WIN)
2435
2436#if defined(OS_WIN)
2437
rbpotter556837e42017-05-01 18:49:042438const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
vabr0215a8e2017-03-28 12:47:342439
rbpotter556837e42017-05-01 18:49:042440const char kDisablePostscriptPrintingDescription[] =
2441 "Disables PostScript generation when printing to PostScript capable "
2442 "printers, and uses EMF generation in its place.";
vabr0215a8e2017-03-28 12:47:342443
2444#endif // defined(OS_WIN)
2445
vabr0215a8e2017-03-28 12:47:342446// Desktop iOS promotion chrome://flags strings
2447
2448#if defined(OS_WIN)
2449
2450const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2451
2452const char kEnableDesktopIosPromotionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192453 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2454 "eligible.";
vabr0215a8e2017-03-28 12:47:342455
2456#endif // defined(OS_WIN)
2457
Michael Giuffridadc8030c2017-08-02 13:22:442458#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN)
vabr0215a8e2017-03-28 12:47:342459
2460const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342461const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282462 "Enable receiving entity suggestions - disambiguation descriptions - for "
2463 "Omnibox suggestions.";
2464
2465const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2466const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192467 "Enable receiving tail suggestions, a type of search suggestion based on "
2468 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342469
ojan38c678352017-04-11 20:27:552470const char kPauseBackgroundTabsName[] = "Pause background tabs";
2471const char kPauseBackgroundTabsDescription[] =
2472 "Pause timers in background tabs after 5 minutes on desktop.";
2473
spqchan6f9127a2017-04-29 03:42:022474const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2475const char kEnableNewAppMenuIconDescription[] =
2476 "Use the new app menu icon with update notification animations.";
spqchan064a8112017-04-18 16:46:322477
Michael Giuffridadc8030c2017-08-02 13:22:442478#endif // defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN)
vabr0215a8e2017-03-28 12:47:342479
2480#if defined(OS_CHROMEOS)
2481
2482const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2483
2484const char kEnableChromevoxArcSupportDescription[] =
2485 "Enable ChromeVox screen reader features in ARC";
2486
2487#endif // defined(OS_CHROMEOS)
2488
vabr0215a8e2017-03-28 12:47:342489#if defined(OS_CHROMEOS)
2490
2491// File Manager
2492
2493const char kVideoPlayerChromecastSupportName[] =
2494 "Experimental Chromecast support for Video Player";
2495
2496const char kVideoPlayerChromecastSupportDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192497 "This option enables experimental Chromecast support for Video Player app "
2498 "on ChromeOS.";
vabr0215a8e2017-03-28 12:47:342499
2500const char kNewZipUnpackerName[] = "New ZIP unpacker";
2501
2502const char kNewZipUnpackerDescription[] =
2503 "New ZIP unpacker flow, based on the File System Provider API.";
2504
vabr0215a8e2017-03-28 12:47:342505const char kOfficeEditingComponentAppName[] =
2506 "Office Editing for Docs, Sheets & Slides";
2507
2508const char kOfficeEditingComponentAppDescription[] =
2509 "Office Editing for Docs, Sheets & Slides for testing purposes.";
2510
2511const char kDisplayColorCalibrationName[] = "Color calibration of the display";
2512
2513const char kDisplayColorCalibrationDescription[] =
2514 "Allow color calibration of the display if the display supports the "
2515 "feature.";
2516
newcomer403ac142017-07-05 18:26:302517const char kEnableFullscreenAppListName[] = "Enable The Peeking Launcher";
2518
2519const char kEnableFullscreenAppListDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192520 "The peeking launcher UI supports touch and provides more space for "
2521 "upcoming features.";
newcomer403ac142017-07-05 18:26:302522
Alex Newcomer43cb7f12017-07-28 17:37:392523extern const char kEnableBackgroundBlurName[] = "Enable background blur.";
2524extern const char kEnableBackgroundBlurDescription[] =
2525 "Enables background blur for the Peeking Launcher, Lock Screen, and Tab "
2526 "Switcher.";
2527
vabr0215a8e2017-03-28 12:47:342528const char kMemoryPressureThresholdName[] =
2529 "Memory discard strategy for advanced pressure handling";
2530
2531const char kMemoryPressureThresholdDescription[] =
2532 "Memory discarding strategy to use";
2533
2534const char kConservativeThresholds[] =
2535 "Conservative memory pressure release strategy";
2536
2537const char kAggressiveCacheDiscardThresholds[] =
2538 "Aggressive cache release strategy";
2539
2540const char kAggressiveTabDiscardThresholds[] =
2541 "Aggressive tab release strategy";
2542
2543const char kAggressiveThresholds[] =
2544 "Aggressive tab and cache release strategy";
2545
2546const char kWakeOnPacketsName[] = "Wake On Packets";
2547
2548const char kWakeOnPacketsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192549 "Enables waking the device based on the receipt of some network packets.";
vabr0215a8e2017-03-28 12:47:342550
brettw5f9c1642017-05-14 17:12:482551const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
vabr0215a8e2017-03-28 12:47:342552
2553const char kQuickUnlockPinDescription[] =
jdufault74476492017-04-20 01:20:002554 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2555 "device on the lock screen after you have signed into your device.";
2556
2557const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2558
2559const char kQuickUnlockPinSigninDescription[] =
2560 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2561 "device. After changing this flag PIN needs to be set up again.";
vabr0215a8e2017-03-28 12:47:342562
2563const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2564
2565const char kQuickUnlockFingerprintDescription[] =
2566 "Enabling fingerprint quick unlock allows you to setup and use a "
Vitalii Iarko7df520142017-07-07 12:53:192567 "fingerprint to unlock your Chromebook on the lock screen after you have "
2568 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342569
2570const char kExperimentalAccessibilityFeaturesName[] =
2571 "Experimental accessibility features";
2572
2573const char kExperimentalAccessibilityFeaturesDescription[] =
2574 "Enable additional accessibility features in the Settings page.";
2575
2576const char kDisableSystemTimezoneAutomaticDetectionName[] =
2577 "SystemTimezoneAutomaticDetection policy support";
2578
2579const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2580 "Disable system timezone automatic detection device policy.";
2581
2582const char kEolNotificationName[] = "Disable Device End of Life notification.";
2583
2584const char kEolNotificationDescription[] =
2585 "Disable Notifcation when Device is End of Life.";
2586
2587// Stylus strings
2588
2589const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2590
2591const char kForceEnableStylusToolsDescription[] =
2592 "Forces display of the stylus tools menu in the shelf and the stylus "
2593 "section in settings, even if there is no attached stylus device.";
2594
Toni Barzic0f3440a62017-07-19 20:19:312595const char kEnableLockScreenAppsName[] = "Enable lock screen note taking";
2596
2597const char kEnableLockScreenAppsDescription[] =
2598 "Enable new-note action handler apps on the lock screen. The user will be "
2599 "able to launch the preferred note-taking action from the lock screen, "
2600 "provided that the app supports lock screen note taking.";
2601
vabr0215a8e2017-03-28 12:47:342602// Network portal notification
2603
2604const char kNetworkPortalNotificationName[] =
2605 "Notifications about captive portals";
2606
2607const char kNetworkPortalNotificationDescription[] =
2608 "If enabled, notification is displayed when device is connected to a "
2609 "network behind captive portal.";
2610
stevenjbe1d457382017-05-24 22:37:242611const char kNetworkSettingsConfigName[] =
2612 "Settings based Network Configuration";
2613
2614const char kNetworkSettingsConfigDescription[] =
2615 "Enables the Settings based network configuration UI instead of the Views "
2616 "based configuration dialog.";
2617
vabr0215a8e2017-03-28 12:47:342618const char kMtpWriteSupportName[] = "MTP write support";
2619
2620const char kMtpWriteSupportDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192621 "MTP write support in File System API (and file manager). In-place editing "
2622 "operations are not supported.";
vabr0215a8e2017-03-28 12:47:342623
2624const char kCrosRegionsModeName[] = "Cros-regions load mode";
2625
2626const char kCrosRegionsModeDescription[] =
2627 "This flag controls cros-regions load mode";
2628
2629const char kCrosRegionsModeDefault[] = "Default";
2630
2631const char kCrosRegionsModeOverride[] = "Override VPD values.";
2632
2633const char kCrosRegionsModeHide[] = "Hide VPD values.";
2634
2635const char kPrinterProviderSearchAppName[] =
2636 "Chrome Web Store Gallery app for printer drivers";
2637
2638const char kPrinterProviderSearchAppDescription[] =
2639 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192640 "searches Chrome Web Store for extensions that support printing to a USB "
2641 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342642
2643const char kArcBootCompleted[] = "Load Android apps automatically";
2644
2645const char kArcBootCompletedDescription[] =
2646 "Allow Android apps to start automatically after signing in.";
2647
2648const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2649
2650const char kEnableImeMenuDescription[] =
2651 "Enable access to the new IME menu in the Language Settings page.";
2652
2653const char kEnableEhvInputName[] =
2654 "Emoji, handwriting and voice input on opt-in IME menu";
2655
2656const char kEnableEhvInputDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192657 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342658
fukino1b5ebe952017-04-07 05:35:302659const char kEnableEncryptionMigrationName[] =
2660 "Enable encryption migration of user data";
2661
2662const char kEnableEncryptionMigrationDescription[] =
2663 "If enabled and the device supports ARC, the user will be asked to update "
2664 "the encryption of user data when the user signs in.";
2665
Daniel Erat33054b22017-06-27 16:18:072666// Spurious power button detection
2667
2668const char kSpuriousPowerButtonWindowName[] = "Spurious power button window";
2669const char kSpuriousPowerButtonWindowDescription[] =
2670 "Number of recent accelerometer samples to examine to determine if a power "
2671 "button event was spurious.";
2672
2673const char kSpuriousPowerButtonAccelCountName[] =
2674 "Spurious power button acceleration count";
2675const char kSpuriousPowerButtonAccelCountDescription[] =
2676 "Number of recent acceleration samples that must meet or exceed exceed the "
2677 "threshold in order for a power button event to be considered spurious.";
2678
2679const char kSpuriousPowerButtonScreenAccelName[] =
2680 "Spurious power button screen acceleration threshold";
2681const char kSpuriousPowerButtonScreenAccelDescription[] =
2682 "Threshold (in m/s^2, disregarding gravity) that screen acceleration must "
2683 "meet or exceed for a power button event to be considered spurious.";
2684
2685const char kSpuriousPowerButtonKeyboardAccelName[] =
2686 "Spurious power button keyboard acceleration threshold";
2687const char kSpuriousPowerButtonKeyboardAccelDescription[] =
2688 "Threshold (in m/s^2, disregarding gravity) that keyboard acceleration "
2689 "must meet or exceed for a power button event to be considered spurious.";
2690
2691const char kSpuriousPowerButtonLidAngleChangeName[] =
2692 "Spurious power button lid angle change threshold";
2693const char kSpuriousPowerButtonLidAngleChangeDescription[] =
2694 "Change in lid angle (i.e. hinge between keyboard and screen) that must be "
2695 "met or exceeded for a power button event to be considered spurious.";
2696
vabr0215a8e2017-03-28 12:47:342697#endif // #if defined(OS_CHROMEOS)
2698
stanisc14bed0b132017-05-10 17:46:372699#if defined(OS_WIN)
2700
2701// Name and description of the flag that enables D3D v-sync.
2702const char kEnableD3DVsync[] = "D3D v-sync";
2703const char kEnableD3DVsyncDescription[] =
2704 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2705 "to occur.";
2706
2707#endif // defined(OS_WIN)
2708
thestig0c55ee32017-06-20 22:17:512709#if !defined(OS_ANDROID)
treib273e9db2017-05-11 14:02:262710
msarda6d4b3dc2017-06-02 15:39:472711const char kAccountConsistencyName[] =
2712 "Identity consistency between browser and cookie jar";
2713
2714const char kAccountConsistencyDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192715 "When enabled, the browser manages signing in and out of Google accounts.";
msarda6d4b3dc2017-06-02 15:39:472716
2717const char kAccountConsistencyChoiceMirror[] = "Mirror";
2718const char kAccountConsistencyChoiceDice[] = "Dice";
2719
treib273e9db2017-05-11 14:02:262720const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2721const char kUseGoogleLocalNtpDescription[] =
2722 "Use the local New Tab page if Google is the default search engine.";
2723
2724const char kOneGoogleBarOnLocalNtpName[] =
2725 "Enable the OneGoogleBar on the local NTP";
2726const char kOneGoogleBarOnLocalNtpDescription[] =
2727 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2728 "search engine.";
2729
thestig0c55ee32017-06-20 22:17:512730#endif // !defined(OS_ANDROID)
treib273e9db2017-05-11 14:02:262731
lgreyc0b638e52017-05-11 19:10:172732#if defined(OS_MACOSX)
2733extern const char kMacRTLName[] = "Enable RTL";
2734extern const char kMacRTLDescription[] =
2735 "Mirrors the UI for RTL language users";
spqchand24dbd52017-07-21 00:57:062736extern const char kMacTouchBarName[] = "Hardware Touch Bar";
elawrence408bddb2017-06-15 16:07:382737extern const char kMacTouchBarDescription[] =
spqchand24dbd52017-07-21 00:57:062738 "Control the use of the Touch Bar.";
2739extern const char kCreditCardAutofillTouchBarName[] =
2740 "Credit Card Autofill Touch Bar";
2741extern const char kCreditCardAutofillTouchBarDescription[] =
2742 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
lgreyc0b638e52017-05-11 19:10:172743#endif
2744
yhanadac5bff5b2017-05-18 06:37:092745#if defined(OS_CHROMEOS)
2746
2747const char kDisableNewVirtualKeyboardBehaviorName[] =
2748 "New window behavior for the accessibility keyboard";
2749const char kDisableNewVirtualKeyboardBehaviorDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192750 "Disable new window behavior for the accessibility keyboard in non-sticky "
2751 "mode (do not change work area in non-sticky mode).";
yhanadac5bff5b2017-05-18 06:37:092752
bruthigeafb0c02017-06-09 13:11:532753const char kUiDevToolsName[] = "Enable native UI inspection";
2754const char kUiDevToolsDescription[] =
2755 "Enables inspection of native UI elements. For local inspection use "
2756 "chrome://inspect#other";
2757
Takashi Toyoshima14f64f562017-07-19 08:38:202758const char kUseCrosMidiServiceName[] = "Use Chrome OS MIDI Service";
2759const char kUseCrosMidiServiceNameDescription[] =
2760 "Use Chrome OS MIDI Service for Web MIDI and allow ARC to support Android "
2761 "MIDI.";
2762
orenb21da031c2017-06-30 21:24:202763const char kMultideviceName[] = "Enable multidevice features";
2764const char kMultideviceDescription[] =
2765 "Enables UI for controlling multidevice features.";
2766
yhanadac5bff5b2017-05-18 06:37:092767#endif // defined(OS_CHROMEOS)
2768
vabr0215a8e2017-03-28 12:47:342769} // namespace flag_descriptions