blob: 1a30db57bc6771322b466c7f557f9133afac9b27 [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
Yutaka Hirano98be3272017-08-07 17:55:39389const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
390const char kEnableOutOfBlinkCORSDescription[] =
391 "CORS handling logic is moved out of blink.";
392
Brett Wilsonf27ff602017-07-07 22:28:47393const char kEnablePictureInPictureName[] = "Enable picture in picture.";
394const char kEnablePictureInPictureDescription[] =
395 "Enable the picture in picture feature for videos.";
396
397const char kEnableTokenBindingName[] = "Token Binding.";
398const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
399
Irmak Kavasoglu7e16af02017-07-19 09:52:47400const char kEnableUsernameCorrectionName[] = "Enable username correction";
401const char kEnableUsernameCorrectionDescription[] =
402 "While on the pending password state, add an edit button to the bubble so "
403 "that user can edit the username.";
404
Brett Wilsonf27ff602017-07-07 22:28:47405const char kEnableUseZoomForDsfName[] =
406 "Use Blink's zoom for device scale factor.";
407const char kEnableUseZoomForDsfDescription[] =
408 "If enabled, Blink uses its zooming mechanism to scale content for device "
409 "scale factor.";
410const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
411const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
412const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
413
414const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
415const char kEnableScrollAnchoringDescription[] =
416 "Adjusts scroll position to prevent visible jumps when offscreen content "
417 "changes.";
418
419const char kEnableSharedArrayBufferName[] =
420 "Experimental enabled SharedArrayBuffer support in JavaScript.";
421const char kEnableSharedArrayBufferDescription[] =
422 "Enable SharedArrayBuffer support in JavaScript.";
423
424const char kEnableWasmName[] = "WebAssembly structured cloning support.";
425const char kEnableWasmDescription[] =
426 "Enable web pages to use WebAssembly structured cloning.";
427
428const char kEnableWebUsbName[] = "WebUSB";
429const char kEnableWebUsbDescription[] = "Enable WebUSB support.";
430
431const char kEnableImageCaptureAPIName[] = "Image Capture API";
432const char kEnableImageCaptureAPIDescription[] =
433 "Enables the Web Platform Image Capture API: takePhoto(), "
434 "getPhotoCapabilities(), etc.";
435
436const char kEnableZeroSuggestRedirectToChromeName[] =
437 "Experimental contextual omnibox suggestion";
438const char kEnableZeroSuggestRedirectToChromeDescription[] =
439 "Change omnibox contextual suggestions to an experimental source. Note "
440 "that this is not an on/off switch for contextual omnibox and it only "
441 "applies to suggestions provided before the user starts typing a URL or a "
442 "search query (i.e. zero suggest).";
443
444const char kEnableWasmStreamingName[] =
445 "WebAssembly streaming compile/instantiate support.";
446const char kEnableWasmStreamingDescription[] =
447 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
448
449const char kEnableWebfontsInterventionName[] =
450 "New version of User Agent Intervention for WebFonts loading.";
451const char kEnableWebfontsInterventionDescription[] =
452 "Enable New version of User Agent Intervention for WebFonts loading.";
453const char kEnableWebfontsInterventionV2ChoiceDefault[] = "Default";
454const char kEnableWebfontsInterventionV2ChoiceEnabledWith2g[] = "Enabled: 2G";
455const char kEnableWebfontsInterventionV2ChoiceEnabledWith3g[] = "Enabled: 3G";
456const char kEnableWebfontsInterventionV2ChoiceEnabledWithSlow2g[] =
457 "Enabled: Slow 2G";
458const char kEnableWebfontsInterventionV2ChoiceDisabled[] = "Disabled";
459
460const char kEnableWebfontsInterventionTriggerName[] =
461 "Trigger User Agent Intervention for WebFonts loading always.";
462const char kEnableWebfontsInterventionTriggerDescription[] =
463 "Enable to trigger User Agent Intervention for WebFonts loading always. "
464 "This flag affects only when the intervention is enabled.";
465
466const char kEnableWebNotificationCustomLayoutsName[] =
467 "Enable custom layouts for Web Notifications.";
468const char kEnableWebNotificationCustomLayoutsDescription[] =
469 "Enable custom layouts for Web Notifications. They will have subtle layout "
470 "improvements that are otherwise not possible.";
471
472const char kExpensiveBackgroundTimerThrottlingName[] =
473 "Throttle expensive background timers";
474const char kExpensiveBackgroundTimerThrottlingDescription[] =
475 "Enables intervention to limit CPU usage of background timers to 1%.";
476
477const char kExperimentalAppBannersName[] = "Experimental app banners";
478const char kExperimentalAppBannersDescription[] =
479 "Enables a new experimental app banner flow and UI";
480
481const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
482const char kExperimentalCanvasFeaturesDescription[] =
483 "Enables the use of experimental canvas features which are still in "
484 "development.";
485
486const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
487const char kExperimentalExtensionApisDescription[] =
488 "Enables experimental extension APIs. Note that the extension gallery "
489 "doesn't allow you to upload extensions that use experimental APIs.";
490
491const char kExperimentalFullscreenExitUIName[] =
492 "Experimental fullscreen exit UI";
493const char kExperimentalFullscreenExitUIDescription[] =
494 "Displays experimental UI to allow mouse and touch input methods to exit "
495 "fullscreen mode.";
496
497const char kExperimentalHotwordHardwareName[] =
498 "Simulated hardware 'Ok Google' features";
499const char kExperimentalHotwordHardwareDescription[] =
500 "Enables an experimental version of 'Ok Google' hotword detection features "
501 "that have a hardware dependency.";
502
503const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
504const char kExperimentalKeyboardLockUiDescription[] =
505 "An experimental full screen with keyboard lock mode requiring users to "
506 "hold Esc to exit.";
507
508const char kExperimentalSecurityFeaturesName[] =
509 "Potentially annoying security features";
510const char kExperimentalSecurityFeaturesDescription[] =
511 "Enables several security features that will likely break one or more "
512 "pages that you visit on a daily basis. Strict mixed content checking, for "
513 "example. And locking powerful features to secure contexts. This flag will "
514 "probably annoy you.";
515
516const char kExperimentalWebPlatformFeaturesName[] =
517 "Experimental Web Platform features";
518const char kExperimentalWebPlatformFeaturesDescription[] =
519 "Enables experimental Web Platform features that are in development.";
520
521const char kExtensionContentVerificationName[] =
522 "Extension Content Verification";
523const char kExtensionContentVerificationDescription[] =
524 "This flag can be used to turn on verification that the contents of the "
525 "files on disk for extensions from the webstore match what they're "
526 "expected to be. This can be used to turn on this feature if it would not "
527 "otherwise have been turned on, but cannot be used to turn it off (because "
528 "this setting can be tampered with by malware).";
529const char kExtensionContentVerificationBootstrap[] =
530 "Bootstrap (get expected hashes, but do not enforce them)";
531const char kExtensionContentVerificationEnforce[] =
532 "Enforce (try to get hashes, and enforce them if successful)";
533const char kExtensionContentVerificationEnforceStrict[] =
534 "Enforce strict (hard fail if we can't get hashes)";
535
536const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
537const char kExtensionsOnChromeUrlsDescription[] =
538 "Enables running extensions on chrome:// URLs, where extensions explicitly "
539 "request this permission.";
galinapae72e152017-05-12 13:12:28540
Brett Wilsonecb80982017-07-12 20:34:51541const char kFastUnloadName[] = "Fast tab/window close";
542const char kFastUnloadDescription[] =
543 "Enables fast tab/window closing - runs a tab's onunload js handler "
544 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34545
Brett Wilsonecb80982017-07-12 20:34:51546const char kFeaturePolicyName[] = "Feature Policy";
547const char kFeaturePolicyDescription[] =
548 "Enables granting and removing access to features through the "
549 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34550
Brett Wilsonecb80982017-07-12 20:34:51551const char kFetchKeepaliveTimeoutSettingName[] =
552 "Fetch API keepalive timeout setting";
553const char kFetchKeepaliveTimeoutSettingDescription[] =
554 "This is for setting the timeout value for Fetch API with keepalive option "
555 "and SendBeacon";
556
557const char kFontCacheScalingName[] = "FontCache scaling";
558const char kFontCacheScalingDescription[] =
559 "Reuse a cached font in the renderer to serve different sizes of font for "
560 "faster layout.";
561
562const char kForceEffectiveConnectionTypeName[] =
563 "Override effective connection type";
564const char kForceEffectiveConnectionTypeDescription[] =
565 "Overrides the effective connection type of the current connection "
566 "returned by the network quality estimator.";
567const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
568const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
569const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
570const char kEffectiveConnectionType2GDescription[] = "2G";
571const char kEffectiveConnectionType3GDescription[] = "3G";
572const char kEffectiveConnectionType4GDescription[] = "4G";
573
574const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
575const char kFillOnAccountSelectDescription[] =
576 "Filling of passwords when an account is explicitly selected by the user "
577 "rather than autofilling credentials on page load.";
578
579const char kForceTabletModeName[] = "Force Tablet Mode";
580const char kForceTabletModeDescription[] =
581 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
582 R"*(despite its current orientation. "TouchView" means that the )*"
583 R"*(chromebook will act as if it were in touch view mode. "Clamshell" )*"
584 R"*(means that the chromebook will act as if it were in clamshell )*"
585 R"*(mode . "Auto" means that the chromebook will alternate between )*"
586 R"*(the two, based on its orientation.)*";
587const char kForceTabletModeTouchview[] = "TouchView";
588const char kForceTabletModeClamshell[] = "Clamshell";
589const char kForceTabletModeAuto[] = "Auto (default)";
590
591const char kForceTextDirectionName[] = "Force text direction";
592const char kForceTextDirectionDescription[] =
593 "Explicitly force the per-character directionality of UI text to "
594 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
595 "direction of the character language.";
596const char kForceDirectionLtr[] = "Left-to-right";
597const char kForceDirectionRtl[] = "Right-to-left";
598
599const char kForceUiDirectionName[] = "Force UI direction";
600const char kForceUiDirectionDescription[] =
601 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
602 "mode, overriding the default direction of the UI language.";
603
604const char kFramebustingName[] =
605 "Framebusting requires same-origin or a user gesture";
606const char kFramebustingDescription[] =
607 "Don't permit an iframe to navigate the top level browsing context unless "
608 "they are same-origin or the iframe is processing a user gesture.";
609
610const char kGamepadExtensionsName[] = "Gamepad Extensions";
611const char kGamepadExtensionsDescription[] =
612 "Enabling this option allows web applications to access experimental "
613 "extensions to the Gamepad APIs.";
614
sohan3f00ffc2017-07-14 22:28:08615const char kGlCompositedOverlayCandidateQuadBordersName[] =
616 "GL composited overlay candidate quad borders";
617const char kGlCompositedOverlayCandidateQuadBordersDescription[] =
Alex Newcomer43cb7f12017-07-28 17:37:39618 "Renders a border around GL composited overlay candidate quads to help "
619 "debug and study overlay support.";
Brett Wilsonecb80982017-07-12 20:34:51620
621const char kGpuRasterizationMsaaSampleCountName[] =
622 "GPU rasterization MSAA sample count.";
623const char kGpuRasterizationMsaaSampleCountDescription[] =
624 "Specify the number of MSAA samples for GPU rasterization.";
625const char kGpuRasterizationMsaaSampleCountZero[] = "0";
626const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
627const char kGpuRasterizationMsaaSampleCountFour[] = "4";
628const char kGpuRasterizationMsaaSampleCountEight[] = "8";
629const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
630
631const char kGpuRasterizationName[] = "GPU rasterization";
632const char kGpuRasterizationDescription[] =
633 "Use GPU to rasterize web content. Requires impl-side painting.";
634
635const char kGoogleProfileInfoName[] = "Google profile name and icon";
636const char kGoogleProfileInfoDescription[] =
637 "Enables using Google information to populate the profile name and icon in "
638 "the avatar menu.";
639
640const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
641const char kHarfbuzzRendertextDescription[] =
642 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
643 "web content.";
644
645const char kHistoryRequiresUserGestureName[] =
646 "New history entries require a user gesture.";
647const char kHistoryRequiresUserGestureDescription[] =
648 "Require a user gesture to add a history entry.";
649const char kHyperlinkAuditingName[] = "Hyperlink auditing";
650const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
651
652const char kHostedAppQuitNotificationName[] =
653 "Quit notification for hosted apps";
654const char kHostedAppQuitNotificationDescription[] =
655 "Display a notification when quitting Chrome if hosted apps are currently "
656 "running.";
657
658const char kHostedAppShimCreationName[] =
659 "Creation of app shims for hosted apps on Mac";
660const char kHostedAppShimCreationDescription[] =
661 "Create app shims on Mac when creating a hosted app.";
662
663const char kIconNtpName[] = "Large icons on the New Tab page";
664const char kIconNtpDescription[] =
665 "Enable the experimental New Tab page using large icons.";
666
667const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
668const char kIgnoreGpuBlacklistDescription[] =
669 "Overrides the built-in software rendering list and enables "
670 "GPU-acceleration on unsupported system configurations.";
671
672const char kImportantSitesInCbdName[] =
673 "Important sites options in clear browsing data dialog";
674const char kImportantSitesInCbdDescription[] =
675 "Include the option to whitelist important sites in the clear browsing "
676 "data dialog.";
677
678const char kInertVisualViewportName[] = "Inert visual viewport.";
679const char kInertVisualViewportDescription[] =
680 "Experiment to have all APIs reflect the layout viewport. This will make "
681 "window.scroll properties relative to the layout viewport.";
682
683const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
684const char kInProductHelpDemoModeChoiceDescription[] =
685 "Selects the In-Product Help demo mode.";
686
687const char kJavascriptHarmonyName[] = "Experimental JavaScript";
688const char kJavascriptHarmonyDescription[] =
689 "Enable web pages to use experimental JavaScript features.";
690
691const char kJavascriptHarmonyShippingName[] =
692 "Latest stable JavaScript features";
693const char kJavascriptHarmonyShippingDescription[] =
694 "Some web pages use legacy or non-standard JavaScript extensions that may "
695 "conflict with the latest JavaScript features. This flag allows disabling "
696 "support of those features for compatibility with such pages.";
697
698const char kLcdTextName[] = "LCD text antialiasing";
699const char kLcdTextDescription[] =
700 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
701 "(subpixel) when doing accelerated compositing.";
702
703const char kLoadMediaRouterComponentExtensionName[] =
704 "Load Media Router Component Extension";
705const char kLoadMediaRouterComponentExtensionDescription[] =
706 "Loads the Media Router component extension at startup.";
707
708const char kManualPasswordGenerationName[] = "Manual password generation.";
709const char kManualPasswordGenerationDescription[] =
710 "Show a 'Generate Password' option on the context menu for all password "
711 "fields.";
712
713const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
714const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
715const char kMarkHttpAsDangerous[] = "Always mark HTTP as actively dangerous";
716const char kMarkHttpAsNonSecureAfterEditing[] =
717 "Warn on HTTP after editing forms";
718const char kMarkHttpAsNonSecureWhileIncognito[] =
719 "Warn on HTTP while in Incognito mode";
720const char kMarkHttpAsNonSecureWhileIncognitoOrEditing[] =
721 "Warn on HTTP while in Incognito mode or after editing forms";
722
723extern const char kMaterialDesignIncognitoNTPName[] =
724 "Material Design Incognito NTP.";
725extern const char kMaterialDesignIncognitoNTPDescription[] =
726 "If enabled, the Incognito New Tab page uses the new material design with "
727 "a better readable text.";
728
729const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
730const char kMediaRemotingDescription[] =
731 "When Casting a tab to a remote device, enabling this turns on an "
732 "optimization that forwards the content bitstream directly to the remote "
733 "device when a video is fullscreened.";
734
735const char kMemoryAblationName[] = "Memory ablation experiment";
736const char kMemoryAblationDescription[] =
737 "Allocates extra memory in the browser process.";
738
739const char kMemoryCoordinatorName[] = "Memory coordinator";
740const char kMemoryCoordinatorDescription[] =
741 "Enable memory coordinator instead of memory pressure listeners.";
742
743const char kMessageCenterNewStyleNotificationName[] = "New style notification";
744const char kMessageCenterNewStyleNotificationDescription[] =
745 "Enables the experiment style of material-design notification";
746
747const char kMessageCenterAlwaysScrollUpUponRemovalName[] =
748 "Experiments that message center always scroll up upon notification "
749 "removal";
750const char kMessageCenterAlwaysScrollUpUponRemovalDescription[] =
751 "Enables experiment that message center always scroll up when a "
752 "notification is removed.";
753
754const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
755const char kMhtmlGeneratorOptionDescription[] =
756 "Provides experimental options for MHTML file generator.";
757const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
758const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
759
760const char kMojoLoadingName[] = "Use Mojo IPC for resource loading";
761const char kMojoLoadingDescription[] =
762 "Use Mojo IPC instead of traditional Chrome IPC for resource loading.";
763
Miguel Casas-Sanchez10769c82017-07-27 23:52:04764const char kMojoVideoEncodeAcceleratorName[] =
765 "Hardware-accelerated video encoder accessed using Mojo IPC";
766const char kMojoVideoEncodeAcceleratorDescription[] =
767 "Use new Mojo IPC to access hardware-accelerated video encoder, where "
768 "available.";
769
Brett Wilsonecb80982017-07-12 20:34:51770const char kModuleScriptsName[] = "Enable ECMAScript 6 modules";
771const char kModuleScriptsDescription[] =
772 "Enables ECMAScript 6 modules support in Blink.";
773
774const char kNewAudioRenderingMixingStrategyName[] =
775 "New audio rendering mixing strategy";
776const char kNewAudioRenderingMixingStrategyDescription[] =
777 "Use the new audio rendering mixing strategy.";
778
779const char kNewBookmarkAppsName[] = "The new bookmark app system";
780const char kNewBookmarkAppsDescription[] =
781 "Enables the new system for creating bookmark apps.";
782
783const char kNewOmniboxAnswerTypesName[] =
784 "New omnibox answers in suggest types";
785const char kNewOmniboxAnswerTypesDescription[] =
786 "Enables new types of answers in the omnibox suggest drop-down: currency "
787 "conversions, dictionary definitions, sports scores, translations, and "
788 "when is.";
789
790const char kNewRemotePlaybackPipelineName[] =
791 "Enable the new remote playback pipeline.";
792const char kNewRemotePlaybackPipelineDescription[] =
793 "Enable the new pipeline for playing media element remotely via "
794 "RemotePlayback API or native controls.";
795
796const char kNewUsbBackendName[] = "Enable new USB backend";
797const char kNewUsbBackendDescription[] =
798 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34799
brettw5f9c1642017-05-14 17:12:48800const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34801const char kNostatePrefetchDescription[] =
802 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
803 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
804 R"*(improve load times even more. "Simple Load" does nothing and is )*"
805 R"*(similar to disabling the feature, but collects more metrics for )*"
806 R"*(comparison purposes.)*";
807
Brett Wilsonecb80982017-07-12 20:34:51808const char kNotificationsNativeFlagName[] = "Enable native notifications.";
809const char kNotificationsNativeFlagDescription[] =
810 "Enable support for using the native notification toasts and notification "
811 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34812
Brett Wilsonecb80982017-07-12 20:34:51813const char kNumRasterThreadsName[] = "Number of raster threads";
814const char kNumRasterThreadsDescription[] =
815 "Specify the number of raster threads.";
816const char kNumRasterThreadsOne[] = "1";
817const char kNumRasterThreadsTwo[] = "2";
818const char kNumRasterThreadsThree[] = "3";
819const char kNumRasterThreadsFour[] = "4";
820
821const char kOfferStoreUnmaskedWalletCardsName[] =
822 "Google Payments card saving checkbox";
823const char kOfferStoreUnmaskedWalletCardsDescription[] =
824 "Show the checkbox to offer local saving of a credit card downloaded from "
825 "the server.";
826
827const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
828const char kOfflineAutoReloadDescription[] =
829 "Pages that fail to load while the browser is offline will be "
830 "auto-reloaded when the browser is online again.";
831
832const char kOfflineAutoReloadVisibleOnlyName[] =
833 "Only Auto-Reload Visible Tabs";
834const char kOfflineAutoReloadVisibleOnlyDescription[] =
835 "Pages that fail to load while the browser is offline will only be "
836 "auto-reloaded if their tab is visible.";
837
838const char kOffMainThreadFetchName[] = "Off-main-thread fetch for Web Workers";
839const char kOffMainThreadFetchDescription[] =
840 "If enabled, the resource fetches from worker threads will not be blocked "
841 "by the busy main thread.";
842
843const char kOmniboxDisplayTitleForCurrentUrlName[] =
844 "Include title for the current URL in the omnibox";
845const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
846 "In the event that the omnibox provides suggestions on-focus, the URL of "
847 "the current page is provided as the first suggestion without a title. "
848 "Enabling this flag causes the title to be displayed.";
849
850const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
851 "Omnibox UI Elide Suggestion URL After Host";
852const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
853 "Elides the path, query, and ref of suggested URLs in the Omnibox "
854 "dropdown.";
855
Benoit Lizeab08362c2017-07-19 14:50:54856const char kOmniboxSpareRendererName[] =
857 "Start spare renderer on omnibox focus";
858const char kOmniboxSpareRendererDescription[] =
859 "When the omnibox is focused, start an empty spare renderer. This can "
860 "speed up the load of the navigation from the omnibox.";
861
Brett Wilsonecb80982017-07-12 20:34:51862const char kOmniboxUIHideSuggestionUrlSchemeName[] =
863 "Omnibox UI Hide Suggestion URL Scheme";
864const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
865 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
866
867const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
868 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
869const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
870 "Elides trivially informative subdomains from suggested URLs in the "
871 "Omnibox dropdown (e.g. www. and m.).";
872
873const char kOmniboxUIMaxAutocompleteMatchesName[] =
874 "Omnibox UI Max Autocomplete Matches";
875
876const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
877 "Changes the maximum number of autocomplete matches displayed in the "
878 "Omnibox UI.";
879
880const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
881const char kOmniboxUINarrowDropdownDescription[] =
882 "Makes the suggestions dropdown width match the omnibox width.";
883
884const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
885const char kOmniboxUIVerticalLayoutDescription[] =
886 "Displays Omnibox sugestions in 2 lines - title over origin.";
887
888const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
889const char kOmniboxUIVerticalMarginDescription[] =
890 "Changes the vertical margin in the Omnibox UI.";
891
892const char kOriginTrialsName[] = "Origin Trials";
893const char kOriginTrialsDescription[] =
894 "Enables origin trials for controlling access to feature/API experiments.";
895
896const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
897const char kOverlayScrollbarsDescription[] =
898 "Enable the experimental overlay scrollbars implementation. You must also "
899 "enable threaded compositing to have the scrollbars animate.";
900
901const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
902const char kOverscrollHistoryNavigationDescription[] =
903 "Experimental history navigation in response to horizontal overscroll.";
904const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
905
906const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
907const char kOverscrollStartThresholdDescription[] =
908 "Changes overscroll start threshold relative to the default value.";
909const char kOverscrollStartThreshold133Percent[] = "133%";
910const char kOverscrollStartThreshold166Percent[] = "166%";
911const char kOverscrollStartThreshold200Percent[] = "200%";
912
913const char kPassiveEventListenerDefaultName[] =
914 "Passive Event Listener Override";
915const char kPassiveEventListenerDefaultDescription[] =
916 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
917 "haven't requested otherwise) to be treated as passive. This will break "
918 "touch/wheel behavior on some websites but is useful for demonstrating the "
919 "potential performance benefits of adopting passive event listeners.";
920const char kPassiveEventListenerTrue[] = "True (when unspecified)";
921const char kPassiveEventListenerForceAllTrue[] = "Force All True";
922
923const char kPassiveEventListenersDueToFlingName[] =
924 "Touch Event Listeners Passive Default During Fling";
925const char kPassiveEventListenersDueToFlingDescription[] =
926 "Forces touchstart, and first touchmove per scroll event listeners during "
927 "fling to be treated as passive.";
928
929const char kPassiveDocumentEventListenersName[] =
930 "Document Level Event Listeners Passive Default";
931const char kPassiveDocumentEventListenersDescription[] =
932 "Forces touchstart, and touchmove event listeners on document level "
933 "targets (which haven't requested otherwise) to be treated as passive.";
934
935const char kPasswordForceSavingName[] = "Force-saving of passwords";
936const char kPasswordForceSavingDescription[] =
937 "Allow the user to manually enforce password saving instead of relying on "
938 "password manager's heuristics.";
939
940const char kPasswordGenerationName[] = "Password generation";
941const char kPasswordGenerationDescription[] =
942 "Allow the user to have Chrome generate passwords when it detects account "
943 "creation pages.";
944
945const char kPasswordImportExportName[] = "Password import and export";
946const char kPasswordImportExportDescription[] =
947 "Import and Export functionality in password settings.";
948
949const char kPermissionActionReportingName[] = "Permission Action Reporting";
950const char kPermissionActionReportingDescription[] =
951 "Enables permission action reporting to Safe Browsing servers for opted in "
952 "users.";
953
954const char kPermissionsBlacklistName[] = "Permissions Blacklist";
955const char kPermissionsBlacklistDescription[] =
956 "Enables the Permissions Blacklist, which blocks permissions for "
957 "blacklisted sites for Safe Browsing users.";
958
959const char kPinchScaleName[] = "Pinch scale";
960const char kPinchScaleDescription[] =
961 "Enables experimental support for scale using pinch.";
962
Brett Wilsonecb80982017-07-12 20:34:51963const char kPrintPdfAsImageName[] = "Print Pdf as Image";
964const char kPrintPdfAsImageDescription[] =
965 "If enabled, an option to print PDF files as images will be available in "
966 "print preview.";
967
968const char kPrintPreviewRegisterPromosName[] =
969 "Print Preview Registration Promos";
970const char kPrintPreviewRegisterPromosDescription[] =
971 "Enable registering unregistered cloud printers from print preview.";
972
973const char kProtectSyncCredentialName[] = "Autofill sync credential";
974const char kProtectSyncCredentialDescription[] =
975 "How the password manager handles autofill for the sync credential.";
976
977const char kProtectSyncCredentialOnReauthName[] =
978 "Autofill sync credential only for transactional reauth pages";
979const char kProtectSyncCredentialOnReauthDescription[] =
980 "How the password manager handles autofill for the sync credential only "
981 "for transactional reauth pages.";
982
Mohsen Izadi93faac12017-07-29 04:45:15983const char kPullToRefreshName[] = "Pull-to-refresh gesture";
984const char kPullToRefreshDescription[] =
985 "Pull-to-refresh gesture in response to vertical overscroll.";
986
Brett Wilsonecb80982017-07-12 20:34:51987const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
988const char kPushApiBackgroundModeDescription[] =
989 "Enable background mode for the Push API. This allows Chrome to continue "
990 "running after the last window is closed, and to launch at OS startup, if "
991 "the Push API needs it.";
992
993const char kQuicName[] = "Experimental QUIC protocol";
994const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
995
996const char kReducedReferrerGranularityName[] =
997 "Reduce default 'referer' header granularity.";
998const char kReducedReferrerGranularityDescription[] =
999 "If a page hasn't set an explicit referrer policy, setting this flag will "
1000 "reduce the amount of information in the 'referer' header for cross-origin "
1001 "requests.";
1002
1003const char kRequestTabletSiteName[] =
1004 "Request tablet site option in the settings menu";
1005const char kRequestTabletSiteDescription[] =
1006 "Allows the user to request tablet site. Web content is often optimized "
1007 "for tablet devices. When this option is selected the user agent string is "
1008 "changed to indicate a tablet device. Web content optimized for tablets is "
1009 "received there after for the current tab.";
1010
1011const char kResetAppListInstallStateName[] =
1012 "Reset the App Launcher install state on every restart.";
1013const char kResetAppListInstallStateDescription[] =
1014 "Reset the App Launcher install state on every restart. While this flag is "
1015 "set, Chrome will forget the launcher has been installed each time it "
1016 "starts. This is used for testing the App Launcher install flow.";
1017
1018const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1019const char kResourceLoadSchedulerDescription[] =
1020 "Uses the resource load scheduler in blink to schedule and throttle "
1021 "resource load requests.";
1022
Brett Wilsonecb80982017-07-12 20:34:511023const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1024const char kSafeSearchUrlReportingDescription[] =
1025 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1026
1027const char kSaveasMenuLabelExperimentName[] =
1028 "Switch 'Save as' menu labels to 'Download'";
1029const char kSaveasMenuLabelExperimentDescription[] =
1030 "Enables an experiment to switch menu labels that use 'Save as...' to "
1031 "'Download'.";
1032
1033const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1034const char kSavePageAsMhtmlDescription[] =
1035 "Enables saving pages as MHTML: a single text file containing HTML and all "
1036 "sub-resources.";
1037
Brett Wilsonecb80982017-07-12 20:34:511038const char kScrollPredictionName[] = "Scroll prediction";
1039const char kScrollPredictionDescription[] =
1040 "Predicts the finger's future position during scrolls allowing time to "
1041 "render the frame before the finger is there.";
1042
1043const char kSecondaryUiMd[] =
1044 "Material Design in the rest of the browser's native UI";
1045const char kSecondaryUiMdDescription[] =
1046 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1047 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1048 "browser dialogs.";
1049
1050const char kServiceWorkerNavigationPreloadName[] =
1051 "Service worker navigation preload.";
1052const char kServiceWorkerNavigationPreloadDescription[] =
1053 "Enable web pages to use the experimental service worker navigation "
1054 "preload API.";
1055
1056const char kSettingsWindowName[] = "Show settings in a window";
1057const char kSettingsWindowDescription[] =
1058 "Settings will be shown in a dedicated window instead of as a browser tab.";
1059
1060const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1061const char kShowAutofillSignaturesDescription[] =
1062 "Annotates web forms with Autofill signatures as HTML attributes.";
1063
1064const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1065const char kShowAutofillTypePredictionsDescription[] =
1066 "Annotates web forms with Autofill field type predictions as placeholder "
1067 "text.";
1068
1069const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1070const char kShowOverdrawFeedbackDescription[] =
1071 "Visualize overdraw by color-coding elements based on if they have other "
1072 "elements drawn underneath.";
1073
1074const char kShowSavedCopyName[] = "Show Saved Copy Button";
1075const char kShowSavedCopyDescription[] =
1076 "When a page fails to load, if a stale copy of the page exists in the "
1077 "browser cache, a button will be presented to allow the user to load that "
1078 "stale copy. The primary enabling choice puts the button in the most "
1079 "salient position on the error page; the secondary enabling choice puts it "
1080 "secondary to the reload button.";
1081const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1082const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1083const char kDisableShowSavedCopy[] = "Disable";
1084
1085const char kShowTouchHudName[] = "Show HUD for touch points";
1086const char kShowTouchHudDescription[] =
1087 "Enables a heads-up display at the top-left corner of the screen that "
1088 "lists information about the touch-points on the screen.";
1089
1090const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1091const char kSilentDebuggerExtensionApiDescription[] =
1092 "Do not show the infobar when an extension attaches to a page via "
1093 "chrome.debugger API. This is required to debug extension background "
1094 "pages.";
1095
1096const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1097const char kSimpleCacheBackendDescription[] =
1098 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1099 "disk space allocation.";
1100
1101const char kSimplifiedFullscreenUiName[] =
1102 "Simplified full screen / mouse lock UI.";
1103const char kSimplifiedFullscreenUiDescription[] =
1104 "A simplified new user experience when entering page-triggered full screen "
1105 "or mouse pointer lock states.";
1106
1107const char kSingleClickAutofillName[] = "Single-click autofill";
1108const char kSingleClickAutofillDescription[] =
1109 "Make autofill suggestions on initial mouse click on a form element.";
1110
1111const char kSiteDetails[] = "Site Details";
1112const char kSiteDetailsDescription[] =
1113 "Adds UI in MD Settings to view all content settings for a specific "
1114 "origin.";
1115
1116const char kSitePerProcessName[] = "Strict site isolation";
1117const char kSitePerProcessDescription[] =
1118 "Highly experimental security mode that ensures each renderer process "
1119 "contains pages from at most one site. In this mode, out-of-process "
1120 "iframes will be used whenever an iframe is cross-site.";
1121
1122const char kSiteSettings[] = "Site settings with All sites and Site details";
1123const char kSiteSettingsDescription[] =
1124 "Adds new ways of viewing Site settings.";
1125
1126const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
1127const char kSlimmingPaintInvalidationDescription[] =
1128 "Whether to enable a new paint invalidation system.";
1129
1130const char kSmoothScrollingName[] = "Smooth Scrolling";
1131const char kSmoothScrollingDescription[] =
1132 "Animate smoothly when scrolling page content.";
1133
1134const char kSoftwareRasterizerName[] = "3D software rasterizer";
1135const char kSoftwareRasterizerDescription[] =
1136 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1137
1138const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341139const char kSpeculativePrefetchDescription[] =
1140 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1141 R"*(load times, based on a local database (see chrome://predictors). )*"
1142 R"*("Learning" means that only the database construction is enabled, )*"
1143 R"*("Prefetching" that learning and prefetching are enabled.)*";
1144
Justin Donnelly4e448cb2017-07-07 21:32:131145const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1146 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131147const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1148 "If enabled, when the user enters text in the omnibox that looks like a "
1149 "a query, any service worker associated with the search engine the query "
1150 "will be sent to is started early.";
1151
Brett Wilsonecb80982017-07-12 20:34:511152const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1153const char kSpellingFeedbackFieldTrialDescription[] =
1154 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401155
Brett Wilsonecb80982017-07-12 20:34:511156const char kSuggestionsWithSubStringMatchName[] =
1157 "Substring matching for Autofill suggestions";
1158const char kSuggestionsWithSubStringMatchDescription[] =
1159 "Match Autofill suggestions based on substrings (token prefixes) rather "
1160 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341161
Brett Wilsonecb80982017-07-12 20:34:511162const char kSupervisedUserManagedBookmarksFolderName[] =
1163 "Managed bookmarks for supervised users";
1164const char kSupervisedUserManagedBookmarksFolderDescription[] =
1165 "Enable the managed bookmarks folder for supervised users.";
vabr0215a8e2017-03-28 12:47:341166
Brett Wilsonecb80982017-07-12 20:34:511167const char kSyncAppListName[] = "App Launcher sync";
1168const char kSyncAppListDescription[] =
1169 "Enable App Launcher sync. This also enables Folders where available (non "
1170 "OSX).";
vabr0215a8e2017-03-28 12:47:341171
Brett Wilsonecb80982017-07-12 20:34:511172const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1173const char kSyncSandboxDescription[] =
1174 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341175
Brett Wilsonecb80982017-07-12 20:34:511176const char kTabAudioMutingName[] = "Tab audio muting UI control";
1177const char kTabAudioMutingDescription[] =
1178 "When enabled, the audio indicators in the tab strip double as tab audio "
1179 "mute controls. This also adds commands in the tab context menu for "
1180 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341181
Brett Wilsonecb80982017-07-12 20:34:511182const char kTcpFastOpenName[] = "TCP Fast Open";
1183const char kTcpFastOpenDescription[] =
1184 "Enable the option to send extra authentication information in the initial "
1185 "SYN packet for a previously connected client, allowing faster data send "
1186 "start.";
vabr0215a8e2017-03-28 12:47:341187
Brett Wilsonecb80982017-07-12 20:34:511188const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1189const char kTopChromeMdDescription[] =
1190 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
1191const char kTopChromeMdMaterial[] = "Normal";
1192const char kTopChromeMdMaterialHybrid[] = "Touch";
vabr0215a8e2017-03-28 12:47:341193
Brett Wilsonecb80982017-07-12 20:34:511194const char kThreadedScrollingName[] = "Threaded scrolling";
1195const char kThreadedScrollingDescription[] =
1196 "Threaded handling of scroll-related input events. Disabling this will "
1197 "force all such scroll events to be handled on the main thread. Note that "
1198 "this can dramatically hurt scrolling performance of most websites and is "
1199 "intended for testing purposes only.";
1200
Steven Valdez4584b2482017-07-14 01:11:571201const char kTLS13VariantName[] = "TLS 1.3";
1202const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1203const char kTLS13VariantDisabled[] = "Disabled";
1204const char kTLS13VariantDraft[] = "Enabled (Draft)";
1205const char kTLS13VariantExperiment[] = "Enabled (Experiment)";
Steven Valdez2d7b4e82017-07-17 22:22:091206const char kTLS13VariantRecordTypeExperiment[] =
1207 "Enabled (Record Type Experiment)";
Steven Valdez2ee1c4a22017-07-19 20:39:311208const char kTLS13VariantNoSessionIDExperiment[] =
1209 "Enabled (No Session ID Experiment)";
Steven Valdez4584b2482017-07-14 01:11:571210
Brett Wilsonecb80982017-07-12 20:34:511211const char kTopDocumentIsolationName[] = "Top document isolation";
1212const char kTopDocumentIsolationDescription[] =
1213 "Highly experimental performance mode where cross-site iframes are kept in "
1214 "a separate process from the top document. In this mode, iframes from "
1215 "different third-party sites will be allowed to share a process.";
1216
1217const char kTouchAdjustmentName[] = "Touch adjustment";
1218const char kTouchAdjustmentDescription[] =
1219 "Refine the position of a touch gesture in order to compensate for touches "
1220 "having poor resolution compared to a mouse.";
1221
1222const char kTouchDragDropName[] = "Touch initiated drag and drop";
1223const char kTouchDragDropDescription[] =
1224 "Touch drag and drop can be initiated through long press on a draggable "
1225 "element.";
1226
1227const char kTouchEventsName[] = "Touch Events API";
1228const char kTouchEventsDescription[] =
1229 "Force Touch Events API feature detection to always be enabled or "
1230 "disabled, or to be enabled when a touchscreen is detected on startup "
1231 "(Automatic, the default).";
1232
1233const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1234const char kTouchSelectionStrategyDescription[] =
1235 "Controls how text selection granularity changes when touch text selection "
1236 "handles are dragged. Non-default behavior is experimental.";
1237const char kTouchSelectionStrategyCharacter[] = "Character";
1238const char kTouchSelectionStrategyDirection[] = "Direction";
1239
1240const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1241const char kTraceUploadUrlDescription[] =
1242 "This is to be used in conjunction with the enable-navigation-tracing "
1243 "flag. Please select the label that best describes the recorded traces. "
1244 "This will choose the destination the traces are uploaded to. If you are "
1245 "not sure, select other. If left empty, no traces will be uploaded.";
1246const char kTraceUploadUrlChoiceOther[] = "Other";
1247const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1248const char kTraceUploadUrlChoiceQa[] = "QA";
1249const char kTraceUploadUrlChoiceTesting[] = "Testing";
1250
1251const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
1252const char kTranslate2016q2UiDescription[] =
1253 "Improved triggering logic and look for Translate Bubble UI";
1254
1255const char kTranslateLanguageByUlpName[] = "Translate Language by ULP";
1256const char kTranslateLanguageByUlpDescription[] =
1257 "Improved translate target language and triggering logic by considering "
1258 "information from User Language Profile (ULP).";
1259
1260const char kTrySupportedChannelLayoutsName[] =
1261 "Causes audio output streams to check if channel layouts other than the "
1262 "default hardware layout are available.";
1263const char kTrySupportedChannelLayoutsDescription[] =
1264 "Causes audio output streams to check if channel layouts other than the "
1265 "default hardware layout are available. Turning this on will allow the OS "
1266 "to do stereo to surround expansion if supported. May expose third party "
1267 "driver bugs, use with caution.";
1268
1269const char kUiPartialSwapName[] = "Partial swap";
1270const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1271
1272const char kUserConsentForExtensionScriptsName[] =
1273 "User consent for extension scripts";
1274const char kUserConsentForExtensionScriptsDescription[] =
1275 "Require user consent for an extension running a script on the page, if "
1276 "the extension requested permission to run on all urls.";
1277
1278const char kUseSuggestionsEvenIfFewFeatureName[] =
1279 "Disable minimum for server-side tile suggestions on NTP.";
1280const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1281 "Request server-side suggestions even if there are only very few of them "
1282 "and use them for tiles on the New Tab Page.";
1283
1284const char kV8CacheOptionsName[] = "V8 caching mode.";
1285const char kV8CacheOptionsDescription[] =
1286 "Caching mode for the V8 JavaScript engine.";
1287const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1288const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1289
1290const char kV8CacheStrategiesForCacheStorageName[] =
1291 "V8 caching strategy for CacheStorage.";
1292const char kV8CacheStrategiesForCacheStorageDescription[] =
1293 "Caching strategy of scripts in CacheStorage for the V8 JavaScript engine.";
1294const char kV8CacheStrategiesForCacheStorageNormal[] = "Normal";
1295const char kV8CacheStrategiesForCacheStorageAggressive[] = "Aggressive";
1296
1297const char kVibrateRequiresUserGestureName[] =
1298 "Requiring user gesture for the Vibration API";
1299const char kVibrateRequiresUserGestureDescription[] =
1300 "Block the Vibration API if no user gesture has been received on the frame "
1301 "or any embedded frame.";
1302
1303const char kVideoFullscreenOrientationLockName[] =
1304 "Lock screen orientation when playing a video fullscreen.";
1305const char kVideoFullscreenOrientationLockDescription[] =
1306 "Lock the screen orientation of the device to match video orientation when "
1307 "a video goes fullscreen. Only on phones.";
1308
1309const char kVideoRotateToFullscreenName[] =
1310 "Rotate-to-fullscreen gesture for videos.";
1311const char kVideoRotateToFullscreenDescription[] =
1312 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1313 "the video. Only on phones.";
1314
1315const char kWalletServiceUseSandboxName[] =
1316 "Use Google Payments sandbox servers";
1317const char kWalletServiceUseSandboxDescription[] =
1318 "For developers: use the sandbox service for Google Payments API calls.";
1319
1320const char kWebgl2Name[] = "WebGL 2.0";
1321const char kWebgl2Description[] = "Allow web applications to access WebGL 2.0.";
1322
1323const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1324const char kWebglDraftExtensionsDescription[] =
1325 "Enabling this option allows web applications to access the WebGL "
1326 "Extensions that are still in draft status.";
1327
1328const char kWebMidiName[] = "Web MIDI API";
1329const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1330
1331const char kWebPaymentsName[] = "Web Payments";
1332const char kWebPaymentsDescription[] =
1333 "Enable Web Payments API integration, a JavaScript API for merchants.";
1334
Mathieu Perreault51339b82017-07-20 17:06:051335const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1336const char kWebPaymentsModifiersDescription[] =
1337 "If the website provides modifiers in the payment request, show the custom "
1338 "total for each payment instrument, update the shopping cart when "
1339 "instruments are switched, and send modified payment method specific data "
1340 "to the payment app.";
1341
Brett Wilsonecb80982017-07-12 20:34:511342const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1343const char kWebrtcEchoCanceller3Description[] =
1344 "Experimental WebRTC echo canceller (AEC3).";
1345
1346const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1347const char kWebrtcHwDecodingDescription[] =
1348 "Support in WebRTC for decoding video streams using platform hardware.";
1349
1350const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1351const char kWebrtcHwEncodingDescription[] =
1352 "Support in WebRTC for encoding video streams using platform hardware.";
1353
1354const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1355const char kWebrtcHwH264EncodingDescription[] =
1356 "Support in WebRTC for encoding h264 video streams using platform "
1357 "hardware.";
1358
1359const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1360const char kWebrtcHwVP8EncodingDescription[] =
1361 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1362
1363const char kWebrtcSrtpAesGcmName[] =
1364 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1365const char kWebrtcSrtpAesGcmDescription[] =
1366 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1367
1368const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1369const char kWebrtcStunOriginDescription[] =
1370 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1371 "header.";
1372
1373const char kWebvrName[] = "WebVR";
1374const char kWebvrDescription[] =
1375 "Enabling this option allows web applications to access experimental "
1376 "Virtual Reality APIs.";
1377
1378const char kWifiCredentialSyncName[] = "WiFi credential sync";
1379const char kWifiCredentialSyncDescription[] =
1380 "Enables synchronizing WiFi network settings across devices. When enabled, "
1381 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1382 "credentials are synchronized subject to user preferences. (See also, "
1383 "chrome://settings/syncSetup.)";
1384
1385const char kZeroCopyName[] = "Zero-copy rasterizer";
1386const char kZeroCopyDescription[] =
1387 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341388
Brett Wilsonff596952017-07-14 01:06:551389// Android ---------------------------------------------------------------------
1390
1391#if defined(OS_ANDROID)
1392
1393const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1394const char kAiaFetchingDescription[] =
1395 "Enable intermediate certificate fetching when a server does not provide "
1396 "sufficient certificates to build a chain to a trusted root.";
1397
1398const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1399const char kAccessibilityTabSwitcherDescription[] =
1400 "Enable the accessibility tab switcher for Android.";
1401
1402const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1403const char kAndroidAutofillAccessibilityDescription[] =
1404 "Enable accessibility for autofill popup.";
1405
1406const char kAndroidPaymentAppsName[] = "Android payment apps";
1407const char kAndroidPaymentAppsDescription[] =
1408 "Enable third party Android apps to integrate as payment apps";
1409
Iulia Harasim0b5a4312017-07-21 16:20:501410const char kAndroidSigninPromosName[] = "Signin promos for Android.";
1411const char kAndroidSigninPromosDescription[] =
1412 "New signin promos for Android which will be displayed in content "
1413 "suggestions, Settings, Bookmarks and Recent Tabs.";
1414
Tatiana Gornak38ab3562017-07-28 11:04:181415const char kAndroidViewPasswordsName[] = "Copy and view passwords for Android";
1416const char kAndroidViewPasswordsDescription[] =
1417 "Enables copying and viewing passwords in settings.";
1418
Brett Wilsonff596952017-07-14 01:06:551419const char kAutofillAccessoryViewName[] =
1420 "Autofill suggestions as keyboard accessory view";
1421const char kAutofillAccessoryViewDescription[] =
1422 "Shows Autofill suggestions on top of the keyboard rather than in a "
1423 "dropdown.";
1424
1425const char kBackgroundLoaderForDownloadsName[] =
1426 "Enables background downloading of pages.";
1427const char kBackgroundLoaderForDownloadsDescription[] =
1428 "Enables downloading pages in the background in case page is not yet "
1429 "loaded in current tab.";
1430
1431const char kChromeHomeExpandButtonName[] = "Chrome Home Expand Button";
1432const char kChromeHomeExpandButtonDescription[] =
1433 "Enables the expand button for Chrome Home.";
1434
Michael van Ouwerkerk66e45322017-08-04 17:25:241435const char kChromeHomeModernLayoutName[] = "Modern layout for Chrome Home.";
1436const char kChromeHomeModernLayoutDescription[] =
1437 "Enables the modern layout for Chrome Home.";
1438
Brett Wilsonff596952017-07-14 01:06:551439const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1440const char kChromeHomeSwipeLogicDescription[] =
1441 "Various swipe logic options for Chrome Home for sheet expansion.";
1442const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
1443const char kChromeHomeSwipeLogicButtonOnly[] = "Swipe on expand button";
1444
1445const char kChromeHomeName[] = "Chrome Home";
1446const char kChromeHomeDescription[] =
1447 "Enables Chrome Home on Android. You must restart the browser"
1448 " twice for changes to take effect.";
1449
1450const char kContentSuggestionsCategoryOrderName[] =
1451 "Default content suggestions category order (e.g. on NTP)";
1452const char kContentSuggestionsCategoryOrderDescription[] =
1453 "Set default order of content suggestion categories (e.g. on the NTP).";
1454
1455const char kContentSuggestionsCategoryRankerName[] =
1456 "Content suggestions category ranker (e.g. on NTP)";
1457const char kContentSuggestionsCategoryRankerDescription[] =
1458 "Set category ranker to order categories of content suggestions (e.g. on "
1459 "the NTP).";
1460
1461const char kContextualSearchContextualCardsBarIntegration[] =
1462 "Contextual Search - Contextual Cards Integration";
1463const char kContextualSearchContextualCardsBarIntegrationDescription[] =
1464 "Whether or not integration of Contextual Cards data in the Contextual "
1465 "Search Bar is enabled.";
1466
1467const char kContextualSearchSingleActionsName[] =
1468 "Contextual Search - Single Actions";
1469const char kContextualSearchSingleActionsDescription[] =
1470 "Whether or not single actions using Contextual Cards data in the "
1471 "Contextual Search Bar is enabled.";
1472
1473const char kContextualSearchUrlActionsName[] =
1474 "Contextual Search - URL Actions";
1475const char kContextualSearchUrlActionsDescription[] =
1476 "Whether or not URL actions using Contextual Cards data in the Contextual "
1477 "Search Bar is enabled.";
1478
1479const char kContextualSearchName[] = "Contextual Search";
1480const char kContextualSearchDescription[] =
1481 "Whether or not Contextual Search is enabled.";
1482
Dmitry Skiba9c3efa72017-07-20 22:01:141483const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1484const char kDontPrefetchLibrariesDescription[] =
1485 "Don't prefetch libraries after loading.";
1486
Brett Wilsonff596952017-07-14 01:06:551487const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1488const char kEnableAndroidPayIntegrationV1Description[] =
1489 "Enable integration with Android Pay using the first version of the API";
1490
1491const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1492const char kEnableAndroidPayIntegrationV2Description[] =
1493 "Enable integration with Android Pay using the second version of the API";
1494
1495const char kEnableAndroidSpellcheckerDescription[] =
1496 "Enables use of the Android spellchecker.";
1497const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
1498
1499const char kEnableConsistentOmniboxGeolocationName[] =
1500 "Have consistent omnibox geolocation access.";
1501const char kEnableConsistentOmniboxGeolocationDescription[] =
1502 "Have consistent geolocation access between the omnibox and default search "
1503 "engine.";
1504
1505const char kEnableContentSuggestionsNewFaviconServerName[] =
1506 "Get favicons for content suggestions from a new server.";
1507const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1508 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1509 "new favicon server.";
1510
1511const char kEnableContentSuggestionsLargeThumbnailName[] =
1512 "Large thumbnails layout for content suggestions cards.";
1513const char kEnableContentSuggestionsLargeThumbnailDescription[] =
1514 "If enabled, the content suggestions cards will use large thumbnails and "
1515 "some related adjustments.";
1516
1517const char kEnableContentSuggestionsVideoOverlayName[] =
1518 "Video icon overlay on thumbnails for content suggestions cards.";
1519const char kEnableContentSuggestionsVideoOverlayDescription[] =
1520 "If enabled, the content suggestions cards for suggestions with a video "
1521 "will show a video play icon overlay on the thumbnail.";
1522
1523const char kEnableContentSuggestionsSettingsName[] =
1524 "Show content suggestions settings.";
1525const char kEnableContentSuggestionsSettingsDescription[] =
1526 "If enabled, the content suggestions settings will be available from the "
1527 "main settings menu.";
1528
1529const char kEnableContentSuggestionsShowSummaryName[] =
1530 "Show content suggestions summaries.";
1531const char kEnableContentSuggestionsShowSummaryDescription[] =
1532 "If enabled, the content suggestions summaries will be shown.";
1533
1534const char kEnableCopylessPasteName[] = "App Indexing (Copyless Paste)";
1535const char kEnableCopylessPasteDescription[] =
1536 "Provide suggestions for text input, based on your recent context. For "
1537 "example, if you looked at a restaurant website and switched to the Maps "
1538 "app, the keyboard would offer the name of that restaurant as a suggestion "
1539 "to enter into the search bar. The data is indexed locally, and never sent "
1540 "to the server. It's disabled in incognito mode.";
1541
1542const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1543const char kEnableCustomContextMenuDescription[] =
1544 "Enables a new context menu when a link, image, or video is pressed within "
1545 "Chrome.";
1546
1547const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1548const char kEnableCustomFeedbackUiDescription[] =
1549 "Enables a custom feedback UI when submitting feedback through Google "
1550 "Feedback. Works with Google Play Services v10.2+";
1551
1552const char kEnableDataReductionProxyMainMenuName[] =
1553 "Enable Data Saver main menu footer";
1554const char kEnableDataReductionProxyMainMenuDescription[] =
1555 "Enables the Data Saver footer in the main menu";
1556
1557const char kEnableDataReductionProxySiteBreakdownName[] =
1558 "Data Saver Site Breakdown";
1559const char kEnableDataReductionProxySiteBreakdownDescription[] =
1560 "Enable the site breakdown on the Data Saver settings page.";
1561
1562const char kEnableOmniboxClipboardProviderName[] =
1563 "Omnibox clipboard URL suggestions";
1564const char kEnableOmniboxClipboardProviderDescription[] =
1565 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1566 "focus in the omnibox.";
1567
1568const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1569 "Use expanded autofill credit card popup layout.";
1570const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1571 "If enabled, displays autofill credit card popup using expanded layout.";
1572
1573const char kEnableFaviconsFromWebManifestName[] =
1574 "Load favicons from Web Manifests";
1575const char kEnableFaviconsFromWebManifestDescription[] =
1576 "Fetch Web Manifests on page load to read favicons from them.";
1577
1578const char kEnableNtpAssetDownloadSuggestionsName[] =
1579 "Show asset downloads on the New Tab page";
1580const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1581 "If enabled, the list of content suggestions on the New Tab page will "
1582 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1583 "later use.";
1584
1585const char kEnableNtpBookmarkSuggestionsName[] =
1586 "Show recently visited bookmarks on the New Tab page";
1587const char kEnableNtpBookmarkSuggestionsDescription[] =
1588 "If enabled, the list of content suggestions on the New Tab page will "
1589 "contain recently visited bookmarks.";
1590
1591const char kEnableNtpForeignSessionsSuggestionsName[] =
1592 "Show recent foreign tabs on the New Tab page";
1593const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1594 "If enabled, the list of content suggestions on the New Tab page will "
1595 "contain recent foreign tabs.";
1596
1597const char kEnableNtpMostLikelyFaviconsFromServerName[] =
1598 "Download favicons for NTP tiles from Google.";
1599const char kEnableNtpMostLikelyFaviconsFromServerDescription[] =
1600 "If enabled, missing favicons for NTP tiles get downloaded from Google. "
1601 "This only applies to tiles that originate from synced history.";
1602
Jan Krcal7fadbd32017-08-04 10:49:211603const char kNtpTilesLowerResolutionFaviconsName[] =
1604 "Show also lower resolution favicons in NTP tiles.";
1605const char kNtpTilesLowerResolutionFaviconsDescription[] =
1606 "If enabled, the size limit for a favicon to get displayed in an NTP tile "
1607 "decreases. Tiles where the largest available favicon is below this limit "
1608 "get displayed as colored tiles.";
1609
Brett Wilsonff596952017-07-14 01:06:551610const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1611 "Show offline page downloads on the New Tab page";
1612const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1613 "If enabled, the list of content suggestions on the New Tab page will "
1614 "contain pages that the user downloaded for later use.";
1615
1616const char kEnableNtpRemoteSuggestionsName[] =
1617 "Show server-side suggestions on the New Tab page";
1618const char kEnableNtpRemoteSuggestionsDescription[] =
1619 "If enabled, the list of content suggestions on the New Tab page will "
1620 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
1621 "allows to override the source used to retrieve these server-side "
1622 "suggestions.";
1623
1624const char kEnableNtpSnippetsVisibilityName[] =
1625 "Make New Tab Page Snippets more visible.";
1626const char kEnableNtpSnippetsVisibilityDescription[] =
1627 "If enabled, the NTP snippets will become more discoverable with a larger "
1628 "portion of the first card above the fold.";
1629
1630const char kEnableNtpSuggestionsNotificationsName[] =
1631 "Notify about new content suggestions available at the New Tab page";
1632const char kEnableNtpSuggestionsNotificationsDescription[] =
1633 "If enabled, notifications will inform about new content suggestions on "
1634 "the New Tab page.";
1635
1636const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
1637const char kEnablePhysicalWebDescription[] =
1638 "Enable scanning for URLs from Physical Web objects.";
1639
1640const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1641const char kEnableOfflinePreviewsDescription[] =
1642 "Enable showing offline page previews on slow networks.";
1643
1644const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
1645const char kEnableOskOverscrollDescription[] =
1646 "Enable OSK overscroll support. With this flag on, the OSK will only "
1647 "resize the visual viewport.";
1648
1649const char kEnableSpecialLocaleName[] =
1650 "Enable custom logic for special locales.";
1651const char kEnableSpecialLocaleDescription[] =
1652 "Enable custom logic for special locales. In this mode, Chrome might "
1653 "behave differently in some locales.";
1654
1655const char kEnableWebapk[] = "Enable improved add to Home screen";
1656const char kEnableWebapkDescription[] =
1657 R"*(Packages "Progressive Web Apps" so that they can integrate more )*"
1658 R"*(deeply with Android. A Chrome server is used to package sites. In )*"
1659 R"*(Chrome Canary and Chrome Dev, this requires “Untrusted )*"
1660 R"*(sources” to be enabled in Android security settings.)*";
1661
1662const char kEnableWebNfcName[] = "WebNFC";
1663const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
1664
gogeraldf3cbb422017-07-26 14:37:121665const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
1666 "Enable Web Payments method section order V2.";
1667const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
1668 "Enable this option to display payment method section above address "
1669 "section instead of below it.";
1670
Brett Wilsonff596952017-07-14 01:06:551671const char kEnableWebPaymentsSingleAppUiSkipName[] =
1672 "Enable Web Payments single app UI skip";
1673const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
1674 "Enable Web Payments to skip showing its UI if the developer specifies a "
1675 "single app.";
1676
1677const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
1678const char kHerbPrototypeChoicesDescription[] =
1679 "Switching this option changes which tab management prototype is being "
1680 "tested.";
1681const char kHerbPrototypeFlavorElderberry[] =
1682 "ELDERBERRY: All View Intents in CCT v2";
1683
1684const char kKeepPrefetchedContentSuggestionsName[] =
1685 "Keep prefetched content suggestions";
1686const char kKeepPrefetchedContentSuggestionsDescription[] =
1687 "If enabled, some of prefetched content suggestions are not replaced by "
1688 "the new fetched suggestions.";
1689
1690const char kLsdPermissionPromptName[] =
1691 "Location Settings Dialog Permission Prompt";
1692const char kLsdPermissionPromptDescription[] =
1693 "Whether to use the Google Play Services Location Settings Dialog "
1694 "permission dialog.";
1695
1696const char kMediaDocumentDownloadButtonName[] =
1697 "Download button when opening a page with media url.";
1698const char kMediaDocumentDownloadButtonDescription[] =
1699 "Allow a download button to show up when opening a page with media url.";
1700
1701const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
1702const char kMediaScreenCaptureDescription[] =
1703 "Enable this option for experimental ScreenCapture feature on Android.";
1704
1705const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
1706const char kModalPermissionPromptsDescription[] =
1707 "Whether to use permission dialogs in place of permission infobars.";
1708
1709const char kNewBackgroundLoaderName[] =
1710 "Use background loader instead of prerenderer to load pages.";
1711const char kNewBackgroundLoaderDescription[] =
1712 "Use background loader instead of prerenderer to asynchronously download "
1713 "pages.";
1714
1715const char kNewPhotoPickerName[] = "Enable new Photopicker";
1716const char kNewPhotoPickerDescription[] =
1717 "Activates the new picker for selecting photos.";
1718
1719const char kNoCreditCardAbort[] = "No Credit Card Abort";
1720const char kNoCreditCardAbortDescription[] =
1721 "Whether or not the No Credit Card Abort is enabled.";
1722
1723const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
1724const char kNtpCondensedLayoutDescription[] =
1725 "Show a condensed layout on the New Tab Page.";
1726
1727const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
1728const char kNtpCondensedTileLayoutDescription[] =
1729 "Show a condensed tile layout on the New Tab Page.";
1730
1731const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
1732const char kNtpGoogleGInOmniboxDescription[] =
1733 "Show a Google G in the omnibox on the New Tab Page.";
1734
1735const char kNtpOfflinePagesName[] = "Enable NTP offline pages";
1736const char kNtpOfflinePagesDescription[] =
1737 "Enables badging of offline pages on the New Tab page. Only relevant if "
1738 "offline pages are enabled.";
1739
1740const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
1741const char kNtpPopularSitesDescription[] =
1742 "Pre-populate the New Tab page with popular sites.";
1743
1744const char kNtpSwitchToExistingTabName[] =
1745 "Switch to an existing tab for New Tab Page suggestions.";
1746const char kNtpSwitchToExistingTabDescription[] =
1747 "When opening a suggested webpage from the New Tab Page, if a tab is "
1748 "already open for the suggestion, switch to that one instead of loading "
1749 "the suggestion in the new tab.";
1750const char kNtpSwitchToExistingTabMatchUrl[] = "Match by URL";
1751const char kNtpSwitchToExistingTabMatchHost[] = "Match by Hostname";
1752
1753const char kOfflineBookmarksName[] = "Enable offline bookmarks";
1754const char kOfflineBookmarksDescription[] =
1755 "Enable saving bookmarked pages for offline viewing.";
1756
1757const char kOfflinePagesAsyncDownloadName[] =
1758 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages.)*";
1759const char kOfflinePagesAsyncDownloadDescription[] =
1760 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages such )*"
1761 R"*(that the user can click on it to download the page later.)*";
1762
1763const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
1764const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
1765
1766const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
1767const char kOfflinePagesCtV2Description[] =
1768 "V2 features include attributing pages to the app that initiated the "
1769 "custom tabs, and being able to query for pages by page attribution.";
1770
1771const char kOfflinePagesLoadSignalCollectingName[] =
1772 "Enables collecting load timing data for offline page snapshots.";
1773const char kOfflinePagesLoadSignalCollectingDescription[] =
1774 "Enables loading completeness data collection while writing an offline "
1775 "page. This data is collected in the snapshotted offline page to allow "
1776 "data analysis to improve deciding when to make the offline snapshot.";
1777
1778const char kOfflinePagesPrefetchingName[] =
1779 "Enables suggested offline pages to be prefetched.";
1780const char kOfflinePagesPrefetchingDescription[] =
1781 "Enables suggested offline pages to be prefetched, so useful content is "
1782 "available while offline.";
1783
Collin Baker17f92a52017-07-19 21:41:251784const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
1785const char kOfflinePagesRenovationsDescription[] =
1786 "Enables offline page renovations which correct issues with dynamic "
1787 "content that occur when offlining pages that use JavaScript.";
1788
Brett Wilsonff596952017-07-14 01:06:551789const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
1790const char kOfflinePagesSharingDescription[] =
1791 "Enables the saved offline pages to be shared via other applications.";
1792
1793const char kOfflinePagesSvelteConcurrentLoadingName[] =
1794 "Enables concurrent background loading on svelte.";
1795const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
1796 "Enables concurrent background loading (or downloading) of pages on "
1797 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
1798 "happen when the svelte device is idle.";
1799
1800const char kOffliningRecentPagesName[] =
1801 "Enable offlining of recently visited pages";
1802const char kOffliningRecentPagesDescription[] =
1803 "Enable storing recently visited pages locally for offline use. Requires "
1804 "Offline Pages to be enabled.";
1805
1806extern const char kPayWithGoogleV1Name[] = "Pay with Google v1";
1807extern const char kPayWithGoogleV1Description[] =
1808 "Enable Pay with Google integration into Web Payments with API version "
1809 "'1'.";
1810
1811const char kProgressBarAnimationName[] =
1812 "Android phone page loading progress bar animation";
1813const char kProgressBarAnimationDescription[] =
1814 "Configures Android phone page loading progress bar animation.";
1815const char kProgressBarAnimationLinear[] = "Linear";
1816const char kProgressBarAnimationSmooth[] = "Smooth";
1817const char kProgressBarAnimationSmoothIndeterminate[] = "Smooth indeterminate";
1818const char kProgressBarAnimationFastStart[] = "Fast start";
1819
1820const char kProgressBarCompletionName[] =
1821 "Android phone page load progress bar completion time.";
1822const char kProgressBarCompletionDescription[] =
1823 "Configures Android phone page loading progress bar completion time.";
1824const char kProgressBarCompletionLoadEvent[] =
1825 R"*(Top loading frame's onload event ("everything" is done in the )*"
1826 R"*(page, historical behavior).)*";
1827const char kProgressBarCompletionResourcesBeforeDcl[] =
1828 "Main frame's domContentLoaded and all resources loads started before "
1829 "domContentLoaded (iframes ignored).";
1830const char kProgressBarCompletionDomContentLoaded[] =
1831 "Main frame's domContentLoaded (iframes ignored).";
1832const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
1833 "domContentLoaded and all resources loads started before domContentLoaded "
1834 "(main frame and same origin iframes).";
1835
1836const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
1837const char kPullToRefreshEffectDescription[] =
1838 "Page reloads triggered by vertically overscrolling content.";
1839
Piotr Swigon9f630b32017-07-26 09:42:491840const char kPwaPersistentNotificationName[] =
1841 "Persistent notification in standalone PWA";
1842const char kPwaPersistentNotificationDescription[] =
1843 "Enables a persistent Android notification for standalone PWAs";
1844
Brett Wilsonff596952017-07-14 01:06:551845const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
1846const char kReaderModeHeuristicsDescription[] =
1847 "Determines what pages the Reader Mode infobar is shown on.";
1848const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
1849const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
1850const char kReaderModeHeuristicsAllArticles[] = "All articles";
1851const char kReaderModeHeuristicsAlwaysOff[] = "Never";
1852const char kReaderModeHeuristicsAlwaysOn[] = "Always";
1853
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:181854const char kReaderModeInCCTName[] = "Reader Mode in CCT";
1855const char kReaderModeInCCTDescription[] =
1856 "Open Reader Mode in Chrome Custom Tabs.";
1857
Brett Wilsonff596952017-07-14 01:06:551858const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1859const char kServiceWorkerPaymentAppsDescription[] =
1860 "Enable Service Worker applications to integrate as payment apps";
1861
1862const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
1863const char kSetMarketUrlForTestingDescription[] =
1864 "When enabled, sets the market URL for use in testing the update menu "
1865 "item.";
1866
1867const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
1868const char kSpannableInlineAutocompleteDescription[] =
1869 "A new type of inline autocomplete for the omnibox that works with "
1870 "keyboards that compose text.";
1871
1872const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1873const char kTabsInCbdDescription[] =
1874 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1875
1876const char kTranslateCompactUIName[] = "New Translate Infobar";
1877const char kTranslateCompactUIDescription[] =
1878 "Enable the new Translate compact infobar UI.";
1879
1880const char kUpdateMenuBadgeName[] = "Force show update menu badge";
1881const char kUpdateMenuBadgeDescription[] =
1882 "When enabled, an update badge will be shown on the app menu button.";
1883
1884const char kUpdateMenuItemCustomSummaryDescription[] =
1885 "When this flag and the force show update menu item flag are enabled, a "
1886 "custom summary string will be displayed below the update menu item.";
1887const char kUpdateMenuItemCustomSummaryName[] =
1888 "Update menu item custom summary";
1889
1890const char kUpdateMenuItemName[] = "Force show update menu item";
1891const char kUpdateMenuItemDescription[] =
1892 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
1893 R"*(menu.)*";
1894
1895const char kUseAndroidMidiApiName[] = "Use Android Midi API";
1896const char kUseAndroidMidiApiDescription[] =
1897 "Use Android Midi API for WebMIDI (effective only with Android M+ "
1898 "devices).";
1899
1900const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1901const char kUseDdljsonApiDescription[] =
1902 "Enables the new ddljson API to fetch Doodles for the NTP.";
1903
Brett Wilsonff596952017-07-14 01:06:551904const char kXGEOVisibleNetworksName[] = "Enable XGEO Visible Networks";
1905const char kXGEOVisibleNetworksDescription[] =
1906 "If location permissions are granted, include visible networks in the XGEO "
1907 "Header for omnibox queries. This will only happen if location is not "
1908 "fresh or not available (for example, due to a cold start).";
1909
1910#endif // OS_ANDROID
1911
brettw5f9c1642017-05-14 17:12:481912#if !defined(DISABLE_NACL)
1913
vabr0215a8e2017-03-28 12:47:341914const char kNaclName[] = "Native Client";
vabr0215a8e2017-03-28 12:47:341915const char kNaclDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:191916 "Support Native Client for all web applications, even those that were not "
1917 "installed from the Chrome Web Store.";
vabr0215a8e2017-03-28 12:47:341918
vabr0215a8e2017-03-28 12:47:341919const char kNaclDebugName[] = "Native Client GDB-based debugging";
vabr0215a8e2017-03-28 12:47:341920const char kNaclDebugDescription[] =
1921 "Enable GDB debug stub. This will stop a Native Client application on "
1922 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
1923
vabr0215a8e2017-03-28 12:47:341924const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
vabr0215a8e2017-03-28 12:47:341925const char kPnaclSubzeroDescription[] =
1926 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
1927
vabr0215a8e2017-03-28 12:47:341928const char kNaclDebugMaskName[] =
1929 "Restrict Native Client GDB-based debugging by pattern";
vabr0215a8e2017-03-28 12:47:341930const char kNaclDebugMaskDescription[] =
1931 "Restricts Native Client application GDB-based debugging by URL of "
Vitalii Iarko7df520142017-07-07 12:53:191932 "manifest file. Native Client GDB-based debugging must be enabled for this "
1933 "option to work.";
vabr0215a8e2017-03-28 12:47:341934const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
vabr0215a8e2017-03-28 12:47:341935const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
1936 "Debug everything except secure shell and the PNaCl translator.";
vabr0215a8e2017-03-28 12:47:341937const char kNaclDebugMaskChoiceIncludeDebug[] =
1938 "Debug only if manifest URL ends with debug.nmf.";
1939
brettw5f9c1642017-05-14 17:12:481940#endif
1941
vabr0215a8e2017-03-28 12:47:341942#if defined(OS_WIN)
1943
1944const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
1945
1946const char kCloudPrintXpsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:191947 "XPS enables advanced options for classic printers connected to the Cloud "
1948 "Print with Chrome. Printers must be re-connected after changing this "
1949 "flag.";
vabr0215a8e2017-03-28 12:47:341950
1951#endif // defined(OS_WIN)
1952
vabr0215a8e2017-03-28 12:47:341953#if BUILDFLAG(ENABLE_WEBRTC)
1954
1955const char kWebrtcH264WithOpenh264FfmpegName[] =
1956 "WebRTC H.264 software video encoder/decoder";
1957
1958const char kWebrtcH264WithOpenh264FfmpegDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:191959 "When enabled, an H.264 software video encoder/decoder pair is included. "
1960 "If a hardware encoder/decoder is also available it may be used instead of "
1961 "this encoder/decoder.";
vabr0215a8e2017-03-28 12:47:341962
1963#endif // BUILDFLAG(ENABLE_WEBRTC)
1964
vabr0215a8e2017-03-28 12:47:341965#if defined(USE_ASH)
1966
brettw81668cf2017-05-15 22:57:341967const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
vabr0215a8e2017-03-28 12:47:341968
1969const char kAshShelfColorDescription[] =
bruthigd8b95962017-03-31 19:38:341970 "Enables/disables the shelf color to be a derived from the wallpaper. The "
1971 "--ash-shelf-color-scheme flag defines how that color is derived.";
vabr0215a8e2017-03-28 12:47:341972
bruthigd8b95962017-03-31 19:38:341973const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
vabr0215a8e2017-03-28 12:47:341974
bruthigd8b95962017-03-31 19:38:341975const char kAshShelfColorSchemeDescription[] =
1976 "Specify how the color is derived from the wallpaper. This flag is only "
1977 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
vabr0215a8e2017-03-28 12:47:341978
bruthigd8b95962017-03-31 19:38:341979const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
vabr0215a8e2017-03-28 12:47:341980
bruthigd8b95962017-03-31 19:38:341981const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
vabr0215a8e2017-03-28 12:47:341982
bruthigd8b95962017-03-31 19:38:341983const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
vabr0215a8e2017-03-28 12:47:341984
bruthigd8b95962017-03-31 19:38:341985const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
1986
1987const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
1988
1989const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
vabr0215a8e2017-03-28 12:47:341990
vabr0215a8e2017-03-28 12:47:341991const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
1992
1993const char kAshEnableMirroredScreenDescription[] =
1994 "Enable the mirrored screen mode. This mode flips the screen image "
1995 "horizontally.";
1996
wutaob161bf22017-04-26 16:55:031997const char kAshDisableSmoothScreenRotationName[] =
1998 "Disable smooth rotation animations.";
wutao2c0ca182017-04-06 22:40:541999
wutaob161bf22017-04-26 16:55:032000const char kAshDisableSmoothScreenRotationDescription[] =
2001 "Disable smooth rotation animations.";
wutao2c0ca182017-04-06 22:40:542002
vabr0215a8e2017-03-28 12:47:342003const char kMaterialDesignInkDropAnimationFast[] = "Fast";
2004
2005const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
2006
2007const char kMaterialDesignInkDropAnimationSpeedName[] =
2008 "Material Design Ink Drop Animation Speed";
2009
2010const char kMaterialDesignInkDropAnimationSpeedDescription[] =
2011 "Sets the speed of the experimental visual feedback animations for "
2012 "material design.";
2013
2014const char kUiSlowAnimationsName[] = "Slow UI animations";
2015
2016const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
2017
reveman5be07ac82017-04-14 01:06:052018const char kUiShowCompositedLayerBordersName[] =
2019 "Show UI composited layer borders";
2020
2021const char kUiShowCompositedLayerBordersDescription[] =
2022 "Show border around composited layers created by UI.";
2023
2024const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
2025
2026const char kUiShowCompositedLayerBordersSurface[] = "Surface";
2027
2028const char kUiShowCompositedLayerBordersLayer[] = "Layer";
2029
2030const char kUiShowCompositedLayerBordersAll[] = "All";
2031
vabr0215a8e2017-03-28 12:47:342032#endif // defined(USE_ASH)
2033
vabr0215a8e2017-03-28 12:47:342034const char kForceGpuRasterization[] = "Force-enabled for all layers";
2035
vabr0215a8e2017-03-28 12:47:342036#if defined(OS_CHROMEOS)
2037
sky527bea52017-05-15 19:15:142038const char kUseMusDescription[] = "Enable the Mojo UI service.";
vabr0215a8e2017-03-28 12:47:342039
sky527bea52017-05-15 19:15:142040const char kUseMusName[] = "Mus";
2041
2042const char kEnableMashDescription[] =
2043 "Mash (UI, Chrome and ash in separate services)";
2044
2045const char kEnableMusDescription[] =
2046 "Mus (UI in separate service, Chrome and ash in same service)";
vabr0215a8e2017-03-28 12:47:342047
2048const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2049
2050const char kAllowTouchpadThreeFingerClickDescription[] =
2051 "Enables touchpad three-finger-click as middle button.";
2052
2053const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2054
2055const char kAshEnableUnifiedDesktopDescription[] =
2056 "Enable unified desktop mode which allows a window to span multiple "
2057 "displays.";
2058
brettw5f9c1642017-05-14 17:12:482059const char kBootAnimationName[] = "Boot animation";
vabr0215a8e2017-03-28 12:47:342060
2061const char kBootAnimationDescription[] =
2062 "Wallpaper boot animation (except for OOBE case).";
2063
hansberryc147785f2017-05-02 23:36:272064const char kTetherName[] = "Instant Tethering";
2065
2066const char kTetherDescription[] =
2067 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2068 "phone to share its Internet connection with this device.";
2069
vabr0215a8e2017-03-28 12:47:342070#endif // defined(OS_CHROMEOS)
2071
vabr0215a8e2017-03-28 12:47:342072#if defined(OS_CHROMEOS)
2073
2074const char kFirstRunUiTransitionsName[] =
2075 "Animated transitions in the first-run tutorial";
2076
2077const char kFirstRunUiTransitionsDescription[] =
2078 "Transitions during first-run tutorial are animated.";
2079
2080#endif // defined(OS_CHROMEOS)
2081
vabr0215a8e2017-03-28 12:47:342082#if defined(OS_MACOSX)
2083
2084const char kHostedAppsInWindowsName[] =
2085 "Allow hosted apps to be opened in windows";
2086
2087const char kHostedAppsInWindowsDescription[] =
2088 "Allows hosted apps to be opened in windows instead of being limited to "
2089 "tabs.";
2090
2091const char kTabDetachingInFullscreenName[] =
2092 "Allow tab detaching in fullscreen";
2093
2094const char kTabDetachingInFullscreenDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192095 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
vabr0215a8e2017-03-28 12:47:342096
2097const char kFullscreenToolbarRevealName[] =
2098 "Enables the toolbar in fullscreen to reveal itself.";
2099
2100const char kFullscreenToolbarRevealDescription[] =
2101 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2102 "has changed.";
2103
Luis Rabasabe8c6f82017-08-03 01:25:162104const char kContentFullscreenName[] = "Improved Content Fullscreen";
2105
2106const char kContentFullscreenDescription[] =
2107 "Fullscreen content window detaches from main browser window and goes to "
2108 "a new space without moving or changing the original browser window.";
2109
vabr0215a8e2017-03-28 12:47:342110const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2111
2112const char kTabStripKeyboardFocusDescription[] =
2113 "Enable keyboard focus for the tabs in the tab strip.";
2114
2115#endif // defined(OS_MACOSX)
2116
vabr0215a8e2017-03-28 12:47:342117#if defined(OS_MACOSX)
2118
2119const char kTranslateNewUxName[] = "New Translate UX";
2120
2121const char kTranslateNewUxDescription[] =
2122 "Enable the new Translate bubble UX is offered instead of the infobar.";
2123
2124#endif // defined(OS_MACOSX)
2125
vabr0215a8e2017-03-28 12:47:342126#if defined(OS_MACOSX)
2127
2128const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2129
2130const char kAppInfoDialogDescription[] =
2131 "Makes the Toolkit-Views based App Info dialog accessible from "
2132 "chrome://apps or chrome://extensions in place of the native extension "
2133 "permissions dialog, or the details link (which is a link to the Web "
2134 "Store).";
2135
kerrnel7e4f7a7f2017-06-28 21:28:282136const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2137
2138const char kMacV2SandboxDescription[] =
2139 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2140 "entire life cycle.";
2141
vabr0215a8e2017-03-28 12:47:342142const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2143
2144const char kMacViewsNativeAppWindowsDescription[] =
2145 "Controls whether to use Toolkit-Views based Chrome App windows.";
2146
2147const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2148
2149const char kMacViewsTaskManagerDescription[] =
2150 "Controls whether to use the Toolkit-Views based Task Manager.";
2151
2152const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2153
2154const char kAppWindowCyclingDescription[] =
2155 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2156 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
Vitalii Iarko7df520142017-07-07 12:53:192157 "browser window, and browser windows will not be cycled when a Chrome App "
2158 "is active.";
vabr0215a8e2017-03-28 12:47:342159
2160#endif // defined(OS_MACOSX)
2161
2162#if defined(OS_CHROMEOS)
2163
2164const char kAcceleratedMjpegDecodeName[] =
2165 "Hardware-accelerated mjpeg decode for captured frame";
2166
2167const char kAcceleratedMjpegDecodeDescription[] =
2168 "Enable hardware-accelerated mjpeg decode for captured frame where "
2169 "available.";
2170
2171#endif // defined(OS_CHROMEOS)
2172
vabr0215a8e2017-03-28 12:47:342173#if defined(OS_WIN)
2174
2175const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2176
2177const char kEnableAppcontainerDescription[] =
2178 "Enables the use of an AppContainer on sandboxed processes to improve "
2179 "security.";
2180
2181#endif // defined(OS_WIN)
2182
thestig0c55ee32017-06-20 22:17:512183#if defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
elawrenced9978fc2017-05-02 02:45:192184
2185const char kShowCertLinkOnPageInfoName[] = "Show certificate link";
2186
2187const char kShowCertLinkOnPageInfoDescription[] =
2188 "Add a link from the Page Info bubble to the certificate viewer for HTTPS "
2189 "sites.";
2190
thestig0c55ee32017-06-20 22:17:512191#endif // defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
elawrenced9978fc2017-05-02 02:45:192192
vabr0215a8e2017-03-28 12:47:342193#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2194
2195const char kAutofillCreditCardUploadName[] =
2196 "Enable offering upload of Autofilled credit cards";
2197
2198const char kAutofillCreditCardUploadDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192199 "Enables a new option to upload credit cards to Google Payments for sync "
2200 "to all Chrome devices.";
vabr0215a8e2017-03-28 12:47:342201
2202#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2203
vabr0215a8e2017-03-28 12:47:342204#if defined(OS_WIN) || defined(OS_LINUX)
2205
2206const char kEnableInputImeApiName[] = "Enable Input IME API";
2207
2208const char kEnableInputImeApiDescription[] =
2209 "Enable the use of chrome.input.ime API.";
2210
2211#endif // defined(OS_WIN) || defined(OS_LINUX)
2212
vabr0215a8e2017-03-28 12:47:342213#if defined(OS_CHROMEOS)
2214
vabr0215a8e2017-03-28 12:47:342215const char kVirtualKeyboardName[] = "Virtual Keyboard";
2216
2217const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2218
2219const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2220
2221const char kVirtualKeyboardOverscrollDescription[] =
2222 "Enables virtual keyboard overscroll support.";
2223
2224const char kInputViewName[] = "Input views";
2225
2226const char kInputViewDescription[] =
2227 "Enable IME extensions to supply custom views for user input such as "
2228 "virtual keyboards.";
2229
2230const char kNewKoreanImeName[] = "New Korean IME";
2231
2232const char kNewKoreanImeDescription[] =
2233 "New Korean IME, which is based on Google Input Tools' HMM engine.";
2234
2235const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2236
2237const char kPhysicalKeyboardAutocorrectDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192238 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2239 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342240
2241const char kVoiceInputName[] = "Voice input on virtual keyboard";
2242
2243const char kVoiceInputDescription[] =
2244 "Enables voice input on virtual keyboard.";
2245
2246const char kExperimentalInputViewFeaturesName[] =
2247 "Experimental input view features";
2248
2249const char kExperimentalInputViewFeaturesDescription[] =
2250 "Enable experimental features for IME input views.";
2251
2252const char kFloatingVirtualKeyboardName[] = "Floating virtual keyboard.";
2253
2254const char kFloatingVirtualKeyboardDescription[] =
2255 "Enable/Disable floating virtual keyboard.";
2256
2257const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2258
2259const char kGestureTypingDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192260 "Enable/Disable gesture typing option in the settings page for the virtual "
2261 "keyboard.";
vabr0215a8e2017-03-28 12:47:342262
2263const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2264
2265const char kGestureEditingDescription[] =
2266 "Enable/Disable gesture editing option in the settings page for the "
2267 "virtual keyboard.";
2268
2269const char kCaptivePortalBypassProxyName[] =
2270 "Bypass proxy for Captive Portal Authorization";
2271
2272const char kCaptivePortalBypassProxyDescription[] =
2273 "If proxy is configured, it usually prevents from authorization on "
2274 "different captive portals. This enables opening captive portal "
Vitalii Iarko7df520142017-07-07 12:53:192275 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342276
2277const char kTouchscreenCalibrationName[] =
Vitalii Iarko7df520142017-07-07 12:53:192278 "Enable/disable touchscreen calibration option in material design settings";
vabr0215a8e2017-03-28 12:47:342279
2280const char kTouchscreenCalibrationDescription[] =
2281 "If enabled, the user can calibrate the touch screen displays in "
Dan Beame8db8412017-07-28 00:33:522282 "chrome://settings/display.";
vabr0215a8e2017-03-28 12:47:342283
yamaguchid99a64b2017-05-12 15:33:492284const char kTeamDrivesName[] = "Enable Team Drives Integration";
2285const char kTeamDrivesDescription[] =
2286 "If enabled, files under Team Drives will appear in the Files app.";
2287
vabr0215a8e2017-03-28 12:47:342288#endif // defined(OS_CHROMEOS)
2289
vabr0215a8e2017-03-28 12:47:342290#if defined(OS_WIN) || defined(OS_MACOSX)
2291
2292// Tab discarding
2293
2294const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2295
2296const char kAutomaticTabDiscardingDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192297 "If enabled, tabs get automatically discarded from memory when the system "
2298 "memory is low. Discarded tabs are still visible on the tab strip and get "
2299 "reloaded when clicked on. Info about discarded tabs can be found at "
2300 "chrome://discards.";
vabr0215a8e2017-03-28 12:47:342301
2302#endif // defined(OS_WIN) || defined(OS_MACOSX)
2303
vabr0215a8e2017-03-28 12:47:342304#if defined(OS_WIN)
2305
2306// Exporting tracing events to ETW
2307
2308const char kTraceExportEventsToEtwName[] =
2309 "Enable exporting of tracing events to ETW.";
2310
2311const char kTraceExportEventsToEtwDesription[] =
2312 "If enabled, trace events will be exported to the Event Tracing for "
2313 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2314 "Xperf.";
2315
2316const char kMergeKeyCharEventsName[] =
Vitalii Iarko7df520142017-07-07 12:53:192317 "Enable or disable merging merging the key event (WM_KEY*) with char event "
2318 "(WM_CHAR).";
vabr0215a8e2017-03-28 12:47:342319
2320const char kMergeKeyCharEventsDescription[] =
etienneb9a4b5302017-06-08 06:28:462321 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separately.";
vabr0215a8e2017-03-28 12:47:342322
2323const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2324
2325const char kUseWinrtMidiApiDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192326 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2327 "later).";
vabr0215a8e2017-03-28 12:47:342328
2329#endif // defined(OS_WIN)
2330
vabr0215a8e2017-03-28 12:47:342331#if defined(OS_CHROMEOS)
2332
vabr0215a8e2017-03-28 12:47:342333const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2334
2335const char kEnableAndroidWallpapersAppDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192336 "Enables the Android Wallpapers App as the default Wallpaper App on Chrome "
2337 "OS.";
vabr0215a8e2017-03-28 12:47:342338
2339const char kEnableTouchSupportForScreenMagnifierName[] =
2340 "Touch support for screen magnifier";
2341
2342const char kEnableTouchSupportForScreenMagnifierDescription[] =
2343 "Enables touch support for screen magnifier";
2344
Tatsuhisa Yamaguchi281eabf32017-07-19 21:55:522345const char kFileManagerTouchModeName[] = "Files App. touch mode";
2346const char kFileManagerTouchModeDescription[] =
2347 "Touchscreen-specific interactions of the Files app.";
2348
Rouslan Solomakhinbed1af22017-06-09 18:40:572349const char kEnableZipArchiverOnFileManagerName[] = "ZIP archiver for Drive";
takise183b8cb42017-04-07 05:12:082350
2351const char kEnableZipArchiverOnFileManagerDescription[] =
2352 "Enable the ability to archive and unpack files on Drive in the Files app";
2353
xiaochu32e9672a2017-05-04 04:15:082354const char kCrOSComponentName[] = "Chrome OS Component";
2355
2356const char kCrOSComponentDescription[] =
xiaochu169aadd2017-06-15 22:32:512357 "Enable the use of componentized escpr CUPS filter.";
xiaochu32e9672a2017-05-04 04:15:082358
vabr0215a8e2017-03-28 12:47:342359#endif // defined(OS_CHROMEOS)
2360
vabr0215a8e2017-03-28 12:47:342361#if !defined(OS_ANDROID) && defined(GOOGLE_CHROME_BUILD)
2362
2363const char kGoogleBrandedContextMenuName[] =
2364 "Google branding in the context menu";
2365
2366const char kGoogleBrandedContextMenuDescription[] =
2367 "Shows a Google icon next to context menu items powered by Google "
2368 "services.";
2369
2370#endif // !defined(OS_ANDROID) && defined(GOOGLE_CHROME_BUILD)
2371
mthiesse700b0b62017-05-19 01:37:312372#if BUILDFLAG(ENABLE_VR)
Brett Wilsonecb80982017-07-12 20:34:512373#if defined(OS_ANDROID)
vabr0215a8e2017-03-28 12:47:342374
Brett Wilsonecb80982017-07-12 20:34:512375const char kEnableVrShellName[] = "Enable Chrome VR.";
vabr0215a8e2017-03-28 12:47:342376const char kEnableVrShellDescription[] =
2377 "Allow browsing with a VR headset if available for this device.";
2378
mthiesse700b0b62017-05-19 01:37:312379const char kVrCustomTabBrowsingName[] = "Enable Custom Tab browsing in VR.";
mthiesse700b0b62017-05-19 01:37:312380const char kVrCustomTabBrowsingDescription[] =
2381 "Allow browsing with a VR headset in a Custom Tab if available for this "
2382 "device.";
ymalike78a83b2017-05-19 20:42:312383
2384const char kWebVrAutopresentName[] = "Enable WebVr auto presentation";
ymalike78a83b2017-05-19 20:42:312385const char kWebVrAutopresentDescription[] =
2386 "Allows auto presentation of WebVr content from trusted first-party apps";
Brett Wilsonecb80982017-07-12 20:34:512387
vabr0215a8e2017-03-28 12:47:342388#endif // defined(OS_ANDROID)
2389
Brett Wilsonecb80982017-07-12 20:34:512390const char kWebvrExperimentalRenderingName[] =
2391 "WebVR experimental rendering optimizations";
2392const char kWebvrExperimentalRenderingDescription[] =
2393 "Enabling this option activates experimental rendering path optimizations "
2394 "for WebVR.";
vabr0215a8e2017-03-28 12:47:342395
Brett Wilsonecb80982017-07-12 20:34:512396#endif // BUILDFLAG(ENABLE_VR)
vabr0215a8e2017-03-28 12:47:342397
vabr0215a8e2017-03-28 12:47:342398#if !defined(OS_ANDROID)
2399
mlamouriff56c092017-05-11 15:31:392400const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
vabr0215a8e2017-03-28 12:47:342401
mlamouriff56c092017-05-11 15:31:392402const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342403 "Manage audio focus across tabs to improve the audio mixing.";
2404
mlamouriff56c092017-05-11 15:31:392405const char kEnableAudioFocusDisabled[] = "Disabled";
vabr0215a8e2017-03-28 12:47:342406
mlamouriff56c092017-05-11 15:31:392407const char kEnableAudioFocusEnabled[] = "Enabled";
vabr0215a8e2017-03-28 12:47:342408
mlamouriff56c092017-05-11 15:31:392409const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342410 "Enabled (Flash lowers volume when interrupted by other sound, "
2411 "experimental)";
2412
2413#endif // !defined(OS_ANDROID)
2414
2415#if defined(OS_WIN)
2416
2417const char kGdiTextPrinting[] = "GDI Text Printing";
2418
2419const char kGdiTextPrintingDescription[] =
2420 "Use GDI to print text as simply text";
2421
2422#endif // defined(OS_WIN)
2423
vabr0215a8e2017-03-28 12:47:342424#if !defined(OS_MACOSX)
2425
2426const char kPermissionPromptPersistenceToggleName[] =
2427 "Persistence Toggle in Permission Prompts";
2428
2429const char kPermissionPromptPersistenceToggleDescription[] =
2430 "Whether to display a persistence toggle in permission prompts.";
2431
2432#endif // !defined(OS_MACOSX)
2433
vabr0215a8e2017-03-28 12:47:342434#if defined(OS_WIN)
2435
2436// Custom draw the Windows 10 titlebar. crbug.com/505013
2437
2438const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2439
2440const char kWindows10CustomTitlebarDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192441 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2442 "deferring to Windows.";
vabr0215a8e2017-03-28 12:47:342443
2444#endif // defined(OS_WIN)
2445
2446#if defined(OS_WIN)
2447
rbpotter556837e42017-05-01 18:49:042448const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
vabr0215a8e2017-03-28 12:47:342449
rbpotter556837e42017-05-01 18:49:042450const char kDisablePostscriptPrintingDescription[] =
2451 "Disables PostScript generation when printing to PostScript capable "
2452 "printers, and uses EMF generation in its place.";
vabr0215a8e2017-03-28 12:47:342453
2454#endif // defined(OS_WIN)
2455
vabr0215a8e2017-03-28 12:47:342456// Desktop iOS promotion chrome://flags strings
2457
2458#if defined(OS_WIN)
2459
2460const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2461
2462const char kEnableDesktopIosPromotionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192463 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2464 "eligible.";
vabr0215a8e2017-03-28 12:47:342465
2466#endif // defined(OS_WIN)
2467
Michael Giuffridadc8030c2017-08-02 13:22:442468#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN)
vabr0215a8e2017-03-28 12:47:342469
2470const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342471const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282472 "Enable receiving entity suggestions - disambiguation descriptions - for "
2473 "Omnibox suggestions.";
2474
2475const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2476const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192477 "Enable receiving tail suggestions, a type of search suggestion based on "
2478 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342479
ojan38c678352017-04-11 20:27:552480const char kPauseBackgroundTabsName[] = "Pause background tabs";
2481const char kPauseBackgroundTabsDescription[] =
2482 "Pause timers in background tabs after 5 minutes on desktop.";
2483
spqchan6f9127a2017-04-29 03:42:022484const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2485const char kEnableNewAppMenuIconDescription[] =
2486 "Use the new app menu icon with update notification animations.";
spqchan064a8112017-04-18 16:46:322487
Michael Giuffridadc8030c2017-08-02 13:22:442488#endif // defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN)
vabr0215a8e2017-03-28 12:47:342489
2490#if defined(OS_CHROMEOS)
2491
2492const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2493
2494const char kEnableChromevoxArcSupportDescription[] =
2495 "Enable ChromeVox screen reader features in ARC";
2496
2497#endif // defined(OS_CHROMEOS)
2498
vabr0215a8e2017-03-28 12:47:342499#if defined(OS_CHROMEOS)
2500
2501// File Manager
2502
2503const char kVideoPlayerChromecastSupportName[] =
2504 "Experimental Chromecast support for Video Player";
2505
2506const char kVideoPlayerChromecastSupportDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192507 "This option enables experimental Chromecast support for Video Player app "
2508 "on ChromeOS.";
vabr0215a8e2017-03-28 12:47:342509
2510const char kNewZipUnpackerName[] = "New ZIP unpacker";
2511
2512const char kNewZipUnpackerDescription[] =
2513 "New ZIP unpacker flow, based on the File System Provider API.";
2514
vabr0215a8e2017-03-28 12:47:342515const char kOfficeEditingComponentAppName[] =
2516 "Office Editing for Docs, Sheets & Slides";
2517
2518const char kOfficeEditingComponentAppDescription[] =
2519 "Office Editing for Docs, Sheets & Slides for testing purposes.";
2520
2521const char kDisplayColorCalibrationName[] = "Color calibration of the display";
2522
2523const char kDisplayColorCalibrationDescription[] =
2524 "Allow color calibration of the display if the display supports the "
2525 "feature.";
2526
newcomer403ac142017-07-05 18:26:302527const char kEnableFullscreenAppListName[] = "Enable The Peeking Launcher";
2528
2529const char kEnableFullscreenAppListDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192530 "The peeking launcher UI supports touch and provides more space for "
2531 "upcoming features.";
newcomer403ac142017-07-05 18:26:302532
Alex Newcomer43cb7f12017-07-28 17:37:392533extern const char kEnableBackgroundBlurName[] = "Enable background blur.";
2534extern const char kEnableBackgroundBlurDescription[] =
2535 "Enables background blur for the Peeking Launcher, Lock Screen, and Tab "
2536 "Switcher.";
2537
vabr0215a8e2017-03-28 12:47:342538const char kMemoryPressureThresholdName[] =
2539 "Memory discard strategy for advanced pressure handling";
2540
2541const char kMemoryPressureThresholdDescription[] =
2542 "Memory discarding strategy to use";
2543
2544const char kConservativeThresholds[] =
2545 "Conservative memory pressure release strategy";
2546
2547const char kAggressiveCacheDiscardThresholds[] =
2548 "Aggressive cache release strategy";
2549
2550const char kAggressiveTabDiscardThresholds[] =
2551 "Aggressive tab release strategy";
2552
2553const char kAggressiveThresholds[] =
2554 "Aggressive tab and cache release strategy";
2555
2556const char kWakeOnPacketsName[] = "Wake On Packets";
2557
2558const char kWakeOnPacketsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192559 "Enables waking the device based on the receipt of some network packets.";
vabr0215a8e2017-03-28 12:47:342560
brettw5f9c1642017-05-14 17:12:482561const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
vabr0215a8e2017-03-28 12:47:342562
2563const char kQuickUnlockPinDescription[] =
jdufault74476492017-04-20 01:20:002564 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2565 "device on the lock screen after you have signed into your device.";
2566
2567const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2568
2569const char kQuickUnlockPinSigninDescription[] =
2570 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2571 "device. After changing this flag PIN needs to be set up again.";
vabr0215a8e2017-03-28 12:47:342572
2573const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2574
2575const char kQuickUnlockFingerprintDescription[] =
2576 "Enabling fingerprint quick unlock allows you to setup and use a "
Vitalii Iarko7df520142017-07-07 12:53:192577 "fingerprint to unlock your Chromebook on the lock screen after you have "
2578 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342579
2580const char kExperimentalAccessibilityFeaturesName[] =
2581 "Experimental accessibility features";
2582
2583const char kExperimentalAccessibilityFeaturesDescription[] =
2584 "Enable additional accessibility features in the Settings page.";
2585
2586const char kDisableSystemTimezoneAutomaticDetectionName[] =
2587 "SystemTimezoneAutomaticDetection policy support";
2588
2589const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2590 "Disable system timezone automatic detection device policy.";
2591
2592const char kEolNotificationName[] = "Disable Device End of Life notification.";
2593
2594const char kEolNotificationDescription[] =
2595 "Disable Notifcation when Device is End of Life.";
2596
2597// Stylus strings
2598
2599const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2600
2601const char kForceEnableStylusToolsDescription[] =
2602 "Forces display of the stylus tools menu in the shelf and the stylus "
2603 "section in settings, even if there is no attached stylus device.";
2604
Toni Barzic0f3440a62017-07-19 20:19:312605const char kEnableLockScreenAppsName[] = "Enable lock screen note taking";
2606
2607const char kEnableLockScreenAppsDescription[] =
2608 "Enable new-note action handler apps on the lock screen. The user will be "
2609 "able to launch the preferred note-taking action from the lock screen, "
2610 "provided that the app supports lock screen note taking.";
2611
vabr0215a8e2017-03-28 12:47:342612// Network portal notification
2613
2614const char kNetworkPortalNotificationName[] =
2615 "Notifications about captive portals";
2616
2617const char kNetworkPortalNotificationDescription[] =
2618 "If enabled, notification is displayed when device is connected to a "
2619 "network behind captive portal.";
2620
stevenjbe1d457382017-05-24 22:37:242621const char kNetworkSettingsConfigName[] =
2622 "Settings based Network Configuration";
2623
2624const char kNetworkSettingsConfigDescription[] =
2625 "Enables the Settings based network configuration UI instead of the Views "
2626 "based configuration dialog.";
2627
vabr0215a8e2017-03-28 12:47:342628const char kMtpWriteSupportName[] = "MTP write support";
2629
2630const char kMtpWriteSupportDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192631 "MTP write support in File System API (and file manager). In-place editing "
2632 "operations are not supported.";
vabr0215a8e2017-03-28 12:47:342633
2634const char kCrosRegionsModeName[] = "Cros-regions load mode";
2635
2636const char kCrosRegionsModeDescription[] =
2637 "This flag controls cros-regions load mode";
2638
2639const char kCrosRegionsModeDefault[] = "Default";
2640
2641const char kCrosRegionsModeOverride[] = "Override VPD values.";
2642
2643const char kCrosRegionsModeHide[] = "Hide VPD values.";
2644
2645const char kPrinterProviderSearchAppName[] =
2646 "Chrome Web Store Gallery app for printer drivers";
2647
2648const char kPrinterProviderSearchAppDescription[] =
2649 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192650 "searches Chrome Web Store for extensions that support printing to a USB "
2651 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342652
2653const char kArcBootCompleted[] = "Load Android apps automatically";
2654
2655const char kArcBootCompletedDescription[] =
2656 "Allow Android apps to start automatically after signing in.";
2657
2658const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2659
2660const char kEnableImeMenuDescription[] =
2661 "Enable access to the new IME menu in the Language Settings page.";
2662
2663const char kEnableEhvInputName[] =
2664 "Emoji, handwriting and voice input on opt-in IME menu";
2665
2666const char kEnableEhvInputDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192667 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342668
fukino1b5ebe952017-04-07 05:35:302669const char kEnableEncryptionMigrationName[] =
2670 "Enable encryption migration of user data";
2671
2672const char kEnableEncryptionMigrationDescription[] =
2673 "If enabled and the device supports ARC, the user will be asked to update "
2674 "the encryption of user data when the user signs in.";
2675
Daniel Erat33054b22017-06-27 16:18:072676// Spurious power button detection
2677
2678const char kSpuriousPowerButtonWindowName[] = "Spurious power button window";
2679const char kSpuriousPowerButtonWindowDescription[] =
2680 "Number of recent accelerometer samples to examine to determine if a power "
2681 "button event was spurious.";
2682
2683const char kSpuriousPowerButtonAccelCountName[] =
2684 "Spurious power button acceleration count";
2685const char kSpuriousPowerButtonAccelCountDescription[] =
2686 "Number of recent acceleration samples that must meet or exceed exceed the "
2687 "threshold in order for a power button event to be considered spurious.";
2688
2689const char kSpuriousPowerButtonScreenAccelName[] =
2690 "Spurious power button screen acceleration threshold";
2691const char kSpuriousPowerButtonScreenAccelDescription[] =
2692 "Threshold (in m/s^2, disregarding gravity) that screen acceleration must "
2693 "meet or exceed for a power button event to be considered spurious.";
2694
2695const char kSpuriousPowerButtonKeyboardAccelName[] =
2696 "Spurious power button keyboard acceleration threshold";
2697const char kSpuriousPowerButtonKeyboardAccelDescription[] =
2698 "Threshold (in m/s^2, disregarding gravity) that keyboard acceleration "
2699 "must meet or exceed for a power button event to be considered spurious.";
2700
2701const char kSpuriousPowerButtonLidAngleChangeName[] =
2702 "Spurious power button lid angle change threshold";
2703const char kSpuriousPowerButtonLidAngleChangeDescription[] =
2704 "Change in lid angle (i.e. hinge between keyboard and screen) that must be "
2705 "met or exceeded for a power button event to be considered spurious.";
2706
vabr0215a8e2017-03-28 12:47:342707#endif // #if defined(OS_CHROMEOS)
2708
stanisc14bed0b132017-05-10 17:46:372709#if defined(OS_WIN)
2710
2711// Name and description of the flag that enables D3D v-sync.
2712const char kEnableD3DVsync[] = "D3D v-sync";
2713const char kEnableD3DVsyncDescription[] =
2714 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2715 "to occur.";
2716
2717#endif // defined(OS_WIN)
2718
thestig0c55ee32017-06-20 22:17:512719#if !defined(OS_ANDROID)
treib273e9db2017-05-11 14:02:262720
msarda6d4b3dc2017-06-02 15:39:472721const char kAccountConsistencyName[] =
2722 "Identity consistency between browser and cookie jar";
2723
2724const char kAccountConsistencyDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192725 "When enabled, the browser manages signing in and out of Google accounts.";
msarda6d4b3dc2017-06-02 15:39:472726
2727const char kAccountConsistencyChoiceMirror[] = "Mirror";
2728const char kAccountConsistencyChoiceDice[] = "Dice";
2729
treib273e9db2017-05-11 14:02:262730const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2731const char kUseGoogleLocalNtpDescription[] =
2732 "Use the local New Tab page if Google is the default search engine.";
2733
2734const char kOneGoogleBarOnLocalNtpName[] =
2735 "Enable the OneGoogleBar on the local NTP";
2736const char kOneGoogleBarOnLocalNtpDescription[] =
2737 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2738 "search engine.";
2739
Ondrej Skopek8e8e431c2017-08-07 14:03:072740const char kVoiceSearchOnLocalNtpName[] =
2741 "Enable Voice Search on the local NTP";
2742const char kVoiceSearchOnLocalNtpDescription[] =
2743 "Show a microphone for voice search on the local New Tab page "
2744 "if Google is the default search engine.";
2745
thestig0c55ee32017-06-20 22:17:512746#endif // !defined(OS_ANDROID)
treib273e9db2017-05-11 14:02:262747
lgreyc0b638e52017-05-11 19:10:172748#if defined(OS_MACOSX)
2749extern const char kMacRTLName[] = "Enable RTL";
2750extern const char kMacRTLDescription[] =
2751 "Mirrors the UI for RTL language users";
spqchand24dbd52017-07-21 00:57:062752extern const char kMacTouchBarName[] = "Hardware Touch Bar";
elawrence408bddb2017-06-15 16:07:382753extern const char kMacTouchBarDescription[] =
spqchand24dbd52017-07-21 00:57:062754 "Control the use of the Touch Bar.";
2755extern const char kCreditCardAutofillTouchBarName[] =
2756 "Credit Card Autofill Touch Bar";
2757extern const char kCreditCardAutofillTouchBarDescription[] =
2758 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
lgreyc0b638e52017-05-11 19:10:172759#endif
2760
yhanadac5bff5b2017-05-18 06:37:092761#if defined(OS_CHROMEOS)
2762
2763const char kDisableNewVirtualKeyboardBehaviorName[] =
2764 "New window behavior for the accessibility keyboard";
2765const char kDisableNewVirtualKeyboardBehaviorDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192766 "Disable new window behavior for the accessibility keyboard in non-sticky "
2767 "mode (do not change work area in non-sticky mode).";
yhanadac5bff5b2017-05-18 06:37:092768
bruthigeafb0c02017-06-09 13:11:532769const char kUiDevToolsName[] = "Enable native UI inspection";
2770const char kUiDevToolsDescription[] =
2771 "Enables inspection of native UI elements. For local inspection use "
2772 "chrome://inspect#other";
2773
Takashi Toyoshima14f64f562017-07-19 08:38:202774const char kUseCrosMidiServiceName[] = "Use Chrome OS MIDI Service";
2775const char kUseCrosMidiServiceNameDescription[] =
2776 "Use Chrome OS MIDI Service for Web MIDI and allow ARC to support Android "
2777 "MIDI.";
2778
orenb21da031c2017-06-30 21:24:202779const char kMultideviceName[] = "Enable multidevice features";
2780const char kMultideviceDescription[] =
2781 "Enables UI for controlling multidevice features.";
2782
yhanadac5bff5b2017-05-18 06:37:092783#endif // defined(OS_CHROMEOS)
2784
vabr0215a8e2017-03-28 12:47:342785} // namespace flag_descriptions