blob: 92bab2ac7c4f1f2a50b17cebb8eaa62543dc77d2 [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
Shubhie Panicker48616c32017-10-26 21:46:2512const char kStopLoadingInBackgroundName[] = "Stop loading in background";
13const char kStopLoadingInBackgroundDescription[] =
14 "Stop loading tasks and loading "
15 "resources, in the background, after certain grace time.";
16
Brett Wilsonf27ff602017-07-07 22:28:4717const char kAccelerated2dCanvasName[] = "Accelerated 2D canvas";
18const char kAccelerated2dCanvasDescription[] =
19 "Enables the use of the GPU to perform 2d canvas rendering instead of "
20 "using software rendering.";
horodb71a5a2017-06-09 16:08:2421
Brett Wilsonf27ff602017-07-07 22:28:4722const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode";
23const char kAcceleratedVideoDecodeDescription[] =
24 "Hardware-accelerated video decode where available.";
25
26const char kAffiliationBasedMatchingName[] =
27 "Affiliation based matching in password manager";
28const char kAffiliationBasedMatchingDescription[] =
29 "Allow credentials stored for Android applications to be filled into "
30 "corresponding websites.";
31
32const char kAllowInsecureLocalhostName[] =
33 "Allow invalid certificates for resources loaded from localhost.";
34const char kAllowInsecureLocalhostDescription[] =
35 "Allows requests to localhost over HTTPS even when an invalid certificate "
36 "is presented.";
37
38const char kAllowNaclSocketApiName[] = "NaCl Socket API.";
39const char kAllowNaclSocketApiDescription[] =
40 "Allows applications to use NaCl Socket API. Use only to test NaCl "
41 "plugins.";
42
43const char kAppBannersName[] = "App Banners";
44const char kAppBannersDescription[] =
45 "Enable the display of Progressive Web App banners, which prompt a user to "
46 "add a web app to their shelf, or other platform-specific equivalent.";
47
Khushalba202212017-07-12 19:53:4948const char kAsyncImageDecodingName[] = "AsyncImageDecoding";
49const char kAsyncImageDecodingDescription[] =
50 "Enables asynchronous decoding of images from raster for web content";
51
Brett Wilsonf27ff602017-07-07 22:28:4752const char kAutoplayPolicyName[] = "Autoplay policy";
53const char kAutoplayPolicyDescription[] =
54 "Policy used when deciding if audio or video is allowed to autoplay.";
55
56const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
57 "User gesture is required for cross-origin iframes.";
58const char kAutoplayPolicyNoUserGestureRequired[] =
59 "No user gesture is required.";
60const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
61const char kAutoplayPolicyDocumentUserActivation[] =
62 "Document user activation is required.";
63
64const char kBackgroundVideoTrackOptimizationName[] =
65 "Optimize background video playback.";
66const char kBackgroundVideoTrackOptimizationDescription[] =
67 "Disable video tracks when the video is played in the background to "
68 "optimize performance.";
69
70const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
71const char kBleAdvertisingInExtensionsDescription[] =
72 "Enables BLE Advertising in Chrome Apps. BLE Advertising might interfere "
73 "with regular use of Bluetooth Low Energy features.";
74
Charles Harrisond629cc62017-10-05 01:39:5475const char kBlockTabUndersName[] = "Block tab-unders";
76const char kBlockTabUndersDescription[] =
77 "Blocks tab-unders in Chrome with some native UI to allow the user to "
78 "proceed.";
79
Brett Wilsonf27ff602017-07-07 22:28:4780const char kBrowserSideNavigationName[] = "Enable browser side navigation";
horodb71a5a2017-06-09 16:08:2481const char kBrowserSideNavigationDescription[] =
horo3beccfb2017-06-19 14:47:0182 "Enable browser side navigation (aka PlzNavigate).";
horodb71a5a2017-06-09 16:08:2483
Brett Wilsonf27ff602017-07-07 22:28:4784const char kBrowserTaskSchedulerName[] = "Task Scheduler";
85const char kBrowserTaskSchedulerDescription[] =
86 "Enables redirection of some task posting APIs to the task scheduler.";
87
88const char kBypassAppBannerEngagementChecksName[] =
89 "Bypass user engagement checks";
90const char kBypassAppBannerEngagementChecksDescription[] =
91 "Bypasses user engagement checks for displaying app banners, such as "
92 "requiring that users have visited the site before and that the banner "
93 "hasn't been shown recently. This allows developers to test that other "
94 "eligibility requirements for showing app banners, such as having a "
95 "manifest, are met.";
96
Lucas Garronb9539b732017-10-31 00:22:0997const char kCommittedInterstitialsName[] = "Committed Interstitials";
98const char kCommittedInterstitialsDescription[] =
99 "Use committed error pages instead of transient navigation entries "
100 "for interstitial error pages (e.g. certificate errors).";
101
Marc Treib026acc532017-10-17 18:39:59102const char kCaptureThumbnailOnNavigatingAwayName[] =
103 "Capture page thumbnail on navigating away";
104const char kCaptureThumbnailOnNavigatingAwayDescription[] =
105 "Capture a page thumbnail (for use on the New Tab page) when navigating "
106 "away from the current page, in addition to other times a thumbnail may be "
107 "captured.";
108
Brett Wilsonf27ff602017-07-07 22:28:47109const char kCastStreamingHwEncodingName[] =
110 "Cast Streaming hardware video encoding";
111const char kCastStreamingHwEncodingDescription[] =
112 "This option enables support in Cast Streaming for encoding video streams "
113 "using platform hardware.";
114
Amber Won478561d2017-08-19 01:02:59115const char kClickToOpenPDFName[] = "Click to open embedded PDFs";
116const char kClickToOpenPDFDescription[] =
117 "When the PDF plugin is unavailable, show a click-to-open placeholder for "
118 "embedded PDFs.";
119
Brett Wilsonf27ff602017-07-07 22:28:47120const char kCloudImportName[] = "Cloud Import";
121const char kCloudImportDescription[] = "Allows the cloud-import feature.";
122
Christopher Cameronceb8727d2017-09-07 23:53:16123const char kForceColorProfileSRGB[] = "sRGB";
124const char kForceColorProfileP3[] = "Display P3 D65";
125const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";
126const char kForceColorProfileHdr[] = "scRGB linear (HDR where available)";
127
128const char kForceColorProfileName[] = "Force color profile";
129const char kForceColorProfileDescription[] =
130 "Forces Chrome to use a specific color profile instead of the color "
131 "of the window's current monitor, as specified by the operating system.";
132
Brett Wilsonf27ff602017-07-07 22:28:47133const char kCompositedLayerBordersName[] = "Composited render layer borders";
134const char kCompositedLayerBordersDescription[] =
135 "Renders a border around composited Render Layers to help debug and study "
136 "layer compositing.";
137
138const char kContextualSuggestionsCarouselName[] =
139 "Enable Contextual Suggestions";
140const char kContextualSuggestionsCarouselDescription[] =
141 "If enabled, shows contextual suggestions in a horizontal carousel in "
142 "bottom sheet content.";
143
144const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
145const char kCreditCardAssistDescription[] =
146 "Enable assisted credit card filling on certain sites.";
147
148const char kCrossProcessGuestViewIsolationName[] =
149 "Cross process frames for guests";
150const char kCrossProcessGuestViewIsolationDescription[] =
151 "Highly experimental where guests such as <webview> are implemented on "
152 "the out-of-process iframe infrastructure.";
153
Brett Wilsonf27ff602017-07-07 22:28:47154const char kDataReductionProxyLoFiName[] = "Data Saver Lo-Fi mode";
155const char kDataReductionProxyLoFiDescription[] =
156 "Forces Data Saver Lo-Fi mode to be always enabled, enabled only on "
157 "cellular connections, or disabled. Data Saver must be enabled for Lo-Fi "
158 "mode to be used.";
159const char kDataReductionProxyLoFiAlwaysOn[] = "Always on";
160const char kDataReductionProxyLoFiCellularOnly[] = "Cellular only";
161const char kDataReductionProxyLoFiDisabled[] = "Disable";
162const char kDataReductionProxyLoFiSlowConnectionsOnly[] =
163 "Slow connections only";
164
165const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
166const char kDatasaverPromptDescription[] =
167 "Enables a prompt, which appears when a cellular network connection is "
168 "detected, to take the user to the Data Saver extension page on Chrome Web "
169 "Store.";
170const char kDatasaverPromptDemoMode[] = "Demo mode";
171
172const char kDebugPackedAppName[] = "Debugging for packed apps";
173const char kDebugPackedAppDescription[] =
174 "Enables debugging context menu options such as Inspect Element for packed "
175 "applications.";
176
177const char kDefaultTileHeightName[] = "Default tile height";
178const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
179const char kDefaultTileHeightShort[] = "128";
180const char kDefaultTileHeightTall[] = "256";
181const char kDefaultTileHeightGrande[] = "512";
182const char kDefaultTileHeightVenti[] = "1024";
183
184const char kDefaultTileWidthName[] = "Default tile width";
185const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
186const char kDefaultTileWidthShort[] = "128";
187const char kDefaultTileWidthTall[] = "256";
188const char kDefaultTileWidthGrande[] = "512";
189const char kDefaultTileWidthVenti[] = "1024";
190
191const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
192const char kDebugShortcutsDescription[] =
193 "Enables additional keyboard shortcuts that are useful for debugging Ash.";
194
195const char kDeviceDiscoveryNotificationsName[] =
196 "Device Discovery Notifications";
197const char kDeviceDiscoveryNotificationsDescription[] =
198 "Device discovery notifications on local network.";
199
200const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
201const char kDevtoolsExperimentsDescription[] =
202 "Enables Developer Tools experiments. Use Settings panel in Developer "
203 "Tools to toggle individual experiments.";
204
205const char kDisableAudioForDesktopShareName[] =
206 "Disable Audio For Desktop Share";
207const char kDisableAudioForDesktopShareDescription[] =
208 "With this flag on, desktop share picker window will not let the user "
209 "choose whether to share audio.";
210
Brett Wilsonf27ff602017-07-07 22:28:47211const char kDisableTabForDesktopShareName[] =
212 "Disable Desktop Share with tab source";
213const char kDisableTabForDesktopShareDescription[] =
214 "This flag controls whether users can choose a tab for desktop share.";
215
216const char kDisallowDocWrittenScriptsUiName[] =
217 "Block scripts loaded via document.write";
218const char kDisallowDocWrittenScriptsUiDescription[] =
219 "Disallows fetches for third-party parser-blocking scripts inserted into "
220 "the main frame via document.write.";
221
222const char kDisplayList2dCanvasName[] = "Display list 2D canvas";
223const char kDisplayList2dCanvasDescription[] =
224 "Enables the use of display lists to record 2D canvas commands. This "
225 "allows 2D canvas rasterization to be performed on separate thread.";
226
227const char kDistanceFieldTextName[] = "Distance field text";
228const char kDistanceFieldTextDescription[] =
229 "Text is rendered with signed distance fields rather than bitmap alpha "
230 "masks.";
231
232const char kDriveSearchInChromeLauncherName[] =
233 "Drive Search in Chrome App Launcher";
234const char kDriveSearchInChromeLauncherDescription[] =
235 "Files from Drive will show up when searching the Chrome App Launcher.";
236
237const char kDropSyncCredentialName[] =
238 "Drop sync credentials from password manager";
239const char kDropSyncCredentialDescription[] =
240 "The password manager will not offer to save the credential used to sync.";
241
242const char kEasyUnlockBluetoothLowEnergyDiscoveryName[] =
243 "Smart Lock Bluetooth Low Energy Discovery";
244const char kEasyUnlockBluetoothLowEnergyDiscoveryDescription[] =
Tim Song52c142c62017-07-20 03:29:07245 "Disables a Smart Lock setting that allows Chromebook to discover phones "
Brett Wilsonf27ff602017-07-07 22:28:47246 "over Bluetooth Low Energy in order to unlock the Chromebook when the "
247 "phone is in its proximity.";
248
Gustavo Sacomotofb11164f2017-07-21 12:56:18249const char kEasyUnlockPromotionsName[] = "Smart Lock Promotions";
250const char kEasyUnlockPromotionsDescription[] =
251 "Enables Smart Lock promotions. Promotions will be periodically display "
252 "if the user is eligible.";
253
Brett Wilsonf27ff602017-07-07 22:28:47254const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
255const char kEmbeddedExtensionOptionsDescription[] =
256 "Display extension options as an embedded element in chrome://extensions "
257 "rather than opening a new tab.";
258
259const char kEnableAsmWasmName[] =
260 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
261const char kEnableAsmWasmDescription[] =
262 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
263 R"*(WebAssembly.)*";
264
Shanfeng Zhang19c16562017-10-17 02:30:40265const char kEnableAutofillCreditCardAblationExperimentDisplayName[] =
266 "Credit card autofill ablation experiment.";
267const char kEnableAutofillCreditCardAblationExperimentDescription[] =
268 "If enabled, credit card autofill suggestions will not display.";
269
Brett Wilsonf27ff602017-07-07 22:28:47270const char kEnableAutofillCreditCardBankNameDisplayName[] =
271 "Display the issuer bank name of a credit card in autofill.";
272const char kEnableAutofillCreditCardBankNameDisplayDescription[] =
273 "If enabled, displays the issuer bank name of a credit card in autofill.";
274
275const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
276 "Display the last used date of a credit card in autofill.";
277const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
278 "If enabled, display the last used date of a credit card in autofill.";
279
280const char kEnableAutofillCreditCardUploadCvcPromptName[] =
281 "Enable requesting missing CVC during Autofill credit card upload";
282const char kEnableAutofillCreditCardUploadCvcPromptDescription[] =
283 "If enabled, requests missing CVC when offering to upload credit cards to "
284 "Google Payments.";
285
Jared Saule4446d12017-08-15 20:01:13286const char kEnableAutofillCreditCardUploadGoogleLogoName[] =
287 "Show Google Logo for Autofill credit card upload";
288const char kEnableAutofillCreditCardUploadGoogleLogoDescription[] =
289 "If enabled, displays the Google logo in the save prompt when offering to "
290 "upload credit cards to Google Payments.";
291
jsaul19ef81c2017-08-09 18:53:40292const char kEnableAutofillCreditCardUploadNewUiName[] =
293 "Enable updated UI for Autofill credit card upload";
294const char kEnableAutofillCreditCardUploadNewUiDescription[] =
295 "If enabled, displays a new save card bubble/infobar design when offering "
296 "to upload credit cards to Google Payments.";
297
Jason Guo71f621e2017-10-13 04:18:53298const char kEnableAutofillSendBillingCustomerNumberName[] =
299 "Enable autofill sending billing customer number when calling Google "
300 "Payments";
301const char kEnableAutofillSendBillingCustomerNumberDescription[] =
302 "If enabled, autofill sends billing customer number when calling Google "
303 "Payments.";
304
Mathieu Perreault069024e12017-10-24 01:14:08305const char kEnableAutofillToolkitViewsCreditCardDialogsMac[] =
306 "Enable toolkit-views credit card dialogs on Mac";
307const char kEnableAutofillToolkitViewsCreditCardDialogsMacDescription[] =
308 "Enable more modern credit card dialogs on Mac, based on toolkit-views.";
309
Vitalii Iarko4f9834ce2017-08-04 07:05:19310const char kEnableBreakingNewsPushName[] = "Breaking News Push";
311const char kEnableBreakingNewsPushDescription[] =
312 "Listen for breaking news content suggestions (e.g. for New Tab Page) "
313 "through Google Cloud Messaging.";
314
Brett Wilsonf27ff602017-07-07 22:28:47315const char kEnableBrotliName[] = "Brotli Content-Encoding.";
316const char kEnableBrotliDescription[] =
317 "Enable Brotli Content-Encoding support.";
318
319const char kEnableClearBrowsingDataCountersName[] =
320 "Enable Clear browsing data counters.";
321const char kEnableClearBrowsingDataCountersDescription[] =
322 "Shows data volume counters in the Clear browsing data dialog.";
323
sclittle50e4bb92017-07-08 02:23:03324const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
325
326const char kEnableClientLoFiDescription[] =
327 "Enable showing low fidelity images on some pages on slow networks.";
328
Doug Arnett08b4067b2017-10-12 20:14:44329const char kEnableNoScriptPreviewsName[] = "NoScript previews";
330
331const char kEnableNoScriptPreviewsDescription[] =
332 "Enable disabling JavaScript on some pages on slow networks.";
333
Brett Wilsonf27ff602017-07-07 22:28:47334const char kEnableDataReductionProxyLitePageName[] =
335 "Lite pages for Data Saver Lo-Fi mode";
336const char kEnableDataReductionProxyLitePageDescription[] =
337 "Enable lite pages in Data Saver Lo-Fi mode. Previews of pages will be "
338 "shown instead of image placeholders when Lo-Fi is on. Data Saver and "
339 "Lo-Fi must be enabled for lite pages to be shown.";
340
341const char kDataReductionProxyServerAlternative[] =
342 "Use alternative server configuration";
343const char kEnableDataReductionProxyServerExperimentName[] =
344 "Use an alternative Data Saver back end configuration.";
345const char kEnableDataReductionProxyServerExperimentDescription[] =
346 "Enable a different approach to saving data by configuring the back end "
347 "server";
348
349const char kEnableDataReductionProxySavingsPromoName[] =
350 "Data Saver 1 MB Savings Promo";
351const char kEnableDataReductionProxySavingsPromoDescription[] =
352 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has already "
353 "saved 1 MB of data, then the promo will not be shown. Data Saver must be "
354 "enabled for the promo to be shown.";
355
Giovanni Ortuño Urquidi45020e232017-07-12 06:10:17356const char kEnableDesktopPWAWindowingName[] =
357 "Windowing related features for desktop PWAs.";
358const char kEnableDesktopPWAWindowingDescription[] =
359 "Enable experimental windowing features for desktop PWAs.";
360
Brett Wilsonf27ff602017-07-07 22:28:47361const char kEnableEnumeratingAudioDevicesName[] =
362 "Experimentally enable enumerating audio devices.";
363const char kEnableEnumeratingAudioDevicesDescription[] =
364 "Experimentally enable the use of enumerating audio devices.";
365
366const char kEnableGenericSensorName[] = "Generic Sensor";
367const char kEnableGenericSensorDescription[] =
Mikhail Pozdnyakov73373a62017-08-24 17:31:25368 "Enables motion sensor classes based on Generic Sensor API, i.e. "
369 "Accelerometer, LinearAccelerationSensor, Gyroscope, "
370 "AbsoluteOrientationSensor and RelativeOrientationSensor interfaces.";
371
372const char kEnableGenericSensorExtraClassesName[] =
373 "Generic Sensor Extra Classes";
374const char kEnableGenericSensorExtraClassesDescription[] =
375 "Enables an extra set of sensor classes based on Generic Sensor API, which "
376 "expose previously unavailable platform features, i.e. AmbientLightSensor "
377 "and Magnetometer interfaces.";
Brett Wilsonf27ff602017-07-07 22:28:47378
Brett Wilsonf27ff602017-07-07 22:28:47379const char kEnableHDRName[] = "HDR mode";
380const char kEnableHDRDescription[] =
381 "Enables HDR support on compatible displays.";
382
383const char kEnableHeapProfilingName[] = "Heap profiling";
384const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
385const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
386const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
387const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
388
389const char kEnableHttpFormWarningName[] =
390 "Show in-form warnings for sensitive fields when the top-level page is not "
Eric Lawrenceed8fccf2017-09-08 21:27:15391 "HTTPS";
Brett Wilsonf27ff602017-07-07 22:28:47392const char kEnableHttpFormWarningDescription[] =
393 "Attaches a warning UI to any password or credit card fields detected when "
394 "the top-level page is not HTTPS";
395
Sidney San Martín9375b892017-09-09 00:29:54396const char kEnableMacMaterialDesignDownloadShelfName[] =
397 "Enable Material Design download shelf";
398
399const char kEnableMacMaterialDesignDownloadShelfDescription[] =
400 "If enabled, the download shelf uses Material Design.";
401
Tatiana Gornakafb40452017-07-31 13:50:04402const char kEnableManualFallbacksFillingName[] =
403 "Manual fallbacks for password manager forms filling";
404const char kEnableManualFallbacksFillingDescription[] =
405 "If enabled, then if user clicks on the password field on a form, popup "
406 "might contain generation fallbacks or 'Show all saved passwords' "
407 "fallback.";
408
vabr0215a8e2017-03-28 12:47:34409const char kEnableMaterialDesignBookmarksName[] =
410 "Enable Material Design bookmarks";
vabr0215a8e2017-03-28 12:47:34411const char kEnableMaterialDesignBookmarksDescription[] =
412 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
413 "bookmarks page.";
414
vabr0215a8e2017-03-28 12:47:34415const char kEnableMaterialDesignExtensionsName[] =
416 "Enable Material Design extensions";
vabr0215a8e2017-03-28 12:47:34417const char kEnableMaterialDesignExtensionsDescription[] =
418 "If enabled, the chrome://extensions/ URL loads the Material Design "
419 "extensions page.";
420
Anton Urusov47cd4932017-09-19 14:41:41421const char kEnablePolicyToolName[] = "Enable policy management page";
422const char kEnablePolicyToolDescription[] =
423 "If enabled, the chrome://policy-tool URL loads a page for managing "
424 "policies.";
425
Brett Wilsonf27ff602017-07-07 22:28:47426const char kEnableMidiManagerDynamicInstantiationName[] =
427 "MIDIManager dynamic instantiation for Web MIDI.";
428const char kEnableMidiManagerDynamicInstantiationDescription[] =
429 "Enable MIDIManager dynamic instantiation for Web MIDI.";
430
431const char kEnableNavigationTracingName[] = "Enable navigation tracing";
432const char kEnableNavigationTracingDescription[] =
433 "This is to be used in conjunction with the trace-upload-url flag. "
434 "WARNING: When enabled, Chrome will record performance data for every "
435 "navigation and upload it to the URL specified by the trace-upload-url "
436 "flag. The trace may include personally identifiable information (PII) "
437 "such as the titles and URLs of websites you visit.";
438
439const char kEnableNetworkServiceName[] = "Enable network service";
440const char kEnableNetworkServiceDescription[] =
441 "Enables the network service, which makes network requests through a "
442 "separate service. Note: most features don't work with this yet.";
443
dpapaded8349472017-10-25 03:21:27444const char kEnableNewPrintPreview[] = "Enable new Print Preview UI";
445const char kEnableNewPrintPreviewDescription[] =
446 "If enabled, Print Preview will display a newer UI";
447
Ahmed Fakhry2fd8fc82017-07-28 16:31:12448const char kEnableNightLightName[] = "Enable Night Light";
449const char kEnableNightLightDescription[] =
450 "Enable the Night Light feature which controls the color temperature of "
451 "the screen.";
452
Sophie Chang117a3b22017-10-24 22:25:36453const char kEnableOptimizationHintsName[] = "Optimization Hints";
454const char kEnableOptimizationHintsDescription[] =
455 "Enable the Optimization Hints feature which incorporates server hints"
456 "into decisions for what optimizations to perform on some pages on slow "
457 "networks.";
458
Yutaka Hirano98be3272017-08-07 17:55:39459const char kEnableOutOfBlinkCORSName[] = "Out of blink CORS";
460const char kEnableOutOfBlinkCORSDescription[] =
461 "CORS handling logic is moved out of blink.";
462
Erik Chen49bbfa22017-08-18 08:49:56463const char kEnableOutOfProcessHeapProfilingName[] =
464 "Out of process heap profiling.";
465const char kEnableOutOfProcessHeapProfilingDescription[] =
466 "Creates a profiling service that records stacktraces for all live, "
467 "malloced objects.";
erikchen1dff1812017-09-11 21:27:36468const char kEnableOutOfProcessHeapProfilingModeMinimal[] =
469 "Profile only the browser and GPU processes.";
Erik Chen49bbfa22017-08-18 08:49:56470const char kEnableOutOfProcessHeapProfilingModeAll[] = "Profile all processes.";
471
Brett Wilsonf27ff602017-07-07 22:28:47472const char kEnablePictureInPictureName[] = "Enable picture in picture.";
473const char kEnablePictureInPictureDescription[] =
474 "Enable the picture in picture feature for videos.";
475
F#m59d036e2017-09-13 07:22:17476const char kEnablePixelCanvasRecordingName[] = "Enable pixel canvas recording";
477const char kEnablePixelCanvasRecordingDescription[] =
478 "Pixel canvas recording allows the compositor to raster contents aligned "
479 "with the pixel and improves text rendering. This should be enabled when a "
480 "device is using fractional scale factor.";
481
Brett Wilsonf27ff602017-07-07 22:28:47482const char kEnableTokenBindingName[] = "Token Binding.";
483const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
484
Irmak Kavasoglu7e16af02017-07-19 09:52:47485const char kEnableUsernameCorrectionName[] = "Enable username correction";
486const char kEnableUsernameCorrectionDescription[] =
487 "While on the pending password state, add an edit button to the bubble so "
488 "that user can edit the username.";
489
Brett Wilsonf27ff602017-07-07 22:28:47490const char kEnableUseZoomForDsfName[] =
491 "Use Blink's zoom for device scale factor.";
492const char kEnableUseZoomForDsfDescription[] =
493 "If enabled, Blink uses its zooming mechanism to scale content for device "
494 "scale factor.";
495const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
496const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
497const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
498
499const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
500const char kEnableScrollAnchoringDescription[] =
501 "Adjusts scroll position to prevent visible jumps when offscreen content "
502 "changes.";
503
Brett Wilsonf27ff602017-07-07 22:28:47504const char kEnableWasmName[] = "WebAssembly structured cloning support.";
505const char kEnableWasmDescription[] =
506 "Enable web pages to use WebAssembly structured cloning.";
507
Brett Wilsonf27ff602017-07-07 22:28:47508const char kEnableImageCaptureAPIName[] = "Image Capture API";
509const char kEnableImageCaptureAPIDescription[] =
510 "Enables the Web Platform Image Capture API: takePhoto(), "
511 "getPhotoCapabilities(), etc.";
512
513const char kEnableZeroSuggestRedirectToChromeName[] =
514 "Experimental contextual omnibox suggestion";
515const char kEnableZeroSuggestRedirectToChromeDescription[] =
516 "Change omnibox contextual suggestions to an experimental source. Note "
517 "that this is not an on/off switch for contextual omnibox and it only "
518 "applies to suggestions provided before the user starts typing a URL or a "
519 "search query (i.e. zero suggest).";
520
521const char kEnableWasmStreamingName[] =
522 "WebAssembly streaming compile/instantiate support.";
523const char kEnableWasmStreamingDescription[] =
524 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
525
Brett Wilsonf27ff602017-07-07 22:28:47526const char kExpensiveBackgroundTimerThrottlingName[] =
527 "Throttle expensive background timers";
528const char kExpensiveBackgroundTimerThrottlingDescription[] =
529 "Enables intervention to limit CPU usage of background timers to 1%.";
530
531const char kExperimentalAppBannersName[] = "Experimental app banners";
532const char kExperimentalAppBannersDescription[] =
533 "Enables a new experimental app banner flow and UI";
534
535const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
536const char kExperimentalCanvasFeaturesDescription[] =
537 "Enables the use of experimental canvas features which are still in "
538 "development.";
539
540const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
541const char kExperimentalExtensionApisDescription[] =
542 "Enables experimental extension APIs. Note that the extension gallery "
543 "doesn't allow you to upload extensions that use experimental APIs.";
544
545const char kExperimentalFullscreenExitUIName[] =
546 "Experimental fullscreen exit UI";
547const char kExperimentalFullscreenExitUIDescription[] =
548 "Displays experimental UI to allow mouse and touch input methods to exit "
549 "fullscreen mode.";
550
551const char kExperimentalHotwordHardwareName[] =
552 "Simulated hardware 'Ok Google' features";
553const char kExperimentalHotwordHardwareDescription[] =
554 "Enables an experimental version of 'Ok Google' hotword detection features "
555 "that have a hardware dependency.";
556
557const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
558const char kExperimentalKeyboardLockUiDescription[] =
559 "An experimental full screen with keyboard lock mode requiring users to "
560 "hold Esc to exit.";
561
562const char kExperimentalSecurityFeaturesName[] =
563 "Potentially annoying security features";
564const char kExperimentalSecurityFeaturesDescription[] =
565 "Enables several security features that will likely break one or more "
566 "pages that you visit on a daily basis. Strict mixed content checking, for "
567 "example. And locking powerful features to secure contexts. This flag will "
568 "probably annoy you.";
569
Ian Vollick3a0cffc2017-10-13 04:42:11570const char kExperimentalVRFeaturesName[] = "Experimental VR features";
571const char kExperimentalVRFeaturesDescription[] =
572 "Enables VR browsing features that are under development.";
573
Brett Wilsonf27ff602017-07-07 22:28:47574const char kExperimentalWebPlatformFeaturesName[] =
575 "Experimental Web Platform features";
576const char kExperimentalWebPlatformFeaturesDescription[] =
577 "Enables experimental Web Platform features that are in development.";
578
579const char kExtensionContentVerificationName[] =
580 "Extension Content Verification";
581const char kExtensionContentVerificationDescription[] =
582 "This flag can be used to turn on verification that the contents of the "
583 "files on disk for extensions from the webstore match what they're "
584 "expected to be. This can be used to turn on this feature if it would not "
585 "otherwise have been turned on, but cannot be used to turn it off (because "
586 "this setting can be tampered with by malware).";
587const char kExtensionContentVerificationBootstrap[] =
588 "Bootstrap (get expected hashes, but do not enforce them)";
589const char kExtensionContentVerificationEnforce[] =
590 "Enforce (try to get hashes, and enforce them if successful)";
591const char kExtensionContentVerificationEnforceStrict[] =
592 "Enforce strict (hard fail if we can't get hashes)";
593
594const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
595const char kExtensionsOnChromeUrlsDescription[] =
596 "Enables running extensions on chrome:// URLs, where extensions explicitly "
597 "request this permission.";
galinapae72e152017-05-12 13:12:28598
Brett Wilsonecb80982017-07-12 20:34:51599const char kFastUnloadName[] = "Fast tab/window close";
600const char kFastUnloadDescription[] =
601 "Enables fast tab/window closing - runs a tab's onunload js handler "
602 "independently of the GUI.";
vabr0215a8e2017-03-28 12:47:34603
Brett Wilsonecb80982017-07-12 20:34:51604const char kFeaturePolicyName[] = "Feature Policy";
605const char kFeaturePolicyDescription[] =
606 "Enables granting and removing access to features through the "
607 "Feature-Policy HTTP header.";
vabr0215a8e2017-03-28 12:47:34608
Brett Wilsonecb80982017-07-12 20:34:51609const char kFetchKeepaliveTimeoutSettingName[] =
610 "Fetch API keepalive timeout setting";
611const char kFetchKeepaliveTimeoutSettingDescription[] =
612 "This is for setting the timeout value for Fetch API with keepalive option "
613 "and SendBeacon";
614
615const char kFontCacheScalingName[] = "FontCache scaling";
616const char kFontCacheScalingDescription[] =
617 "Reuse a cached font in the renderer to serve different sizes of font for "
618 "faster layout.";
619
620const char kForceEffectiveConnectionTypeName[] =
621 "Override effective connection type";
622const char kForceEffectiveConnectionTypeDescription[] =
623 "Overrides the effective connection type of the current connection "
624 "returned by the network quality estimator.";
625const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
626const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
627const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
628const char kEffectiveConnectionType2GDescription[] = "2G";
629const char kEffectiveConnectionType3GDescription[] = "3G";
630const char kEffectiveConnectionType4GDescription[] = "4G";
631
632const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
633const char kFillOnAccountSelectDescription[] =
634 "Filling of passwords when an account is explicitly selected by the user "
635 "rather than autofilling credentials on page load.";
636
Brett Wilsonecb80982017-07-12 20:34:51637const char kForceTextDirectionName[] = "Force text direction";
638const char kForceTextDirectionDescription[] =
639 "Explicitly force the per-character directionality of UI text to "
640 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the default "
641 "direction of the character language.";
642const char kForceDirectionLtr[] = "Left-to-right";
643const char kForceDirectionRtl[] = "Right-to-left";
644
645const char kForceUiDirectionName[] = "Force UI direction";
646const char kForceUiDirectionDescription[] =
647 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
648 "mode, overriding the default direction of the UI language.";
649
650const char kFramebustingName[] =
651 "Framebusting requires same-origin or a user gesture";
652const char kFramebustingDescription[] =
653 "Don't permit an iframe to navigate the top level browsing context unless "
654 "they are same-origin or the iframe is processing a user gesture.";
655
656const char kGamepadExtensionsName[] = "Gamepad Extensions";
657const char kGamepadExtensionsDescription[] =
658 "Enabling this option allows web applications to access experimental "
659 "extensions to the Gamepad APIs.";
660
sohan3f00ffc2017-07-14 22:28:08661const char kGlCompositedOverlayCandidateQuadBordersName[] =
662 "GL composited overlay candidate quad borders";
663const char kGlCompositedOverlayCandidateQuadBordersDescription[] =
Alex Newcomer43cb7f12017-07-28 17:37:39664 "Renders a border around GL composited overlay candidate quads to help "
665 "debug and study overlay support.";
Brett Wilsonecb80982017-07-12 20:34:51666
667const char kGpuRasterizationMsaaSampleCountName[] =
668 "GPU rasterization MSAA sample count.";
669const char kGpuRasterizationMsaaSampleCountDescription[] =
670 "Specify the number of MSAA samples for GPU rasterization.";
671const char kGpuRasterizationMsaaSampleCountZero[] = "0";
672const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
673const char kGpuRasterizationMsaaSampleCountFour[] = "4";
674const char kGpuRasterizationMsaaSampleCountEight[] = "8";
675const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
676
677const char kGpuRasterizationName[] = "GPU rasterization";
678const char kGpuRasterizationDescription[] =
679 "Use GPU to rasterize web content. Requires impl-side painting.";
Brett Wilson7b44537e2017-08-18 01:38:28680const char kForceGpuRasterization[] = "Force-enabled for all layers";
Brett Wilsonecb80982017-07-12 20:34:51681
682const char kGoogleProfileInfoName[] = "Google profile name and icon";
683const char kGoogleProfileInfoDescription[] =
684 "Enables using Google information to populate the profile name and icon in "
685 "the avatar menu.";
686
687const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
688const char kHarfbuzzRendertextDescription[] =
689 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't affect "
690 "web content.";
691
692const char kHistoryRequiresUserGestureName[] =
693 "New history entries require a user gesture.";
694const char kHistoryRequiresUserGestureDescription[] =
695 "Require a user gesture to add a history entry.";
696const char kHyperlinkAuditingName[] = "Hyperlink auditing";
697const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
698
699const char kHostedAppQuitNotificationName[] =
700 "Quit notification for hosted apps";
701const char kHostedAppQuitNotificationDescription[] =
702 "Display a notification when quitting Chrome if hosted apps are currently "
703 "running.";
704
705const char kHostedAppShimCreationName[] =
706 "Creation of app shims for hosted apps on Mac";
707const char kHostedAppShimCreationDescription[] =
708 "Create app shims on Mac when creating a hosted app.";
709
Ana-Cosmina Popescuda3bcbe2017-09-22 18:24:48710const char kHtmlBasedUsernameDetectorName[] = "HTML-based username detector";
711const char kHtmlBasedUsernameDetectorDescription[] =
712 "Use HTML-based username detector for the password manager.";
713
Brett Wilsonecb80982017-07-12 20:34:51714const char kIconNtpName[] = "Large icons on the New Tab page";
715const char kIconNtpDescription[] =
716 "Enable the experimental New Tab page using large icons.";
717
718const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
719const char kIgnoreGpuBlacklistDescription[] =
720 "Overrides the built-in software rendering list and enables "
721 "GPU-acceleration on unsupported system configurations.";
722
723const char kImportantSitesInCbdName[] =
724 "Important sites options in clear browsing data dialog";
725const char kImportantSitesInCbdDescription[] =
726 "Include the option to whitelist important sites in the clear browsing "
727 "data dialog.";
728
Brett Wilsonecb80982017-07-12 20:34:51729const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
730const char kInProductHelpDemoModeChoiceDescription[] =
731 "Selects the In-Product Help demo mode.";
732
733const char kJavascriptHarmonyName[] = "Experimental JavaScript";
734const char kJavascriptHarmonyDescription[] =
735 "Enable web pages to use experimental JavaScript features.";
736
737const char kJavascriptHarmonyShippingName[] =
738 "Latest stable JavaScript features";
739const char kJavascriptHarmonyShippingDescription[] =
740 "Some web pages use legacy or non-standard JavaScript extensions that may "
741 "conflict with the latest JavaScript features. This flag allows disabling "
742 "support of those features for compatibility with such pages.";
743
Yutaka Hiranof7f2f632017-09-06 10:40:08744const char kKeepAliveRendererForKeepaliveRequestsName[] =
745 "Keep a renderer alive for keepalive fetch requests";
746const char kKeepAliveRendererForKeepaliveRequestsDescription[] =
747 "Keep a render process alive when the process has a pending fetch request "
748 "with `keepalive' specified.";
749
Brett Wilsonecb80982017-07-12 20:34:51750const char kLcdTextName[] = "LCD text antialiasing";
751const char kLcdTextDescription[] =
752 "If disabled, text is rendered with grayscale antialiasing instead of LCD "
753 "(subpixel) when doing accelerated compositing.";
754
Matt Giucac399982f2017-10-06 07:51:29755const char kLeftToRightUrlsName[] =
756 "Render bidirectional URLs from left to right";
757const char kLeftToRightUrlsDescription[] =
758 "An experimental Bidi URL rendering algorithm where the URL components are "
759 "always shown in order from left to right, regardless of any RTL "
760 "characters. (The contents of each component are still rendered with the "
761 "normal Bidi algorithm.)";
762
Brett Wilsonecb80982017-07-12 20:34:51763const char kLoadMediaRouterComponentExtensionName[] =
764 "Load Media Router Component Extension";
765const char kLoadMediaRouterComponentExtensionDescription[] =
766 "Loads the Media Router component extension at startup.";
767
768const char kManualPasswordGenerationName[] = "Manual password generation.";
769const char kManualPasswordGenerationDescription[] =
770 "Show a 'Generate Password' option on the context menu for all password "
771 "fields.";
772
Dominic Battref27e8762017-08-23 11:16:25773const char kManualPasswordSavingName[] = "Manual password saving.";
774const char kManualPasswordSavingDescription[] =
775 "Show the password manager icon when typing into a password filed. "
776 "Clicking it allows to save the password without submitting the form.";
777
Brett Wilsonecb80982017-07-12 20:34:51778const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
779const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
780const char kMarkHttpAsDangerous[] = "Always mark HTTP as actively dangerous";
Brett Wilsonecb80982017-07-12 20:34:51781
Lei Zhang2eca9082017-10-17 20:42:50782const char kMaterialDesignIncognitoNTPName[] = "Material Design Incognito NTP.";
783const char kMaterialDesignIncognitoNTPDescription[] =
Brett Wilsonecb80982017-07-12 20:34:51784 "If enabled, the Incognito New Tab page uses the new material design with "
785 "a better readable text.";
786
787const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
788const char kMediaRemotingDescription[] =
789 "When Casting a tab to a remote device, enabling this turns on an "
790 "optimization that forwards the content bitstream directly to the remote "
791 "device when a video is fullscreened.";
792
793const char kMemoryAblationName[] = "Memory ablation experiment";
794const char kMemoryAblationDescription[] =
795 "Allocates extra memory in the browser process.";
796
797const char kMemoryCoordinatorName[] = "Memory coordinator";
798const char kMemoryCoordinatorDescription[] =
799 "Enable memory coordinator instead of memory pressure listeners.";
800
801const char kMessageCenterNewStyleNotificationName[] = "New style notification";
802const char kMessageCenterNewStyleNotificationDescription[] =
803 "Enables the experiment style of material-design notification";
804
Brett Wilsonecb80982017-07-12 20:34:51805const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
806const char kMhtmlGeneratorOptionDescription[] =
807 "Provides experimental options for MHTML file generator.";
808const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
809const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
810
811const char kMojoLoadingName[] = "Use Mojo IPC for resource loading";
812const char kMojoLoadingDescription[] =
813 "Use Mojo IPC instead of traditional Chrome IPC for resource loading.";
814
Miguel Casas-Sanchez10769c82017-07-27 23:52:04815const char kMojoVideoEncodeAcceleratorName[] =
816 "Hardware-accelerated video encoder accessed using Mojo IPC";
817const char kMojoVideoEncodeAcceleratorDescription[] =
818 "Use new Mojo IPC to access hardware-accelerated video encoder, where "
819 "available.";
820
Brett Wilsonecb80982017-07-12 20:34:51821const char kModuleScriptsName[] = "Enable ECMAScript 6 modules";
822const char kModuleScriptsDescription[] =
823 "Enables ECMAScript 6 modules support in Blink.";
824
Kouhei Ueno08445c22017-09-05 03:58:30825const char kModuleScriptsDynamicImportName[] =
826 "Enable ECMAScript 6 modules dynamic import";
827const char kModuleScriptsDynamicImportDescription[] =
828 "Enables ECMAScript 6 modules dynamic \"import\" syntax support in V8 and "
829 "Blink.";
830
Hiroshige Hayashizaki15c2eb92017-10-20 04:57:05831const char kModuleScriptsImportMetaUrlName[] =
832 "Enable ECMAScript 6 modules import.meta.url";
833const char kModuleScriptsImportMetaUrlDescription[] =
834 "Enables ECMAScript 6 modules import.meta.url syntax support in V8 and "
835 "Blink.";
836
Brett Wilsonecb80982017-07-12 20:34:51837const char kNewAudioRenderingMixingStrategyName[] =
838 "New audio rendering mixing strategy";
839const char kNewAudioRenderingMixingStrategyDescription[] =
840 "Use the new audio rendering mixing strategy.";
841
842const char kNewBookmarkAppsName[] = "The new bookmark app system";
843const char kNewBookmarkAppsDescription[] =
844 "Enables the new system for creating bookmark apps.";
845
846const char kNewOmniboxAnswerTypesName[] =
847 "New omnibox answers in suggest types";
848const char kNewOmniboxAnswerTypesDescription[] =
849 "Enables new types of answers in the omnibox suggest drop-down: currency "
850 "conversions, dictionary definitions, sports scores, translations, and "
851 "when is.";
852
853const char kNewRemotePlaybackPipelineName[] =
854 "Enable the new remote playback pipeline.";
855const char kNewRemotePlaybackPipelineDescription[] =
856 "Enable the new pipeline for playing media element remotely via "
857 "RemotePlayback API or native controls.";
858
859const char kNewUsbBackendName[] = "Enable new USB backend";
860const char kNewUsbBackendDescription[] =
861 "Enables the new experimental USB backend for Windows.";
vabr0215a8e2017-03-28 12:47:34862
brettw5f9c1642017-05-14 17:12:48863const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:34864const char kNostatePrefetchDescription[] =
865 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
866 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
867 R"*(improve load times even more. "Simple Load" does nothing and is )*"
868 R"*(similar to disabling the feature, but collects more metrics for )*"
869 R"*(comparison purposes.)*";
870
Brett Wilsonecb80982017-07-12 20:34:51871const char kNotificationsNativeFlagName[] = "Enable native notifications.";
872const char kNotificationsNativeFlagDescription[] =
873 "Enable support for using the native notification toasts and notification "
874 "center on platforms where these are available.";
vabr0215a8e2017-03-28 12:47:34875
Zentaro Kavanaghbad511c2017-10-18 22:29:00876#if defined(OS_POSIX)
877const char kNtlmV2EnabledName[] = "Enable NTLMv2 Authentication";
878const char kNtlmV2EnabledDescription[] =
879 "Enable NTLMv2 HTTP Authentication. This disables NTLMv1 support.";
880#endif
881
Brett Wilsonecb80982017-07-12 20:34:51882const char kNumRasterThreadsName[] = "Number of raster threads";
883const char kNumRasterThreadsDescription[] =
884 "Specify the number of raster threads.";
885const char kNumRasterThreadsOne[] = "1";
886const char kNumRasterThreadsTwo[] = "2";
887const char kNumRasterThreadsThree[] = "3";
888const char kNumRasterThreadsFour[] = "4";
889
890const char kOfferStoreUnmaskedWalletCardsName[] =
891 "Google Payments card saving checkbox";
892const char kOfferStoreUnmaskedWalletCardsDescription[] =
893 "Show the checkbox to offer local saving of a credit card downloaded from "
894 "the server.";
895
896const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
897const char kOfflineAutoReloadDescription[] =
898 "Pages that fail to load while the browser is offline will be "
899 "auto-reloaded when the browser is online again.";
900
901const char kOfflineAutoReloadVisibleOnlyName[] =
902 "Only Auto-Reload Visible Tabs";
903const char kOfflineAutoReloadVisibleOnlyDescription[] =
904 "Pages that fail to load while the browser is offline will only be "
905 "auto-reloaded if their tab is visible.";
906
907const char kOffMainThreadFetchName[] = "Off-main-thread fetch for Web Workers";
908const char kOffMainThreadFetchDescription[] =
909 "If enabled, the resource fetches from worker threads will not be blocked "
910 "by the busy main thread.";
911
912const char kOmniboxDisplayTitleForCurrentUrlName[] =
913 "Include title for the current URL in the omnibox";
914const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
915 "In the event that the omnibox provides suggestions on-focus, the URL of "
916 "the current page is provided as the first suggestion without a title. "
917 "Enabling this flag causes the title to be displayed.";
918
Benoit Lizeab08362c2017-07-19 14:50:54919const char kOmniboxSpareRendererName[] =
920 "Start spare renderer on omnibox focus";
921const char kOmniboxSpareRendererDescription[] =
922 "When the omnibox is focused, start an empty spare renderer. This can "
923 "speed up the load of the navigation from the omnibox.";
924
Tommy C. Li8875a442017-08-23 00:10:59925const char kOmniboxUIElideSuggestionUrlAfterHostName[] =
926 "Omnibox UI Elide Suggestion URL After Host";
927const char kOmniboxUIElideSuggestionUrlAfterHostDescription[] =
928 "Elides the path, query, and ref of suggested URLs in the Omnibox "
929 "dropdown.";
930
Brett Wilsonecb80982017-07-12 20:34:51931const char kOmniboxUIHideSuggestionUrlSchemeName[] =
932 "Omnibox UI Hide Suggestion URL Scheme";
933const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
934 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
935
936const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
937 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
938const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
939 "Elides trivially informative subdomains from suggested URLs in the "
940 "Omnibox dropdown (e.g. www. and m.).";
941
942const char kOmniboxUIMaxAutocompleteMatchesName[] =
943 "Omnibox UI Max Autocomplete Matches";
944
945const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
946 "Changes the maximum number of autocomplete matches displayed in the "
947 "Omnibox UI.";
948
949const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
950const char kOmniboxUINarrowDropdownDescription[] =
951 "Makes the suggestions dropdown width match the omnibox width.";
952
Justin Donnelly65c9e8b2017-10-01 05:15:01953const char kOmniboxUIShowSuggestionFaviconsName[] =
954 "Omnibox UI Show Suggestion Favicons";
955const char kOmniboxUIShowSuggestionFaviconsDescription[] =
956 "Shows favicons instead of generic vector icons for URL suggestions in the "
957 "Omnibox dropdown.";
958
959const char kOmniboxUISwapTitleAndUrlName[] = "Omnibox UI Swap Title and URL";
960const char kOmniboxUISwapTitleAndUrlDescription[] =
961 "In the omnibox dropdown, shows titles before URLs when both are "
962 "available.";
963
Brett Wilsonecb80982017-07-12 20:34:51964const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
965const char kOmniboxUIVerticalLayoutDescription[] =
966 "Displays Omnibox sugestions in 2 lines - title over origin.";
967
968const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
969const char kOmniboxUIVerticalMarginDescription[] =
970 "Changes the vertical margin in the Omnibox UI.";
971
972const char kOriginTrialsName[] = "Origin Trials";
973const char kOriginTrialsDescription[] =
974 "Enables origin trials for controlling access to feature/API experiments.";
975
Becca Hughes930d8cd2017-10-02 11:09:12976const char kOverflowIconsForMediaControlsName[] =
977 "Icons on Media Controls Overflow Menu";
978const char kOverflowIconsForMediaControlsDescription[] =
979 "Displays icons on the overflow menu of the native media controls";
980
Brett Wilsonecb80982017-07-12 20:34:51981const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
982const char kOverlayScrollbarsDescription[] =
983 "Enable the experimental overlay scrollbars implementation. You must also "
984 "enable threaded compositing to have the scrollbars animate.";
985
chaopenge8aa016b2017-08-24 15:20:19986const char kOverlayScrollbarsFlashAfterAnyScrollUpdateName[] =
987 "Flash Overlay Scrollbars After Any Scroll Update";
988const char kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription[] =
989 "Flash Overlay Scrollbars After any scroll update happends in page. You"
990 " must also enable Overlay Scrollbars.";
991
chaopeng343678022017-08-24 18:45:00992const char kOverlayScrollbarsFlashWhenMouseEnterName[] =
993 "Flash Overlay Scrollbars When Mouse Enter";
994const char kOverlayScrollbarsFlashWhenMouseEnterDescription[] =
995 "Flash Overlay Scrollbars When Mouse Enter a scrollable area. You must also"
996 " enable Overlay Scrollbars.";
997
Claudio Magni81326f92017-09-01 05:21:18998const char kUseNewAcceptLanguageHeaderName[] = "Use new Accept-Language header";
999const char kUseNewAcceptLanguageHeaderDescription[] =
1000 "Adds the base language code after other corresponding language+region "
1001 "codes. This ensures that users receive content in their preferred "
1002 "language.";
1003
Brett Wilsonecb80982017-07-12 20:34:511004const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
1005const char kOverscrollHistoryNavigationDescription[] =
1006 "Experimental history navigation in response to horizontal overscroll.";
1007const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
1008
1009const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
1010const char kOverscrollStartThresholdDescription[] =
1011 "Changes overscroll start threshold relative to the default value.";
1012const char kOverscrollStartThreshold133Percent[] = "133%";
1013const char kOverscrollStartThreshold166Percent[] = "166%";
1014const char kOverscrollStartThreshold200Percent[] = "200%";
1015
Xing Liu5400a002017-09-15 21:48:291016const char kParallelDownloadingName[] = "Parallel downloading";
1017const char kParallelDownloadingDescription[] =
1018 "Enable parallel downloading to"
1019 "accelerate download speed.";
1020
Brett Wilsonecb80982017-07-12 20:34:511021const char kPassiveEventListenerDefaultName[] =
1022 "Passive Event Listener Override";
1023const char kPassiveEventListenerDefaultDescription[] =
1024 "Forces touchstart, touchmove, mousewheel and wheel event listeners (which "
1025 "haven't requested otherwise) to be treated as passive. This will break "
1026 "touch/wheel behavior on some websites but is useful for demonstrating the "
1027 "potential performance benefits of adopting passive event listeners.";
1028const char kPassiveEventListenerTrue[] = "True (when unspecified)";
1029const char kPassiveEventListenerForceAllTrue[] = "Force All True";
1030
1031const char kPassiveEventListenersDueToFlingName[] =
1032 "Touch Event Listeners Passive Default During Fling";
1033const char kPassiveEventListenersDueToFlingDescription[] =
1034 "Forces touchstart, and first touchmove per scroll event listeners during "
1035 "fling to be treated as passive.";
1036
1037const char kPassiveDocumentEventListenersName[] =
1038 "Document Level Event Listeners Passive Default";
1039const char kPassiveDocumentEventListenersDescription[] =
1040 "Forces touchstart, and touchmove event listeners on document level "
1041 "targets (which haven't requested otherwise) to be treated as passive.";
1042
1043const char kPasswordForceSavingName[] = "Force-saving of passwords";
1044const char kPasswordForceSavingDescription[] =
1045 "Allow the user to manually enforce password saving instead of relying on "
1046 "password manager's heuristics.";
1047
1048const char kPasswordGenerationName[] = "Password generation";
1049const char kPasswordGenerationDescription[] =
1050 "Allow the user to have Chrome generate passwords when it detects account "
1051 "creation pages.";
1052
1053const char kPasswordImportExportName[] = "Password import and export";
1054const char kPasswordImportExportDescription[] =
1055 "Import and Export functionality in password settings.";
1056
Maxim Kolosovskiyd97b94612017-09-19 20:10:391057const char kPasswordSelectionName[] =
1058 "Password selection and eye icon in prompt";
1059const char kPasswordSelectionDescription[] =
1060 "Show a password selector and an eye icon in prompt";
1061
Brett Wilsonecb80982017-07-12 20:34:511062const char kPermissionActionReportingName[] = "Permission Action Reporting";
1063const char kPermissionActionReportingDescription[] =
1064 "Enables permission action reporting to Safe Browsing servers for opted in "
1065 "users.";
1066
1067const char kPermissionsBlacklistName[] = "Permissions Blacklist";
1068const char kPermissionsBlacklistDescription[] =
1069 "Enables the Permissions Blacklist, which blocks permissions for "
1070 "blacklisted sites for Safe Browsing users.";
1071
1072const char kPinchScaleName[] = "Pinch scale";
1073const char kPinchScaleDescription[] =
1074 "Enables experimental support for scale using pinch.";
1075
Brett Wilsonecb80982017-07-12 20:34:511076const char kPrintPdfAsImageName[] = "Print Pdf as Image";
1077const char kPrintPdfAsImageDescription[] =
1078 "If enabled, an option to print PDF files as images will be available in "
1079 "print preview.";
1080
1081const char kPrintPreviewRegisterPromosName[] =
1082 "Print Preview Registration Promos";
1083const char kPrintPreviewRegisterPromosDescription[] =
1084 "Enable registering unregistered cloud printers from print preview.";
1085
1086const char kProtectSyncCredentialName[] = "Autofill sync credential";
1087const char kProtectSyncCredentialDescription[] =
1088 "How the password manager handles autofill for the sync credential.";
1089
1090const char kProtectSyncCredentialOnReauthName[] =
1091 "Autofill sync credential only for transactional reauth pages";
1092const char kProtectSyncCredentialOnReauthDescription[] =
1093 "How the password manager handles autofill for the sync credential only "
1094 "for transactional reauth pages.";
1095
Mohsen Izadi93faac12017-07-29 04:45:151096const char kPullToRefreshName[] = "Pull-to-refresh gesture";
1097const char kPullToRefreshDescription[] =
1098 "Pull-to-refresh gesture in response to vertical overscroll.";
1099
Brett Wilsonecb80982017-07-12 20:34:511100const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1101const char kPushApiBackgroundModeDescription[] =
1102 "Enable background mode for the Push API. This allows Chrome to continue "
1103 "running after the last window is closed, and to launch at OS startup, if "
1104 "the Push API needs it.";
1105
Piotr Swigon46929d12017-08-11 07:16:331106const char kPwaMinimalUiName[] = "Minimal-UI display mode for PWAs";
1107const char kPwaMinimalUiDescription[] =
1108 "Enables support for Minimal-UI display mode for installed PWAs";
1109
Brett Wilsonecb80982017-07-12 20:34:511110const char kQuicName[] = "Experimental QUIC protocol";
1111const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
1112
1113const char kReducedReferrerGranularityName[] =
1114 "Reduce default 'referer' header granularity.";
1115const char kReducedReferrerGranularityDescription[] =
1116 "If a page hasn't set an explicit referrer policy, setting this flag will "
1117 "reduce the amount of information in the 'referer' header for cross-origin "
1118 "requests.";
1119
Mihai Sardarescu6d0f5b72017-10-30 11:24:381120const char kRemoveUsageOfDeprecatedGaiaSigninEndpointName[] =
1121 "Remove usage of the deprecated GAIA sign-in endpoint";
1122const char kRemoveUsageOfDeprecatedGaiaSigninEndpointDescription[] =
1123 "The Gaia sign-in endpoint used for full-tab sign-in page is deprecated. "
1124 "This flags controls wheter it should no longer be used during a sign-in "
1125 " flow.";
1126
Brett Wilsonecb80982017-07-12 20:34:511127const char kRequestTabletSiteName[] =
1128 "Request tablet site option in the settings menu";
1129const char kRequestTabletSiteDescription[] =
1130 "Allows the user to request tablet site. Web content is often optimized "
1131 "for tablet devices. When this option is selected the user agent string is "
1132 "changed to indicate a tablet device. Web content optimized for tablets is "
1133 "received there after for the current tab.";
1134
1135const char kResetAppListInstallStateName[] =
1136 "Reset the App Launcher install state on every restart.";
1137const char kResetAppListInstallStateDescription[] =
1138 "Reset the App Launcher install state on every restart. While this flag is "
1139 "set, Chrome will forget the launcher has been installed each time it "
1140 "starts. This is used for testing the App Launcher install flow.";
1141
1142const char kResourceLoadSchedulerName[] = "Use the resource load scheduler";
1143const char kResourceLoadSchedulerDescription[] =
1144 "Uses the resource load scheduler in blink to schedule and throttle "
1145 "resource load requests.";
1146
Brett Wilsonecb80982017-07-12 20:34:511147const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
1148const char kSafeSearchUrlReportingDescription[] =
1149 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
1150
1151const char kSaveasMenuLabelExperimentName[] =
1152 "Switch 'Save as' menu labels to 'Download'";
1153const char kSaveasMenuLabelExperimentDescription[] =
1154 "Enables an experiment to switch menu labels that use 'Save as...' to "
1155 "'Download'.";
1156
1157const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
1158const char kSavePageAsMhtmlDescription[] =
1159 "Enables saving pages as MHTML: a single text file containing HTML and all "
1160 "sub-resources.";
1161
Nate Chapin9638e7102017-09-20 22:11:011162const char kSavePreviousDocumentResourcesName[] =
1163 "Save Previous Document Resources";
1164const char kSavePreviousDocumentResourcesDescription[] =
1165 "Saves an old document's cached resources until the specified point in the "
1166 "next document's lifecycle.";
1167const char kSavePreviousDocumentResourcesNever[] =
1168 "Don't explicitly save resources";
1169const char kSavePreviousDocumentResourcesUntilOnDOMContentLoaded[] =
1170 "Save resources until onDOMContentLoaded completes";
1171const char kSavePreviousDocumentResourcesUntilOnLoad[] =
1172 "Save resources until onload completes";
1173
Brett Wilsonecb80982017-07-12 20:34:511174const char kScrollPredictionName[] = "Scroll prediction";
1175const char kScrollPredictionDescription[] =
1176 "Predicts the finger's future position during scrolls allowing time to "
1177 "render the frame before the finger is there.";
1178
1179const char kSecondaryUiMd[] =
1180 "Material Design in the rest of the browser's native UI";
1181const char kSecondaryUiMdDescription[] =
1182 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
1183 "etc.). On Mac, this enables MacViews, which uses toolkit-views for native "
1184 "browser dialogs.";
1185
1186const char kServiceWorkerNavigationPreloadName[] =
1187 "Service worker navigation preload.";
1188const char kServiceWorkerNavigationPreloadDescription[] =
1189 "Enable web pages to use the experimental service worker navigation "
1190 "preload API.";
1191
gogeraldd5061b592017-09-06 23:39:551192const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
1193const char kServiceWorkerPaymentAppsDescription[] =
1194 "Enable Service Worker applications to integrate as payment apps";
1195
Makoto Shimazud9f333c2017-08-08 07:23:171196const char kServiceWorkerScriptStreamingName[] =
1197 "Service worker script streaming.";
1198const char kServiceWorkerScriptStreamingDescription[] =
1199 "Installed scripts for a service worker are sent over a dedicated "
1200 "message pipe and data pipes, and that is never be blocked on the main "
1201 "thread.";
1202
Brett Wilsonecb80982017-07-12 20:34:511203const char kSettingsWindowName[] = "Show settings in a window";
1204const char kSettingsWindowDescription[] =
1205 "Settings will be shown in a dedicated window instead of as a browser tab.";
1206
Trent Apted750ba7022017-10-23 13:36:251207const char kShowAllDialogsWithViewsToolkitName[] =
1208 "Show all dialogs with Views toolkit";
1209const char kShowAllDialogsWithViewsToolkitDescription[] =
1210 "All browser dialogs will be shown using the Views toolkit rather than "
1211 "Cocoa. This requires <a href=\"#secondary-ui-md\">#secondary-ui-md</a>.";
1212
Brett Wilsonecb80982017-07-12 20:34:511213const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
1214const char kShowAutofillSignaturesDescription[] =
1215 "Annotates web forms with Autofill signatures as HTML attributes.";
1216
1217const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
1218const char kShowAutofillTypePredictionsDescription[] =
1219 "Annotates web forms with Autofill field type predictions as placeholder "
1220 "text.";
1221
1222const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
1223const char kShowOverdrawFeedbackDescription[] =
1224 "Visualize overdraw by color-coding elements based on if they have other "
1225 "elements drawn underneath.";
1226
yiyixbdfa9a0b2017-10-23 22:21:471227const char kEnableDrawOcclusionName[] = "Enable draw occlusion";
1228const char kEnableDrawOcclusionDescription[] =
1229 "Enable the system to use draw occlusion to skip draw quads when they are "
1230 "not shown on the screen.";
1231
Brett Wilsonecb80982017-07-12 20:34:511232const char kShowSavedCopyName[] = "Show Saved Copy Button";
1233const char kShowSavedCopyDescription[] =
1234 "When a page fails to load, if a stale copy of the page exists in the "
1235 "browser cache, a button will be presented to allow the user to load that "
1236 "stale copy. The primary enabling choice puts the button in the most "
1237 "salient position on the error page; the secondary enabling choice puts it "
1238 "secondary to the reload button.";
1239const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1240const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1241const char kDisableShowSavedCopy[] = "Disable";
1242
1243const char kShowTouchHudName[] = "Show HUD for touch points";
1244const char kShowTouchHudDescription[] =
1245 "Enables a heads-up display at the top-left corner of the screen that "
1246 "lists information about the touch-points on the screen.";
1247
1248const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
1249const char kSilentDebuggerExtensionApiDescription[] =
1250 "Do not show the infobar when an extension attaches to a page via "
1251 "chrome.debugger API. This is required to debug extension background "
1252 "pages.";
1253
1254const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1255const char kSimpleCacheBackendDescription[] =
1256 "The Simple Cache for HTTP is a new cache. It relies on the filesystem for "
1257 "disk space allocation.";
1258
1259const char kSimplifiedFullscreenUiName[] =
1260 "Simplified full screen / mouse lock UI.";
1261const char kSimplifiedFullscreenUiDescription[] =
1262 "A simplified new user experience when entering page-triggered full screen "
1263 "or mouse pointer lock states.";
1264
1265const char kSingleClickAutofillName[] = "Single-click autofill";
1266const char kSingleClickAutofillDescription[] =
1267 "Make autofill suggestions on initial mouse click on a form element.";
1268
1269const char kSiteDetails[] = "Site Details";
1270const char kSiteDetailsDescription[] =
1271 "Adds UI in MD Settings to view all content settings for a specific "
1272 "origin.";
1273
1274const char kSitePerProcessName[] = "Strict site isolation";
1275const char kSitePerProcessDescription[] =
1276 "Highly experimental security mode that ensures each renderer process "
1277 "contains pages from at most one site. In this mode, out-of-process "
1278 "iframes will be used whenever an iframe is cross-site.";
1279
1280const char kSiteSettings[] = "Site settings with All sites and Site details";
1281const char kSiteSettingsDescription[] =
1282 "Adds new ways of viewing Site settings.";
1283
1284const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
1285const char kSlimmingPaintInvalidationDescription[] =
1286 "Whether to enable a new paint invalidation system.";
1287
1288const char kSmoothScrollingName[] = "Smooth Scrolling";
1289const char kSmoothScrollingDescription[] =
1290 "Animate smoothly when scrolling page content.";
1291
1292const char kSoftwareRasterizerName[] = "3D software rasterizer";
1293const char kSoftwareRasterizerDescription[] =
1294 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
1295
Tommy Steimel77704be2017-08-28 22:14:401296const char kSoundContentSettingName[] = "Sound content setting";
1297const char kSoundContentSettingDescription[] =
1298 "Enable site-wide muting in content settings and tab strip context menu.";
1299
Alexandr Ilinf0500ed32017-09-27 21:12:361300const char kSpeculativePreconnectName[] = "Enable new preconnect predictor";
1301const char kSpeculativePreconnectDescription[] =
1302 "Enable the new implementation of preconnect and DNS preresolve. "
1303 "\"Learning\" means that only database construction is enabled, "
1304 "\"Preconnect\" enables both learning and preconnect and disables the "
1305 "existing implementation. \"No preconnect\" disables both implementations.";
1306
Brett Wilsonecb80982017-07-12 20:34:511307const char kSpeculativePrefetchName[] = "Speculative Prefetch";
vabr0215a8e2017-03-28 12:47:341308const char kSpeculativePrefetchDescription[] =
1309 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
1310 R"*(load times, based on a local database (see chrome://predictors). )*"
1311 R"*("Learning" means that only the database construction is enabled, )*"
1312 R"*("Prefetching" that learning and prefetching are enabled.)*";
1313
Justin Donnelly4e448cb2017-07-07 21:32:131314const char kSpeculativeServiceWorkerStartOnQueryInputName[] =
1315 "Enable speculative start of a service worker when a search is predicted.";
Justin Donnelly4e448cb2017-07-07 21:32:131316const char kSpeculativeServiceWorkerStartOnQueryInputDescription[] =
1317 "If enabled, when the user enters text in the omnibox that looks like a "
1318 "a query, any service worker associated with the search engine the query "
1319 "will be sent to is started early.";
1320
Brett Wilsonecb80982017-07-12 20:34:511321const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1322const char kSpellingFeedbackFieldTrialDescription[] =
1323 "Enable the field trial for sending user feedback to spelling service.";
horo201d49492017-05-19 05:31:401324
Brett Wilsonecb80982017-07-12 20:34:511325const char kSuggestionsWithSubStringMatchName[] =
1326 "Substring matching for Autofill suggestions";
1327const char kSuggestionsWithSubStringMatchDescription[] =
1328 "Match Autofill suggestions based on substrings (token prefixes) rather "
1329 "than just prefixes.";
vabr0215a8e2017-03-28 12:47:341330
Brett Wilsonecb80982017-07-12 20:34:511331const char kSyncAppListName[] = "App Launcher sync";
1332const char kSyncAppListDescription[] =
1333 "Enable App Launcher sync. This also enables Folders where available (non "
1334 "OSX).";
vabr0215a8e2017-03-28 12:47:341335
Brett Wilsonecb80982017-07-12 20:34:511336const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1337const char kSyncSandboxDescription[] =
1338 "Connects to the testing server for Chrome Sync.";
vabr0215a8e2017-03-28 12:47:341339
Brett Wilsonecb80982017-07-12 20:34:511340const char kTabAudioMutingName[] = "Tab audio muting UI control";
1341const char kTabAudioMutingDescription[] =
1342 "When enabled, the audio indicators in the tab strip double as tab audio "
1343 "mute controls. This also adds commands in the tab context menu for "
1344 "quickly muting multiple selected tabs.";
vabr0215a8e2017-03-28 12:47:341345
Christian Dullweberd0d96f0f82017-09-13 09:22:511346const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1347const char kTabsInCbdDescription[] =
1348 "Enables a basic and an advanced tab for the Clear Browsing Data dialog.";
1349
Becky Zhou99c22802017-10-19 05:09:271350const char kTabModalJsDialogName[] = "Auto-dismissing JavaScript Dialogs";
1351const char kTabModalJsDialogDescription[] =
1352 "If enabled, the JavaScript dialog will be auto dismissable when switching"
1353 " tab.";
1354
Brett Wilsonecb80982017-07-12 20:34:511355const char kTcpFastOpenName[] = "TCP Fast Open";
1356const char kTcpFastOpenDescription[] =
1357 "Enable the option to send extra authentication information in the initial "
1358 "SYN packet for a previously connected client, allowing faster data send "
1359 "start.";
vabr0215a8e2017-03-28 12:47:341360
Brett Wilsonecb80982017-07-12 20:34:511361const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
1362const char kTopChromeMdDescription[] =
1363 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
1364const char kTopChromeMdMaterial[] = "Normal";
Eugene Girard42dedf722017-10-12 21:07:531365const char kTopChromeMdMaterialAuto[] = "Auto";
Brett Wilsonecb80982017-07-12 20:34:511366const char kTopChromeMdMaterialHybrid[] = "Touch";
vabr0215a8e2017-03-28 12:47:341367
Brett Wilsonecb80982017-07-12 20:34:511368const char kThreadedScrollingName[] = "Threaded scrolling";
1369const char kThreadedScrollingDescription[] =
1370 "Threaded handling of scroll-related input events. Disabling this will "
1371 "force all such scroll events to be handled on the main thread. Note that "
1372 "this can dramatically hurt scrolling performance of most websites and is "
1373 "intended for testing purposes only.";
1374
Steven Valdez4584b2482017-07-14 01:11:571375const char kTLS13VariantName[] = "TLS 1.3";
1376const char kTLS13VariantDescription[] = "Sets the TLS 1.3 variant used.";
1377const char kTLS13VariantDisabled[] = "Disabled";
Steven Valdez57d88652017-10-05 21:05:111378const char kTLS13VariantDeprecated[] = "Disabled (Deprecated Setting)";
Steven Valdez4584b2482017-07-14 01:11:571379const char kTLS13VariantDraft[] = "Enabled (Draft)";
1380const char kTLS13VariantExperiment[] = "Enabled (Experiment)";
Steven Valdezf00f8782017-09-13 18:05:281381const char kTLS13VariantExperiment2[] = "Enabled (Experiment 2)";
1382const char kTLS13VariantExperiment3[] = "Enabled (Experiment 3)";
Steven Valdez4584b2482017-07-14 01:11:571383
Brett Wilsonecb80982017-07-12 20:34:511384const char kTopDocumentIsolationName[] = "Top document isolation";
1385const char kTopDocumentIsolationDescription[] =
1386 "Highly experimental performance mode where cross-site iframes are kept in "
1387 "a separate process from the top document. In this mode, iframes from "
1388 "different third-party sites will be allowed to share a process.";
1389
Dominick Ng8896b1cd2017-10-17 23:24:361390const char kTopSitesFromSiteEngagementName[] = "Top Sites from Site Engagement";
1391const char kTopSitesFromSiteEngagementDescription[] =
1392 "Enable Top Sites on the New Tab Page to be sourced and sorted using site "
1393 "engagement.";
1394
Brett Wilsonecb80982017-07-12 20:34:511395const char kTouchAdjustmentName[] = "Touch adjustment";
1396const char kTouchAdjustmentDescription[] =
1397 "Refine the position of a touch gesture in order to compensate for touches "
1398 "having poor resolution compared to a mouse.";
1399
1400const char kTouchDragDropName[] = "Touch initiated drag and drop";
1401const char kTouchDragDropDescription[] =
1402 "Touch drag and drop can be initiated through long press on a draggable "
1403 "element.";
1404
1405const char kTouchEventsName[] = "Touch Events API";
1406const char kTouchEventsDescription[] =
1407 "Force Touch Events API feature detection to always be enabled or "
1408 "disabled, or to be enabled when a touchscreen is detected on startup "
1409 "(Automatic, the default).";
1410
1411const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
1412const char kTouchSelectionStrategyDescription[] =
1413 "Controls how text selection granularity changes when touch text selection "
1414 "handles are dragged. Non-default behavior is experimental.";
1415const char kTouchSelectionStrategyCharacter[] = "Character";
1416const char kTouchSelectionStrategyDirection[] = "Direction";
1417
1418const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
1419const char kTraceUploadUrlDescription[] =
1420 "This is to be used in conjunction with the enable-navigation-tracing "
1421 "flag. Please select the label that best describes the recorded traces. "
1422 "This will choose the destination the traces are uploaded to. If you are "
1423 "not sure, select other. If left empty, no traces will be uploaded.";
1424const char kTraceUploadUrlChoiceOther[] = "Other";
1425const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1426const char kTraceUploadUrlChoiceQa[] = "QA";
1427const char kTraceUploadUrlChoiceTesting[] = "Testing";
1428
1429const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
1430const char kTranslate2016q2UiDescription[] =
1431 "Improved triggering logic and look for Translate Bubble UI";
1432
1433const char kTranslateLanguageByUlpName[] = "Translate Language by ULP";
1434const char kTranslateLanguageByUlpDescription[] =
1435 "Improved translate target language and triggering logic by considering "
1436 "information from User Language Profile (ULP).";
1437
Philippe Hamel7fdaa452017-09-29 17:22:491438const char kTranslateRankerEnforcementName[] =
1439 "Enforce TranslateRanker decisions";
1440const char kTranslateRankerEnforcementDescription[] =
1441 "Improved Translate UI triggering logic. TranslateRanker decides whether "
1442 "or not Translate UI should be triggered in a given context.";
1443
Brett Wilsonecb80982017-07-12 20:34:511444const char kTrySupportedChannelLayoutsName[] =
1445 "Causes audio output streams to check if channel layouts other than the "
1446 "default hardware layout are available.";
1447const char kTrySupportedChannelLayoutsDescription[] =
1448 "Causes audio output streams to check if channel layouts other than the "
1449 "default hardware layout are available. Turning this on will allow the OS "
1450 "to do stereo to surround expansion if supported. May expose third party "
1451 "driver bugs, use with caution.";
1452
1453const char kUiPartialSwapName[] = "Partial swap";
1454const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
1455
Chris Pickel3a227ae62017-08-24 10:47:261456const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
1457const char kUseDdljsonApiDescription[] =
1458 "Enables the new ddljson API to fetch Doodles for the NTP.";
1459
Becca Hughes59c05b42017-11-03 13:11:581460const char kUseModernMediaControlsName[] = "New Media Controls";
1461const char kUseModernMediaControlsDescription[] =
1462 "Enables the new style native media controls.";
1463
Mustaq Ahmedc646c0a2017-10-20 20:08:301464const char kUserActivationV2Name[] = "User Activation v2";
1465const char kUserActivationV2Description[] =
1466 "Enable simple user activation for APIs that are otherwise controlled by "
1467 "user gesture tokens.";
1468
Brett Wilsonecb80982017-07-12 20:34:511469const char kUserConsentForExtensionScriptsName[] =
1470 "User consent for extension scripts";
1471const char kUserConsentForExtensionScriptsDescription[] =
1472 "Require user consent for an extension running a script on the page, if "
1473 "the extension requested permission to run on all urls.";
1474
1475const char kUseSuggestionsEvenIfFewFeatureName[] =
1476 "Disable minimum for server-side tile suggestions on NTP.";
1477const char kUseSuggestionsEvenIfFewFeatureDescription[] =
1478 "Request server-side suggestions even if there are only very few of them "
1479 "and use them for tiles on the New Tab Page.";
1480
1481const char kV8CacheOptionsName[] = "V8 caching mode.";
1482const char kV8CacheOptionsDescription[] =
1483 "Caching mode for the V8 JavaScript engine.";
1484const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1485const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1486
1487const char kV8CacheStrategiesForCacheStorageName[] =
1488 "V8 caching strategy for CacheStorage.";
1489const char kV8CacheStrategiesForCacheStorageDescription[] =
1490 "Caching strategy of scripts in CacheStorage for the V8 JavaScript engine.";
1491const char kV8CacheStrategiesForCacheStorageNormal[] = "Normal";
1492const char kV8CacheStrategiesForCacheStorageAggressive[] = "Aggressive";
1493
Hitoshi Yoshida3e5db562017-09-11 02:31:081494const char kV8ContextSnapshotName[] = "Use a snapshot to create V8 contexts.";
1495const char kV8ContextSnapshotDescription[] =
1496 "Sets to use a snapshot to create V8 contexts in frame creation.";
1497
Michael Hablich896d52662017-10-23 15:59:571498const char kV8VmFutureName[] = "Future V8 VM features";
1499const char kV8VmFutureDescription[] =
1500 "This enables upcoming and experimental V8 VM features. "
1501 "This flag does not enable experimental JavaScript features.";
1502
Brett Wilsonecb80982017-07-12 20:34:511503const char kVibrateRequiresUserGestureName[] =
1504 "Requiring user gesture for the Vibration API";
1505const char kVibrateRequiresUserGestureDescription[] =
1506 "Block the Vibration API if no user gesture has been received on the frame "
1507 "or any embedded frame.";
1508
1509const char kVideoFullscreenOrientationLockName[] =
1510 "Lock screen orientation when playing a video fullscreen.";
1511const char kVideoFullscreenOrientationLockDescription[] =
1512 "Lock the screen orientation of the device to match video orientation when "
1513 "a video goes fullscreen. Only on phones.";
1514
1515const char kVideoRotateToFullscreenName[] =
1516 "Rotate-to-fullscreen gesture for videos.";
1517const char kVideoRotateToFullscreenDescription[] =
1518 "Enter/exit fullscreen when device is rotated to/from the orientation of "
1519 "the video. Only on phones.";
1520
1521const char kWalletServiceUseSandboxName[] =
1522 "Use Google Payments sandbox servers";
1523const char kWalletServiceUseSandboxDescription[] =
1524 "For developers: use the sandbox service for Google Payments API calls.";
1525
Brett Wilsonecb80982017-07-12 20:34:511526const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
1527const char kWebglDraftExtensionsDescription[] =
1528 "Enabling this option allows web applications to access the WebGL "
1529 "Extensions that are still in draft status.";
1530
1531const char kWebMidiName[] = "Web MIDI API";
1532const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1533
1534const char kWebPaymentsName[] = "Web Payments";
1535const char kWebPaymentsDescription[] =
1536 "Enable Web Payments API integration, a JavaScript API for merchants.";
1537
Mathieu Perreault51339b82017-07-20 17:06:051538const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
1539const char kWebPaymentsModifiersDescription[] =
1540 "If the website provides modifiers in the payment request, show the custom "
1541 "total for each payment instrument, update the shopping cart when "
1542 "instruments are switched, and send modified payment method specific data "
1543 "to the payment app.";
1544
Brett Wilsonecb80982017-07-12 20:34:511545const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
1546const char kWebrtcEchoCanceller3Description[] =
1547 "Experimental WebRTC echo canceller (AEC3).";
1548
1549const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
1550const char kWebrtcHwDecodingDescription[] =
1551 "Support in WebRTC for decoding video streams using platform hardware.";
1552
1553const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
1554const char kWebrtcHwEncodingDescription[] =
1555 "Support in WebRTC for encoding video streams using platform hardware.";
1556
1557const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
1558const char kWebrtcHwH264EncodingDescription[] =
1559 "Support in WebRTC for encoding h264 video streams using platform "
1560 "hardware.";
1561
1562const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
1563const char kWebrtcHwVP8EncodingDescription[] =
1564 "Support in WebRTC for encoding vp8 video streams using platform hardware.";
1565
1566const char kWebrtcSrtpAesGcmName[] =
1567 "Negotiation with GCM cipher suites for SRTP in WebRTC";
1568const char kWebrtcSrtpAesGcmDescription[] =
1569 "When enabled, WebRTC will try to negotiate GCM cipher suites for SRTP.";
1570
Joachim Bauch4a41d7512017-08-23 14:24:231571const char kWebrtcSrtpEncryptedHeadersName[] =
1572 "Negotiation with encrypted header extensions for SRTP in WebRTC";
1573const char kWebrtcSrtpEncryptedHeadersDescription[] =
1574 "When enabled, WebRTC will try to negotiate encrypted header extensions "
1575 "for SRTP.";
1576
Brett Wilsonecb80982017-07-12 20:34:511577const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
1578const char kWebrtcStunOriginDescription[] =
1579 "When enabled, Stun messages generated by WebRTC will contain the Origin "
1580 "header.";
1581
1582const char kWebvrName[] = "WebVR";
1583const char kWebvrDescription[] =
1584 "Enabling this option allows web applications to access experimental "
Michael Thiessenab056202017-10-05 16:50:121585 "Virtual Reality APIs. Warning: Enabling this will also allow WebVR "
1586 "content on insecure origins to access these powerful APIs, and may pose a "
1587 "security risk.";
Brett Wilsonecb80982017-07-12 20:34:511588
1589const char kWifiCredentialSyncName[] = "WiFi credential sync";
1590const char kWifiCredentialSyncDescription[] =
1591 "Enables synchronizing WiFi network settings across devices. When enabled, "
1592 "the WiFi credential datatype is registered with Chrome Sync, and WiFi "
1593 "credentials are synchronized subject to user preferences. (See also, "
1594 "chrome://settings/syncSetup.)";
1595
1596const char kZeroCopyName[] = "Zero-copy rasterizer";
1597const char kZeroCopyDescription[] =
1598 "Raster threads write directly to GPU memory associated with tiles.";
vabr0215a8e2017-03-28 12:47:341599
Brett Wilsonff596952017-07-14 01:06:551600// Android ---------------------------------------------------------------------
1601
1602#if defined(OS_ANDROID)
1603
1604const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
1605const char kAiaFetchingDescription[] =
1606 "Enable intermediate certificate fetching when a server does not provide "
1607 "sufficient certificates to build a chain to a trusted root.";
1608
1609const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
1610const char kAccessibilityTabSwitcherDescription[] =
1611 "Enable the accessibility tab switcher for Android.";
1612
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251613const char kAllowReaderForAccessibilityName[] = "Reader Mode for Accessibility";
1614const char kAllowReaderForAccessibilityDescription[] =
1615 "Allows Reader Mode on any articles, even if the page is mobile-friendly.";
1616
Brett Wilsonff596952017-07-14 01:06:551617const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
1618const char kAndroidAutofillAccessibilityDescription[] =
1619 "Enable accessibility for autofill popup.";
1620
1621const char kAndroidPaymentAppsName[] = "Android payment apps";
1622const char kAndroidPaymentAppsDescription[] =
1623 "Enable third party Android apps to integrate as payment apps";
1624
Iulia Harasim0b5a4312017-07-21 16:20:501625const char kAndroidSigninPromosName[] = "Signin promos for Android.";
1626const char kAndroidSigninPromosDescription[] =
1627 "New signin promos for Android which will be displayed in content "
1628 "suggestions, Settings, Bookmarks and Recent Tabs.";
1629
Tatiana Gornak38ab3562017-07-28 11:04:181630const char kAndroidViewPasswordsName[] = "Copy and view passwords for Android";
1631const char kAndroidViewPasswordsDescription[] =
1632 "Enables copying and viewing passwords in settings.";
1633
Miriam Gershenson23cfe346e2017-09-28 14:49:291634const char kAsyncDnsName[] = "Async DNS resolver";
1635const char kAsyncDnsDescription[] = "Enables the built-in DNS resolver.";
1636
Brett Wilsonff596952017-07-14 01:06:551637const char kAutofillAccessoryViewName[] =
1638 "Autofill suggestions as keyboard accessory view";
1639const char kAutofillAccessoryViewDescription[] =
1640 "Shows Autofill suggestions on top of the keyboard rather than in a "
1641 "dropdown.";
1642
1643const char kBackgroundLoaderForDownloadsName[] =
1644 "Enables background downloading of pages.";
1645const char kBackgroundLoaderForDownloadsDescription[] =
1646 "Enables downloading pages in the background in case page is not yet "
1647 "loaded in current tab.";
1648
Theresa Wellington82d6f6ef2017-10-12 02:39:131649const char kChromeHomeOptOutSnackbarName[] = "Chrome Home Opt-out Snackbar";
1650const char kChromeHomeOptOutSnackbarDescription[] =
1651 "Show a snackbar prompting users to take a survey the first time they"
1652 " opt-out of Chrome Home";
1653
Theresa Wellingtondd71c5c2017-10-02 15:50:381654const char kChromeHomePersonalizedOmniboxSuggestionsName[] =
1655 "Chrome Home Personalized Omnibox Suggestions";
1656const char kChromeHomePersonalizedOmniboxSuggestionsDescription[] =
1657 "Enable personalized omnibox suggestions on focus for Chrome Home.";
1658
Matthew Jones4214d2a12017-09-28 18:35:111659const char kChromeHomePromoName[] = "Chrome Home Promo";
1660const char kChromeHomePromoDescription[] =
Matthew Jonesdcdf51b2017-10-12 20:02:331661 "Enable showing the opt-in/out Chrome Home promo.";
Matthew Jones4214d2a12017-09-28 18:35:111662
Brett Wilsonff596952017-07-14 01:06:551663const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1664const char kChromeHomeSwipeLogicDescription[] =
1665 "Various swipe logic options for Chrome Home for sheet expansion.";
1666const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
Matthew Jonesbe384ee42017-10-31 19:57:151667const char kChromeHomeSwipeLogicVelocity[] = "Velocity suppression model";
Brett Wilsonff596952017-07-14 01:06:551668
Troy Hildebrandtf758d112017-10-18 23:05:561669const char kChromeHomeBottomNavLabelsName[] =
1670 "Chrome Home bottom navigation menu item labels.";
1671const char kChromeHomeBottomNavLabelsDescription[] =
1672 "Enables text labels for Chrome Home bottom navigation menu items.";
1673
Brett Wilsonff596952017-07-14 01:06:551674const char kChromeHomeName[] = "Chrome Home";
1675const char kChromeHomeDescription[] =
1676 "Enables Chrome Home on Android. You must restart the browser"
1677 " twice for changes to take effect.";
1678
Megan Jablonskic61eb1b82017-10-02 18:03:061679const char kChromeMemexName[] = "Chrome Memex";
1680const char kChromeMemexDescription[] =
1681 "Enables Chrome Memex homepage on Android. Restricted to opted-in "
1682 "Googlers.";
1683
Brett Wilsonff596952017-07-14 01:06:551684const char kContentSuggestionsCategoryOrderName[] =
1685 "Default content suggestions category order (e.g. on NTP)";
1686const char kContentSuggestionsCategoryOrderDescription[] =
1687 "Set default order of content suggestion categories (e.g. on the NTP).";
1688
1689const char kContentSuggestionsCategoryRankerName[] =
1690 "Content suggestions category ranker (e.g. on NTP)";
1691const char kContentSuggestionsCategoryRankerDescription[] =
1692 "Set category ranker to order categories of content suggestions (e.g. on "
1693 "the NTP).";
1694
Vitalii Iarkof52ff802017-09-14 12:34:241695const char kContentSuggestionsDebugLogName[] = "Content suggestions debug log";
1696const char kContentSuggestionsDebugLogDescription[] =
1697 "Enable content suggestions debug log accessible through "
1698 "snippets-internals.";
1699
Donn Denman8e58ead2017-11-04 01:44:011700const char kContextualSearchMlTapSuppressionName[] =
1701 "Contextual Search ML tap suppression";
1702const char kContextualSearchMlTapSuppressionDescription[] =
1703 "Enables tap gestures to be suppressed to improve CTR by applying machine "
1704 "learning.";
Brett Wilsonff596952017-07-14 01:06:551705
1706const char kContextualSearchName[] = "Contextual Search";
1707const char kContextualSearchDescription[] =
1708 "Whether or not Contextual Search is enabled.";
1709
Dmitry Skiba9c3efa72017-07-20 22:01:141710const char kDontPrefetchLibrariesName[] = "Don't Prefetch Libraries";
1711const char kDontPrefetchLibrariesDescription[] =
1712 "Don't prefetch libraries after loading.";
1713
Joy Ming5fd29ca62017-10-02 22:51:221714const char kDownloadsForegroundName[] = "Enable downloads foreground";
1715const char kDownloadsForegroundDescription[] =
1716 "Enable downloads as a foreground service for all versions of Android.";
1717
Brett Wilsonff596952017-07-14 01:06:551718const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
1719const char kEnableAndroidPayIntegrationV1Description[] =
1720 "Enable integration with Android Pay using the first version of the API";
1721
1722const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
1723const char kEnableAndroidPayIntegrationV2Description[] =
1724 "Enable integration with Android Pay using the second version of the API";
1725
Vitalii Iarkof4ed32d2017-09-26 13:15:531726const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
Brett Wilsonff596952017-07-14 01:06:551727const char kEnableAndroidSpellcheckerDescription[] =
1728 "Enables use of the Android spellchecker.";
Brett Wilsonff596952017-07-14 01:06:551729
Vitalii Iarkof4ed32d2017-09-26 13:15:531730const char kEnableContentSuggestionsNewFaviconServerName[] =
1731 "Get favicons for content suggestions from a new server.";
1732const char kEnableContentSuggestionsNewFaviconServerDescription[] =
1733 "If enabled, the content suggestions (on the NTP) will get favicons from a "
1734 "new favicon server.";
Brett Wilsonff596952017-07-14 01:06:551735
1736const char kEnableContentSuggestionsSettingsName[] =
1737 "Show content suggestions settings.";
1738const char kEnableContentSuggestionsSettingsDescription[] =
1739 "If enabled, the content suggestions settings will be available from the "
1740 "main settings menu.";
1741
Vitalii Iarkof4ed32d2017-09-26 13:15:531742const char kEnableContentSuggestionsThumbnailDominantColorName[] =
1743 "Use content suggestions thumbnail dominant color.";
1744const char kEnableContentSuggestionsThumbnailDominantColorDescription[] =
1745 "Use content suggestions thumbnail dominant color as a placeholder before "
1746 "the real thumbnail is fetched (requires Chrome Home).";
1747
Brett Wilsonff596952017-07-14 01:06:551748const char kEnableCopylessPasteName[] = "App Indexing (Copyless Paste)";
1749const char kEnableCopylessPasteDescription[] =
1750 "Provide suggestions for text input, based on your recent context. For "
1751 "example, if you looked at a restaurant website and switched to the Maps "
1752 "app, the keyboard would offer the name of that restaurant as a suggestion "
1753 "to enter into the search bar. The data is indexed locally, and never sent "
1754 "to the server. It's disabled in incognito mode.";
1755
1756const char kEnableCustomContextMenuName[] = "Enable custom context menu";
1757const char kEnableCustomContextMenuDescription[] =
1758 "Enables a new context menu when a link, image, or video is pressed within "
1759 "Chrome.";
1760
1761const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
1762const char kEnableCustomFeedbackUiDescription[] =
1763 "Enables a custom feedback UI when submitting feedback through Google "
1764 "Feedback. Works with Google Play Services v10.2+";
1765
1766const char kEnableDataReductionProxyMainMenuName[] =
Theresa Wellington141e4af2017-10-23 20:28:471767 "Enable Data Saver main menu item";
Brett Wilsonff596952017-07-14 01:06:551768const char kEnableDataReductionProxyMainMenuDescription[] =
Theresa Wellington141e4af2017-10-23 20:28:471769 "Enables the Data Saver menu item in the main menu";
Brett Wilsonff596952017-07-14 01:06:551770
1771const char kEnableDataReductionProxySiteBreakdownName[] =
1772 "Data Saver Site Breakdown";
1773const char kEnableDataReductionProxySiteBreakdownDescription[] =
1774 "Enable the site breakdown on the Data Saver settings page.";
1775
1776const char kEnableOmniboxClipboardProviderName[] =
1777 "Omnibox clipboard URL suggestions";
1778const char kEnableOmniboxClipboardProviderDescription[] =
1779 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
1780 "focus in the omnibox.";
1781
1782const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
1783 "Use expanded autofill credit card popup layout.";
1784const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
1785 "If enabled, displays autofill credit card popup using expanded layout.";
1786
1787const char kEnableFaviconsFromWebManifestName[] =
1788 "Load favicons from Web Manifests";
1789const char kEnableFaviconsFromWebManifestDescription[] =
1790 "Fetch Web Manifests on page load to read favicons from them.";
1791
1792const char kEnableNtpAssetDownloadSuggestionsName[] =
1793 "Show asset downloads on the New Tab page";
1794const char kEnableNtpAssetDownloadSuggestionsDescription[] =
1795 "If enabled, the list of content suggestions on the New Tab page will "
1796 "contain assets (e.g. books, pictures, audio) that the user downloaded for "
1797 "later use.";
1798
1799const char kEnableNtpBookmarkSuggestionsName[] =
1800 "Show recently visited bookmarks on the New Tab page";
1801const char kEnableNtpBookmarkSuggestionsDescription[] =
1802 "If enabled, the list of content suggestions on the New Tab page will "
1803 "contain recently visited bookmarks.";
1804
1805const char kEnableNtpForeignSessionsSuggestionsName[] =
1806 "Show recent foreign tabs on the New Tab page";
1807const char kEnableNtpForeignSessionsSuggestionsDescription[] =
1808 "If enabled, the list of content suggestions on the New Tab page will "
1809 "contain recent foreign tabs.";
1810
1811const char kEnableNtpMostLikelyFaviconsFromServerName[] =
1812 "Download favicons for NTP tiles from Google.";
1813const char kEnableNtpMostLikelyFaviconsFromServerDescription[] =
1814 "If enabled, missing favicons for NTP tiles get downloaded from Google. "
1815 "This only applies to tiles that originate from synced history.";
1816
Jan Krcal7fadbd32017-08-04 10:49:211817const char kNtpTilesLowerResolutionFaviconsName[] =
1818 "Show also lower resolution favicons in NTP tiles.";
1819const char kNtpTilesLowerResolutionFaviconsDescription[] =
1820 "If enabled, the size limit for a favicon to get displayed in an NTP tile "
1821 "decreases. Tiles where the largest available favicon is below this limit "
1822 "get displayed as colored tiles.";
1823
Brett Wilsonff596952017-07-14 01:06:551824const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
1825 "Show offline page downloads on the New Tab page";
1826const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
1827 "If enabled, the list of content suggestions on the New Tab page will "
1828 "contain pages that the user downloaded for later use.";
1829
1830const char kEnableNtpRemoteSuggestionsName[] =
1831 "Show server-side suggestions on the New Tab page";
1832const char kEnableNtpRemoteSuggestionsDescription[] =
1833 "If enabled, the list of content suggestions on the New Tab page will "
1834 "contain server-side suggestions (e.g., Articles for you). Furthermore, it "
1835 "allows to override the source used to retrieve these server-side "
1836 "suggestions.";
1837
1838const char kEnableNtpSnippetsVisibilityName[] =
1839 "Make New Tab Page Snippets more visible.";
1840const char kEnableNtpSnippetsVisibilityDescription[] =
1841 "If enabled, the NTP snippets will become more discoverable with a larger "
1842 "portion of the first card above the fold.";
1843
1844const char kEnableNtpSuggestionsNotificationsName[] =
1845 "Notify about new content suggestions available at the New Tab page";
1846const char kEnableNtpSuggestionsNotificationsDescription[] =
1847 "If enabled, notifications will inform about new content suggestions on "
1848 "the New Tab page.";
1849
1850const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
1851const char kEnablePhysicalWebDescription[] =
1852 "Enable scanning for URLs from Physical Web objects.";
1853
1854const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1855const char kEnableOfflinePreviewsDescription[] =
1856 "Enable showing offline page previews on slow networks.";
1857
1858const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
1859const char kEnableOskOverscrollDescription[] =
1860 "Enable OSK overscroll support. With this flag on, the OSK will only "
1861 "resize the visual viewport.";
1862
1863const char kEnableSpecialLocaleName[] =
1864 "Enable custom logic for special locales.";
1865const char kEnableSpecialLocaleDescription[] =
1866 "Enable custom logic for special locales. In this mode, Chrome might "
1867 "behave differently in some locales.";
1868
Brett Wilsonff596952017-07-14 01:06:551869const char kEnableWebNfcName[] = "WebNFC";
1870const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
1871
gogeraldf3cbb422017-07-26 14:37:121872const char kEnableWebPaymentsMethodSectionOrderV2Name[] =
1873 "Enable Web Payments method section order V2.";
1874const char kEnableWebPaymentsMethodSectionOrderV2Description[] =
1875 "Enable this option to display payment method section above address "
1876 "section instead of below it.";
1877
Brett Wilsonff596952017-07-14 01:06:551878const char kEnableWebPaymentsSingleAppUiSkipName[] =
1879 "Enable Web Payments single app UI skip";
1880const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
1881 "Enable Web Payments to skip showing its UI if the developer specifies a "
1882 "single app.";
1883
1884const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
1885const char kHerbPrototypeChoicesDescription[] =
1886 "Switching this option changes which tab management prototype is being "
1887 "tested.";
1888const char kHerbPrototypeFlavorElderberry[] =
1889 "ELDERBERRY: All View Intents in CCT v2";
1890
1891const char kKeepPrefetchedContentSuggestionsName[] =
1892 "Keep prefetched content suggestions";
1893const char kKeepPrefetchedContentSuggestionsDescription[] =
1894 "If enabled, some of prefetched content suggestions are not replaced by "
1895 "the new fetched suggestions.";
1896
1897const char kLsdPermissionPromptName[] =
1898 "Location Settings Dialog Permission Prompt";
1899const char kLsdPermissionPromptDescription[] =
1900 "Whether to use the Google Play Services Location Settings Dialog "
1901 "permission dialog.";
1902
Brett Wilsonff596952017-07-14 01:06:551903const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
1904const char kMediaScreenCaptureDescription[] =
1905 "Enable this option for experimental ScreenCapture feature on Android.";
1906
1907const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
1908const char kModalPermissionPromptsDescription[] =
1909 "Whether to use permission dialogs in place of permission infobars.";
1910
Brett Wilsonff596952017-07-14 01:06:551911const char kNewPhotoPickerName[] = "Enable new Photopicker";
1912const char kNewPhotoPickerDescription[] =
1913 "Activates the new picker for selecting photos.";
1914
1915const char kNoCreditCardAbort[] = "No Credit Card Abort";
1916const char kNoCreditCardAbortDescription[] =
1917 "Whether or not the No Credit Card Abort is enabled.";
1918
1919const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
1920const char kNtpCondensedLayoutDescription[] =
1921 "Show a condensed layout on the New Tab Page.";
1922
1923const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
1924const char kNtpCondensedTileLayoutDescription[] =
1925 "Show a condensed tile layout on the New Tab Page.";
1926
Nicolas Dossou-gbete56f37dc2017-08-10 16:14:041927const char kSiteExplorationUiName[] = "Site Exploration UI";
1928const char kSiteExplorationUiDescription[] =
1929 "Show site suggestions in the Exploration UI";
1930
Brett Wilsonff596952017-07-14 01:06:551931const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
1932const char kNtpGoogleGInOmniboxDescription[] =
1933 "Show a Google G in the omnibox on the New Tab Page.";
1934
1935const char kNtpOfflinePagesName[] = "Enable NTP offline pages";
1936const char kNtpOfflinePagesDescription[] =
1937 "Enables badging of offline pages on the New Tab page. Only relevant if "
1938 "offline pages are enabled.";
1939
1940const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
1941const char kNtpPopularSitesDescription[] =
1942 "Pre-populate the New Tab page with popular sites.";
1943
Brett Wilsonff596952017-07-14 01:06:551944const char kOfflineBookmarksName[] = "Enable offline bookmarks";
1945const char kOfflineBookmarksDescription[] =
1946 "Enable saving bookmarked pages for offline viewing.";
1947
1948const char kOfflinePagesAsyncDownloadName[] =
1949 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages.)*";
1950const char kOfflinePagesAsyncDownloadDescription[] =
1951 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages such )*"
1952 R"*(that the user can click on it to download the page later.)*";
1953
1954const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
1955const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
1956
1957const char kOfflinePagesCtV2Name[] = "Enable Offline Pages CT V2 features.";
1958const char kOfflinePagesCtV2Description[] =
1959 "V2 features include attributing pages to the app that initiated the "
1960 "custom tabs, and being able to query for pages by page attribution.";
1961
1962const char kOfflinePagesLoadSignalCollectingName[] =
1963 "Enables collecting load timing data for offline page snapshots.";
1964const char kOfflinePagesLoadSignalCollectingDescription[] =
1965 "Enables loading completeness data collection while writing an offline "
1966 "page. This data is collected in the snapshotted offline page to allow "
1967 "data analysis to improve deciding when to make the offline snapshot.";
1968
1969const char kOfflinePagesPrefetchingName[] =
1970 "Enables suggested offline pages to be prefetched.";
1971const char kOfflinePagesPrefetchingDescription[] =
1972 "Enables suggested offline pages to be prefetched, so useful content is "
1973 "available while offline.";
1974
Cathy Li3d5379e2017-09-07 00:11:091975const char kOfflinePagesPrefetchingUIName[] =
1976 "Enables prefetched offline pages to be shown in UI.";
1977const char kOfflinePagesPrefetchingUIDescription[] =
1978 "Enables prefetched offline pages to raise notifications and be shown in "
1979 "download home UI.";
1980
Pete Williamson7845dff2017-09-20 11:06:191981const char kOfflinePagesResourceBasedSnapshotName[] =
1982 "Enables offline page snapshots to be based on percentage of page loaded.";
1983const char kOfflinePagesResourceBasedSnapshotDescription[] =
1984 "Enables offline page snapshots to use a resource percentage based "
1985 "approach for determining when the page is loaded as opposed to a time "
1986 "based approach";
1987
Collin Baker17f92a52017-07-19 21:41:251988const char kOfflinePagesRenovationsName[] = "Enables offline page renovations.";
1989const char kOfflinePagesRenovationsDescription[] =
1990 "Enables offline page renovations which correct issues with dynamic "
1991 "content that occur when offlining pages that use JavaScript.";
1992
Brett Wilsonff596952017-07-14 01:06:551993const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
1994const char kOfflinePagesSharingDescription[] =
1995 "Enables the saved offline pages to be shared via other applications.";
1996
1997const char kOfflinePagesSvelteConcurrentLoadingName[] =
1998 "Enables concurrent background loading on svelte.";
1999const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2000 "Enables concurrent background loading (or downloading) of pages on "
2001 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2002 "happen when the svelte device is idle.";
2003
2004const char kOffliningRecentPagesName[] =
2005 "Enable offlining of recently visited pages";
2006const char kOffliningRecentPagesDescription[] =
2007 "Enable storing recently visited pages locally for offline use. Requires "
2008 "Offline Pages to be enabled.";
2009
Lei Zhang2eca9082017-10-17 20:42:502010const char kPayWithGoogleV1Name[] = "Pay with Google v1";
2011const char kPayWithGoogleV1Description[] =
Brett Wilsonff596952017-07-14 01:06:552012 "Enable Pay with Google integration into Web Payments with API version "
2013 "'1'.";
2014
Brett Wilsonff596952017-07-14 01:06:552015const char kProgressBarCompletionName[] =
2016 "Android phone page load progress bar completion time.";
2017const char kProgressBarCompletionDescription[] =
2018 "Configures Android phone page loading progress bar completion time.";
2019const char kProgressBarCompletionLoadEvent[] =
2020 R"*(Top loading frame's onload event ("everything" is done in the )*"
2021 R"*(page, historical behavior).)*";
2022const char kProgressBarCompletionResourcesBeforeDcl[] =
2023 "Main frame's domContentLoaded and all resources loads started before "
2024 "domContentLoaded (iframes ignored).";
2025const char kProgressBarCompletionDomContentLoaded[] =
2026 "Main frame's domContentLoaded (iframes ignored).";
2027const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
2028 "domContentLoaded and all resources loads started before domContentLoaded "
2029 "(main frame and same origin iframes).";
2030
2031const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
2032const char kPullToRefreshEffectDescription[] =
2033 "Page reloads triggered by vertically overscrolling content.";
2034
Piotr Swigon7c296ef2017-08-29 04:32:002035const char kPwaImprovedSplashScreenName[] =
2036 "Improved Splash Screen for standalone PWAs";
2037const char kPwaImprovedSplashScreenDescription[] =
2038 "Enables the Improved Splash Screen UX for standalone PWAs based on new "
2039 "Web App Manifest attributes";
Piotr Swigon9f630b32017-07-26 09:42:492040const char kPwaPersistentNotificationName[] =
2041 "Persistent notification in standalone PWA";
2042const char kPwaPersistentNotificationDescription[] =
2043 "Enables a persistent Android notification for standalone PWAs";
2044
Brett Wilsonff596952017-07-14 01:06:552045const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
2046const char kReaderModeHeuristicsDescription[] =
2047 "Determines what pages the Reader Mode infobar is shown on.";
2048const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
2049const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
2050const char kReaderModeHeuristicsAllArticles[] = "All articles";
2051const char kReaderModeHeuristicsAlwaysOff[] = "Never";
2052const char kReaderModeHeuristicsAlwaysOn[] = "Always";
2053
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:182054const char kReaderModeInCCTName[] = "Reader Mode in CCT";
2055const char kReaderModeInCCTDescription[] =
2056 "Open Reader Mode in Chrome Custom Tabs.";
2057
Brett Wilsonff596952017-07-14 01:06:552058const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2059const char kSetMarketUrlForTestingDescription[] =
2060 "When enabled, sets the market URL for use in testing the update menu "
2061 "item.";
2062
2063const char kSpannableInlineAutocompleteName[] = "Spannable inline autocomplete";
2064const char kSpannableInlineAutocompleteDescription[] =
2065 "A new type of inline autocomplete for the omnibox that works with "
2066 "keyboards that compose text.";
2067
Brett Wilsonff596952017-07-14 01:06:552068const char kTranslateCompactUIName[] = "New Translate Infobar";
2069const char kTranslateCompactUIDescription[] =
2070 "Enable the new Translate compact infobar UI.";
2071
2072const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2073const char kUpdateMenuBadgeDescription[] =
2074 "When enabled, an update badge will be shown on the app menu button.";
2075
2076const char kUpdateMenuItemCustomSummaryDescription[] =
2077 "When this flag and the force show update menu item flag are enabled, a "
2078 "custom summary string will be displayed below the update menu item.";
2079const char kUpdateMenuItemCustomSummaryName[] =
2080 "Update menu item custom summary";
2081
2082const char kUpdateMenuItemName[] = "Force show update menu item";
2083const char kUpdateMenuItemDescription[] =
2084 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2085 R"*(menu.)*";
2086
2087const char kUseAndroidMidiApiName[] = "Use Android Midi API";
2088const char kUseAndroidMidiApiDescription[] =
2089 "Use Android Midi API for WebMIDI (effective only with Android M+ "
2090 "devices).";
2091
Marc Treib93af46a2017-08-23 13:30:002092const char kThirdPartyDoodlesName[] =
2093 "Enable Doodles for third-party search engines";
2094const char kThirdPartyDoodlesDescription[] =
2095 "Enables fetching and displaying Doodles on the NTP for third-party search "
2096 "engines.";
2097
Brett Wilson7b44537e2017-08-18 01:38:282098// Non-Android -----------------------------------------------------------------
Brett Wilsonff596952017-07-14 01:06:552099
Brett Wilson7b44537e2017-08-18 01:38:282100#else // !defined(OS_ANDROID)
brettw5f9c1642017-05-14 17:12:482101
Brett Wilson7b44537e2017-08-18 01:38:282102const char kAccountConsistencyName[] =
2103 "Identity consistency between browser and cookie jar";
2104const char kAccountConsistencyDescription[] =
2105 "When enabled, the browser manages signing in and out of Google accounts.";
2106const char kAccountConsistencyChoiceMirror[] = "Mirror";
2107const char kAccountConsistencyChoiceDice[] = "Dice";
vabr0215a8e2017-03-28 12:47:342108
Chris Pickel3a227ae62017-08-24 10:47:262109const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
2110const char kDoodlesOnLocalNtpDescription[] =
2111 "Show doodles on the local New Tab page if Google is the default search "
2112 "engine.";
2113
mlamouriff56c092017-05-11 15:31:392114const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
mlamouriff56c092017-05-11 15:31:392115const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342116 "Manage audio focus across tabs to improve the audio mixing.";
mlamouriff56c092017-05-11 15:31:392117const char kEnableAudioFocusDisabled[] = "Disabled";
mlamouriff56c092017-05-11 15:31:392118const char kEnableAudioFocusEnabled[] = "Enabled";
mlamouriff56c092017-05-11 15:31:392119const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342120 "Enabled (Flash lowers volume when interrupted by other sound, "
2121 "experimental)";
2122
Brett Wilson7b44537e2017-08-18 01:38:282123const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2124const char kEnableNewAppMenuIconDescription[] =
2125 "Use the new app menu icon with update notification animations.";
vabr0215a8e2017-03-28 12:47:342126
2127const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342128const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282129 "Enable receiving entity suggestions - disambiguation descriptions - for "
2130 "Omnibox suggestions.";
2131
2132const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2133const char kOmniboxTailSuggestionsDescription[] =
Vitalii Iarko7df520142017-07-07 12:53:192134 "Enable receiving tail suggestions, a type of search suggestion based on "
2135 "the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342136
Brett Wilson7b44537e2017-08-18 01:38:282137const char kOneGoogleBarOnLocalNtpName[] =
2138 "Enable the OneGoogleBar on the local NTP";
2139const char kOneGoogleBarOnLocalNtpDescription[] =
2140 "Show a OneGoogleBar on the local New Tab page if Google is the default "
2141 "search engine.";
2142
ojan38c678352017-04-11 20:27:552143const char kPauseBackgroundTabsName[] = "Pause background tabs";
2144const char kPauseBackgroundTabsDescription[] =
2145 "Pause timers in background tabs after 5 minutes on desktop.";
2146
Brett Wilson7b44537e2017-08-18 01:38:282147const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
2148const char kUseGoogleLocalNtpDescription[] =
2149 "Use the local New Tab page if Google is the default search engine.";
spqchan064a8112017-04-18 16:46:322150
Brett Wilson7b44537e2017-08-18 01:38:282151const char kVoiceSearchOnLocalNtpName[] =
2152 "Enable Voice Search on the local NTP";
2153const char kVoiceSearchOnLocalNtpDescription[] =
2154 "Show a microphone for voice search on the local New Tab page "
2155 "if Google is the default search engine.";
2156
2157#if defined(GOOGLE_CHROME_BUILD)
2158
2159const char kGoogleBrandedContextMenuName[] =
2160 "Google branding in the context menu";
2161const char kGoogleBrandedContextMenuDescription[] =
2162 "Shows a Google icon next to context menu items powered by Google "
2163 "services.";
2164
2165#endif // !defined(GOOGLE_CHROME_BUILD)
2166
2167#endif // !defined(OS_ANDROID)
2168
2169// Windows ---------------------------------------------------------------------
2170
2171#if defined(OS_WIN)
2172
2173const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
2174const char kCloudPrintXpsDescription[] =
2175 "XPS enables advanced options for classic printers connected to the Cloud "
2176 "Print with Chrome. Printers must be re-connected after changing this "
2177 "flag.";
2178
Dave Tapuskadd43469d2017-08-22 22:15:532179const char kDirectManipulationStylusName[] = "Direct Manipulation Stylus";
2180const char kDirectManipulationStylusDescription[] =
2181 "If enabled, Chrome will scroll web pages on stylus drag.";
2182
Brett Wilson7b44537e2017-08-18 01:38:282183const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
2184const char kDisablePostscriptPrintingDescription[] =
2185 "Disables PostScript generation when printing to PostScript capable "
2186 "printers, and uses EMF generation in its place.";
2187
2188const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
2189const char kEnableAppcontainerDescription[] =
2190 "Enables the use of an AppContainer on sandboxed processes to improve "
2191 "security.";
2192
2193const char kEnableD3DVsync[] = "D3D v-sync";
2194const char kEnableD3DVsyncDescription[] =
2195 "Produces v-sync signal by having D3D wait for vertical blanking interval "
2196 "to occur.";
2197
2198const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2199const char kEnableDesktopIosPromotionsDescription[] =
2200 "Enable Desktop to iOS promotions, and allow users to see them if they are "
2201 "eligible.";
2202
Brett Wilsonf4d58772017-10-30 21:37:572203const char kExperimentalTabControllerName[] = "Experimental tab controller.";
2204const char kExperimentalTabControllerDescription[] =
2205 "Enable controller for highly experimental tab policies.";
2206
Brett Wilson7b44537e2017-08-18 01:38:282207const char kGdiTextPrinting[] = "GDI Text Printing";
2208const char kGdiTextPrintingDescription[] =
2209 "Use GDI to print text as simply text";
2210
2211const char kMergeKeyCharEventsName[] =
2212 "Enable or disable merging merging the key event (WM_KEY*) with char event "
2213 "(WM_CHAR).";
2214const char kMergeKeyCharEventsDescription[] =
2215 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separately.";
2216
2217const char kTraceExportEventsToEtwName[] =
2218 "Enable exporting of tracing events to ETW.";
2219const char kTraceExportEventsToEtwDesription[] =
2220 "If enabled, trace events will be exported to the Event Tracing for "
2221 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2222 "Xperf.";
2223
2224const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2225const char kUseWinrtMidiApiDescription[] =
2226 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 or "
2227 "later).";
2228
2229const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2230const char kWindows10CustomTitlebarDescription[] =
2231 "If enabled, Chrome will draw the titlebar and caption buttons instead of "
2232 "deferring to Windows.";
2233
Wez6656c572017-08-29 22:29:582234#if DCHECK_IS_ON() && defined(SYZYASAN)
Lei Zhang2eca9082017-10-17 20:42:502235const char kSyzyAsanDcheckIsFatalName[] = "DCHECKs are fatal";
2236const char kSyzyAsanDcheckIsFatalDescription[] =
Wez6656c572017-08-29 22:29:582237 "By default Chrome will evaluate DCHECKs in SyzyASAN builds, but only log "
2238 "failed DCHECKs. If enabled, DCHECKs will crash the calling process.";
2239#endif // DCHECK_IS_ON() && defined(SYZYASAN)
2240
Brett Wilson7b44537e2017-08-18 01:38:282241#endif // defined(OS_WIN)
2242
2243// Mac -------------------------------------------------------------------------
2244
2245#if defined(OS_MACOSX)
2246
2247const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
2248const char kAppInfoDialogDescription[] =
2249 "Makes the Toolkit-Views based App Info dialog accessible from "
2250 "chrome://apps or chrome://extensions in place of the native extension "
2251 "permissions dialog, or the details link (which is a link to the Web "
2252 "Store).";
2253
2254const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
2255const char kAppWindowCyclingDescription[] =
2256 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
2257 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
2258 "browser window, and browser windows will not be cycled when a Chrome App "
2259 "is active.";
2260
Lei Zhang2eca9082017-10-17 20:42:502261const char kCreditCardAutofillTouchBarName[] = "Credit Card Autofill Touch Bar";
2262const char kCreditCardAutofillTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282263 "Shows Credit Card Autofill Suggestions on the Touch Bar.";
2264
2265const char kFullscreenToolbarRevealName[] =
2266 "Enables the toolbar in fullscreen to reveal itself.";
2267const char kFullscreenToolbarRevealDescription[] =
2268 "Reveal the toolbar in fullscreen for a short period when the tab strip "
2269 "has changed.";
2270
2271const char kContentFullscreenName[] = "Improved Content Fullscreen";
2272const char kContentFullscreenDescription[] =
2273 "Fullscreen content window detaches from main browser window and goes to "
2274 "a new space without moving or changing the original browser window.";
2275
Lei Zhang2eca9082017-10-17 20:42:502276const char kDialogTouchBarName[] = "Dialog Touch Bar";
2277const char kDialogTouchBarDescription[] =
Brett Wilson7b44537e2017-08-18 01:38:282278 "Shows Dialog buttons on the Touch Bar.";
2279
2280const char kHostedAppsInWindowsName[] =
2281 "Allow hosted apps to be opened in windows";
2282const char kHostedAppsInWindowsDescription[] =
2283 "Allows hosted apps to be opened in windows instead of being limited to "
2284 "tabs.";
2285
Lei Zhang2eca9082017-10-17 20:42:502286const char kMacRTLName[] = "Enable RTL";
2287const char kMacRTLDescription[] = "Mirrors the UI for RTL language users";
Brett Wilson7b44537e2017-08-18 01:38:282288
Lei Zhang2eca9082017-10-17 20:42:502289const char kMacSystemShareMenuName[] = "Enable System Share Menu";
2290const char kMacSystemShareMenuDescription[] =
Leonard Grey2bdd08f2017-10-03 18:40:522291 "Enables sharing via macOS share extensions.";
2292
Lei Zhang2eca9082017-10-17 20:42:502293const char kMacTouchBarName[] = "Hardware Touch Bar";
2294const char kMacTouchBarDescription[] = "Control the use of the Touch Bar.";
Brett Wilson7b44537e2017-08-18 01:38:282295
2296const char kMacV2SandboxName[] = "Mac V2 Sandbox";
2297const char kMacV2SandboxDescription[] =
2298 "Eliminates the unsandboxed warmup phase and sandboxes processes for their "
2299 "entire life cycle.";
2300
2301const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
2302const char kMacViewsNativeAppWindowsDescription[] =
2303 "Controls whether to use Toolkit-Views based Chrome App windows.";
2304
2305const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
2306const char kMacViewsTaskManagerDescription[] =
2307 "Controls whether to use the Toolkit-Views based Task Manager.";
2308
2309const char kTabDetachingInFullscreenName[] =
2310 "Allow tab detaching in fullscreen";
2311const char kTabDetachingInFullscreenDescription[] =
2312 "Allow tabs to detach from the tabstrip when in fullscreen mode on Mac.";
2313
2314const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
2315const char kTabStripKeyboardFocusDescription[] =
2316 "Enable keyboard focus for the tabs in the tab strip.";
2317
2318const char kTranslateNewUxName[] = "New Translate UX";
2319const char kTranslateNewUxDescription[] =
2320 "Enable the new Translate bubble UX is offered instead of the infobar.";
2321
2322// Non-Mac ---------------------------------------------------------------------
2323
2324#else // !defined(OS_MACOSX)
2325
2326const char kPermissionPromptPersistenceToggleName[] =
2327 "Persistence Toggle in Permission Prompts";
2328const char kPermissionPromptPersistenceToggleDescription[] =
2329 "Whether to display a persistence toggle in permission prompts.";
2330
2331#endif
2332
2333// Chrome OS -------------------------------------------------------------------
vabr0215a8e2017-03-28 12:47:342334
2335#if defined(OS_CHROMEOS)
2336
Brett Wilson7b44537e2017-08-18 01:38:282337const char kAcceleratedMjpegDecodeName[] =
2338 "Hardware-accelerated mjpeg decode for captured frame";
2339const char kAcceleratedMjpegDecodeDescription[] =
2340 "Enable hardware-accelerated mjpeg decode for captured frame where "
2341 "available.";
vabr0215a8e2017-03-28 12:47:342342
Brett Wilson7b44537e2017-08-18 01:38:282343const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
2344const char kAllowTouchpadThreeFingerClickDescription[] =
2345 "Enables touchpad three-finger-click as middle button.";
vabr0215a8e2017-03-28 12:47:342346
Brett Wilson7b44537e2017-08-18 01:38:282347const char kArcBootCompleted[] = "Load Android apps automatically";
2348const char kArcBootCompletedDescription[] =
2349 "Allow Android apps to start automatically after signing in.";
vabr0215a8e2017-03-28 12:47:342350
Lev Rumyantsev7a8544312017-08-18 19:26:512351const char kArcNativeBridgeExperimentName[] =
2352 "Enable native bridge experiment for ARC";
2353const char kArcNativeBridgeExperimentDescription[] =
2354 "Enables experimental native bridge feature.";
2355
Kevin Cernekeeb7f96a52017-10-25 17:40:182356const char kArcVpnName[] = "Enable ARC VPN integration";
2357const char kArcVpnDescription[] =
2358 "Allow Android VPN clients to tunnel Chrome traffic.";
2359
Brett Wilson7b44537e2017-08-18 01:38:282360const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
2361const char kAshEnableUnifiedDesktopDescription[] =
2362 "Enable unified desktop mode which allows a window to span multiple "
2363 "displays.";
vabr0215a8e2017-03-28 12:47:342364
Brett Wilson7b44537e2017-08-18 01:38:282365const char kBootAnimationName[] = "Boot animation";
2366const char kBootAnimationDescription[] =
2367 "Wallpaper boot animation (except for OOBE case).";
vabr0215a8e2017-03-28 12:47:342368
Sean Kau5e956192017-10-06 22:25:172369const char kBulkPrintersName[] = "Bulk Printers Policy";
2370const char kBulkPrintersDescription[] = "Enables the new bulk printers policy";
2371
Brett Wilson7b44537e2017-08-18 01:38:282372const char kCaptivePortalBypassProxyName[] =
2373 "Bypass proxy for Captive Portal Authorization";
2374const char kCaptivePortalBypassProxyDescription[] =
2375 "If proxy is configured, it usually prevents from authorization on "
2376 "different captive portals. This enables opening captive portal "
2377 "authorization dialog in a separate window, which ignores proxy settings.";
vabr0215a8e2017-03-28 12:47:342378
Brett Wilson7b44537e2017-08-18 01:38:282379const char kCrOSComponentName[] = "Chrome OS Component";
2380const char kCrOSComponentDescription[] =
2381 "Enable the use of componentized escpr CUPS filter.";
vabr0215a8e2017-03-28 12:47:342382
Xiaochu Liu51d03fd2017-09-08 23:51:022383const char kCrOSContainerName[] = "Chrome OS Container";
2384const char kCrOSContainerDescription[] =
2385 "Enable the use of Chrome OS Container utility.";
2386
Brett Wilson7b44537e2017-08-18 01:38:282387const char kCrosRegionsModeName[] = "Cros-regions load mode";
2388const char kCrosRegionsModeDescription[] =
2389 "This flag controls cros-regions load mode";
2390const char kCrosRegionsModeDefault[] = "Default";
2391const char kCrosRegionsModeOverride[] = "Override VPD values.";
2392const char kCrosRegionsModeHide[] = "Hide VPD values.";
vabr0215a8e2017-03-28 12:47:342393
Jacob Dufault2becbc482017-08-25 00:36:352394const char kDisableLockScreenAppsName[] = "Disable lock screen note taking";
2395const char kDisableLockScreenAppsDescription[] =
2396 "Disable new-note action handler apps on the lock screen. The user will "
2397 "not be able to launch the preferred note-taking action from the lock "
2398 "screen, provided that the app supports lock screen note taking.";
2399
Sammie Quonef6b4882017-09-14 16:50:052400const char kDisableTabletAutohideTitlebarsName[] =
2401 "Disable autohide titlebars in tablet mode";
2402const char kDisableTabletAutohideTitlebarsDescription[] =
2403 "Disable tablet mode autohide titlebars functionality. The user will be "
2404 "able to see the titlebar in tablet mode.";
2405
Brett Wilson7b44537e2017-08-18 01:38:282406const char kEnablePerUserTimezoneName[] = "Per-user time zone preferences.";
2407const char kEnablePerUserTimezoneDescription[] =
2408 "Chrome OS system timezone preference is stored and handled for each user "
2409 "individually.";
vabr0215a8e2017-03-28 12:47:342410
Brett Wilson7b44537e2017-08-18 01:38:282411const char kDisableSystemTimezoneAutomaticDetectionName[] =
2412 "SystemTimezoneAutomaticDetection policy support";
2413const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2414 "Disable system timezone automatic detection device policy.";
vabr0215a8e2017-03-28 12:47:342415
Lei Zhang2eca9082017-10-17 20:42:502416const char kEnableBackgroundBlurName[] = "Enable background blur.";
2417const char kEnableBackgroundBlurDescription[] =
Alex Newcomer43cb7f12017-07-28 17:37:392418 "Enables background blur for the Peeking Launcher, Lock Screen, and Tab "
2419 "Switcher.";
2420
Brett Wilson7b44537e2017-08-18 01:38:282421const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2422const char kEnableAndroidWallpapersAppDescription[] =
2423 "Enables the Android Wallpapers App as the default Wallpaper App on Chrome "
2424 "OS.";
vabr0215a8e2017-03-28 12:47:342425
Brett Wilson7b44537e2017-08-18 01:38:282426const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2427const char kEnableChromevoxArcSupportDescription[] =
2428 "Enable ChromeVox screen reader features in ARC";
vabr0215a8e2017-03-28 12:47:342429
Brett Wilson7b44537e2017-08-18 01:38:282430const char kEnableEhvInputName[] =
2431 "Emoji, handwriting and voice input on opt-in IME menu";
2432const char kEnableEhvInputDescription[] =
2433 "Enable access to emoji, handwriting and voice input form opt-in IME menu.";
vabr0215a8e2017-03-28 12:47:342434
Brett Wilson7b44537e2017-08-18 01:38:282435const char kEnableEncryptionMigrationName[] =
2436 "Enable encryption migration of user data";
2437const char kEnableEncryptionMigrationDescription[] =
2438 "If enabled and the device supports ARC, the user will be asked to update "
2439 "the encryption of user data when the user signs in.";
vabr0215a8e2017-03-28 12:47:342440
Klemen Kozjekf2b30e452017-09-01 05:04:512441const char kEnableExternalDriveRename[] = "Enable external drive rename";
2442const char kEnableExternalDriveRenameDescription[] =
2443 "If enabled, external removable drives will get 'Rename' action in the "
2444 "context menu";
2445
Blake O'Hare9e9317b22017-10-24 02:49:352446const char kEnableFloatingVirtualKeyboardName[] =
2447 "Enable floating virtual keyboard";
2448const char kEnableFloatingVirtualKeyboardDescription[] =
2449 "If enabled, the keyboard will use floating behavior by default.";
2450
Brett Wilson7b44537e2017-08-18 01:38:282451const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2452const char kEnableImeMenuDescription[] =
2453 "Enable access to the new IME menu in the Language Settings page.";
vabr0215a8e2017-03-28 12:47:342454
xdai6459d0ca2017-10-11 19:23:102455const char kEnableTabletSplitViewName[] = "Split view in Tablet mode";
2456const char kEnableTabletSplitViewDescription[] =
2457 "Enable split view for Chrome OS tablet mode.";
2458
Klemen Kozjek05fc4512017-10-18 12:51:102459const char kEnableZipArchiverPackerName[] = "ZIP archiver - Packer";
2460const char kEnableZipArchiverPackerDescription[] =
2461 "Enable the ability to archive files on Drive in the Files app";
2462
2463const char kEnableZipArchiverUnpackerName[] = "ZIP archiver - Unpacker";
2464const char kEnableZipArchiverUnpackerDescription[] =
2465 "Enable the ability to unpack archives in incognito mode";
Brett Wilson7b44537e2017-08-18 01:38:282466
2467const char kEolNotificationName[] = "Disable Device End of Life notification.";
2468const char kEolNotificationDescription[] =
2469 "Disable Notifcation when Device is End of Life.";
2470
2471const char kExperimentalAccessibilityFeaturesName[] =
2472 "Experimental accessibility features";
2473const char kExperimentalAccessibilityFeaturesDescription[] =
2474 "Enable additional accessibility features in the Settings page.";
2475
2476const char kExperimentalInputViewFeaturesName[] =
2477 "Experimental input view features";
2478const char kExperimentalInputViewFeaturesDescription[] =
2479 "Enable experimental features for IME input views.";
2480
2481const char kFileManagerTouchModeName[] = "Files App. touch mode";
2482const char kFileManagerTouchModeDescription[] =
2483 "Touchscreen-specific interactions of the Files app.";
2484
2485const char kFirstRunUiTransitionsName[] =
2486 "Animated transitions in the first-run tutorial";
2487const char kFirstRunUiTransitionsDescription[] =
2488 "Transitions during first-run tutorial are animated.";
2489
Brett Wilson7b44537e2017-08-18 01:38:282490const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2491const char kForceEnableStylusToolsDescription[] =
2492 "Forces display of the stylus tools menu in the shelf and the stylus "
2493 "section in settings, even if there is no attached stylus device.";
2494
2495const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
2496const char kGestureEditingDescription[] =
2497 "Enable/Disable gesture editing option in the settings page for the "
2498 "virtual keyboard.";
2499
2500const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
2501const char kGestureTypingDescription[] =
2502 "Enable/Disable gesture typing option in the settings page for the virtual "
2503 "keyboard.";
2504
2505const char kInputViewName[] = "Input views";
2506const char kInputViewDescription[] =
2507 "Enable IME extensions to supply custom views for user input such as "
2508 "virtual keyboards.";
2509
2510const char kMemoryPressureThresholdName[] =
2511 "Memory discard strategy for advanced pressure handling";
2512const char kMemoryPressureThresholdDescription[] =
2513 "Memory discarding strategy to use";
2514const char kConservativeThresholds[] =
2515 "Conservative memory pressure release strategy";
2516const char kAggressiveCacheDiscardThresholds[] =
2517 "Aggressive cache release strategy";
2518const char kAggressiveTabDiscardThresholds[] =
2519 "Aggressive tab release strategy";
2520const char kAggressiveThresholds[] =
2521 "Aggressive tab and cache release strategy";
2522
2523const char kMtpWriteSupportName[] = "MTP write support";
2524const char kMtpWriteSupportDescription[] =
2525 "MTP write support in File System API (and file manager). In-place editing "
2526 "operations are not supported.";
2527
2528const char kMultideviceName[] = "Enable multidevice features";
2529const char kMultideviceDescription[] =
2530 "Enables UI for controlling multidevice features.";
vabr0215a8e2017-03-28 12:47:342531
Bailey Berrofc0da1b2017-11-02 11:02:302532const char kNativeSambaName[] = "Native Samba Client";
2533const char kNativeSambaDescription[] =
2534 "If enabled, allows connections to a Samba share via Files app";
2535
vabr0215a8e2017-03-28 12:47:342536const char kNetworkPortalNotificationName[] =
2537 "Notifications about captive portals";
vabr0215a8e2017-03-28 12:47:342538const char kNetworkPortalNotificationDescription[] =
2539 "If enabled, notification is displayed when device is connected to a "
2540 "network behind captive portal.";
2541
stevenjbe1d457382017-05-24 22:37:242542const char kNetworkSettingsConfigName[] =
2543 "Settings based Network Configuration";
stevenjbe1d457382017-05-24 22:37:242544const char kNetworkSettingsConfigDescription[] =
2545 "Enables the Settings based network configuration UI instead of the Views "
2546 "based configuration dialog.";
2547
Brett Wilson7b44537e2017-08-18 01:38:282548const char kNewKoreanImeName[] = "New Korean IME";
2549const char kNewKoreanImeDescription[] =
2550 "New Korean IME, which is based on Google Input Tools' HMM engine.";
vabr0215a8e2017-03-28 12:47:342551
Brett Wilson7b44537e2017-08-18 01:38:282552const char kNewZipUnpackerName[] = "New ZIP unpacker";
2553const char kNewZipUnpackerDescription[] =
2554 "New ZIP unpacker flow, based on the File System Provider API.";
vabr0215a8e2017-03-28 12:47:342555
Brett Wilson7b44537e2017-08-18 01:38:282556const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
2557const char kPhysicalKeyboardAutocorrectDescription[] =
2558 "Enable physical keyboard autocorrect for US keyboard, which can provide "
2559 "suggestions as typing on physical keyboard.";
vabr0215a8e2017-03-28 12:47:342560
2561const char kPrinterProviderSearchAppName[] =
2562 "Chrome Web Store Gallery app for printer drivers";
vabr0215a8e2017-03-28 12:47:342563const char kPrinterProviderSearchAppDescription[] =
2564 "Enables Chrome Web Store Gallery app for printer drivers. The app "
Vitalii Iarko7df520142017-07-07 12:53:192565 "searches Chrome Web Store for extensions that support printing to a USB "
2566 "printer with specific USB ID.";
vabr0215a8e2017-03-28 12:47:342567
Brett Wilson7b44537e2017-08-18 01:38:282568const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
2569const char kQuickUnlockPinDescription[] =
2570 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2571 "device on the lock screen after you have signed into your device.";
2572const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2573const char kQuickUnlockPinSigninDescription[] =
2574 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2575 "device. After changing this flag PIN needs to be set up again.";
2576const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2577const char kQuickUnlockFingerprintDescription[] =
2578 "Enabling fingerprint quick unlock allows you to setup and use a "
2579 "fingerprint to unlock your Chromebook on the lock screen after you have "
2580 "signed into your device.";
vabr0215a8e2017-03-28 12:47:342581
Brett Wilson7b44537e2017-08-18 01:38:282582const char kOfficeEditingComponentAppName[] =
2583 "Office Editing for Docs, Sheets & Slides";
2584const char kOfficeEditingComponentAppDescription[] =
2585 "Office Editing for Docs, Sheets & Slides for testing purposes.";
Daniel Erat33054b22017-06-27 16:18:072586
2587const char kSpuriousPowerButtonWindowName[] = "Spurious power button window";
2588const char kSpuriousPowerButtonWindowDescription[] =
2589 "Number of recent accelerometer samples to examine to determine if a power "
2590 "button event was spurious.";
2591
2592const char kSpuriousPowerButtonAccelCountName[] =
2593 "Spurious power button acceleration count";
2594const char kSpuriousPowerButtonAccelCountDescription[] =
2595 "Number of recent acceleration samples that must meet or exceed exceed the "
2596 "threshold in order for a power button event to be considered spurious.";
2597
2598const char kSpuriousPowerButtonScreenAccelName[] =
2599 "Spurious power button screen acceleration threshold";
2600const char kSpuriousPowerButtonScreenAccelDescription[] =
2601 "Threshold (in m/s^2, disregarding gravity) that screen acceleration must "
2602 "meet or exceed for a power button event to be considered spurious.";
2603
2604const char kSpuriousPowerButtonKeyboardAccelName[] =
2605 "Spurious power button keyboard acceleration threshold";
2606const char kSpuriousPowerButtonKeyboardAccelDescription[] =
2607 "Threshold (in m/s^2, disregarding gravity) that keyboard acceleration "
2608 "must meet or exceed for a power button event to be considered spurious.";
2609
2610const char kSpuriousPowerButtonLidAngleChangeName[] =
2611 "Spurious power button lid angle change threshold";
2612const char kSpuriousPowerButtonLidAngleChangeDescription[] =
2613 "Change in lid angle (i.e. hinge between keyboard and screen) that must be "
2614 "met or exceeded for a power button event to be considered spurious.";
2615
Chung-Sheng Wu468b0b32017-09-01 14:41:572616const char kSysInternalsName[] = "Enable Sys-Internals";
2617const char kSysInternalsDescription[] =
2618 "If enabled, user can monitor system information at "
2619 "chrome://sys-internals.";
2620
Brett Wilson7b44537e2017-08-18 01:38:282621const char kTeamDrivesName[] = "Enable Team Drives Integration";
2622const char kTeamDrivesDescription[] =
2623 "If enabled, files under Team Drives will appear in the Files app.";
vabr0215a8e2017-03-28 12:47:342624
Brett Wilson7b44537e2017-08-18 01:38:282625const char kTetherName[] = "Instant Tethering";
2626const char kTetherDescription[] =
2627 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
2628 "phone to share its Internet connection with this device.";
stanisc14bed0b132017-05-10 17:46:372629
Brett Wilson7b44537e2017-08-18 01:38:282630const char kTouchscreenCalibrationName[] =
2631 "Enable/disable touchscreen calibration option in material design settings";
2632const char kTouchscreenCalibrationDescription[] =
2633 "If enabled, the user can calibrate the touch screen displays in "
2634 "chrome://settings/display.";
yhanadac5bff5b2017-05-18 06:37:092635
Mitsuru Oshima63d3f2a2017-08-23 00:12:112636// Force UI Mode
2637const char kUiModeName[] = "Force Ui Mode";
2638const char kUiModeDescription[] =
2639 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
2640 R"*(despite its current orientation. "Tablet" means that the )*"
2641 R"*(chromebook will act as if it were in tablet mode. "Clamshell" )*"
2642 R"*(means that the chromebook will act as if it were in clamshell )*"
2643 R"*(mode . "Auto" means that the chromebook will alternate between )*"
2644 R"*(the two, based on its orientation.)*";
2645const char kUiModeTablet[] = "TouchView";
2646const char kUiModeClamshell[] = "Clamshell";
2647const char kUiModeAuto[] = "Auto (default)";
2648
bruthigeafb0c02017-06-09 13:11:532649const char kUiDevToolsName[] = "Enable native UI inspection";
2650const char kUiDevToolsDescription[] =
2651 "Enables inspection of native UI elements. For local inspection use "
2652 "chrome://inspect#other";
2653
Brett Wilson7b44537e2017-08-18 01:38:282654const char kUseMusName[] = "Mus";
2655const char kUseMusDescription[] = "Enable the Mojo UI service.";
2656const char kEnableMashDescription[] =
2657 "Mash (UI, Chrome and ash in separate services)";
2658const char kEnableMusDescription[] =
2659 "Mus (UI in separate service, Chrome and ash in same service)";
2660
2661const char kVideoPlayerChromecastSupportName[] =
2662 "Experimental Chromecast support for Video Player";
2663const char kVideoPlayerChromecastSupportDescription[] =
2664 "This option enables experimental Chromecast support for Video Player app "
2665 "on ChromeOS.";
2666
2667const char kVirtualKeyboardName[] = "Virtual Keyboard";
2668const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
2669
2670const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
2671const char kVirtualKeyboardOverscrollDescription[] =
2672 "Enables virtual keyboard overscroll support.";
2673
2674const char kVoiceInputName[] = "Voice input on virtual keyboard";
2675const char kVoiceInputDescription[] =
2676 "Enables voice input on virtual keyboard.";
2677
2678const char kWakeOnPacketsName[] = "Wake On Packets";
2679const char kWakeOnPacketsDescription[] =
2680 "Enables waking the device based on the receipt of some network packets.";
orenb21da031c2017-06-30 21:24:202681
yhanadac5bff5b2017-05-18 06:37:092682#endif // defined(OS_CHROMEOS)
2683
Brett Wilson7b44537e2017-08-18 01:38:282684// Random platform combinations -----------------------------------------------
2685
2686#if defined(OS_WIN) || defined(OS_LINUX)
2687
2688const char kEnableInputImeApiName[] = "Enable Input IME API";
2689const char kEnableInputImeApiDescription[] =
2690 "Enable the use of chrome.input.ime API.";
2691
2692#endif // defined(OS_WIN) || defined(OS_LINUX)
2693
2694#if defined(OS_WIN) || defined(OS_MACOSX)
2695
2696const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2697const char kAutomaticTabDiscardingDescription[] =
2698 "If enabled, tabs get automatically discarded from memory when the system "
2699 "memory is low. Discarded tabs are still visible on the tab strip and get "
2700 "reloaded when clicked on. Info about discarded tabs can be found at "
2701 "chrome://discards.";
2702
2703#endif // defined(OS_WIN) || defined(OS_MACOSX)
2704
2705// Feature flags --------------------------------------------------------------
2706
2707#if BUILDFLAG(ENABLE_VR)
2708
2709#if defined(OS_ANDROID)
2710
2711const char kEnableVrShellName[] = "Enable Chrome VR.";
2712const char kEnableVrShellDescription[] =
2713 "Allow browsing with a VR headset if available for this device.";
2714
2715const char kVrCustomTabBrowsingName[] = "Enable Custom Tab browsing in VR.";
2716const char kVrCustomTabBrowsingDescription[] =
2717 "Allow browsing with a VR headset in a Custom Tab if available for this "
2718 "device.";
2719
Michael Thiessenb480fe92017-10-26 16:25:102720const char kVrShellExperimentalRenderingName[] =
2721 "Enable Chrome VR experimental rendering "
2722 "features.";
2723const char kVrShellExperimentalRenderingDescription[] =
2724 "Turns on experimental rendering features for Chrome VR, like power saving "
2725 "rendering modes.";
2726
Yash Malik812aebe2017-10-31 18:17:262727const char kVrLaunchIntentName[] = "Enable VR intents";
2728const char kVrLaunchIntentDescription[] =
2729 "Allow intents to launch Chrome in VR mode.";
2730
Brett Wilson7b44537e2017-08-18 01:38:282731const char kWebVrAutopresentName[] = "Enable WebVr auto presentation";
2732const char kWebVrAutopresentDescription[] =
2733 "Allows auto presentation of WebVr content from trusted first-party apps";
2734
2735const char kWebVrVsyncAlignName[] = "Enable WebVR VSync-aligned timing";
2736const char kWebVrVsyncAlignDescription[] =
2737 "Enabling this option aligns WebVR application rendering with VSync "
2738 "for smoother animations.";
2739
2740#endif // OS_ANDROID
2741
2742const char kWebvrExperimentalRenderingName[] =
2743 "WebVR experimental rendering optimizations";
2744const char kWebvrExperimentalRenderingDescription[] =
2745 "Enabling this option activates experimental rendering path optimizations "
2746 "for WebVR.";
2747
2748#endif // ENABLE_VR
2749
Nico Weberaf3b00b2017-09-11 17:58:172750#if BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282751
2752const char kNaclDebugMaskName[] =
2753 "Restrict Native Client GDB-based debugging by pattern";
2754const char kNaclDebugMaskDescription[] =
2755 "Restricts Native Client application GDB-based debugging by URL of "
2756 "manifest file. Native Client GDB-based debugging must be enabled for this "
2757 "option to work.";
2758const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
2759const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
2760 "Debug everything except secure shell and the PNaCl translator.";
2761const char kNaclDebugMaskChoiceIncludeDebug[] =
2762 "Debug only if manifest URL ends with debug.nmf.";
2763
2764const char kNaclDebugName[] = "Native Client GDB-based debugging";
2765const char kNaclDebugDescription[] =
2766 "Enable GDB debug stub. This will stop a Native Client application on "
2767 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
2768
2769const char kNaclName[] = "Native Client";
2770const char kNaclDescription[] =
2771 "Support Native Client for all web applications, even those that were not "
2772 "installed from the Chrome Web Store.";
2773
2774const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
2775const char kPnaclSubzeroDescription[] =
2776 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
2777
Nico Weberaf3b00b2017-09-11 17:58:172778#endif // BUILDFLAG(ENABLE_NACL)
Brett Wilson7b44537e2017-08-18 01:38:282779
Brett Wilson7b44537e2017-08-18 01:38:282780#if BUILDFLAG(ENABLE_WEBRTC)
2781
2782const char kWebrtcH264WithOpenh264FfmpegName[] =
2783 "WebRTC H.264 software video encoder/decoder";
2784const char kWebrtcH264WithOpenh264FfmpegDescription[] =
2785 "When enabled, an H.264 software video encoder/decoder pair is included. "
2786 "If a hardware encoder/decoder is also available it may be used instead of "
2787 "this encoder/decoder.";
2788
2789#endif // BUILDFLAG(ENABLE_WEBRTC)
2790
James Cookf9d34d22017-10-04 16:39:352791#if defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282792
2793const char kAshDisableSmoothScreenRotationName[] =
2794 "Disable smooth rotation animations.";
2795const char kAshDisableSmoothScreenRotationDescription[] =
2796 "Disable smooth rotation animations.";
2797
wutaoc70d7b92017-11-01 08:06:012798const char kAshEnableKeyboardShortcutViewerName[] =
2799 "Enable keyboard shortcut viewer.";
2800const char kAshEnableKeyboardShortcutViewerDescription[] =
2801 "Enable keyboard shortcut viewer.";
2802
Brett Wilson7b44537e2017-08-18 01:38:282803const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
2804const char kAshEnableMirroredScreenDescription[] =
2805 "Enable the mirrored screen mode. This mode flips the screen image "
2806 "horizontally.";
2807
2808const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
2809const char kAshShelfColorDescription[] =
2810 "Enables/disables the shelf color to be a derived from the wallpaper. The "
2811 "--ash-shelf-color-scheme flag defines how that color is derived.";
2812
2813const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
2814const char kAshShelfColorSchemeDescription[] =
2815 "Specify how the color is derived from the wallpaper. This flag is only "
2816 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
2817const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
2818const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
2819const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
2820const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
2821const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
2822const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
2823
Mike Wassermana38a8a62017-10-02 03:04:272824const char kAshDisableShelfModelSynchronization[] =
2825 "Disable shelf model synchronization";
2826const char kAshDisableShelfModelSynchronizationDescription[] =
2827 "Use a single in-process shelf data model shared between Chrome and Ash. "
2828 "This only applies to the Classic Ash and Mus configs; synchronization "
2829 "between two models is required when running the Mash config via --mash.";
Mike Wasserman2115b162017-09-19 23:42:372830
Brett Wilson7b44537e2017-08-18 01:38:282831const char kMaterialDesignInkDropAnimationSpeedName[] =
Mike Wasserman2115b162017-09-19 23:42:372832 "Material design ink drop animation speed";
Brett Wilson7b44537e2017-08-18 01:38:282833const char kMaterialDesignInkDropAnimationSpeedDescription[] =
2834 "Sets the speed of the experimental visual feedback animations for "
2835 "material design.";
2836const char kMaterialDesignInkDropAnimationFast[] = "Fast";
2837const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
2838
2839const char kUiShowCompositedLayerBordersName[] =
2840 "Show UI composited layer borders";
2841const char kUiShowCompositedLayerBordersDescription[] =
2842 "Show border around composited layers created by UI.";
2843const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
2844const char kUiShowCompositedLayerBordersSurface[] = "Surface";
2845const char kUiShowCompositedLayerBordersLayer[] = "Layer";
2846const char kUiShowCompositedLayerBordersAll[] = "All";
2847
2848const char kUiSlowAnimationsName[] = "Slow UI animations";
2849const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
2850
James Cookf9d34d22017-10-04 16:39:352851#endif // defined(OS_CHROMEOS)
Brett Wilson7b44537e2017-08-18 01:38:282852
Brett Wilson7b44537e2017-08-18 01:38:282853#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2854
2855const char kAutofillCreditCardUploadName[] =
2856 "Enable offering upload of Autofilled credit cards";
2857const char kAutofillCreditCardUploadDescription[] =
2858 "Enables a new option to upload credit cards to Google Payments for sync "
2859 "to all Chrome devices.";
2860
2861#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2862
2863// ============================================================================
2864// Don't just add flags to the end, put them in the right section in
2865// alphabetical order just like the header file.
2866// ============================================================================
2867
vabr0215a8e2017-03-28 12:47:342868} // namespace flag_descriptions