blob: 8ea9a14c9dcc0f9ed2c42e98349382906c9fc414 [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
Brett Wilson7b44537e2017-08-18 01:38:287// Keep in identical order as the header file, see the comment at the top
8// for formatting rules.
9
vabr0215a8e2017-03-28 12:47:3410namespace flag_descriptions {
11
Brett Wilsonf27ff602017-07-07 22:28:4712const char kAccelerated2dCanvasName[] = "Accelerated 2D canvas";
13const char kAccelerated2dCanvasDescription[] =
14 "Enables the use of the GPU to perform 2d canvas rendering instead of "
15 "using software rendering.";
horodb71a5a2017-06-09 16:08:2416
Brett Wilsonf27ff602017-07-07 22:28:4717const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode";
18const char kAcceleratedVideoDecodeDescription[] =
19 "Hardware-accelerated video decode where available.";
20
21const char kAffiliationBasedMatchingName[] =
22 "Affiliation based matching in password manager";
23const char kAffiliationBasedMatchingDescription[] =
24 "Allow credentials stored for Android applications to be filled into "
25 "corresponding websites.";
26
27const char kAllowInsecureLocalhostName[] =
28 "Allow invalid certificates for resources loaded from localhost.";
29const char kAllowInsecureLocalhostDescription[] =
30 "Allows requests to localhost over HTTPS even when an invalid certificate "
31 "is presented.";
32
33const char kAllowNaclSocketApiName[] = "NaCl Socket API.";
34const char kAllowNaclSocketApiDescription[] =
35 "Allows applications to use NaCl Socket API. Use only to test NaCl "
36 "plugins.";
37
38const char kAppBannersName[] = "App Banners";
39const char kAppBannersDescription[] =
40 "Enable the display of Progressive Web App banners, which prompt a user to "
41 "add a web app to their shelf, or other platform-specific equivalent.";
42
Khushalba202212017-07-12 19:53:4943const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
44const char kAsyncImageDecodingDescription[] =
45 "Enables asynchronous decoding of images from raster for web content";
46
Brett Wilsonf27ff602017-07-07 22:28:4747const char kAutoplayPolicyName[] = "Autoplay policy";
48const char kAutoplayPolicyDescription[] =
49 "Policy used when deciding if audio or video is allowed to autoplay.";
50
51const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
52 "User gesture is required for cross-origin iframes.";
53const char kAutoplayPolicyNoUserGestureRequired[] =
54 "No user gesture is required.";
55const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
56const char kAutoplayPolicyDocumentUserActivation[] =
57 "Document user activation is required.";
58
59const char kBackgroundVideoTrackOptimizationName[] =
60 "Optimize background video playback.";
61const char kBackgroundVideoTrackOptimizationDescription[] =
62 "Disable video tracks when the video is played in the background to "
63 "optimize performance.";
64
65const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
66const char kBleAdvertisingInExtensionsDescription[] =
67 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
68 "with regular use of Bluetooth Low Energy features.";
69
70const char kBrowserSideNavigationName[] = "Enable browser side navigation";
horodb71a5a2017-06-09 16:08:2471const char kBrowserSideNavigationDescription[] =
horo3beccfb2017-06-19 14:47:0172 "Enable browser side navigation (aka PlzNavigate).";
horodb71a5a2017-06-09 16:08:2473
Brett Wilsonf27ff602017-07-07 22:28:4774const char kBrowserTaskSchedulerName[] = "Task Scheduler";
75const char kBrowserTaskSchedulerDescription[] =
76 "Enables redirection of some task posting APIs to the task scheduler.";
77
78const char kBypassAppBannerEngagementChecksName[] =
79 "Bypass user engagement checks";
80const char kBypassAppBannerEngagementChecksDescription[] =
81 "Bypasses user engagement checks for displaying app banners, such as "
82 "requiring that users have visited the site before and that the banner "
83 "hasn't been shown recently. This allows developers to test that other "
84 "eligibility requirements for showing app banners, such as having a "
85 "manifest, are met.";
86
Marc Treibe3651be2017-07-14 11:05:4087const char kCaptureThumbnailOnNavigatingAwayName[] =
88 "Capture page thumbnail on navigating away";
89const char kCaptureThumbnailOnNavigatingAwayDescription[] =
90 "Capture a page thumbnail (for use on the New Tab page) when navigating "
91 "away from the current page, in addition to other times a thumbnail may be "
92 "captured.";
93
Brett Wilsonf27ff602017-07-07 22:28:4794const char kCastStreamingHwEncodingName[] =
95 "Cast Streaming hardware video encoding";
96const char kCastStreamingHwEncodingDescription[] =
97 "This option enables support in Cast Streaming for encoding video streams "
98 "using platform hardware.";
99
Amber Won478561d2017-08-19 01:02:59100const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
101const char kClickToOpenPDFDescription[] =
102 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
103 "embedded PDFs.";
104
Brett Wilsonf27ff602017-07-07 22:28:47105const char kCloudImportName[] = "Cloud Import";
106const char kCloudImportDescription[] = "Allows the cloud-import feature.";
107
Christopher Cameronceb8727d2017-09-07 23:53:16108const char kForceColorProfileSRGB[] = "sRGB";
109const char kForceColorProfileP3[] = "Display P3 D65";
110const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
111const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
112
113const char kForceColorProfileName[] = "Force color profile";
114const char kForceColorProfileDescription[] =
115 "Forces Chrome to use a specific color profile instead of the color "
116 "of the window's current monitor, as specified by the operating system.";
117
Brett Wilsonf27ff602017-07-07 22:28:47118const char kCompositedLayerBordersName[] = "Composited render layer borders";
119const char kCompositedLayerBordersDescription[] =
120 "Renders a border around composited Render Layers to help debug and study "
121 "layer compositing.";
122
123const char kContextualSuggestionsCarouselName[] =
124 "Enable Contextual Suggestions";
125const char kContextualSuggestionsCarouselDescription[] =
126 "If enabled, shows contextual suggestions in a horizontal carousel in "
127 "bottom sheet content.";
128
129const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
130const char kCreditCardAssistDescription[] =
131 "Enable assisted credit card filling on certain sites.";
132
133const char kCrossProcessGuestViewIsolationName[] =
134 "Cross process frames for guests";
135const char kCrossProcessGuestViewIsolationDescription[] =
136 "Highly experimental where guests such as <webview> are implemented on "
137 "the out-of-process iframe infrastructure.";
138
Brett Wilsonf27ff602017-07-07 22:28:47139const char kDataReductionProxyLoFiName[] = "Data Saver Lo-Fi mode";
140const char kDataReductionProxyLoFiDescription[] =
141 "Forces Data Saver Lo-Fi mode to be always enabled, enabled only on "
142 "cellular connections, or disabled. Data Saver must be enabled for Lo-Fi "
143 "mode to be used.";
144const char kDataReductionProxyLoFiAlwaysOn[] = "Always on";
145const char kDataReductionProxyLoFiCellularOnly[] = "Cellular only";
146const char kDataReductionProxyLoFiDisabled[] = "Disable";
147const char kDataReductionProxyLoFiSlowConnectionsOnly[] =
148 "Slow connections only";
149
150const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
151const char kDatasaverPromptDescription[] =
152 "Enables a prompt, which appears when a cellular network connection is "
153 "detected, to take the user to the Data Saver extension page on Chrome Web "
154 "Store.";
155const char kDatasaverPromptDemoMode[] = "Demo mode";
156
157const char kDebugPackedAppName[] = "Debugging for packed apps";
158const char kDebugPackedAppDescription[] =
159 "Enables debugging context menu options such as Inspect Element for packed "
160 "applications.";
161
162const char kDefaultTileHeightName[] = "Default tile height";
163const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
164const char kDefaultTileHeightShort[] = "128";
165const char kDefaultTileHeightTall[] = "256";
166const char kDefaultTileHeightGrande[] = "512";
167const char kDefaultTileHeightVenti[] = "1024";
168
169const char kDefaultTileWidthName[] = "Default tile width";
170const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
171const char kDefaultTileWidthShort[] = "128";
172const char kDefaultTileWidthTall[] = "256";
173const char kDefaultTileWidthGrande[] = "512";
174const char kDefaultTileWidthVenti[] = "1024";
175
176const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
177const char kDebugShortcutsDescription[] =
178 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
179
180const char kDeviceDiscoveryNotificationsName[] =
181 "Device Discovery Notifications";
182const char kDeviceDiscoveryNotificationsDescription[] =
183 "Device discovery notifications on local network.";
184
185const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
186const char kDevtoolsExperimentsDescription[] =
187 "Enables Developer Tools experiments. Use Settings panel in Developer "
188 "Tools to toggle individual experiments.";
189
190const char kDisableAudioForDesktopShareName[] =
191 "Disable Audio For Desktop Share";
192const char kDisableAudioForDesktopShareDescription[] =
193 "With this flag on, desktop share picker window will not let the user "
194 "choose whether to share audio.";
195
Brett Wilsonf27ff602017-07-07 22:28:47196const char kDisableTabForDesktopShareName[] =
197 "Disable Desktop Share with tab source";
198const char kDisableTabForDesktopShareDescription[] =
199 "This flag controls whether users can choose a tab for desktop share.";
200
201const char kDisallowDocWrittenScriptsUiName[] =
202 "Block scripts loaded via document.write";
203const char kDisallowDocWrittenScriptsUiDescription[] =
204 "Disallows fetches for third-party parser-blocking scripts inserted into "
205 "the main frame via document.write.";
206
207const char kDisplayList2dCanvasName[] = "Display list 2D canvas";
208const char kDisplayList2dCanvasDescription[] =
209 "Enables the use of display lists to record 2D canvas commands. This "
210 "allows 2D canvas rasterization to be performed on separate thread.";
211
212const char kDistanceFieldTextName[] = "Distance field text";
213const char kDistanceFieldTextDescription[] =
214 "Text is rendered with signed distance fields rather than bitmap alpha "
215 "masks.";
216
217const char kDriveSearchInChromeLauncherName[] =
218 "Drive Search in Chrome App Launcher";
219const char kDriveSearchInChromeLauncherDescription[] =
220 "Files from Drive will show up when searching the Chrome App Launcher.";
221
222const char kDropSyncCredentialName[] =
223 "Drop sync credentials from password manager";
224const char kDropSyncCredentialDescription[] =
225 "The password manager will not offer to save the credential used to sync.";
226
227const char kEasyUnlockBluetoothLowEnergyDiscoveryName[] =
228 "Smart Lock Bluetooth Low Energy Discovery";
229const char kEasyUnlockBluetoothLowEnergyDiscoveryDescription[] =
Tim Song52c142c62017-07-20 03:29:07230 "Disables a Smart Lock setting that allows Chromebook to discover phones "
Brett Wilsonf27ff602017-07-07 22:28:47231 "over Bluetooth Low Energy in order to unlock the Chromebook when the "
232 "phone is in its proximity.";
233
Gustavo Sacomotofb11164f2017-07-21 12:56:18234const char kEasyUnlockPromotionsName[] = "Smart Lock Promotions";
235const char kEasyUnlockPromotionsDescription[] =
236 "Enables Smart Lock promotions. Promotions will be periodically display "
237 "if the user is eligible.";
238
Brett Wilsonf27ff602017-07-07 22:28:47239const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
240const char kEmbeddedExtensionOptionsDescription[] =
241 "Display extension options as an embedded element in chrome://extensions "
242 "rather than opening a new tab.";
243
244const char kEnableAsmWasmName[] =
245 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
246const char kEnableAsmWasmDescription[] =
247 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
248 R"*(WebAssembly.)*";
249
250const char kEnableAutofillCreditCardBankNameDisplayName[] =
251 "Display the issuer bank name of a credit card in autofill.";
252const char kEnableAutofillCreditCardBankNameDisplayDescription[] =
253 "If enabled, displays the issuer bank name of a credit card in autofill.";
254
255const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
256 "Display the last used date of a credit card in autofill.";
257const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
258 "If enabled, display the last used date of a credit card in autofill.";
259
260const char kEnableAutofillCreditCardUploadCvcPromptName[] =
261 "Enable requesting missing CVC during Autofill credit card upload";
262const char kEnableAutofillCreditCardUploadCvcPromptDescription[] =
263 "If enabled, requests missing CVC when offering to upload credit cards to "
264 "Google Payments.";
265
Jared Saule4446d12017-08-15 20:01:13266const char kEnableAutofillCreditCardUploadGoogleLogoName[] =
267 "Show Google Logo for Autofill credit card upload";
268const char kEnableAutofillCreditCardUploadGoogleLogoDescription[] =
269 "If enabled, displays the Google logo in the save prompt when offering to "
270 "upload credit cards to Google Payments.";
271
jsaul19ef81c2017-08-09 18:53:40272const char kEnableAutofillCreditCardUploadNewUiName[] =
273 "Enable updated UI for Autofill credit card upload";
274const char kEnableAutofillCreditCardUploadNewUiDescription[] =
275 "If enabled, displays a new save card bubble/infobar design when offering "
276 "to upload credit cards to Google Payments.";
277
Vitalii Iarko4f9834ce2017-08-04 07:05:19278const char kEnableBreakingNewsPushName[] = "Breaking News Push";
279const char kEnableBreakingNewsPushDescription[] =
280 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
281 "through Google Cloud Messaging.";
282
Brett Wilsonf27ff602017-07-07 22:28:47283const char kEnableBrotliName[] = "Brotli Content-Encoding.";
284const char kEnableBrotliDescription[] =
285 "Enable Brotli Content-Encoding support.";
286
287const char kEnableClearBrowsingDataCountersName[] =
288 "Enable Clear browsing data counters.";
289const char kEnableClearBrowsingDataCountersDescription[] =
290 "Shows data volume counters in the Clear browsing data dialog.";
291
sclittle50e4bb92017-07-08 02:23:03292const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
293
294const char kEnableClientLoFiDescription[] =
295 "Enable showing low fidelity images on some pages on slow networks.";
296
Brett Wilsonf27ff602017-07-07 22:28:47297const char kEnableDataReductionProxyLitePageName[] =
298 "Lite pages for Data Saver Lo-Fi mode";
299const char kEnableDataReductionProxyLitePageDescription[] =
300 "Enable lite pages in Data Saver Lo-Fi mode. Previews of pages will be "
301 "shown instead of image placeholders when Lo-Fi is on. Data Saver and "
302 "Lo-Fi must be enabled for lite pages to be shown.";
303
304const char kDataReductionProxyServerAlternative[] =
305 "Use alternative server configuration";
306const char kEnableDataReductionProxyServerExperimentName[] =
307 "Use an alternative Data Saver back end configuration.";
308const char kEnableDataReductionProxyServerExperimentDescription[] =
309 "Enable a different approach to saving data by configuring the back end "
310 "server";
311
312const char kEnableDataReductionProxySavingsPromoName[] =
313 "Data Saver 1 MB Savings Promo";
314const char kEnableDataReductionProxySavingsPromoDescription[] =
315 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
316 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
317 "enabled for the promo to be shown.";
318
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17319const char kEnableDesktopPWAWindowingName[] =
320 "Windowing related features for desktop PWAs.";
321const char kEnableDesktopPWAWindowingDescription[] =
322 "Enable experimental windowing features for desktop PWAs.";
323
Brett Wilsonf27ff602017-07-07 22:28:47324const char kEnableEnumeratingAudioDevicesName[] =
325 "Experimentally enable enumerating audio devices.";
326const char kEnableEnumeratingAudioDevicesDescription[] =
327 "Experimentally enable the use of enumerating audio devices.";
328
329const char kEnableGenericSensorName[] = "Generic Sensor";
330const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25331 "Enables motion sensor classes based on Generic Sensor API, i.e. "
332 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
333 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
334
335const char kEnableGenericSensorExtraClassesName[] =
336 "Generic Sensor Extra Classes";
337const char kEnableGenericSensorExtraClassesDescription[] =
338 "Enables an extra set of sensor classes based on Generic Sensor API, which "
339 "expose previously unavailable platform features, i.e. AmbientLightSensor "
340 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47341
Brett Wilsonf27ff602017-07-07 22:28:47342const char kEnableHDRName[] = "HDR mode";
343const char kEnableHDRDescription[] =
344 "Enables HDR support on compatible displays.";
345
346const char kEnableHeapProfilingName[] = "Heap profiling";
347const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
348const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
349const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
350const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
351
352const char kEnableHttpFormWarningName[] =
353 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15354 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47355const char kEnableHttpFormWarningDescription[] =
356 "Attaches a warning UI to any password or credit card fields detected when "
357 "the top-level page is not HTTPS";
358
Sidney San Martín9375b892017-09-09 00:29:54359const char kEnableMacMaterialDesignDownloadShelfName[] =
360 "Enable Material Design download shelf";
361
362const char kEnableMacMaterialDesignDownloadShelfDescription[] =
363 "If enabled, the download shelf uses Material Design.";
364
Tatiana Gornakafb40452017-07-31 13:50:04365const char kEnableManualFallbacksFillingName[] =
366 "Manual fallbacks for password manager forms filling";
367const char kEnableManualFallbacksFillingDescription[] =
368 "If enabled, then if user clicks on the password field on a form, popup "
369 "might contain generation fallbacks or 'Show all saved passwords' "
370 "fallback.";
371
vabr0215a8e2017-03-28 12:47:34372const char kEnableMaterialDesignBookmarksName[] =
373 "Enable Material Design bookmarks";
vabr0215a8e2017-03-28 12:47:34374const char kEnableMaterialDesignBookmarksDescription[] =
375 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
376 "bookmarks page.";
377
vabr0215a8e2017-03-28 12:47:34378const char kEnableMaterialDesignExtensionsName[] =
379 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34380const char kEnableMaterialDesignExtensionsDescription[] =
381 "If enabled, the chrome://extensions/ URL loads the Material Design "
382 "extensions page.";
383
vabr0215a8e2017-03-28 12:47:34384const char kEnableMaterialDesignFeedbackName[] =
385 "Enable Material Design feedback";
vabr0215a8e2017-03-28 12:47:34386const char kEnableMaterialDesignFeedbackDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:19387 "If enabled, reporting an issue will load the Material Design feedback UI.";
vabr0215a8e2017-03-28 12:47:34388
Anton Urusov47cd4932017-09-19 14:41:41389const char kEnablePolicyToolName[] = "Enable policy management page";
390const char kEnablePolicyToolDescription[] =
391 "If enabled, the chrome://policy-tool URL loads a page for managing "
392 "policies.";
393
Brett Wilsonf27ff602017-07-07 22:28:47394const char kEnableMidiManagerDynamicInstantiationName[] =
395 "MIDIManager dynamic instantiation for Web MIDI.";
396const char kEnableMidiManagerDynamicInstantiationDescription[] =
397 "Enable MIDIManager dynamic instantiation for Web MIDI.";
398
399const char kEnableNavigationTracingName[] = "Enable navigation tracing";
400const char kEnableNavigationTracingDescription[] =
401 "This is to be used in conjunction with the trace-upload-url flag. "
402 "WARNING: When enabled, Chrome will record performance data for every "
403 "navigation and upload it to the URL specified by the trace-upload-url "
404 "flag. The trace may include personally identifiable information (PII) "
405 "such as the titles and URLs of websites you visit.";
406
407const char kEnableNetworkServiceName[] = "Enable network service";
408const char kEnableNetworkServiceDescription[] =
409 "Enables the network service, which makes network requests through a "
410 "separate service. Note: most features don't work with this yet.";
411
Ahmed Fakhry2fd8fc82017-07-28 16:31:12412const char kEnableNightLightName[] = "Enable Night Light";
413const char kEnableNightLightDescription[] =
414 "Enable the Night Light feature which controls the color temperature of "
415 "the screen.";
416
Yutaka Hirano98be3272017-08-07 17:55:39417const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
418const char kEnableOutOfBlinkCORSDescription[] =
419 "CORS handling logic is moved out of blink.";
420
Erik Chen49bbfa22017-08-18 08:49:56421const char kEnableOutOfProcessHeapProfilingName[] =
422 "Out of process heap profiling.";
423const char kEnableOutOfProcessHeapProfilingDescription[] =
424 "Creates a profiling service that records stacktraces for all live, "
425 "malloced objects.";
erikchen1dff1812017-09-11 21:27:36426const char kEnableOutOfProcessHeapProfilingModeMinimal[] =
427 "Profile only the browser and GPU processes.";
Erik Chen49bbfa22017-08-18 08:49:56428const char kEnableOutOfProcessHeapProfilingModeAll[] = "Profile all processes.";
429
Brett Wilsonf27ff602017-07-07 22:28:47430const char kEnablePictureInPictureName[] = "Enable picture in picture.";
431const char kEnablePictureInPictureDescription[] =
432 "Enable the picture in picture feature for videos.";
433
F#m59d036e2017-09-13 07:22:17434const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
435const char kEnablePixelCanvasRecordingDescription[] =
436 "Pixel canvas recording allows the compositor to raster contents aligned "
437 "with the pixel and improves text rendering. This should be enabled when a "
438 "device is using fractional scale factor.";
439
Brett Wilsonf27ff602017-07-07 22:28:47440const char kEnableTokenBindingName[] = "Token Binding.";
441const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
442
Irmak Kavasoglu7e16af02017-07-19 09:52:47443const char kEnableUsernameCorrectionName[] = "Enable username correction";
444const char kEnableUsernameCorrectionDescription[] =
445 "While on the pending password state, add an edit button to the bubble so "
446 "that user can edit the username.";
447
Brett Wilsonf27ff602017-07-07 22:28:47448const char kEnableUseZoomForDsfName[] =
449 "Use Blink's zoom for device scale factor.";
450const char kEnableUseZoomForDsfDescription[] =
451 "If enabled, Blink uses its zooming mechanism to scale content for device "
452 "scale factor.";
453const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
454const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
455const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
456
457const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
458const char kEnableScrollAnchoringDescription[] =
459 "Adjusts scroll position to prevent visible jumps when offscreen content "
460 "changes.";
461
462const char kEnableSharedArrayBufferName[] =
463 "Experimental enabled SharedArrayBuffer support in JavaScript.";
464const char kEnableSharedArrayBufferDescription[] =
465 "Enable SharedArrayBuffer support in JavaScript.";
466
467const char kEnableWasmName[] = "WebAssembly structured cloning support.";
468const char kEnableWasmDescription[] =
469 "Enable web pages to use WebAssembly structured cloning.";
470
Brett Wilsonf27ff602017-07-07 22:28:47471const char kEnableImageCaptureAPIName[] = "Image Capture API";
472const char kEnableImageCaptureAPIDescription[] =
473 "Enables the Web Platform Image Capture API: takePhoto(), "
474 "getPhotoCapabilities(), etc.";
475
476const char kEnableZeroSuggestRedirectToChromeName[] =
477 "Experimental contextual omnibox suggestion";
478const char kEnableZeroSuggestRedirectToChromeDescription[] =
479 "Change omnibox contextual suggestions to an experimental source. Note "
480 "that this is not an on/off switch for contextual omnibox and it only "
481 "applies to suggestions provided before the user starts typing a URL or a "
482 "search query (i.e. zero suggest).";
483
484const char kEnableWasmStreamingName[] =
485 "WebAssembly streaming compile/instantiate support.";
486const char kEnableWasmStreamingDescription[] =
487 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
488
489const char kEnableWebfontsInterventionName[] =
490 "New version of User Agent Intervention for WebFonts loading.";
491const char kEnableWebfontsInterventionDescription[] =
492 "Enable New version of User Agent Intervention for WebFonts loading.";
493const char kEnableWebfontsInterventionV2ChoiceDefault[] = "Default";
494const char kEnableWebfontsInterventionV2ChoiceEnabledWith2g[] = "Enabled: 2G";
495const char kEnableWebfontsInterventionV2ChoiceEnabledWith3g[] = "Enabled: 3G";
496const char kEnableWebfontsInterventionV2ChoiceEnabledWithSlow2g[] =
497 "Enabled: Slow 2G";
498const char kEnableWebfontsInterventionV2ChoiceDisabled[] = "Disabled";
499
500const char kEnableWebfontsInterventionTriggerName[] =
501 "Trigger User Agent Intervention for WebFonts loading always.";
502const char kEnableWebfontsInterventionTriggerDescription[] =
503 "Enable to trigger User Agent Intervention for WebFonts loading always. "
504 "This flag affects only when the intervention is enabled.";
505
506const char kEnableWebNotificationCustomLayoutsName[] =
507 "Enable custom layouts for Web Notifications.";
508const char kEnableWebNotificationCustomLayoutsDescription[] =
509 "Enable custom layouts for Web Notifications. They will have subtle layout "
510 "improvements that are otherwise not possible.";
511
512const char kExpensiveBackgroundTimerThrottlingName[] =
513 "Throttle expensive background timers";
514const char kExpensiveBackgroundTimerThrottlingDescription[] =
515 "Enables intervention to limit CPU usage of background timers to 1%.";
516
517const char kExperimentalAppBannersName[] = "Experimental app banners";
518const char kExperimentalAppBannersDescription[] =
519 "Enables a new experimental app banner flow and UI";
520
521const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
522const char kExperimentalCanvasFeaturesDescription[] =
523 "Enables the use of experimental canvas features which are still in "
524 "development.";
525
526const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
527const char kExperimentalExtensionApisDescription[] =
528 "Enables experimental extension APIs. Note that the extension gallery "
529 "doesn't allow you to upload extensions that use experimental APIs.";
530
531const char kExperimentalFullscreenExitUIName[] =
532 "Experimental fullscreen exit UI";
533const char kExperimentalFullscreenExitUIDescription[] =
534 "Displays experimental UI to allow mouse and touch input methods to exit "
535 "fullscreen mode.";
536
537const char kExperimentalHotwordHardwareName[] =
538 "Simulated hardware 'Ok Google' features";
539const char kExperimentalHotwordHardwareDescription[] =
540 "Enables an experimental version of 'Ok Google' hotword detection features "
541 "that have a hardware dependency.";
542
543const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
544const char kExperimentalKeyboardLockUiDescription[] =
545 "An experimental full screen with keyboard lock mode requiring users to "
546 "hold Esc to exit.";
547
548const char kExperimentalSecurityFeaturesName[] =
549 "Potentially annoying security features";
550const char kExperimentalSecurityFeaturesDescription[] =
551 "Enables several security features that will likely break one or more "
552 "pages that you visit on a daily basis. Strict mixed content checking, for "
553 "example. And locking powerful features to secure contexts. This flag will "
554 "probably annoy you.";
555
556const char kExperimentalWebPlatformFeaturesName[] =
557 "Experimental Web Platform features";
558const char kExperimentalWebPlatformFeaturesDescription[] =
559 "Enables experimental Web Platform features that are in development.";
560
561const char kExtensionContentVerificationName[] =
562 "Extension Content Verification";
563const char kExtensionContentVerificationDescription[] =
564 "This flag can be used to turn on verification that the contents of the "
565 "files on disk for extensions from the webstore match what they're "
566 "expected to be. This can be used to turn on this feature if it would not "
567 "otherwise have been turned on, but cannot be used to turn it off (because "
568 "this setting can be tampered with by malware).";
569const char kExtensionContentVerificationBootstrap[] =
570 "Bootstrap (get expected hashes, but do not enforce them)";
571const char kExtensionContentVerificationEnforce[] =
572 "Enforce (try to get hashes, and enforce them if successful)";
573const char kExtensionContentVerificationEnforceStrict[] =
574 "Enforce strict (hard fail if we can't get hashes)";
575
576const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
577const char kExtensionsOnChromeUrlsDescription[] =
578 "Enables running extensions on chrome:// URLs, where extensions explicitly "
579 "request this permission.";
galinapae72e152017-05-12 13:12:28580
Brett Wilsonecb80982017-07-12 20:34:51581const char kFastUnloadName[] = "Fast tab/window close";
582const char kFastUnloadDescription[] =
583 "Enables fast tab/window closing - runs a tab's onunload js handler "
584 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34585
Brett Wilsonecb80982017-07-12 20:34:51586const char kFeaturePolicyName[] = "Feature Policy";
587const char kFeaturePolicyDescription[] =
588 "Enables granting and removing access to features through the "
589 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34590
Brett Wilsonecb80982017-07-12 20:34:51591const char kFetchKeepaliveTimeoutSettingName[] =
592 "Fetch API keepalive timeout setting";
593const char kFetchKeepaliveTimeoutSettingDescription[] =
594 "This is for setting the timeout value for Fetch API with keepalive option "
595 "and SendBeacon";
596
597const char kFontCacheScalingName[] = "FontCache scaling";
598const char kFontCacheScalingDescription[] =
599 "Reuse a cached font in the renderer to serve different sizes of font for "
600 "faster layout.";
601
602const char kForceEffectiveConnectionTypeName[] =
603 "Override effective connection type";
604const char kForceEffectiveConnectionTypeDescription[] =
605 "Overrides the effective connection type of the current connection "
606 "returned by the network quality estimator.";
607const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
608const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
609const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
610const char kEffectiveConnectionType2GDescription[] = "2G";
611const char kEffectiveConnectionType3GDescription[] = "3G";
612const char kEffectiveConnectionType4GDescription[] = "4G";
613
614const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
615const char kFillOnAccountSelectDescription[] =
616 "Filling of passwords when an account is explicitly selected by the user "
617 "rather than autofilling credentials on page load.";
618
Brett Wilsonecb80982017-07-12 20:34:51619const char kForceTextDirectionName[] = "Force text direction";
620const char kForceTextDirectionDescription[] =
621 "Explicitly force the per-character directionality of UI text to "
622 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
623 "direction of the character language.";
624const char kForceDirectionLtr[] = "Left-to-right";
625const char kForceDirectionRtl[] = "Right-to-left";
626
627const char kForceUiDirectionName[] = "Force UI direction";
628const char kForceUiDirectionDescription[] =
629 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
630 "mode, overriding the default direction of the UI language.";
631
632const char kFramebustingName[] =
633 "Framebusting requires same-origin or a user gesture";
634const char kFramebustingDescription[] =
635 "Don't permit an iframe to navigate the top level browsing context unless "
636 "they are same-origin or the iframe is processing a user gesture.";
637
638const char kGamepadExtensionsName[] = "Gamepad Extensions";
639const char kGamepadExtensionsDescription[] =
640 "Enabling this option allows web applications to access experimental "
641 "extensions to the Gamepad APIs.";
642
sohan3f00ffc2017-07-14 22:28:08643const char kGlCompositedOverlayCandidateQuadBordersName[] =
644 "GL composited overlay candidate quad borders";
645const char kGlCompositedOverlayCandidateQuadBordersDescription[] =
Alex Newcomer43cb7f12017-07-28 17:37:39646 "Renders a border around GL composited overlay candidate quads to help "
647 "debug and study overlay support.";
Brett Wilsonecb80982017-07-12 20:34:51648
649const char kGpuRasterizationMsaaSampleCountName[] =
650 "GPU rasterization MSAA sample count.";
651const char kGpuRasterizationMsaaSampleCountDescription[] =
652 "Specify the number of MSAA samples for GPU rasterization.";
653const char kGpuRasterizationMsaaSampleCountZero[] = "0";
654const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
655const char kGpuRasterizationMsaaSampleCountFour[] = "4";
656const char kGpuRasterizationMsaaSampleCountEight[] = "8";
657const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
658
659const char kGpuRasterizationName[] = "GPU rasterization";
660const char kGpuRasterizationDescription[] =
661 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28662const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51663
664const char kGoogleProfileInfoName[] = "Google profile name and icon";
665const char kGoogleProfileInfoDescription[] =
666 "Enables using Google information to populate the profile name and icon in "
667 "the avatar menu.";
668
669const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
670const char kHarfbuzzRendertextDescription[] =
671 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
672 "web content.";
673
674const char kHistoryRequiresUserGestureName[] =
675 "New history entries require a user gesture.";
676const char kHistoryRequiresUserGestureDescription[] =
677 "Require a user gesture to add a history entry.";
678const char kHyperlinkAuditingName[] = "Hyperlink auditing";
679const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
680
681const char kHostedAppQuitNotificationName[] =
682 "Quit notification for hosted apps";
683const char kHostedAppQuitNotificationDescription[] =
684 "Display a notification when quitting Chrome if hosted apps are currently "
685 "running.";
686
687const char kHostedAppShimCreationName[] =
688 "Creation of app shims for hosted apps on Mac";
689const char kHostedAppShimCreationDescription[] =
690 "Create app shims on Mac when creating a hosted app.";
691
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48692const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
693const char kHtmlBasedUsernameDetectorDescription[] =
694 "Use HTML-based username detector for the password manager.";
695
Brett Wilsonecb80982017-07-12 20:34:51696const char kIconNtpName[] = "Large icons on the New Tab page";
697const char kIconNtpDescription[] =
698 "Enable the experimental New Tab page using large icons.";
699
700const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
701const char kIgnoreGpuBlacklistDescription[] =
702 "Overrides the built-in software rendering list and enables "
703 "GPU-acceleration on unsupported system configurations.";
704
705const char kImportantSitesInCbdName[] =
706 "Important sites options in clear browsing data dialog";
707const char kImportantSitesInCbdDescription[] =
708 "Include the option to whitelist important sites in the clear browsing "
709 "data dialog.";
710
711const char kInertVisualViewportName[] = "Inert visual viewport.";
712const char kInertVisualViewportDescription[] =
713 "Experiment to have all APIs reflect the layout viewport. This will make "
714 "window.scroll properties relative to the layout viewport.";
715
716const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
717const char kInProductHelpDemoModeChoiceDescription[] =
718 "Selects the In-Product Help demo mode.";
719
720const char kJavascriptHarmonyName[] = "Experimental JavaScript";
721const char kJavascriptHarmonyDescription[] =
722 "Enable web pages to use experimental JavaScript features.";
723
724const char kJavascriptHarmonyShippingName[] =
725 "Latest stable JavaScript features";
726const char kJavascriptHarmonyShippingDescription[] =
727 "Some web pages use legacy or non-standard JavaScript extensions that may "
728 "conflict with the latest JavaScript features. This flag allows disabling "
729 "support of those features for compatibility with such pages.";
730
Yutaka Hiranof7f2f632017-09-06 10:40:08731const char kKeepAliveRendererForKeepaliveRequestsName[] =
732 "Keep a renderer alive for keepalive fetch requests";
733const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
734 "Keep a render process alive when the process has a pending fetch request "
735 "with `keepalive' specified.";
736
Brett Wilsonecb80982017-07-12 20:34:51737const char kLcdTextName[] = "LCD text antialiasing";
738const char kLcdTextDescription[] =
739 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
740 "(subpixel) when doing accelerated compositing.";
741
742const char kLoadMediaRouterComponentExtensionName[] =
743 "Load Media Router Component Extension";
744const char kLoadMediaRouterComponentExtensionDescription[] =
745 "Loads the Media Router component extension at startup.";
746
747const char kManualPasswordGenerationName[] = "Manual password generation.";
748const char kManualPasswordGenerationDescription[] =
749 "Show a 'Generate Password' option on the context menu for all password "
750 "fields.";
751
Dominic Battref27e8762017-08-23 11:16:25752const char kManualPasswordSavingName[] = "Manual password saving.";
753const char kManualPasswordSavingDescription[] =
754 "Show the password manager icon when typing into a password filed. "
755 "Clicking it allows to save the password without submitting the form.";
756
Brett Wilsonecb80982017-07-12 20:34:51757const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
758const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
759const char kMarkHttpAsDangerous[] = "Always mark HTTP as actively dangerous";
760const char kMarkHttpAsNonSecureAfterEditing[] =
761 "Warn on HTTP after editing forms";
762const char kMarkHttpAsNonSecureWhileIncognito[] =
763 "Warn on HTTP while in Incognito mode";
764const char kMarkHttpAsNonSecureWhileIncognitoOrEditing[] =
765 "Warn on HTTP while in Incognito mode or after editing forms";
766
767extern const char kMaterialDesignIncognitoNTPName[] =
768 "Material Design Incognito NTP.";
769extern const char kMaterialDesignIncognitoNTPDescription[] =
770 "If enabled, the Incognito New Tab page uses the new material design with "
771 "a better readable text.";
772
773const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
774const char kMediaRemotingDescription[] =
775 "When Casting a tab to a remote device, enabling this turns on an "
776 "optimization that forwards the content bitstream directly to the remote "
777 "device when a video is fullscreened.";
778
779const char kMemoryAblationName[] = "Memory ablation experiment";
780const char kMemoryAblationDescription[] =
781 "Allocates extra memory in the browser process.";
782
783const char kMemoryCoordinatorName[] = "Memory coordinator";
784const char kMemoryCoordinatorDescription[] =
785 "Enable memory coordinator instead of memory pressure listeners.";
786
787const char kMessageCenterNewStyleNotificationName[] = "New style notification";
788const char kMessageCenterNewStyleNotificationDescription[] =
789 "Enables the experiment style of material-design notification";
790
Brett Wilsonecb80982017-07-12 20:34:51791const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
792const char kMhtmlGeneratorOptionDescription[] =
793 "Provides experimental options for MHTML file generator.";
794const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
795const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
796
797const char kMojoLoadingName[] = "Use Mojo IPC for resource loading";
798const char kMojoLoadingDescription[] =
799 "Use Mojo IPC instead of traditional Chrome IPC for resource loading.";
800
Miguel Casas-Sanchez10769c82017-07-27 23:52:04801const char kMojoVideoEncodeAcceleratorName[] =
802 "Hardware-accelerated video encoder accessed using Mojo IPC";
803const char kMojoVideoEncodeAcceleratorDescription[] =
804 "Use new Mojo IPC to access hardware-accelerated video encoder, where "
805 "available.";
806
Brett Wilsonecb80982017-07-12 20:34:51807const char kModuleScriptsName[] = "Enable ECMAScript 6 modules";
808const char kModuleScriptsDescription[] =
809 "Enables ECMAScript 6 modules support in Blink.";
810
Kouhei Ueno08445c22017-09-05 03:58:30811const char kModuleScriptsDynamicImportName[] =
812 "Enable ECMAScript 6 modules dynamic import";
813const char kModuleScriptsDynamicImportDescription[] =
814 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
815 "Blink.";
816
Brett Wilsonecb80982017-07-12 20:34:51817const char kNewAudioRenderingMixingStrategyName[] =
818 "New audio rendering mixing strategy";
819const char kNewAudioRenderingMixingStrategyDescription[] =
820 "Use the new audio rendering mixing strategy.";
821
822const char kNewBookmarkAppsName[] = "The new bookmark app system";
823const char kNewBookmarkAppsDescription[] =
824 "Enables the new system for creating bookmark apps.";
825
826const char kNewOmniboxAnswerTypesName[] =
827 "New omnibox answers in suggest types";
828const char kNewOmniboxAnswerTypesDescription[] =
829 "Enables new types of answers in the omnibox suggest drop-down: currency "
830 "conversions, dictionary definitions, sports scores, translations, and "
831 "when is.";
832
833const char kNewRemotePlaybackPipelineName[] =
834 "Enable the new remote playback pipeline.";
835const char kNewRemotePlaybackPipelineDescription[] =
836 "Enable the new pipeline for playing media element remotely via "
837 "RemotePlayback API or native controls.";
838
839const char kNewUsbBackendName[] = "Enable new USB backend";
840const char kNewUsbBackendDescription[] =
841 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34842
brettw5f9c1642017-05-14 17:12:48843const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34844const char kNostatePrefetchDescription[] =
845 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
846 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
847 R"*(improve load times even more. "Simple Load" does nothing and is )*"
848 R"*(similar to disabling the feature, but collects more metrics for )*"
849 R"*(comparison purposes.)*";
850
Brett Wilsonecb80982017-07-12 20:34:51851const char kNotificationsNativeFlagName[] = "Enable native notifications.";
852const char kNotificationsNativeFlagDescription[] =
853 "Enable support for using the native notification toasts and notification "
854 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34855
Brett Wilsonecb80982017-07-12 20:34:51856const char kNumRasterThreadsName[] = "Number of raster threads";
857const char kNumRasterThreadsDescription[] =
858 "Specify the number of raster threads.";
859const char kNumRasterThreadsOne[] = "1";
860const char kNumRasterThreadsTwo[] = "2";
861const char kNumRasterThreadsThree[] = "3";
862const char kNumRasterThreadsFour[] = "4";
863
864const char kOfferStoreUnmaskedWalletCardsName[] =
865 "Google Payments card saving checkbox";
866const char kOfferStoreUnmaskedWalletCardsDescription[] =
867 "Show the checkbox to offer local saving of a credit card downloaded from "
868 "the server.";
869
870const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
871const char kOfflineAutoReloadDescription[] =
872 "Pages that fail to load while the browser is offline will be "
873 "auto-reloaded when the browser is online again.";
874
875const char kOfflineAutoReloadVisibleOnlyName[] =
876 "Only Auto-Reload Visible Tabs";
877const char kOfflineAutoReloadVisibleOnlyDescription[] =
878 "Pages that fail to load while the browser is offline will only be "
879 "auto-reloaded if their tab is visible.";
880
881const char kOffMainThreadFetchName[] = "Off-main-thread fetch for Web Workers";
882const char kOffMainThreadFetchDescription[] =
883 "If enabled, the resource fetches from worker threads will not be blocked "
884 "by the busy main thread.";
885
886const char kOmniboxDisplayTitleForCurrentUrlName[] =
887 "Include title for the current URL in the omnibox";
888const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
889 "In the event that the omnibox provides suggestions on-focus, the URL of "
890 "the current page is provided as the first suggestion without a title. "
891 "Enabling this flag causes the title to be displayed.";
892
Benoit Lizeab08362c2017-07-19 14:50:54893const char kOmniboxSpareRendererName[] =
894 "Start spare renderer on omnibox focus";
895const char kOmniboxSpareRendererDescription[] =
896 "When the omnibox is focused, start an empty spare renderer. This can "
897 "speed up the load of the navigation from the omnibox.";
898
Tommy C. Li8875a442017-08-23 00:10:59899const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
900 "Omnibox UI Elide Suggestion URL After Host";
901const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
902 "Elides the path, query, and ref of suggested URLs in the Omnibox "
903 "dropdown.";
904
Brett Wilsonecb80982017-07-12 20:34:51905const char kOmniboxUIHideSuggestionUrlSchemeName[] =
906 "Omnibox UI Hide Suggestion URL Scheme";
907const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
908 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
909
910const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
911 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
912const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
913 "Elides trivially informative subdomains from suggested URLs in the "
914 "Omnibox dropdown (e.g. www. and m.).";
915
Tommy C. Li8875a442017-08-23 00:10:59916const char kOmniboxUIShowSuggestionFaviconsName[] =
917 "Omnibox UI Show Suggestion Favicons";
918const char kOmniboxUIShowSuggestionFaviconsDescription[] =
919 "Shows favicons instead of generic vector icons for URL suggestions in the "
920 "Omnibox dropdown.";
921
Brett Wilsonecb80982017-07-12 20:34:51922const char kOmniboxUIMaxAutocompleteMatchesName[] =
923 "Omnibox UI Max Autocomplete Matches";
924
925const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
926 "Changes the maximum number of autocomplete matches displayed in the "
927 "Omnibox UI.";
928
929const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
930const char kOmniboxUINarrowDropdownDescription[] =
931 "Makes the suggestions dropdown width match the omnibox width.";
932
933const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
934const char kOmniboxUIVerticalLayoutDescription[] =
935 "Displays Omnibox sugestions in 2 lines - title over origin.";
936
937const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
938const char kOmniboxUIVerticalMarginDescription[] =
939 "Changes the vertical margin in the Omnibox UI.";
940
941const char kOriginTrialsName[] = "Origin Trials";
942const char kOriginTrialsDescription[] =
943 "Enables origin trials for controlling access to feature/API experiments.";
944
945const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
946const char kOverlayScrollbarsDescription[] =
947 "Enable the experimental overlay scrollbars implementation. You must also "
948 "enable threaded compositing to have the scrollbars animate.";
949
chaopenge8aa016b2017-08-24 15:20:19950const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
951 "Flash Overlay Scrollbars After Any Scroll Update";
952const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
953 "Flash Overlay Scrollbars After any scroll update happends in page. You"
954 " must also enable Overlay Scrollbars.";
955
chaopeng343678022017-08-24 18:45:00956const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
957 "Flash Overlay Scrollbars When Mouse Enter";
958const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
959 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
960 " enable Overlay Scrollbars.";
961
Claudio Magni81326f92017-09-01 05:21:18962const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
963const char kUseNewAcceptLanguageHeaderDescription[] =
964 "Adds the base language code after other corresponding language+region "
965 "codes. This ensures that users receive content in their preferred "
966 "language.";
967
Brett Wilsonecb80982017-07-12 20:34:51968const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
969const char kOverscrollHistoryNavigationDescription[] =
970 "Experimental history navigation in response to horizontal overscroll.";
971const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
972
973const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
974const char kOverscrollStartThresholdDescription[] =
975 "Changes overscroll start threshold relative to the default value.";
976const char kOverscrollStartThreshold133Percent[] = "133%";
977const char kOverscrollStartThreshold166Percent[] = "166%";
978const char kOverscrollStartThreshold200Percent[] = "200%";
979
Xing Liu5400a002017-09-15 21:48:29980const char kParallelDownloadingName[] = "Parallel downloading";
981const char kParallelDownloadingDescription[] =
982 "Enable parallel downloading to"
983 "accelerate download speed.";
984
Brett Wilsonecb80982017-07-12 20:34:51985const char kPassiveEventListenerDefaultName[] =
986 "Passive Event Listener Override";
987const char kPassiveEventListenerDefaultDescription[] =
988 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
989 "haven't requested otherwise) to be treated as passive. This will break "
990 "touch/wheel behavior on some websites but is useful for demonstrating the "
991 "potential performance benefits of adopting passive event listeners.";
992const char kPassiveEventListenerTrue[] = "True (when unspecified)";
993const char kPassiveEventListenerForceAllTrue[] = "Force All True";
994
995const char kPassiveEventListenersDueToFlingName[] =
996 "Touch Event Listeners Passive Default During Fling";
997const char kPassiveEventListenersDueToFlingDescription[] =
998 "Forces touchstart, and first touchmove per scroll event listeners during "
999 "fling to be treated as passive.";
1000
1001const char kPassiveDocumentEventListenersName[] =
1002 "Document Level Event Listeners Passive Default";
1003const char kPassiveDocumentEventListenersDescription[] =
1004 "Forces touchstart, and touchmove event listeners on document level "
1005 "targets (which haven't requested otherwise) to be treated as passive.";
1006
1007const char kPasswordForceSavingName[] = "Force-saving of passwords";
1008const char kPasswordForceSavingDescription[] =
1009 "Allow the user to manually enforce password saving instead of relying on "
1010 "password manager's heuristics.";
1011
1012const char kPasswordGenerationName[] = "Password generation";
1013const char kPasswordGenerationDescription[] =
1014 "Allow the user to have Chrome generate passwords when it detects account "
1015 "creation pages.";
1016
1017const char kPasswordImportExportName[] = "Password import and export";
1018const char kPasswordImportExportDescription[] =
1019 "Import and Export functionality in password settings.";
1020
Maxim Kolosovskiyd97b94612017-09-19 20:10:391021const char kPasswordSelectionName[] =
1022 "Password selection and eye icon in prompt";
1023const char kPasswordSelectionDescription[] =
1024 "Show a password selector and an eye icon in prompt";
1025
Brett Wilsonecb80982017-07-12 20:34:511026const char kPermissionActionReportingName[] = "Permission Action Reporting";
1027const char kPermissionActionReportingDescription[] =
1028 "Enables permission action reporting to Safe Browsing servers for opted in "
1029 "users.";
1030
1031const char kPermissionsBlacklistName[] = "Permissions Blacklist";
1032const char kPermissionsBlacklistDescription[] =
1033 "Enables the Permissions Blacklist, which blocks permissions for "
1034 "blacklisted sites for Safe Browsing users.";
1035
1036const char kPinchScaleName[] = "Pinch scale";
1037const char kPinchScaleDescription[] =
1038 "Enables experimental support for scale using pinch.";
1039
Brett Wilsonecb80982017-07-12 20:34:511040const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1041const char kPrintPdfAsImageDescription[] =
1042 "If enabled, an option to print PDF files as images will be available in "
1043 "print preview.";
1044
1045const char kPrintPreviewRegisterPromosName[] =
1046 "Print Preview Registration Promos";
1047const char kPrintPreviewRegisterPromosDescription[] =
1048 "Enable registering unregistered cloud printers from print preview.";
1049
1050const char kProtectSyncCredentialName[] = "Autofill sync credential";
1051const char kProtectSyncCredentialDescription[] =
1052 "How the password manager handles autofill for the sync credential.";
1053
1054const char kProtectSyncCredentialOnReauthName[] =
1055 "Autofill sync credential only for transactional reauth pages";
1056const char kProtectSyncCredentialOnReauthDescription[] =
1057 "How the password manager handles autofill for the sync credential only "
1058 "for transactional reauth pages.";
1059
Mohsen Izadi93faac12017-07-29 04:45:151060const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1061const char kPullToRefreshDescription[] =
1062 "Pull-to-refresh gesture in response to vertical overscroll.";
1063
Brett Wilsonecb80982017-07-12 20:34:511064const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1065const char kPushApiBackgroundModeDescription[] =
1066 "Enable background mode for the Push API. This allows Chrome to continue "
1067 "running after the last window is closed, and to launch at OS startup, if "
1068 "the Push API needs it.";
1069
Piotr Swigon46929d12017-08-11 07:16:331070const char kPwaMinimalUiName[] = "Minimal-UI display mode for PWAs";
1071const char kPwaMinimalUiDescription[] =
1072 "Enables support for Minimal-UI display mode for installed PWAs";
1073
Brett Wilsonecb80982017-07-12 20:34:511074const char kQuicName[] = "Experimental QUIC protocol";
1075const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1076
1077const char kReducedReferrerGranularityName[] =
1078 "Reduce default 'referer' header granularity.";
1079const char kReducedReferrerGranularityDescription[] =
1080 "If a page hasn't set an explicit referrer policy, setting this flag will "
1081 "reduce the amount of information in the 'referer' header for cross-origin "
1082 "requests.";
1083
1084const char kRequestTabletSiteName[] =
1085 "Request tablet site option in the settings menu";
1086const char kRequestTabletSiteDescription[] =
1087 "Allows the user to request tablet site. Web content is often optimized "
1088 "for tablet devices. When this option is selected the user agent string is "
1089 "changed to indicate a tablet device. Web content optimized for tablets is "
1090 "received there after for the current tab.";
1091
1092const char kResetAppListInstallStateName[] =
1093 "Reset the App Launcher install state on every restart.";
1094const char kResetAppListInstallStateDescription[] =
1095 "Reset the App Launcher install state on every restart. While this flag is "
1096 "set, Chrome will forget the launcher has been installed each time it "
1097 "starts. This is used for testing the App Launcher install flow.";
1098
1099const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1100const char kResourceLoadSchedulerDescription[] =
1101 "Uses the resource load scheduler in blink to schedule and throttle "
1102 "resource load requests.";
1103
Brett Wilsonecb80982017-07-12 20:34:511104const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1105const char kSafeSearchUrlReportingDescription[] =
1106 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1107
1108const char kSaveasMenuLabelExperimentName[] =
1109 "Switch 'Save as' menu labels to 'Download'";
1110const char kSaveasMenuLabelExperimentDescription[] =
1111 "Enables an experiment to switch menu labels that use 'Save as...' to "
1112 "'Download'.";
1113
1114const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1115const char kSavePageAsMhtmlDescription[] =
1116 "Enables saving pages as MHTML: a single text file containing HTML and all "
1117 "sub-resources.";
1118
Nate Chapin9638e7102017-09-20 22:11:011119const char kSavePreviousDocumentResourcesName[] =
1120 "Save Previous Document Resources";
1121const char kSavePreviousDocumentResourcesDescription[] =
1122 "Saves an old document's cached resources until the specified point in the "
1123 "next document's lifecycle.";
1124const char kSavePreviousDocumentResourcesNever[] =
1125 "Don't explicitly save resources";
1126const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1127 "Save resources until onDOMContentLoaded completes";
1128const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1129 "Save resources until onload completes";
1130
Brett Wilsonecb80982017-07-12 20:34:511131const char kScrollPredictionName[] = "Scroll prediction";
1132const char kScrollPredictionDescription[] =
1133 "Predicts the finger's future position during scrolls allowing time to "
1134 "render the frame before the finger is there.";
1135
1136const char kSecondaryUiMd[] =
1137 "Material Design in the rest of the browser's native UI";
1138const char kSecondaryUiMdDescription[] =
1139 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1140 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1141 "browser dialogs.";
1142
1143const char kServiceWorkerNavigationPreloadName[] =
1144 "Service worker navigation preload.";
1145const char kServiceWorkerNavigationPreloadDescription[] =
1146 "Enable web pages to use the experimental service worker navigation "
1147 "preload API.";
1148
gogeraldd5061b592017-09-06 23:39:551149const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1150const char kServiceWorkerPaymentAppsDescription[] =
1151 "Enable Service Worker applications to integrate as payment apps";
1152
Makoto Shimazud9f333c2017-08-08 07:23:171153const char kServiceWorkerScriptStreamingName[] =
1154 "Service worker script streaming.";
1155const char kServiceWorkerScriptStreamingDescription[] =
1156 "Installed scripts for a service worker are sent over a dedicated "
1157 "message pipe and data pipes, and that is never be blocked on the main "
1158 "thread.";
1159
Brett Wilsonecb80982017-07-12 20:34:511160const char kSettingsWindowName[] = "Show settings in a window";
1161const char kSettingsWindowDescription[] =
1162 "Settings will be shown in a dedicated window instead of as a browser tab.";
1163
1164const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1165const char kShowAutofillSignaturesDescription[] =
1166 "Annotates web forms with Autofill signatures as HTML attributes.";
1167
1168const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1169const char kShowAutofillTypePredictionsDescription[] =
1170 "Annotates web forms with Autofill field type predictions as placeholder "
1171 "text.";
1172
1173const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1174const char kShowOverdrawFeedbackDescription[] =
1175 "Visualize overdraw by color-coding elements based on if they have other "
1176 "elements drawn underneath.";
1177
1178const char kShowSavedCopyName[] = "Show Saved Copy Button";
1179const char kShowSavedCopyDescription[] =
1180 "When a page fails to load, if a stale copy of the page exists in the "
1181 "browser cache, a button will be presented to allow the user to load that "
1182 "stale copy. The primary enabling choice puts the button in the most "
1183 "salient position on the error page; the secondary enabling choice puts it "
1184 "secondary to the reload button.";
1185const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1186const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1187const char kDisableShowSavedCopy[] = "Disable";
1188
1189const char kShowTouchHudName[] = "Show HUD for touch points";
1190const char kShowTouchHudDescription[] =
1191 "Enables a heads-up display at the top-left corner of the screen that "
1192 "lists information about the touch-points on the screen.";
1193
1194const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1195const char kSilentDebuggerExtensionApiDescription[] =
1196 "Do not show the infobar when an extension attaches to a page via "
1197 "chrome.debugger API. This is required to debug extension background "
1198 "pages.";
1199
1200const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1201const char kSimpleCacheBackendDescription[] =
1202 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1203 "disk space allocation.";
1204
1205const char kSimplifiedFullscreenUiName[] =
1206 "Simplified full screen / mouse lock UI.";
1207const char kSimplifiedFullscreenUiDescription[] =
1208 "A simplified new user experience when entering page-triggered full screen "
1209 "or mouse pointer lock states.";
1210
1211const char kSingleClickAutofillName[] = "Single-click autofill";
1212const char kSingleClickAutofillDescription[] =
1213 "Make autofill suggestions on initial mouse click on a form element.";
1214
1215const char kSiteDetails[] = "Site Details";
1216const char kSiteDetailsDescription[] =
1217 "Adds UI in MD Settings to view all content settings for a specific "
1218 "origin.";
1219
1220const char kSitePerProcessName[] = "Strict site isolation";
1221const char kSitePerProcessDescription[] =
1222 "Highly experimental security mode that ensures each renderer process "
1223 "contains pages from at most one site. In this mode, out-of-process "
1224 "iframes will be used whenever an iframe is cross-site.";
1225
1226const char kSiteSettings[] = "Site settings with All sites and Site details";
1227const char kSiteSettingsDescription[] =
1228 "Adds new ways of viewing Site settings.";
1229
1230const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
1231const char kSlimmingPaintInvalidationDescription[] =
1232 "Whether to enable a new paint invalidation system.";
1233
1234const char kSmoothScrollingName[] = "Smooth Scrolling";
1235const char kSmoothScrollingDescription[] =
1236 "Animate smoothly when scrolling page content.";
1237
1238const char kSoftwareRasterizerName[] = "3D software rasterizer";
1239const char kSoftwareRasterizerDescription[] =
1240 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1241
Tommy Steimel77704be2017-08-28 22:14:401242const char kSoundContentSettingName[] = "Sound content setting";
1243const char kSoundContentSettingDescription[] =
1244 "Enable site-wide muting in content settings and tab strip context menu.";
1245
Alexandr Ilinf0500ed32017-09-27 21:12:361246const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1247const char kSpeculativePreconnectDescription[] =
1248 "Enable the new implementation of preconnect and DNS preresolve. "
1249 "\"Learning\" means that only database construction is enabled, "
1250 "\"Preconnect\" enables both learning and preconnect and disables the "
1251 "existing implementation. \"No preconnect\" disables both implementations.";
1252
Brett Wilsonecb80982017-07-12 20:34:511253const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341254const char kSpeculativePrefetchDescription[] =
1255 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1256 R"*(load times, based on a local database (see chrome://predictors). )*"
1257 R"*("Learning" means that only the database construction is enabled, )*"
1258 R"*("Prefetching" that learning and prefetching are enabled.)*";
1259
Justin Donnelly4e448cb2017-07-07 21:32:131260const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1261 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131262const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1263 "If enabled, when the user enters text in the omnibox that looks like a "
1264 "a query, any service worker associated with the search engine the query "
1265 "will be sent to is started early.";
1266
Brett Wilsonecb80982017-07-12 20:34:511267const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1268const char kSpellingFeedbackFieldTrialDescription[] =
1269 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401270
Brett Wilsonecb80982017-07-12 20:34:511271const char kSuggestionsWithSubStringMatchName[] =
1272 "Substring matching for Autofill suggestions";
1273const char kSuggestionsWithSubStringMatchDescription[] =
1274 "Match Autofill suggestions based on substrings (token prefixes) rather "
1275 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341276
Brett Wilsonecb80982017-07-12 20:34:511277const char kSupervisedUserManagedBookmarksFolderName[] =
1278 "Managed bookmarks for supervised users";
1279const char kSupervisedUserManagedBookmarksFolderDescription[] =
1280 "Enable the managed bookmarks folder for supervised users.";
vabr0215a8e2017-03-28 12:47:341281
Brett Wilsonecb80982017-07-12 20:34:511282const char kSyncAppListName[] = "App Launcher sync";
1283const char kSyncAppListDescription[] =
1284 "Enable App Launcher sync. This also enables Folders where available (non "
1285 "OSX).";
vabr0215a8e2017-03-28 12:47:341286
Brett Wilsonecb80982017-07-12 20:34:511287const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1288const char kSyncSandboxDescription[] =
1289 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341290
Brett Wilsonecb80982017-07-12 20:34:511291const char kTabAudioMutingName[] = "Tab audio muting UI control";
1292const char kTabAudioMutingDescription[] =
1293 "When enabled, the audio indicators in the tab strip double as tab audio "
1294 "mute controls. This also adds commands in the tab context menu for "
1295 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341296
Christian Dullweberd0d96f02017-09-13 09:22:511297const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1298const char kTabsInCbdDescription[] =
1299 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1300
Brett Wilsonecb80982017-07-12 20:34:511301const char kTcpFastOpenName[] = "TCP Fast Open";
1302const char kTcpFastOpenDescription[] =
1303 "Enable the option to send extra authentication information in the initial "
1304 "SYN packet for a previously connected client, allowing faster data send "
1305 "start.";
vabr0215a8e2017-03-28 12:47:341306
Brett Wilsonecb80982017-07-12 20:34:511307const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1308const char kTopChromeMdDescription[] =
1309 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
1310const char kTopChromeMdMaterial[] = "Normal";
1311const char kTopChromeMdMaterialHybrid[] = "Touch";
vabr0215a8e2017-03-28 12:47:341312
Brett Wilsonecb80982017-07-12 20:34:511313const char kThreadedScrollingName[] = "Threaded scrolling";
1314const char kThreadedScrollingDescription[] =
1315 "Threaded handling of scroll-related input events. Disabling this will "
1316 "force all such scroll events to be handled on the main thread. Note that "
1317 "this can dramatically hurt scrolling performance of most websites and is "
1318 "intended for testing purposes only.";
1319
Steven Valdez4584b2482017-07-14 01:11:571320const char kTLS13VariantName[] = "TLS 1.3";
1321const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1322const char kTLS13VariantDisabled[] = "Disabled";
1323const char kTLS13VariantDraft[] = "Enabled (Draft)";
1324const char kTLS13VariantExperiment[] = "Enabled (Experiment)";
Steven Valdez2d7b4e82017-07-17 22:22:091325const char kTLS13VariantRecordTypeExperiment[] =
1326 "Enabled (Record Type Experiment)";
Steven Valdez2ee1c4a22017-07-19 20:39:311327const char kTLS13VariantNoSessionIDExperiment[] =
1328 "Enabled (No Session ID Experiment)";
Steven Valdezf00f8782017-09-13 18:05:281329const char kTLS13VariantExperiment2[] = "Enabled (Experiment 2)";
1330const char kTLS13VariantExperiment3[] = "Enabled (Experiment 3)";
Steven Valdez4584b2482017-07-14 01:11:571331
Brett Wilsonecb80982017-07-12 20:34:511332const char kTopDocumentIsolationName[] = "Top document isolation";
1333const char kTopDocumentIsolationDescription[] =
1334 "Highly experimental performance mode where cross-site iframes are kept in "
1335 "a separate process from the top document. In this mode, iframes from "
1336 "different third-party sites will be allowed to share a process.";
1337
1338const char kTouchAdjustmentName[] = "Touch adjustment";
1339const char kTouchAdjustmentDescription[] =
1340 "Refine the position of a touch gesture in order to compensate for touches "
1341 "having poor resolution compared to a mouse.";
1342
1343const char kTouchDragDropName[] = "Touch initiated drag and drop";
1344const char kTouchDragDropDescription[] =
1345 "Touch drag and drop can be initiated through long press on a draggable "
1346 "element.";
1347
1348const char kTouchEventsName[] = "Touch Events API";
1349const char kTouchEventsDescription[] =
1350 "Force Touch Events API feature detection to always be enabled or "
1351 "disabled, or to be enabled when a touchscreen is detected on startup "
1352 "(Automatic, the default).";
1353
1354const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1355const char kTouchSelectionStrategyDescription[] =
1356 "Controls how text selection granularity changes when touch text selection "
1357 "handles are dragged. Non-default behavior is experimental.";
1358const char kTouchSelectionStrategyCharacter[] = "Character";
1359const char kTouchSelectionStrategyDirection[] = "Direction";
1360
1361const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1362const char kTraceUploadUrlDescription[] =
1363 "This is to be used in conjunction with the enable-navigation-tracing "
1364 "flag. Please select the label that best describes the recorded traces. "
1365 "This will choose the destination the traces are uploaded to. If you are "
1366 "not sure, select other. If left empty, no traces will be uploaded.";
1367const char kTraceUploadUrlChoiceOther[] = "Other";
1368const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1369const char kTraceUploadUrlChoiceQa[] = "QA";
1370const char kTraceUploadUrlChoiceTesting[] = "Testing";
1371
1372const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
1373const char kTranslate2016q2UiDescription[] =
1374 "Improved triggering logic and look for Translate Bubble UI";
1375
1376const char kTranslateLanguageByUlpName[] = "Translate Language by ULP";
1377const char kTranslateLanguageByUlpDescription[] =
1378 "Improved translate target language and triggering logic by considering "
1379 "information from User Language Profile (ULP).";
1380
1381const char kTrySupportedChannelLayoutsName[] =
1382 "Causes audio output streams to check if channel layouts other than the "
1383 "default hardware layout are available.";
1384const char kTrySupportedChannelLayoutsDescription[] =
1385 "Causes audio output streams to check if channel layouts other than the "
1386 "default hardware layout are available. Turning this on will allow the OS "
1387 "to do stereo to surround expansion if supported. May expose third party "
1388 "driver bugs, use with caution.";
1389
1390const char kUiPartialSwapName[] = "Partial swap";
1391const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1392
Chris Pickel3a227ae62017-08-24 10:47:261393const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1394const char kUseDdljsonApiDescription[] =
1395 "Enables the new ddljson API to fetch Doodles for the NTP.";
1396
Brett Wilsonecb80982017-07-12 20:34:511397const char kUserConsentForExtensionScriptsName[] =
1398 "User consent for extension scripts";
1399const char kUserConsentForExtensionScriptsDescription[] =
1400 "Require user consent for an extension running a script on the page, if "
1401 "the extension requested permission to run on all urls.";
1402
1403const char kUseSuggestionsEvenIfFewFeatureName[] =
1404 "Disable minimum for server-side tile suggestions on NTP.";
1405const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1406 "Request server-side suggestions even if there are only very few of them "
1407 "and use them for tiles on the New Tab Page.";
1408
1409const char kV8CacheOptionsName[] = "V8 caching mode.";
1410const char kV8CacheOptionsDescription[] =
1411 "Caching mode for the V8 JavaScript engine.";
1412const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1413const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1414
1415const char kV8CacheStrategiesForCacheStorageName[] =
1416 "V8 caching strategy for CacheStorage.";
1417const char kV8CacheStrategiesForCacheStorageDescription[] =
1418 "Caching strategy of scripts in CacheStorage for the V8 JavaScript engine.";
1419const char kV8CacheStrategiesForCacheStorageNormal[] = "Normal";
1420const char kV8CacheStrategiesForCacheStorageAggressive[] = "Aggressive";
1421
Hitoshi Yoshida3e5db562017-09-11 02:31:081422const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1423const char kV8ContextSnapshotDescription[] =
1424 "Sets to use a snapshot to create V8 contexts in frame creation.";
1425
Brett Wilsonecb80982017-07-12 20:34:511426const char kVibrateRequiresUserGestureName[] =
1427 "Requiring user gesture for the Vibration API";
1428const char kVibrateRequiresUserGestureDescription[] =
1429 "Block the Vibration API if no user gesture has been received on the frame "
1430 "or any embedded frame.";
1431
1432const char kVideoFullscreenOrientationLockName[] =
1433 "Lock screen orientation when playing a video fullscreen.";
1434const char kVideoFullscreenOrientationLockDescription[] =
1435 "Lock the screen orientation of the device to match video orientation when "
1436 "a video goes fullscreen. Only on phones.";
1437
1438const char kVideoRotateToFullscreenName[] =
1439 "Rotate-to-fullscreen gesture for videos.";
1440const char kVideoRotateToFullscreenDescription[] =
1441 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1442 "the video. Only on phones.";
1443
1444const char kWalletServiceUseSandboxName[] =
1445 "Use Google Payments sandbox servers";
1446const char kWalletServiceUseSandboxDescription[] =
1447 "For developers: use the sandbox service for Google Payments API calls.";
1448
Brett Wilsonecb80982017-07-12 20:34:511449const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1450const char kWebglDraftExtensionsDescription[] =
1451 "Enabling this option allows web applications to access the WebGL "
1452 "Extensions that are still in draft status.";
1453
1454const char kWebMidiName[] = "Web MIDI API";
1455const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1456
1457const char kWebPaymentsName[] = "Web Payments";
1458const char kWebPaymentsDescription[] =
1459 "Enable Web Payments API integration, a JavaScript API for merchants.";
1460
Mathieu Perreault51339b82017-07-20 17:06:051461const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1462const char kWebPaymentsModifiersDescription[] =
1463 "If the website provides modifiers in the payment request, show the custom "
1464 "total for each payment instrument, update the shopping cart when "
1465 "instruments are switched, and send modified payment method specific data "
1466 "to the payment app.";
1467
Brett Wilsonecb80982017-07-12 20:34:511468const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1469const char kWebrtcEchoCanceller3Description[] =
1470 "Experimental WebRTC echo canceller (AEC3).";
1471
1472const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1473const char kWebrtcHwDecodingDescription[] =
1474 "Support in WebRTC for decoding video streams using platform hardware.";
1475
1476const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1477const char kWebrtcHwEncodingDescription[] =
1478 "Support in WebRTC for encoding video streams using platform hardware.";
1479
1480const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1481const char kWebrtcHwH264EncodingDescription[] =
1482 "Support in WebRTC for encoding h264 video streams using platform "
1483 "hardware.";
1484
1485const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1486const char kWebrtcHwVP8EncodingDescription[] =
1487 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1488
1489const char kWebrtcSrtpAesGcmName[] =
1490 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1491const char kWebrtcSrtpAesGcmDescription[] =
1492 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1493
Joachim Bauch4a41d7512017-08-23 14:24:231494const char kWebrtcSrtpEncryptedHeadersName[] =
1495 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1496const char kWebrtcSrtpEncryptedHeadersDescription[] =
1497 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1498 "for SRTP.";
1499
Brett Wilsonecb80982017-07-12 20:34:511500const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1501const char kWebrtcStunOriginDescription[] =
1502 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1503 "header.";
1504
1505const char kWebvrName[] = "WebVR";
1506const char kWebvrDescription[] =
1507 "Enabling this option allows web applications to access experimental "
1508 "Virtual Reality APIs.";
1509
1510const char kWifiCredentialSyncName[] = "WiFi credential sync";
1511const char kWifiCredentialSyncDescription[] =
1512 "Enables synchronizing WiFi network settings across devices. When enabled, "
1513 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1514 "credentials are synchronized subject to user preferences. (See also, "
1515 "chrome://settings/syncSetup.)";
1516
Tom Anderson5c3130ad2017-08-21 19:49:171517const char kWindowNavNativeFlagName[] =
1518 "Enable native window navigation buttons.";
1519const char kWindowNavNativeFlagDescription[] =
1520 "Whether the window frame buttons should be drawn using the system theme. "
1521 "Has no effect unless using the GTK3 theme.";
1522
Brett Wilsonecb80982017-07-12 20:34:511523const char kZeroCopyName[] = "Zero-copy rasterizer";
1524const char kZeroCopyDescription[] =
1525 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341526
Brett Wilsonff596952017-07-14 01:06:551527// Android ---------------------------------------------------------------------
1528
1529#if defined(OS_ANDROID)
1530
1531const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1532const char kAiaFetchingDescription[] =
1533 "Enable intermediate certificate fetching when a server does not provide "
1534 "sufficient certificates to build a chain to a trusted root.";
1535
1536const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1537const char kAccessibilityTabSwitcherDescription[] =
1538 "Enable the accessibility tab switcher for Android.";
1539
1540const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1541const char kAndroidAutofillAccessibilityDescription[] =
1542 "Enable accessibility for autofill popup.";
1543
1544const char kAndroidPaymentAppsName[] = "Android payment apps";
1545const char kAndroidPaymentAppsDescription[] =
1546 "Enable third party Android apps to integrate as payment apps";
1547
Iulia Harasim0b5a4312017-07-21 16:20:501548const char kAndroidSigninPromosName[] = "Signin promos for Android.";
1549const char kAndroidSigninPromosDescription[] =
1550 "New signin promos for Android which will be displayed in content "
1551 "suggestions, Settings, Bookmarks and Recent Tabs.";
1552
Tatiana Gornak38ab3562017-07-28 11:04:181553const char kAndroidViewPasswordsName[] = "Copy and view passwords for Android";
1554const char kAndroidViewPasswordsDescription[] =
1555 "Enables copying and viewing passwords in settings.";
1556
Brett Wilsonff596952017-07-14 01:06:551557const char kAutofillAccessoryViewName[] =
1558 "Autofill suggestions as keyboard accessory view";
1559const char kAutofillAccessoryViewDescription[] =
1560 "Shows Autofill suggestions on top of the keyboard rather than in a "
1561 "dropdown.";
1562
1563const char kBackgroundLoaderForDownloadsName[] =
1564 "Enables background downloading of pages.";
1565const char kBackgroundLoaderForDownloadsDescription[] =
1566 "Enables downloading pages in the background in case page is not yet "
1567 "loaded in current tab.";
1568
Theresa Wellington37014d92017-08-23 02:09:201569const char kChromeHomeDoodleName[] = "Chrome Home Doodle.";
1570const char kChromeHomeDoodleDescription[] =
1571 "Enables showing the Doodle on the NTP for Chrome Home.";
1572
Brett Wilsonff596952017-07-14 01:06:551573const char kChromeHomeExpandButtonName[] = "Chrome Home Expand Button";
1574const char kChromeHomeExpandButtonDescription[] =
1575 "Enables the expand button for Chrome Home.";
1576
1577const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1578const char kChromeHomeSwipeLogicDescription[] =
1579 "Various swipe logic options for Chrome Home for sheet expansion.";
1580const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
1581const char kChromeHomeSwipeLogicButtonOnly[] = "Swipe on expand button";
1582
1583const char kChromeHomeName[] = "Chrome Home";
1584const char kChromeHomeDescription[] =
1585 "Enables Chrome Home on Android. You must restart the browser"
1586 " twice for changes to take effect.";
1587
1588const char kContentSuggestionsCategoryOrderName[] =
1589 "Default content suggestions category order (e.g. on NTP)";
1590const char kContentSuggestionsCategoryOrderDescription[] =
1591 "Set default order of content suggestion categories (e.g. on the NTP).";
1592
1593const char kContentSuggestionsCategoryRankerName[] =
1594 "Content suggestions category ranker (e.g. on NTP)";
1595const char kContentSuggestionsCategoryRankerDescription[] =
1596 "Set category ranker to order categories of content suggestions (e.g. on "
1597 "the NTP).";
1598
Vitalii Iarkof52ff802017-09-14 12:34:241599const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1600const char kContentSuggestionsDebugLogDescription[] =
1601 "Enable content suggestions debug log accessible through "
1602 "snippets-internals.";
1603
Brett Wilsonff596952017-07-14 01:06:551604const char kContextualSearchContextualCardsBarIntegration[] =
1605 "Contextual Search - Contextual Cards Integration";
1606const char kContextualSearchContextualCardsBarIntegrationDescription[] =
1607 "Whether or not integration of Contextual Cards data in the Contextual "
1608 "Search Bar is enabled.";
1609
1610const char kContextualSearchSingleActionsName[] =
1611 "Contextual Search - Single Actions";
1612const char kContextualSearchSingleActionsDescription[] =
1613 "Whether or not single actions using Contextual Cards data in the "
1614 "Contextual Search Bar is enabled.";
1615
1616const char kContextualSearchUrlActionsName[] =
1617 "Contextual Search - URL Actions";
1618const char kContextualSearchUrlActionsDescription[] =
1619 "Whether or not URL actions using Contextual Cards data in the Contextual "
1620 "Search Bar is enabled.";
1621
1622const char kContextualSearchName[] = "Contextual Search";
1623const char kContextualSearchDescription[] =
1624 "Whether or not Contextual Search is enabled.";
1625
Dmitry Skiba9c3efa72017-07-20 22:01:141626const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1627const char kDontPrefetchLibrariesDescription[] =
1628 "Don't prefetch libraries after loading.";
1629
Brett Wilsonff596952017-07-14 01:06:551630const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1631const char kEnableAndroidPayIntegrationV1Description[] =
1632 "Enable integration with Android Pay using the first version of the API";
1633
1634const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1635const char kEnableAndroidPayIntegrationV2Description[] =
1636 "Enable integration with Android Pay using the second version of the API";
1637
Vitalii Iarkof4ed32d2017-09-26 13:15:531638const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:551639const char kEnableAndroidSpellcheckerDescription[] =
1640 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:551641
1642const char kEnableContentSuggestionsLargeThumbnailName[] =
1643 "Large thumbnails layout for content suggestions cards.";
1644const char kEnableContentSuggestionsLargeThumbnailDescription[] =
1645 "If enabled, the content suggestions cards will use large thumbnails and "
1646 "some related adjustments.";
1647
Vitalii Iarkof4ed32d2017-09-26 13:15:531648const char kEnableContentSuggestionsNewFaviconServerName[] =
1649 "Get favicons for content suggestions from a new server.";
1650const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1651 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1652 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:551653
1654const char kEnableContentSuggestionsSettingsName[] =
1655 "Show content suggestions settings.";
1656const char kEnableContentSuggestionsSettingsDescription[] =
1657 "If enabled, the content suggestions settings will be available from the "
1658 "main settings menu.";
1659
1660const char kEnableContentSuggestionsShowSummaryName[] =
1661 "Show content suggestions summaries.";
1662const char kEnableContentSuggestionsShowSummaryDescription[] =
1663 "If enabled, the content suggestions summaries will be shown.";
1664
Vitalii Iarkof4ed32d2017-09-26 13:15:531665const char kEnableContentSuggestionsThumbnailDominantColorName[] =
1666 "Use content suggestions thumbnail dominant color.";
1667const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
1668 "Use content suggestions thumbnail dominant color as a placeholder before "
1669 "the real thumbnail is fetched (requires Chrome Home).";
1670
1671const char kEnableContentSuggestionsVideoOverlayName[] =
1672 "Video icon overlay on thumbnails for content suggestions cards.";
1673const char kEnableContentSuggestionsVideoOverlayDescription[] =
1674 "If enabled, the content suggestions cards for suggestions with a video "
1675 "will show a video play icon overlay on the thumbnail.";
1676
Brett Wilsonff596952017-07-14 01:06:551677const char kEnableCopylessPasteName[] = "App Indexing (Copyless Paste)";
1678const char kEnableCopylessPasteDescription[] =
1679 "Provide suggestions for text input, based on your recent context. For "
1680 "example, if you looked at a restaurant website and switched to the Maps "
1681 "app, the keyboard would offer the name of that restaurant as a suggestion "
1682 "to enter into the search bar. The data is indexed locally, and never sent "
1683 "to the server. It's disabled in incognito mode.";
1684
1685const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1686const char kEnableCustomContextMenuDescription[] =
1687 "Enables a new context menu when a link, image, or video is pressed within "
1688 "Chrome.";
1689
1690const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1691const char kEnableCustomFeedbackUiDescription[] =
1692 "Enables a custom feedback UI when submitting feedback through Google "
1693 "Feedback. Works with Google Play Services v10.2+";
1694
1695const char kEnableDataReductionProxyMainMenuName[] =
1696 "Enable Data Saver main menu footer";
1697const char kEnableDataReductionProxyMainMenuDescription[] =
1698 "Enables the Data Saver footer in the main menu";
1699
1700const char kEnableDataReductionProxySiteBreakdownName[] =
1701 "Data Saver Site Breakdown";
1702const char kEnableDataReductionProxySiteBreakdownDescription[] =
1703 "Enable the site breakdown on the Data Saver settings page.";
1704
1705const char kEnableOmniboxClipboardProviderName[] =
1706 "Omnibox clipboard URL suggestions";
1707const char kEnableOmniboxClipboardProviderDescription[] =
1708 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1709 "focus in the omnibox.";
1710
1711const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1712 "Use expanded autofill credit card popup layout.";
1713const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1714 "If enabled, displays autofill credit card popup using expanded layout.";
1715
1716const char kEnableFaviconsFromWebManifestName[] =
1717 "Load favicons from Web Manifests";
1718const char kEnableFaviconsFromWebManifestDescription[] =
1719 "Fetch Web Manifests on page load to read favicons from them.";
1720
1721const char kEnableNtpAssetDownloadSuggestionsName[] =
1722 "Show asset downloads on the New Tab page";
1723const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1724 "If enabled, the list of content suggestions on the New Tab page will "
1725 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1726 "later use.";
1727
1728const char kEnableNtpBookmarkSuggestionsName[] =
1729 "Show recently visited bookmarks on the New Tab page";
1730const char kEnableNtpBookmarkSuggestionsDescription[] =
1731 "If enabled, the list of content suggestions on the New Tab page will "
1732 "contain recently visited bookmarks.";
1733
1734const char kEnableNtpForeignSessionsSuggestionsName[] =
1735 "Show recent foreign tabs on the New Tab page";
1736const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1737 "If enabled, the list of content suggestions on the New Tab page will "
1738 "contain recent foreign tabs.";
1739
1740const char kEnableNtpMostLikelyFaviconsFromServerName[] =
1741 "Download favicons for NTP tiles from Google.";
1742const char kEnableNtpMostLikelyFaviconsFromServerDescription[] =
1743 "If enabled, missing favicons for NTP tiles get downloaded from Google. "
1744 "This only applies to tiles that originate from synced history.";
1745
Jan Krcal7fadbd32017-08-04 10:49:211746const char kNtpTilesLowerResolutionFaviconsName[] =
1747 "Show also lower resolution favicons in NTP tiles.";
1748const char kNtpTilesLowerResolutionFaviconsDescription[] =
1749 "If enabled, the size limit for a favicon to get displayed in an NTP tile "
1750 "decreases. Tiles where the largest available favicon is below this limit "
1751 "get displayed as colored tiles.";
1752
Brett Wilsonff596952017-07-14 01:06:551753const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1754 "Show offline page downloads on the New Tab page";
1755const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1756 "If enabled, the list of content suggestions on the New Tab page will "
1757 "contain pages that the user downloaded for later use.";
1758
1759const char kEnableNtpRemoteSuggestionsName[] =
1760 "Show server-side suggestions on the New Tab page";
1761const char kEnableNtpRemoteSuggestionsDescription[] =
1762 "If enabled, the list of content suggestions on the New Tab page will "
1763 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
1764 "allows to override the source used to retrieve these server-side "
1765 "suggestions.";
1766
1767const char kEnableNtpSnippetsVisibilityName[] =
1768 "Make New Tab Page Snippets more visible.";
1769const char kEnableNtpSnippetsVisibilityDescription[] =
1770 "If enabled, the NTP snippets will become more discoverable with a larger "
1771 "portion of the first card above the fold.";
1772
1773const char kEnableNtpSuggestionsNotificationsName[] =
1774 "Notify about new content suggestions available at the New Tab page";
1775const char kEnableNtpSuggestionsNotificationsDescription[] =
1776 "If enabled, notifications will inform about new content suggestions on "
1777 "the New Tab page.";
1778
1779const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
1780const char kEnablePhysicalWebDescription[] =
1781 "Enable scanning for URLs from Physical Web objects.";
1782
1783const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1784const char kEnableOfflinePreviewsDescription[] =
1785 "Enable showing offline page previews on slow networks.";
1786
1787const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
1788const char kEnableOskOverscrollDescription[] =
1789 "Enable OSK overscroll support. With this flag on, the OSK will only "
1790 "resize the visual viewport.";
1791
1792const char kEnableSpecialLocaleName[] =
1793 "Enable custom logic for special locales.";
1794const char kEnableSpecialLocaleDescription[] =
1795 "Enable custom logic for special locales. In this mode, Chrome might "
1796 "behave differently in some locales.";
1797
Brett Wilsonff596952017-07-14 01:06:551798const char kEnableWebNfcName[] = "WebNFC";
1799const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
1800
gogeraldf3cbb422017-07-26 14:37:121801const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
1802 "Enable Web Payments method section order V2.";
1803const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
1804 "Enable this option to display payment method section above address "
1805 "section instead of below it.";
1806
Brett Wilsonff596952017-07-14 01:06:551807const char kEnableWebPaymentsSingleAppUiSkipName[] =
1808 "Enable Web Payments single app UI skip";
1809const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
1810 "Enable Web Payments to skip showing its UI if the developer specifies a "
1811 "single app.";
1812
1813const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
1814const char kHerbPrototypeChoicesDescription[] =
1815 "Switching this option changes which tab management prototype is being "
1816 "tested.";
1817const char kHerbPrototypeFlavorElderberry[] =
1818 "ELDERBERRY: All View Intents in CCT v2";
1819
1820const char kKeepPrefetchedContentSuggestionsName[] =
1821 "Keep prefetched content suggestions";
1822const char kKeepPrefetchedContentSuggestionsDescription[] =
1823 "If enabled, some of prefetched content suggestions are not replaced by "
1824 "the new fetched suggestions.";
1825
1826const char kLsdPermissionPromptName[] =
1827 "Location Settings Dialog Permission Prompt";
1828const char kLsdPermissionPromptDescription[] =
1829 "Whether to use the Google Play Services Location Settings Dialog "
1830 "permission dialog.";
1831
Brett Wilsonff596952017-07-14 01:06:551832const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
1833const char kMediaScreenCaptureDescription[] =
1834 "Enable this option for experimental ScreenCapture feature on Android.";
1835
1836const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
1837const char kModalPermissionPromptsDescription[] =
1838 "Whether to use permission dialogs in place of permission infobars.";
1839
Brett Wilsonff596952017-07-14 01:06:551840const char kNewPhotoPickerName[] = "Enable new Photopicker";
1841const char kNewPhotoPickerDescription[] =
1842 "Activates the new picker for selecting photos.";
1843
1844const char kNoCreditCardAbort[] = "No Credit Card Abort";
1845const char kNoCreditCardAbortDescription[] =
1846 "Whether or not the No Credit Card Abort is enabled.";
1847
1848const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
1849const char kNtpCondensedLayoutDescription[] =
1850 "Show a condensed layout on the New Tab Page.";
1851
1852const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
1853const char kNtpCondensedTileLayoutDescription[] =
1854 "Show a condensed tile layout on the New Tab Page.";
1855
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:041856const char kSiteExplorationUiName[] = "Site Exploration UI";
1857const char kSiteExplorationUiDescription[] =
1858 "Show site suggestions in the Exploration UI";
1859
Brett Wilsonff596952017-07-14 01:06:551860const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
1861const char kNtpGoogleGInOmniboxDescription[] =
1862 "Show a Google G in the omnibox on the New Tab Page.";
1863
1864const char kNtpOfflinePagesName[] = "Enable NTP offline pages";
1865const char kNtpOfflinePagesDescription[] =
1866 "Enables badging of offline pages on the New Tab page. Only relevant if "
1867 "offline pages are enabled.";
1868
1869const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
1870const char kNtpPopularSitesDescription[] =
1871 "Pre-populate the New Tab page with popular sites.";
1872
Brett Wilsonff596952017-07-14 01:06:551873const char kOfflineBookmarksName[] = "Enable offline bookmarks";
1874const char kOfflineBookmarksDescription[] =
1875 "Enable saving bookmarked pages for offline viewing.";
1876
1877const char kOfflinePagesAsyncDownloadName[] =
1878 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages.)*";
1879const char kOfflinePagesAsyncDownloadDescription[] =
1880 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages such )*"
1881 R"*(that the user can click on it to download the page later.)*";
1882
1883const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
1884const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
1885
1886const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
1887const char kOfflinePagesCtV2Description[] =
1888 "V2 features include attributing pages to the app that initiated the "
1889 "custom tabs, and being able to query for pages by page attribution.";
1890
1891const char kOfflinePagesLoadSignalCollectingName[] =
1892 "Enables collecting load timing data for offline page snapshots.";
1893const char kOfflinePagesLoadSignalCollectingDescription[] =
1894 "Enables loading completeness data collection while writing an offline "
1895 "page. This data is collected in the snapshotted offline page to allow "
1896 "data analysis to improve deciding when to make the offline snapshot.";
1897
1898const char kOfflinePagesPrefetchingName[] =
1899 "Enables suggested offline pages to be prefetched.";
1900const char kOfflinePagesPrefetchingDescription[] =
1901 "Enables suggested offline pages to be prefetched, so useful content is "
1902 "available while offline.";
1903
Cathy Li3d5379e2017-09-07 00:11:091904const char kOfflinePagesPrefetchingUIName[] =
1905 "Enables prefetched offline pages to be shown in UI.";
1906const char kOfflinePagesPrefetchingUIDescription[] =
1907 "Enables prefetched offline pages to raise notifications and be shown in "
1908 "download home UI.";
1909
Pete Williamson7845dff2017-09-20 11:06:191910const char kOfflinePagesResourceBasedSnapshotName[] =
1911 "Enables offline page snapshots to be based on percentage of page loaded.";
1912const char kOfflinePagesResourceBasedSnapshotDescription[] =
1913 "Enables offline page snapshots to use a resource percentage based "
1914 "approach for determining when the page is loaded as opposed to a time "
1915 "based approach";
1916
Collin Baker17f92a52017-07-19 21:41:251917const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
1918const char kOfflinePagesRenovationsDescription[] =
1919 "Enables offline page renovations which correct issues with dynamic "
1920 "content that occur when offlining pages that use JavaScript.";
1921
Brett Wilsonff596952017-07-14 01:06:551922const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
1923const char kOfflinePagesSharingDescription[] =
1924 "Enables the saved offline pages to be shared via other applications.";
1925
1926const char kOfflinePagesSvelteConcurrentLoadingName[] =
1927 "Enables concurrent background loading on svelte.";
1928const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
1929 "Enables concurrent background loading (or downloading) of pages on "
1930 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
1931 "happen when the svelte device is idle.";
1932
1933const char kOffliningRecentPagesName[] =
1934 "Enable offlining of recently visited pages";
1935const char kOffliningRecentPagesDescription[] =
1936 "Enable storing recently visited pages locally for offline use. Requires "
1937 "Offline Pages to be enabled.";
1938
1939extern const char kPayWithGoogleV1Name[] = "Pay with Google v1";
1940extern const char kPayWithGoogleV1Description[] =
1941 "Enable Pay with Google integration into Web Payments with API version "
1942 "'1'.";
1943
Matthew Jones7c37430cd2017-09-11 15:59:281944const char kProgressBarThrottleName[] = "Android progress update throttling.";
1945const char kProgressBarThrottleDescription[] =
1946 "Limit the maximum progress update to make progress appear smoother.";
1947
Brett Wilsonff596952017-07-14 01:06:551948const char kProgressBarCompletionName[] =
1949 "Android phone page load progress bar completion time.";
1950const char kProgressBarCompletionDescription[] =
1951 "Configures Android phone page loading progress bar completion time.";
1952const char kProgressBarCompletionLoadEvent[] =
1953 R"*(Top loading frame's onload event ("everything" is done in the )*"
1954 R"*(page, historical behavior).)*";
1955const char kProgressBarCompletionResourcesBeforeDcl[] =
1956 "Main frame's domContentLoaded and all resources loads started before "
1957 "domContentLoaded (iframes ignored).";
1958const char kProgressBarCompletionDomContentLoaded[] =
1959 "Main frame's domContentLoaded (iframes ignored).";
1960const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
1961 "domContentLoaded and all resources loads started before domContentLoaded "
1962 "(main frame and same origin iframes).";
1963
1964const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
1965const char kPullToRefreshEffectDescription[] =
1966 "Page reloads triggered by vertically overscrolling content.";
1967
Piotr Swigon7c296ef2017-08-29 04:32:001968const char kPwaImprovedSplashScreenName[] =
1969 "Improved Splash Screen for standalone PWAs";
1970const char kPwaImprovedSplashScreenDescription[] =
1971 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
1972 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:491973const char kPwaPersistentNotificationName[] =
1974 "Persistent notification in standalone PWA";
1975const char kPwaPersistentNotificationDescription[] =
1976 "Enables a persistent Android notification for standalone PWAs";
1977
Brett Wilsonff596952017-07-14 01:06:551978const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
1979const char kReaderModeHeuristicsDescription[] =
1980 "Determines what pages the Reader Mode infobar is shown on.";
1981const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
1982const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
1983const char kReaderModeHeuristicsAllArticles[] = "All articles";
1984const char kReaderModeHeuristicsAlwaysOff[] = "Never";
1985const char kReaderModeHeuristicsAlwaysOn[] = "Always";
1986
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:181987const char kReaderModeInCCTName[] = "Reader Mode in CCT";
1988const char kReaderModeInCCTDescription[] =
1989 "Open Reader Mode in Chrome Custom Tabs.";
1990
Brett Wilsonff596952017-07-14 01:06:551991const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
1992const char kSetMarketUrlForTestingDescription[] =
1993 "When enabled, sets the market URL for use in testing the update menu "
1994 "item.";
1995
1996const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
1997const char kSpannableInlineAutocompleteDescription[] =
1998 "A new type of inline autocomplete for the omnibox that works with "
1999 "keyboards that compose text.";
2000
Brett Wilsonff596952017-07-14 01:06:552001const char kTranslateCompactUIName[] = "New Translate Infobar";
2002const char kTranslateCompactUIDescription[] =
2003 "Enable the new Translate compact infobar UI.";
2004
2005const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2006const char kUpdateMenuBadgeDescription[] =
2007 "When enabled, an update badge will be shown on the app menu button.";
2008
2009const char kUpdateMenuItemCustomSummaryDescription[] =
2010 "When this flag and the force show update menu item flag are enabled, a "
2011 "custom summary string will be displayed below the update menu item.";
2012const char kUpdateMenuItemCustomSummaryName[] =
2013 "Update menu item custom summary";
2014
2015const char kUpdateMenuItemName[] = "Force show update menu item";
2016const char kUpdateMenuItemDescription[] =
2017 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2018 R"*(menu.)*";
2019
2020const char kUseAndroidMidiApiName[] = "Use Android Midi API";
2021const char kUseAndroidMidiApiDescription[] =
2022 "Use Android Midi API for WebMIDI (effective only with Android M+ "
2023 "devices).";
2024
Marc Treib93af46a2017-08-23 13:30:002025const char kThirdPartyDoodlesName[] =
2026 "Enable Doodles for third-party search engines";
2027const char kThirdPartyDoodlesDescription[] =
2028 "Enables fetching and displaying Doodles on the NTP for third-party search "
2029 "engines.";
2030
Brett Wilsonff596952017-07-14 01:06:552031const char kXGEOVisibleNetworksName[] = "Enable XGEO Visible Networks";
2032const char kXGEOVisibleNetworksDescription[] =
2033 "If location permissions are granted, include visible networks in the XGEO "
2034 "Header for omnibox queries. This will only happen if location is not "
2035 "fresh or not available (for example, due to a cold start).";
2036
Brett Wilson7b44537e2017-08-18 01:38:282037// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552038
Brett Wilson7b44537e2017-08-18 01:38:282039#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482040
Brett Wilson7b44537e2017-08-18 01:38:282041const char kAccountConsistencyName[] =
2042 "Identity consistency between browser and cookie jar";
2043const char kAccountConsistencyDescription[] =
2044 "When enabled, the browser manages signing in and out of Google accounts.";
2045const char kAccountConsistencyChoiceMirror[] = "Mirror";
2046const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342047
Chris Pickel3a227ae62017-08-24 10:47:262048const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2049const char kDoodlesOnLocalNtpDescription[] =
2050 "Show doodles on the local New Tab page if Google is the default search "
2051 "engine.";
2052
mlamouriff56c092017-05-11 15:31:392053const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392054const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342055 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392056const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392057const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392058const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342059 "Enabled (Flash lowers volume when interrupted by other sound, "
2060 "experimental)";
2061
Brett Wilson7b44537e2017-08-18 01:38:282062const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2063const char kEnableNewAppMenuIconDescription[] =
2064 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342065
2066const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342067const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282068 "Enable receiving entity suggestions - disambiguation descriptions - for "
2069 "Omnibox suggestions.";
2070
2071const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2072const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192073 "Enable receiving tail suggestions, a type of search suggestion based on "
2074 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342075
Brett Wilson7b44537e2017-08-18 01:38:282076const char kOneGoogleBarOnLocalNtpName[] =
2077 "Enable the OneGoogleBar on the local NTP";
2078const char kOneGoogleBarOnLocalNtpDescription[] =
2079 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2080 "search engine.";
2081
ojan38c678352017-04-11 20:27:552082const char kPauseBackgroundTabsName[] = "Pause background tabs";
2083const char kPauseBackgroundTabsDescription[] =
2084 "Pause timers in background tabs after 5 minutes on desktop.";
2085
Brett Wilson7b44537e2017-08-18 01:38:282086const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2087const char kUseGoogleLocalNtpDescription[] =
2088 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322089
Brett Wilson7b44537e2017-08-18 01:38:282090const char kVoiceSearchOnLocalNtpName[] =
2091 "Enable Voice Search on the local NTP";
2092const char kVoiceSearchOnLocalNtpDescription[] =
2093 "Show a microphone for voice search on the local New Tab page "
2094 "if Google is the default search engine.";
2095
2096#if defined(GOOGLE_CHROME_BUILD)
2097
2098const char kGoogleBrandedContextMenuName[] =
2099 "Google branding in the context menu";
2100const char kGoogleBrandedContextMenuDescription[] =
2101 "Shows a Google icon next to context menu items powered by Google "
2102 "services.";
2103
2104#endif // !defined(GOOGLE_CHROME_BUILD)
2105
2106#endif // !defined(OS_ANDROID)
2107
2108// Windows ---------------------------------------------------------------------
2109
2110#if defined(OS_WIN)
2111
2112const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2113const char kCloudPrintXpsDescription[] =
2114 "XPS enables advanced options for classic printers connected to the Cloud "
2115 "Print with Chrome. Printers must be re-connected after changing this "
2116 "flag.";
2117
Dave Tapuskadd43469d2017-08-22 22:15:532118const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2119const char kDirectManipulationStylusDescription[] =
2120 "If enabled, Chrome will scroll web pages on stylus drag.";
2121
Brett Wilson7b44537e2017-08-18 01:38:282122const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2123const char kDisablePostscriptPrintingDescription[] =
2124 "Disables PostScript generation when printing to PostScript capable "
2125 "printers, and uses EMF generation in its place.";
2126
2127const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2128const char kEnableAppcontainerDescription[] =
2129 "Enables the use of an AppContainer on sandboxed processes to improve "
2130 "security.";
2131
2132const char kEnableD3DVsync[] = "D3D v-sync";
2133const char kEnableD3DVsyncDescription[] =
2134 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2135 "to occur.";
2136
2137const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2138const char kEnableDesktopIosPromotionsDescription[] =
2139 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2140 "eligible.";
2141
2142const char kGdiTextPrinting[] = "GDI Text Printing";
2143const char kGdiTextPrintingDescription[] =
2144 "Use GDI to print text as simply text";
2145
2146const char kMergeKeyCharEventsName[] =
2147 "Enable or disable merging merging the key event (WM_KEY*) with char event "
2148 "(WM_CHAR).";
2149const char kMergeKeyCharEventsDescription[] =
2150 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separately.";
2151
2152const char kTraceExportEventsToEtwName[] =
2153 "Enable exporting of tracing events to ETW.";
2154const char kTraceExportEventsToEtwDesription[] =
2155 "If enabled, trace events will be exported to the Event Tracing for "
2156 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2157 "Xperf.";
2158
2159const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2160const char kUseWinrtMidiApiDescription[] =
2161 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2162 "later).";
2163
2164const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2165const char kWindows10CustomTitlebarDescription[] =
2166 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2167 "deferring to Windows.";
2168
Wez6656c572017-08-29 22:29:582169#if DCHECK_IS_ON() && defined(SYZYASAN)
2170extern const char kSyzyAsanDcheckIsFatalName[] = "DCHECKs are fatal";
2171extern const char kSyzyAsanDcheckIsFatalDescription[] =
2172 "By default Chrome will evaluate DCHECKs in SyzyASAN builds, but only log "
2173 "failed DCHECKs. If enabled, DCHECKs will crash the calling process.";
2174#endif // DCHECK_IS_ON() && defined(SYZYASAN)
2175
Brett Wilson7b44537e2017-08-18 01:38:282176#endif // defined(OS_WIN)
2177
2178// Mac -------------------------------------------------------------------------
2179
2180#if defined(OS_MACOSX)
2181
2182const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2183const char kAppInfoDialogDescription[] =
2184 "Makes the Toolkit-Views based App Info dialog accessible from "
2185 "chrome://apps or chrome://extensions in place of the native extension "
2186 "permissions dialog, or the details link (which is a link to the Web "
2187 "Store).";
2188
2189const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2190const char kAppWindowCyclingDescription[] =
2191 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2192 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2193 "browser window, and browser windows will not be cycled when a Chrome App "
2194 "is active.";
2195
2196extern const char kCreditCardAutofillTouchBarName[] =
2197 "Credit Card Autofill Touch Bar";
2198extern const char kCreditCardAutofillTouchBarDescription[] =
2199 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2200
2201const char kFullscreenToolbarRevealName[] =
2202 "Enables the toolbar in fullscreen to reveal itself.";
2203const char kFullscreenToolbarRevealDescription[] =
2204 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2205 "has changed.";
2206
2207const char kContentFullscreenName[] = "Improved Content Fullscreen";
2208const char kContentFullscreenDescription[] =
2209 "Fullscreen content window detaches from main browser window and goes to "
2210 "a new space without moving or changing the original browser window.";
2211
2212extern const char kDialogTouchBarName[] = "Dialog Touch Bar";
2213extern const char kDialogTouchBarDescription[] =
2214 "Shows Dialog buttons on the Touch Bar.";
2215
2216const char kHostedAppsInWindowsName[] =
2217 "Allow hosted apps to be opened in windows";
2218const char kHostedAppsInWindowsDescription[] =
2219 "Allows hosted apps to be opened in windows instead of being limited to "
2220 "tabs.";
2221
2222extern const char kMacRTLName[] = "Enable RTL";
2223extern const char kMacRTLDescription[] =
2224 "Mirrors the UI for RTL language users";
2225
2226extern const char kMacTouchBarName[] = "Hardware Touch Bar";
2227extern const char kMacTouchBarDescription[] =
2228 "Control the use of the Touch Bar.";
2229
2230const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2231const char kMacV2SandboxDescription[] =
2232 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2233 "entire life cycle.";
2234
2235const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2236const char kMacViewsNativeAppWindowsDescription[] =
2237 "Controls whether to use Toolkit-Views based Chrome App windows.";
2238
2239const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2240const char kMacViewsTaskManagerDescription[] =
2241 "Controls whether to use the Toolkit-Views based Task Manager.";
2242
2243const char kTabDetachingInFullscreenName[] =
2244 "Allow tab detaching in fullscreen";
2245const char kTabDetachingInFullscreenDescription[] =
2246 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2247
2248const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2249const char kTabStripKeyboardFocusDescription[] =
2250 "Enable keyboard focus for the tabs in the tab strip.";
2251
2252const char kTranslateNewUxName[] = "New Translate UX";
2253const char kTranslateNewUxDescription[] =
2254 "Enable the new Translate bubble UX is offered instead of the infobar.";
2255
2256// Non-Mac ---------------------------------------------------------------------
2257
2258#else // !defined(OS_MACOSX)
2259
2260const char kPermissionPromptPersistenceToggleName[] =
2261 "Persistence Toggle in Permission Prompts";
2262const char kPermissionPromptPersistenceToggleDescription[] =
2263 "Whether to display a persistence toggle in permission prompts.";
2264
2265#endif
2266
2267// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342268
2269#if defined(OS_CHROMEOS)
2270
Brett Wilson7b44537e2017-08-18 01:38:282271const char kAcceleratedMjpegDecodeName[] =
2272 "Hardware-accelerated mjpeg decode for captured frame";
2273const char kAcceleratedMjpegDecodeDescription[] =
2274 "Enable hardware-accelerated mjpeg decode for captured frame where "
2275 "available.";
vabr0215a8e2017-03-28 12:47:342276
Brett Wilson7b44537e2017-08-18 01:38:282277const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2278const char kAllowTouchpadThreeFingerClickDescription[] =
2279 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342280
Brett Wilson7b44537e2017-08-18 01:38:282281const char kArcBootCompleted[] = "Load Android apps automatically";
2282const char kArcBootCompletedDescription[] =
2283 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342284
Lev Rumyantsev7a8544312017-08-18 19:26:512285const char kArcNativeBridgeExperimentName[] =
2286 "Enable native bridge experiment for ARC";
2287const char kArcNativeBridgeExperimentDescription[] =
2288 "Enables experimental native bridge feature.";
2289
Brett Wilson7b44537e2017-08-18 01:38:282290const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2291const char kAshEnableUnifiedDesktopDescription[] =
2292 "Enable unified desktop mode which allows a window to span multiple "
2293 "displays.";
vabr0215a8e2017-03-28 12:47:342294
Brett Wilson7b44537e2017-08-18 01:38:282295const char kBootAnimationName[] = "Boot animation";
2296const char kBootAnimationDescription[] =
2297 "Wallpaper boot animation (except for OOBE case).";
vabr0215a8e2017-03-28 12:47:342298
Brett Wilson7b44537e2017-08-18 01:38:282299const char kCaptivePortalBypassProxyName[] =
2300 "Bypass proxy for Captive Portal Authorization";
2301const char kCaptivePortalBypassProxyDescription[] =
2302 "If proxy is configured, it usually prevents from authorization on "
2303 "different captive portals. This enables opening captive portal "
2304 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342305
Brett Wilson7b44537e2017-08-18 01:38:282306const char kCrOSComponentName[] = "Chrome OS Component";
2307const char kCrOSComponentDescription[] =
2308 "Enable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342309
Xiaochu Liu51d03fd2017-09-08 23:51:022310const char kCrOSContainerName[] = "Chrome OS Container";
2311const char kCrOSContainerDescription[] =
2312 "Enable the use of Chrome OS Container utility.";
2313
Brett Wilson7b44537e2017-08-18 01:38:282314const char kCrosRegionsModeName[] = "Cros-regions load mode";
2315const char kCrosRegionsModeDescription[] =
2316 "This flag controls cros-regions load mode";
2317const char kCrosRegionsModeDefault[] = "Default";
2318const char kCrosRegionsModeOverride[] = "Override VPD values.";
2319const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342320
Jacob Dufault2becbc482017-08-25 00:36:352321const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2322const char kDisableLockScreenAppsDescription[] =
2323 "Disable new-note action handler apps on the lock screen. The user will "
2324 "not be able to launch the preferred note-taking action from the lock "
2325 "screen, provided that the app supports lock screen note taking.";
2326
Brett Wilson7b44537e2017-08-18 01:38:282327const char kDisableNewVirtualKeyboardBehaviorName[] =
2328 "New window behavior for the accessibility keyboard";
2329const char kDisableNewVirtualKeyboardBehaviorDescription[] =
2330 "Disable new window behavior for the accessibility keyboard in non-sticky "
2331 "mode (do not change work area in non-sticky mode).";
vabr0215a8e2017-03-28 12:47:342332
Sammie Quonef6b4882017-09-14 16:50:052333const char kDisableTabletAutohideTitlebarsName[] =
2334 "Disable autohide titlebars in tablet mode";
2335const char kDisableTabletAutohideTitlebarsDescription[] =
2336 "Disable tablet mode autohide titlebars functionality. The user will be "
2337 "able to see the titlebar in tablet mode.";
2338
Brett Wilson7b44537e2017-08-18 01:38:282339const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2340const char kEnablePerUserTimezoneDescription[] =
2341 "Chrome OS system timezone preference is stored and handled for each user "
2342 "individually.";
vabr0215a8e2017-03-28 12:47:342343
Brett Wilson7b44537e2017-08-18 01:38:282344const char kDisableSystemTimezoneAutomaticDetectionName[] =
2345 "SystemTimezoneAutomaticDetection policy support";
2346const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2347 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342348
newcomer403ac142017-07-05 18:26:302349const char kEnableFullscreenAppListName[] = "Enable The Peeking Launcher";
newcomer403ac142017-07-05 18:26:302350const char kEnableFullscreenAppListDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192351 "The peeking launcher UI supports touch and provides more space for "
2352 "upcoming features.";
newcomer403ac142017-07-05 18:26:302353
Alex Newcomer43cb7f12017-07-28 17:37:392354extern const char kEnableBackgroundBlurName[] = "Enable background blur.";
2355extern const char kEnableBackgroundBlurDescription[] =
2356 "Enables background blur for the Peeking Launcher, Lock Screen, and Tab "
2357 "Switcher.";
2358
Brett Wilson7b44537e2017-08-18 01:38:282359const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2360const char kEnableAndroidWallpapersAppDescription[] =
2361 "Enables the Android Wallpapers App as the default Wallpaper App on Chrome "
2362 "OS.";
vabr0215a8e2017-03-28 12:47:342363
Brett Wilson7b44537e2017-08-18 01:38:282364const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2365const char kEnableChromevoxArcSupportDescription[] =
2366 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342367
Brett Wilson7b44537e2017-08-18 01:38:282368const char kEnableEhvInputName[] =
2369 "Emoji, handwriting and voice input on opt-in IME menu";
2370const char kEnableEhvInputDescription[] =
2371 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342372
Brett Wilson7b44537e2017-08-18 01:38:282373const char kEnableEncryptionMigrationName[] =
2374 "Enable encryption migration of user data";
2375const char kEnableEncryptionMigrationDescription[] =
2376 "If enabled and the device supports ARC, the user will be asked to update "
2377 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342378
Klemen Kozjekf2b30e452017-09-01 05:04:512379const char kEnableExternalDriveRename[] = "Enable external drive rename";
2380const char kEnableExternalDriveRenameDescription[] =
2381 "If enabled, external removable drives will get 'Rename' action in the "
2382 "context menu";
2383
Brett Wilson7b44537e2017-08-18 01:38:282384const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2385const char kEnableImeMenuDescription[] =
2386 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342387
Brett Wilson7b44537e2017-08-18 01:38:282388const char kEnableZipArchiverOnFileManagerName[] = "ZIP archiver for Drive";
2389const char kEnableZipArchiverOnFileManagerDescription[] =
2390 "Enable the ability to archive and unpack files on Drive in the Files app";
2391
2392const char kEolNotificationName[] = "Disable Device End of Life notification.";
2393const char kEolNotificationDescription[] =
2394 "Disable Notifcation when Device is End of Life.";
2395
2396const char kExperimentalAccessibilityFeaturesName[] =
2397 "Experimental accessibility features";
2398const char kExperimentalAccessibilityFeaturesDescription[] =
2399 "Enable additional accessibility features in the Settings page.";
2400
2401const char kExperimentalInputViewFeaturesName[] =
2402 "Experimental input view features";
2403const char kExperimentalInputViewFeaturesDescription[] =
2404 "Enable experimental features for IME input views.";
2405
2406const char kFileManagerTouchModeName[] = "Files App. touch mode";
2407const char kFileManagerTouchModeDescription[] =
2408 "Touchscreen-specific interactions of the Files app.";
2409
2410const char kFirstRunUiTransitionsName[] =
2411 "Animated transitions in the first-run tutorial";
2412const char kFirstRunUiTransitionsDescription[] =
2413 "Transitions during first-run tutorial are animated.";
2414
2415const char kFloatingVirtualKeyboardName[] = "Floating virtual keyboard.";
2416const char kFloatingVirtualKeyboardDescription[] =
2417 "Enable/Disable floating virtual keyboard.";
2418
2419const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2420const char kForceEnableStylusToolsDescription[] =
2421 "Forces display of the stylus tools menu in the shelf and the stylus "
2422 "section in settings, even if there is no attached stylus device.";
2423
2424const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2425const char kGestureEditingDescription[] =
2426 "Enable/Disable gesture editing option in the settings page for the "
2427 "virtual keyboard.";
2428
2429const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2430const char kGestureTypingDescription[] =
2431 "Enable/Disable gesture typing option in the settings page for the virtual "
2432 "keyboard.";
2433
2434const char kInputViewName[] = "Input views";
2435const char kInputViewDescription[] =
2436 "Enable IME extensions to supply custom views for user input such as "
2437 "virtual keyboards.";
2438
2439const char kMemoryPressureThresholdName[] =
2440 "Memory discard strategy for advanced pressure handling";
2441const char kMemoryPressureThresholdDescription[] =
2442 "Memory discarding strategy to use";
2443const char kConservativeThresholds[] =
2444 "Conservative memory pressure release strategy";
2445const char kAggressiveCacheDiscardThresholds[] =
2446 "Aggressive cache release strategy";
2447const char kAggressiveTabDiscardThresholds[] =
2448 "Aggressive tab release strategy";
2449const char kAggressiveThresholds[] =
2450 "Aggressive tab and cache release strategy";
2451
2452const char kMtpWriteSupportName[] = "MTP write support";
2453const char kMtpWriteSupportDescription[] =
2454 "MTP write support in File System API (and file manager). In-place editing "
2455 "operations are not supported.";
2456
2457const char kMultideviceName[] = "Enable multidevice features";
2458const char kMultideviceDescription[] =
2459 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342460
2461const char kNetworkPortalNotificationName[] =
2462 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342463const char kNetworkPortalNotificationDescription[] =
2464 "If enabled, notification is displayed when device is connected to a "
2465 "network behind captive portal.";
2466
stevenjbe1d457382017-05-24 22:37:242467const char kNetworkSettingsConfigName[] =
2468 "Settings based Network Configuration";
stevenjbe1d457382017-05-24 22:37:242469const char kNetworkSettingsConfigDescription[] =
2470 "Enables the Settings based network configuration UI instead of the Views "
2471 "based configuration dialog.";
2472
Brett Wilson7b44537e2017-08-18 01:38:282473const char kNewKoreanImeName[] = "New Korean IME";
2474const char kNewKoreanImeDescription[] =
2475 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342476
Brett Wilson7b44537e2017-08-18 01:38:282477const char kNewZipUnpackerName[] = "New ZIP unpacker";
2478const char kNewZipUnpackerDescription[] =
2479 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342480
Brett Wilson7b44537e2017-08-18 01:38:282481const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2482const char kPhysicalKeyboardAutocorrectDescription[] =
2483 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2484 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342485
2486const char kPrinterProviderSearchAppName[] =
2487 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342488const char kPrinterProviderSearchAppDescription[] =
2489 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192490 "searches Chrome Web Store for extensions that support printing to a USB "
2491 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342492
Brett Wilson7b44537e2017-08-18 01:38:282493const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2494const char kQuickUnlockPinDescription[] =
2495 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2496 "device on the lock screen after you have signed into your device.";
2497const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2498const char kQuickUnlockPinSigninDescription[] =
2499 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2500 "device. After changing this flag PIN needs to be set up again.";
2501const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2502const char kQuickUnlockFingerprintDescription[] =
2503 "Enabling fingerprint quick unlock allows you to setup and use a "
2504 "fingerprint to unlock your Chromebook on the lock screen after you have "
2505 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342506
Brett Wilson7b44537e2017-08-18 01:38:282507const char kOfficeEditingComponentAppName[] =
2508 "Office Editing for Docs, Sheets & Slides";
2509const char kOfficeEditingComponentAppDescription[] =
2510 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072511
2512const char kSpuriousPowerButtonWindowName[] = "Spurious power button window";
2513const char kSpuriousPowerButtonWindowDescription[] =
2514 "Number of recent accelerometer samples to examine to determine if a power "
2515 "button event was spurious.";
2516
2517const char kSpuriousPowerButtonAccelCountName[] =
2518 "Spurious power button acceleration count";
2519const char kSpuriousPowerButtonAccelCountDescription[] =
2520 "Number of recent acceleration samples that must meet or exceed exceed the "
2521 "threshold in order for a power button event to be considered spurious.";
2522
2523const char kSpuriousPowerButtonScreenAccelName[] =
2524 "Spurious power button screen acceleration threshold";
2525const char kSpuriousPowerButtonScreenAccelDescription[] =
2526 "Threshold (in m/s^2, disregarding gravity) that screen acceleration must "
2527 "meet or exceed for a power button event to be considered spurious.";
2528
2529const char kSpuriousPowerButtonKeyboardAccelName[] =
2530 "Spurious power button keyboard acceleration threshold";
2531const char kSpuriousPowerButtonKeyboardAccelDescription[] =
2532 "Threshold (in m/s^2, disregarding gravity) that keyboard acceleration "
2533 "must meet or exceed for a power button event to be considered spurious.";
2534
2535const char kSpuriousPowerButtonLidAngleChangeName[] =
2536 "Spurious power button lid angle change threshold";
2537const char kSpuriousPowerButtonLidAngleChangeDescription[] =
2538 "Change in lid angle (i.e. hinge between keyboard and screen) that must be "
2539 "met or exceeded for a power button event to be considered spurious.";
2540
Chung-Sheng Wu468b0b32017-09-01 14:41:572541const char kSysInternalsName[] = "Enable Sys-Internals";
2542const char kSysInternalsDescription[] =
2543 "If enabled, user can monitor system information at "
2544 "chrome://sys-internals.";
2545
Brett Wilson7b44537e2017-08-18 01:38:282546const char kTeamDrivesName[] = "Enable Team Drives Integration";
2547const char kTeamDrivesDescription[] =
2548 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342549
Brett Wilson7b44537e2017-08-18 01:38:282550const char kTetherName[] = "Instant Tethering";
2551const char kTetherDescription[] =
2552 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2553 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372554
Brett Wilson7b44537e2017-08-18 01:38:282555const char kTouchscreenCalibrationName[] =
2556 "Enable/disable touchscreen calibration option in material design settings";
2557const char kTouchscreenCalibrationDescription[] =
2558 "If enabled, the user can calibrate the touch screen displays in "
2559 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092560
Mitsuru Oshima63d3f2a2017-08-23 00:12:112561// Force UI Mode
2562const char kUiModeName[] = "Force Ui Mode";
2563const char kUiModeDescription[] =
2564 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2565 R"*(despite its current orientation. "Tablet" means that the )*"
2566 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2567 R"*(means that the chromebook will act as if it were in clamshell )*"
2568 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2569 R"*(the two, based on its orientation.)*";
2570const char kUiModeTablet[] = "TouchView";
2571const char kUiModeClamshell[] = "Clamshell";
2572const char kUiModeAuto[] = "Auto (default)";
2573
bruthigeafb0c02017-06-09 13:11:532574const char kUiDevToolsName[] = "Enable native UI inspection";
2575const char kUiDevToolsDescription[] =
2576 "Enables inspection of native UI elements. For local inspection use "
2577 "chrome://inspect#other";
2578
Brett Wilson7b44537e2017-08-18 01:38:282579const char kUseMusName[] = "Mus";
2580const char kUseMusDescription[] = "Enable the Mojo UI service.";
2581const char kEnableMashDescription[] =
2582 "Mash (UI, Chrome and ash in separate services)";
2583const char kEnableMusDescription[] =
2584 "Mus (UI in separate service, Chrome and ash in same service)";
2585
2586const char kVideoPlayerChromecastSupportName[] =
2587 "Experimental Chromecast support for Video Player";
2588const char kVideoPlayerChromecastSupportDescription[] =
2589 "This option enables experimental Chromecast support for Video Player app "
2590 "on ChromeOS.";
2591
2592const char kVirtualKeyboardName[] = "Virtual Keyboard";
2593const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2594
2595const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2596const char kVirtualKeyboardOverscrollDescription[] =
2597 "Enables virtual keyboard overscroll support.";
2598
2599const char kVoiceInputName[] = "Voice input on virtual keyboard";
2600const char kVoiceInputDescription[] =
2601 "Enables voice input on virtual keyboard.";
2602
2603const char kWakeOnPacketsName[] = "Wake On Packets";
2604const char kWakeOnPacketsDescription[] =
2605 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202606
yhanadac5bff5b2017-05-18 06:37:092607#endif // defined(OS_CHROMEOS)
2608
Brett Wilson7b44537e2017-08-18 01:38:282609// Random platform combinations -----------------------------------------------
2610
2611#if defined(OS_WIN) || defined(OS_LINUX)
2612
2613const char kEnableInputImeApiName[] = "Enable Input IME API";
2614const char kEnableInputImeApiDescription[] =
2615 "Enable the use of chrome.input.ime API.";
2616
2617#endif // defined(OS_WIN) || defined(OS_LINUX)
2618
2619#if defined(OS_WIN) || defined(OS_MACOSX)
2620
2621const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2622const char kAutomaticTabDiscardingDescription[] =
2623 "If enabled, tabs get automatically discarded from memory when the system "
2624 "memory is low. Discarded tabs are still visible on the tab strip and get "
2625 "reloaded when clicked on. Info about discarded tabs can be found at "
2626 "chrome://discards.";
2627
2628#endif // defined(OS_WIN) || defined(OS_MACOSX)
2629
2630// Feature flags --------------------------------------------------------------
2631
2632#if BUILDFLAG(ENABLE_VR)
2633
2634#if defined(OS_ANDROID)
2635
2636const char kEnableVrShellName[] = "Enable Chrome VR.";
2637const char kEnableVrShellDescription[] =
2638 "Allow browsing with a VR headset if available for this device.";
2639
2640const char kVrCustomTabBrowsingName[] = "Enable Custom Tab browsing in VR.";
2641const char kVrCustomTabBrowsingDescription[] =
2642 "Allow browsing with a VR headset in a Custom Tab if available for this "
2643 "device.";
2644
2645const char kWebVrAutopresentName[] = "Enable WebVr auto presentation";
2646const char kWebVrAutopresentDescription[] =
2647 "Allows auto presentation of WebVr content from trusted first-party apps";
2648
2649const char kWebVrVsyncAlignName[] = "Enable WebVR VSync-aligned timing";
2650const char kWebVrVsyncAlignDescription[] =
2651 "Enabling this option aligns WebVR application rendering with VSync "
2652 "for smoother animations.";
2653
2654#endif // OS_ANDROID
2655
2656const char kWebvrExperimentalRenderingName[] =
2657 "WebVR experimental rendering optimizations";
2658const char kWebvrExperimentalRenderingDescription[] =
2659 "Enabling this option activates experimental rendering path optimizations "
2660 "for WebVR.";
2661
2662#endif // ENABLE_VR
2663
Nico Weberaf3b00b2017-09-11 17:58:172664#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282665
2666const char kNaclDebugMaskName[] =
2667 "Restrict Native Client GDB-based debugging by pattern";
2668const char kNaclDebugMaskDescription[] =
2669 "Restricts Native Client application GDB-based debugging by URL of "
2670 "manifest file. Native Client GDB-based debugging must be enabled for this "
2671 "option to work.";
2672const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
2673const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
2674 "Debug everything except secure shell and the PNaCl translator.";
2675const char kNaclDebugMaskChoiceIncludeDebug[] =
2676 "Debug only if manifest URL ends with debug.nmf.";
2677
2678const char kNaclDebugName[] = "Native Client GDB-based debugging";
2679const char kNaclDebugDescription[] =
2680 "Enable GDB debug stub. This will stop a Native Client application on "
2681 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
2682
2683const char kNaclName[] = "Native Client";
2684const char kNaclDescription[] =
2685 "Support Native Client for all web applications, even those that were not "
2686 "installed from the Chrome Web Store.";
2687
2688const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
2689const char kPnaclSubzeroDescription[] =
2690 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
2691
Nico Weberaf3b00b2017-09-11 17:58:172692#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282693
Brett Wilson7b44537e2017-08-18 01:38:282694#if BUILDFLAG(ENABLE_WEBRTC)
2695
2696const char kWebrtcH264WithOpenh264FfmpegName[] =
2697 "WebRTC H.264 software video encoder/decoder";
2698const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2699 "When enabled, an H.264 software video encoder/decoder pair is included. "
2700 "If a hardware encoder/decoder is also available it may be used instead of "
2701 "this encoder/decoder.";
2702
2703#endif // BUILDFLAG(ENABLE_WEBRTC)
2704
2705#if defined(USE_ASH)
2706
2707const char kAshDisableSmoothScreenRotationName[] =
2708 "Disable smooth rotation animations.";
2709const char kAshDisableSmoothScreenRotationDescription[] =
2710 "Disable smooth rotation animations.";
2711
2712const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2713const char kAshEnableMirroredScreenDescription[] =
2714 "Enable the mirrored screen mode. This mode flips the screen image "
2715 "horizontally.";
2716
2717const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2718const char kAshShelfColorDescription[] =
2719 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2720 "--ash-shelf-color-scheme flag defines how that color is derived.";
2721
2722const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2723const char kAshShelfColorSchemeDescription[] =
2724 "Specify how the color is derived from the wallpaper. This flag is only "
2725 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2726const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2727const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2728const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2729const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2730const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2731const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2732
Mike Wasserman2115b162017-09-19 23:42:372733const char kAshEnableShelfModelSynchronization[] =
2734 "Enable shelf model synchronization";
2735const char kAshEnableShelfModelSynchronizationDescription[] =
2736 "Synchronize separate Chrome OS shelf data model instances between Chrome "
2737 "and Ash. This only applies to the Classic Ash config; synchronization is "
2738 "required when running the Mash config via --mash.";
2739
Brett Wilson7b44537e2017-08-18 01:38:282740const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:372741 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:282742const char kMaterialDesignInkDropAnimationSpeedDescription[] =
2743 "Sets the speed of the experimental visual feedback animations for "
2744 "material design.";
2745const char kMaterialDesignInkDropAnimationFast[] = "Fast";
2746const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
2747
2748const char kUiShowCompositedLayerBordersName[] =
2749 "Show UI composited layer borders";
2750const char kUiShowCompositedLayerBordersDescription[] =
2751 "Show border around composited layers created by UI.";
2752const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
2753const char kUiShowCompositedLayerBordersSurface[] = "Surface";
2754const char kUiShowCompositedLayerBordersLayer[] = "Layer";
2755const char kUiShowCompositedLayerBordersAll[] = "All";
2756
2757const char kUiSlowAnimationsName[] = "Slow UI animations";
2758const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
2759
2760#endif // defined(USE_ASH)
2761
2762#if defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
2763
2764const char kShowCertLinkOnPageInfoName[] = "Show certificate link";
2765const char kShowCertLinkOnPageInfoDescription[] =
2766 "Add a link from the Page Info bubble to the certificate viewer for HTTPS "
2767 "sites.";
2768
2769#endif // defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
2770
2771#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2772
2773const char kAutofillCreditCardUploadName[] =
2774 "Enable offering upload of Autofilled credit cards";
2775const char kAutofillCreditCardUploadDescription[] =
2776 "Enables a new option to upload credit cards to Google Payments for sync "
2777 "to all Chrome devices.";
2778
2779#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2780
2781// ============================================================================
2782// Don't just add flags to the end, put them in the right section in
2783// alphabetical order just like the header file.
2784// ============================================================================
2785
vabr0215a8e2017-03-28 12:47:342786} // namespace flag_descriptions