blob: c9876e023206f47c212f43ecd78c21ec37fe3d62 [file] [log] [blame]
vabr0215a8e2017-03-28 12:47:341// Copyright 2017 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/browser/flag_descriptions.h"
6
7namespace flag_descriptions {
8
horodb71a5a2017-06-09 16:08:249const char kBrowserSideNavigationName[] = "Enable browser side navigation";
10
11const char kBrowserSideNavigationDescription[] =
12 "Enable browser side navigation (aka PlzNaviate).";
13
vabr0215a8e2017-03-28 12:47:3414// Material Design version of chrome://bookmarks
15
16const char kEnableMaterialDesignBookmarksName[] =
17 "Enable Material Design bookmarks";
18
19const char kEnableMaterialDesignBookmarksDescription[] =
20 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
21 "bookmarks page.";
22
23// Material Design version of chrome://policy
24
25const char kEnableMaterialDesignPolicyPageName[] =
26 "Enable Material Design policy page";
27
28const char kEnableMaterialDesignPolicyPageDescription[] =
29 "If enabled, the chrome://md-policy URL loads the Material Design "
30 "policy page.";
31
vabr0215a8e2017-03-28 12:47:3432// Material Design version of chrome://extensions
33
34const char kEnableMaterialDesignExtensionsName[] =
35 "Enable Material Design extensions";
36
37const char kEnableMaterialDesignExtensionsDescription[] =
38 "If enabled, the chrome://extensions/ URL loads the Material Design "
39 "extensions page.";
40
41// Material Design version of feedback form
42
43const char kEnableMaterialDesignFeedbackName[] =
44 "Enable Material Design feedback";
45
46const char kEnableMaterialDesignFeedbackDescription[] =
47 "If enabled, reporting an issue will load the Material Design feedback "
48 "UI.";
49
galinapae72e152017-05-12 13:12:2850const char kContextualSuggestionsCarouselName[] =
51 "Enable Contextual Suggestions";
52
53const char kContextualSuggestionsCarouselDescription[] =
54 "If enabled, shows contextual suggestions in a horizontal carousel in "
55 "bottom sheet content.";
56
vabr0215a8e2017-03-28 12:47:3457// Report URL to SafeSearch
58
59const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
60
61const char kSafeSearchUrlReportingDescription[] =
62 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
63
64// Device scale factor change in content crbug.com/485650.
65
66const char kEnableUseZoomForDsfName[] =
67 "Use Blink's zoom for device scale factor.";
68
69const char kEnableUseZoomForDsfDescription[] =
70 "If enabled, Blink uses its zooming mechanism to scale content for "
71 "device scale factor.";
72
73const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
74
75const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
76
77const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
78
brettw5f9c1642017-05-14 17:12:4879const char kNostatePrefetchName[] = "No-State Prefetch";
vabr0215a8e2017-03-28 12:47:3480
81const char kNostatePrefetchDescription[] =
82 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
83 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
84 R"*(improve load times even more. "Simple Load" does nothing and is )*"
85 R"*(similar to disabling the feature, but collects more metrics for )*"
86 R"*(comparison purposes.)*";
87
88const char kSpeculativePrefetchName[] = "Speculative Prefetch";
89
90const char kSpeculativePrefetchDescription[] =
91 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
92 R"*(load times, based on a local database (see chrome://predictors). )*"
93 R"*("Learning" means that only the database construction is enabled, )*"
94 R"*("Prefetching" that learning and prefetching are enabled.)*";
95
horo201d49492017-05-19 05:31:4096const char kOffMainThreadFetchName[] = "Off-main-thread fetch for Web Workers";
97
98const char kOffMainThreadFetchDescription[] =
99 "If enabled, the resource fetches from worker threads will not be blocked "
100 "by the busy main thread.";
101
vabr0215a8e2017-03-28 12:47:34102// Force Tablet Mode
103
104const char kForceTabletModeName[] = "Force Tablet Mode";
105
106const char kForceTabletModeDescription[] =
107 R"*(This flag can be used to force a certain mode on to a chromebook, )*"
108 R"*(despite its current orientation. "TouchView" means that the )*"
109 R"*(chromebook will act as if it were in touch view mode. "Clamshell" )*"
110 R"*(means that the chromebook will act as if it were in clamshell )*"
111 R"*(mode . "Auto" means that the chromebook will alternate between )*"
112 R"*(the two, based on its orientation.)*";
113
114const char kForceTabletModeTouchview[] = "TouchView";
115
116const char kForceTabletModeClamshell[] = "Clamshell";
117
118const char kForceTabletModeAuto[] = "Auto (default)";
119
120// Print Preview features
rbpotterc51ee3622017-05-19 20:24:53121#if !defined(OS_WIN) && !defined(OS_MACOSX)
vabr0215a8e2017-03-28 12:47:34122const char kPrintPdfAsImageName[] = "Print Pdf as Image";
123
124const char kPrintPdfAsImageDescription[] =
125 "If enabled, an option to print PDF files as images will be available "
126 "in print preview.";
rbpotterc51ee3622017-05-19 20:24:53127#endif
vabr0215a8e2017-03-28 12:47:34128
brettw5f9c1642017-05-14 17:12:48129#if !defined(DISABLE_NACL)
130
vabr0215a8e2017-03-28 12:47:34131const char kNaclName[] = "Native Client";
vabr0215a8e2017-03-28 12:47:34132const char kNaclDescription[] =
133 "Support Native Client for all web applications, even those that were "
134 "not installed from the Chrome Web Store.";
135
vabr0215a8e2017-03-28 12:47:34136const char kNaclDebugName[] = "Native Client GDB-based debugging";
vabr0215a8e2017-03-28 12:47:34137const char kNaclDebugDescription[] =
138 "Enable GDB debug stub. This will stop a Native Client application on "
139 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
140
vabr0215a8e2017-03-28 12:47:34141const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
vabr0215a8e2017-03-28 12:47:34142const char kPnaclSubzeroDescription[] =
143 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
144
vabr0215a8e2017-03-28 12:47:34145const char kNaclDebugMaskName[] =
146 "Restrict Native Client GDB-based debugging by pattern";
vabr0215a8e2017-03-28 12:47:34147const char kNaclDebugMaskDescription[] =
148 "Restricts Native Client application GDB-based debugging by URL of "
149 "manifest file. Native Client GDB-based debugging must be enabled for "
150 "this option to work.";
vabr0215a8e2017-03-28 12:47:34151const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
vabr0215a8e2017-03-28 12:47:34152const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
153 "Debug everything except secure shell and the PNaCl translator.";
vabr0215a8e2017-03-28 12:47:34154const char kNaclDebugMaskChoiceIncludeDebug[] =
155 "Debug only if manifest URL ends with debug.nmf.";
156
brettw5f9c1642017-05-14 17:12:48157#endif
158
vabr0215a8e2017-03-28 12:47:34159const char kEnableHttpFormWarningName[] =
160 "Show in-form warnings for sensitive fields when the top-level page is "
161 "not HTTPS";
162
163const char kEnableHttpFormWarningDescription[] =
164 "Attaches a warning UI to any password or credit card fields detected "
165 "when the top-level page is not HTTPS";
166
167const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
168
169const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
vabr0215a8e2017-03-28 12:47:34170const char kMarkHttpAsDangerous[] = "Always mark HTTP as actively dangerous";
elawrence52854122017-05-31 04:36:01171const char kMarkHttpAsNonSecureAfterEditing[] =
172 "Warn on HTTP after editing forms";
173const char kMarkHttpAsNonSecureWhileIncognito[] =
174 "Warn on HTTP while in Incognito mode";
175const char kMarkHttpAsNonSecureWhileIncognitoOrEditing[] =
176 "Warn on HTTP while in Incognito mode or after editing forms";
vabr0215a8e2017-03-28 12:47:34177
msrameka8443112017-04-24 23:20:10178// Material design of the Incognito NTP.
179
180extern const char kMaterialDesignIncognitoNTPName[] =
181 "Material Design Incognito NTP.";
182
183extern const char kMaterialDesignIncognitoNTPDescription[] =
184 "If enabled, the Incognito New Tab page uses the new material design "
185 "with a better readable text.";
186
vabr0215a8e2017-03-28 12:47:34187const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
188
189const char kSavePageAsMhtmlDescription[] =
190 "Enables saving pages as MHTML: a single text file containing HTML and "
191 "all sub-resources.";
192
etienneb9a4b5302017-06-08 06:28:46193// Flag and values for MHTML Generator options lab.
vabr0215a8e2017-03-28 12:47:34194
195const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
196
197const char kMhtmlGeneratorOptionDescription[] =
198 "Provides experimental options for MHTML file generator.";
199
200const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
201
202const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
203
204const char kDeviceDiscoveryNotificationsName[] =
205 "Device Discovery Notifications";
206
207const char kDeviceDiscoveryNotificationsDescription[] =
208 "Device discovery notifications on local network.";
209
210#if defined(OS_WIN)
211
212const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
213
214const char kCloudPrintXpsDescription[] =
215 "XPS enables advanced options for classic printers connected to the "
216 "Cloud Print with Chrome. Printers must be re-connected after changing "
217 "this flag.";
218
219#endif // defined(OS_WIN)
220
221const char kLoadMediaRouterComponentExtensionName[] =
222 "Load Media Router Component Extension";
223
224const char kLoadMediaRouterComponentExtensionDescription[] =
225 "Loads the Media Router component extension at startup.";
226
227const char kPrintPreviewRegisterPromosName[] =
228 "Print Preview Registration Promos";
229
230const char kPrintPreviewRegisterPromosDescription[] =
231 "Enable registering unregistered cloud printers from print preview.";
232
233const char kScrollPredictionName[] = "Scroll prediction";
234
235const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
236
237const char kTopChromeMdDescription[] =
238 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
239
240const char kTopChromeMdMaterial[] = "Normal";
241
242const char kTopChromeMdMaterialHybrid[] = "Touch";
243
patricialor325fa4c2017-05-08 07:51:31244const char kSiteDetails[] = "Site Details";
245
246const char kSiteDetailsDescription[] =
247 "Adds UI in MD Settings to view all content settings for a specific "
248 "origin.";
249
vabr0215a8e2017-03-28 12:47:34250const char kSiteSettings[] = "Site settings with All sites and Site details";
251
252const char kSiteSettingsDescription[] =
253 "Adds new ways of viewing Site settings.";
254
255const char kSecondaryUiMd[] =
256 "Material Design in the rest of the browser's native UI";
257
258const char kSecondaryUiMdDescription[] =
259 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
260 "etc.). On Mac, this enables MacViews, which uses toolkit-views for "
261 "native browser dialogs.";
262
263const char kScrollPredictionDescription[] =
264 "Predicts the finger's future position during scrolls allowing time to "
265 "render the frame before the finger is there.";
266
267const char kAddToShelfName[] = "Add to shelf";
268
269const char kAddToShelfDescription[] =
270 "Enable the display of add to shelf banners, which prompt a user to add "
271 "a web app to their shelf, or other platform-specific equivalent.";
272
273const char kBypassAppBannerEngagementChecksName[] =
274 "Bypass user engagement checks";
275
276const char kBypassAppBannerEngagementChecksDescription[] =
277 "Bypasses user engagement checks for displaying app banners, such as "
278 "requiring that users have visited the site before and that the banner "
279 "hasn't been shown recently. This allows developers to test that other "
280 "eligibility requirements for showing app banners, such as having a "
281 "manifest, are met.";
282
283#if defined(OS_ANDROID)
284
285const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
286
287const char kAccessibilityTabSwitcherDescription[] =
288 "Enable the accessibility tab switcher for Android.";
289
csashidf20b102017-04-04 01:53:24290const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
291
292const char kAndroidAutofillAccessibilityDescription[] =
293 "Enable accessibility for autofill popup.";
294
vabr0215a8e2017-03-28 12:47:34295const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
296
297const char kEnablePhysicalWebDescription[] =
298 "Enable scanning for URLs from Physical Web objects.";
299
300#endif // defined(OS_ANDROID)
301
302const char kTouchEventsName[] = "Touch Events API";
303
304const char kTouchEventsDescription[] =
305 "Force Touch Events API feature detection to always be enabled or "
306 "disabled, or to be enabled when a touchscreen is detected on startup "
307 "(Automatic, the default).";
308
309const char kTouchAdjustmentName[] = "Touch adjustment";
310
311const char kTouchAdjustmentDescription[] =
312 "Refine the position of a touch gesture in order to compensate for "
313 "touches having poor resolution compared to a mouse.";
314
brettw5f9c1642017-05-14 17:12:48315const char kCompositedLayerBordersName[] = "Composited render layer borders";
vabr0215a8e2017-03-28 12:47:34316
317const char kCompositedLayerBordersDescription[] =
318 "Renders a border around composited Render Layers to help debug and "
319 "study layer compositing.";
320
brettw5f9c1642017-05-14 17:12:48321const char kGlCompositedTextureQuadBordersName[] =
vabr0215a8e2017-03-28 12:47:34322 "GL composited texture quad borders";
323
324const char kGlCompositedTextureQuadBordersDescription[] =
325 "Renders a border around GL composited texture quads to help debug and "
326 "study overlay support.";
327
brettw5f9c1642017-05-14 17:12:48328const char kShowOverdrawFeedbackName[] = "Show overdraw feedback";
vabr0215a8e2017-03-28 12:47:34329
330const char kShowOverdrawFeedbackDescription[] =
331 "Visualize overdraw by color-coding elements based on if they have "
332 "other elements drawn underneath.";
333
334const char kUiPartialSwapName[] = "Partial swap";
335
336const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
337
338const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
339
340const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
341
342const char kIgnoreGpuBlacklistDescription[] =
343 "Overrides the built-in software rendering list and enables "
344 "GPU-acceleration on unsupported system configurations.";
345
346const char kInertVisualViewportName[] = "Inert visual viewport.";
347
348const char kInertVisualViewportDescription[] =
349 "Experiment to have all APIs reflect the layout viewport. This will "
350 "make window.scroll properties relative to the layout viewport.";
351
Catherine Chungd4d24362017-06-09 21:12:12352const char kInProductHelpDemoModeChoiceName[] = "In-Product Help Demo Mode";
353
354const char kInProductHelpDemoModeChoiceDescription[] =
355 "Selects the In-Product Help demo mode.";
356
ccameronc570ec92017-04-14 05:36:25357const char kColorCorrectRenderingName[] = "Color correct rendering";
358
359const char kColorCorrectRenderingDescription[] =
360 "Enables color correct rendering of web content.";
361
vabr0215a8e2017-03-28 12:47:34362const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
363
364const char kExperimentalCanvasFeaturesDescription[] =
365 "Enables the use of experimental canvas features which are still in "
366 "development.";
367
368const char kAccelerated2dCanvasName[] = "Accelerated 2D canvas";
369
370const char kAccelerated2dCanvasDescription[] =
371 "Enables the use of the GPU to perform 2d canvas rendering instead of "
372 "using software rendering.";
373
374const char kDisplayList2dCanvasName[] = "Display list 2D canvas";
375
376const char kDisplayList2dCanvasDescription[] =
377 "Enables the use of display lists to record 2D canvas commands. This "
378 "allows 2D canvas rasterization to be performed on separate thread.";
379
vabr0215a8e2017-03-28 12:47:34380const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
381
382const char kExperimentalExtensionApisDescription[] =
383 "Enables experimental extension APIs. Note that the extension gallery "
384 "doesn't allow you to upload extensions that use experimental APIs.";
385
386const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
387
388const char kExtensionsOnChromeUrlsDescription[] =
389 "Enables running extensions on chrome:// URLs, where extensions "
390 "explicitly request this permission.";
391
392const char kFastUnloadName[] = "Fast tab/window close";
393
394const char kFastUnloadDescription[] =
395 "Enables fast tab/window closing - runs a tab's onunload js handler "
396 "independently of the GUI.";
397
Yutaka Hirano6bbe1e32017-05-24 09:25:58398const char kFetchKeepaliveTimeoutSettingName[] =
399 "Fetch API keepalive timeout setting";
400const char kFetchKeepaliveTimeoutSettingDescription[] =
401 "This is for setting "
402 "the timeout value for Fetch API with keepalive option and SendBeacon";
403
vabr0215a8e2017-03-28 12:47:34404const char kUserConsentForExtensionScriptsName[] =
405 "User consent for extension scripts";
406
407const char kUserConsentForExtensionScriptsDescription[] =
408 "Require user consent for an extension running a script on the page, if "
409 "the extension requested permission to run on all urls.";
410
411const char kHistoryRequiresUserGestureName[] =
412 "New history entries require a user gesture.";
413
414const char kHistoryRequiresUserGestureDescription[] =
415 "Require a user gesture to add a history entry.";
416
417const char kHyperlinkAuditingName[] = "Hyperlink auditing";
418
419const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
420
421#if defined(OS_ANDROID)
422
brettw5f9c1642017-05-14 17:12:48423const char kContextualSearchName[] = "Contextual Search";
vabr0215a8e2017-03-28 12:47:34424
425const char kContextualSearchDescription[] =
426 "Whether or not Contextual Search is enabled.";
427
428const char kContextualSearchContextualCardsBarIntegration[] =
429 "Contextual Search - Contextual Cards Integration";
430
431const char kContextualSearchContextualCardsBarIntegrationDescription[] =
432 "Whether or not integration of Contextual Cards data in the Contextual "
433 "Search Bar is enabled.";
434
brettw5f9c1642017-05-14 17:12:48435const char kContextualSearchSingleActionsName[] =
vabr0215a8e2017-03-28 12:47:34436 "Contextual Search - Single Actions";
437
438const char kContextualSearchSingleActionsDescription[] =
439 "Whether or not single actions using Contextual Cards data in the "
440 "Contextual Search Bar is enabled.";
441
brettw5f9c1642017-05-14 17:12:48442const char kContextualSearchUrlActionsName[] =
443 "Contextual Search - URL Actions";
vabr0215a8e2017-03-28 12:47:34444
445const char kContextualSearchUrlActionsDescription[] =
446 "Whether or not URL actions using Contextual Cards data in the "
447 "Contextual Search Bar is enabled.";
448
449#endif // defined(OS_ANDROID)
450
451const char kSmoothScrollingName[] = "Smooth Scrolling";
452
453const char kSmoothScrollingDescription[] =
454 "Animate smoothly when scrolling page content.";
455
456const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
457
458const char kOverlayScrollbarsDescription[] =
459 "Enable the experimental overlay scrollbars implementation. You must "
460 "also enable threaded compositing to have the scrollbars animate.";
461
462const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
463
464const char kShowAutofillTypePredictionsDescription[] =
465 "Annotates web forms with Autofill field type predictions as "
466 "placeholder text.";
467
468const char kTcpFastOpenName[] = "TCP Fast Open";
469
470const char kTcpFastOpenDescription[] =
471 "Enable the option to send extra authentication information in the "
472 "initial SYN packet for a previously connected client, allowing faster "
473 "data send start.";
474
475const char kTouchDragDropName[] = "Touch initiated drag and drop";
476
477const char kTouchDragDropDescription[] =
478 "Touch drag and drop can be initiated through long press on a draggable "
479 "element.";
480
481const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
482
483const char kTouchSelectionStrategyDescription[] =
484 "Controls how text selection granularity changes when touch text "
485 "selection handles are dragged. Non-default behavior is experimental.";
486
487const char kTouchSelectionStrategyCharacter[] = "Character";
488
489const char kTouchSelectionStrategyDirection[] = "Direction";
490
491const char kWalletServiceUseSandboxName[] =
492 "Use Google Payments sandbox servers";
493
494const char kWalletServiceUseSandboxDescription[] =
495 "For developers: use the sandbox service for Google Payments API "
496 "calls.";
497
498const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
499
500const char kOverscrollHistoryNavigationDescription[] =
501 "Experimental history navigation in response to horizontal overscroll.";
502
503const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
504
505const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
506
507const char kOverscrollStartThresholdDescription[] =
508 "Changes overscroll start threshold relative to the default value.";
509
510const char kOverscrollStartThreshold133Percent[] = "133%";
511
512const char kOverscrollStartThreshold166Percent[] = "166%";
513
514const char kOverscrollStartThreshold200Percent[] = "200%";
515
516const char kScrollEndEffectName[] = "Scroll end effect";
517
518const char kScrollEndEffectDescription[] =
519 "Experimental scroll end effect in response to vertical overscroll.";
520
521const char kWebgl2Name[] = "WebGL 2.0";
522
523const char kWebgl2Description[] = "Allow web applications to access WebGL 2.0.";
524
525const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
526
527const char kWebglDraftExtensionsDescription[] =
528 "Enabling this option allows web applications to access the WebGL "
529 "Extensions that are still in draft status.";
530
531const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
532
533const char kWebrtcHwDecodingDescription[] =
534 "Support in WebRTC for decoding video streams using platform hardware.";
535
536const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
537
538const char kWebrtcHwEncodingDescription[] =
539 "Support in WebRTC for encoding video streams using platform hardware.";
540
541const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
542
543const char kWebrtcHwH264EncodingDescription[] =
544 "Support in WebRTC for encoding h264 video streams using platform "
545 "hardware.";
546
braveyao96c9b342017-04-25 18:23:19547const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
548
549const char kWebrtcHwVP8EncodingDescription[] =
550 "Support in WebRTC for encoding vp8 video streams using platform "
551 "hardware.";
552
vabr0215a8e2017-03-28 12:47:34553const char kWebrtcSrtpAesGcmName[] =
554 "Negotiation with GCM cipher suites for SRTP in WebRTC";
555
556const char kWebrtcSrtpAesGcmDescription[] =
557 "When enabled, WebRTC will try to negotiate GCM cipher suites for "
558 "SRTP.";
559
560const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
561
562const char kWebrtcStunOriginDescription[] =
563 "When enabled, Stun messages generated by WebRTC will contain the "
564 "Origin header.";
565
566const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
567
568const char kWebrtcEchoCanceller3Description[] =
569 "Experimental WebRTC echo canceller (AEC3).";
570
571#if defined(OS_ANDROID)
572
573const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
574
575const char kMediaScreenCaptureDescription[] =
576 "Enable this option for experimental ScreenCapture feature on Android.";
577
578#endif // defined(OS_ANDROID)
579
580#if BUILDFLAG(ENABLE_WEBRTC)
581
582const char kWebrtcH264WithOpenh264FfmpegName[] =
583 "WebRTC H.264 software video encoder/decoder";
584
585const char kWebrtcH264WithOpenh264FfmpegDescription[] =
586 "When enabled, an H.264 software video encoder/decoder pair is "
587 "included. If a hardware encoder/decoder is also available it may be "
588 "used instead of this encoder/decoder.";
589
590#endif // BUILDFLAG(ENABLE_WEBRTC)
591
592const char kWebvrName[] = "WebVR";
593
594const char kWebvrDescription[] =
595 "Enabling this option allows web applications to access experimental "
596 "Virtual Reality APIs.";
597
mthiesse700b0b62017-05-19 01:37:31598#if BUILDFLAG(ENABLE_VR)
599
vabr0215a8e2017-03-28 12:47:34600const char kWebvrExperimentalRenderingName[] =
601 "WebVR experimental rendering optimizations";
602
603const char kWebvrExperimentalRenderingDescription[] =
604 "Enabling this option activates experimental rendering path "
605 "optimizations for WebVR.";
606
mthiesse700b0b62017-05-19 01:37:31607#endif // BUILDFLAG(ENABLE_VR)
608
vabr0215a8e2017-03-28 12:47:34609const char kGamepadExtensionsName[] = "Gamepad Extensions";
610
611const char kGamepadExtensionsDescription[] =
612 "Enabling this option allows web applications to access experimental "
613 "extensions to the Gamepad APIs.";
614
615#if defined(OS_ANDROID)
616
617const char kNewPhotoPickerName[] = "Enable new Photopicker";
618
619const char kNewPhotoPickerDescription[] =
620 "Activates the new picker for selecting photos.";
621
622#endif // defined(OS_ANDROID)
623
624#if defined(OS_ANDROID)
625
626const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
627
628const char kEnableOskOverscrollDescription[] =
629 "Enable OSK overscroll support. With this flag on, the OSK will only "
630 "resize the visual viewport.";
631
632#endif // defined(OS_ANDROID)
633
634const char kQuicName[] = "Experimental QUIC protocol";
635
636const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
637
638const char kSslVersionMaxName[] = "Maximum TLS version enabled.";
639
640const char kSslVersionMaxDescription[] = "Set maximum enabled TLS version.";
641
642const char kSslVersionMaxTls12[] = "TLS 1.2";
643
644const char kSslVersionMaxTls13[] = "TLS 1.3";
645
646const char kEnableTokenBindingName[] = "Token Binding.";
647
648const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
649
vabr0215a8e2017-03-28 12:47:34650const char kPassiveDocumentEventListenersDescription[] =
651 "Forces touchstart, and touchmove event listeners on document level "
652 "targets (which haven't requested otherwise) to be treated as passive.";
653
654const char kPassiveDocumentEventListenersName[] =
655 "Document Level Event Listeners Passive Default";
656
657const char kPassiveEventListenersDueToFlingDescription[] =
658 "Forces touchstart, and first touchmove per scroll event listeners "
659 "during fling to be treated as passive.";
660
661const char kPassiveEventListenersDueToFlingName[] =
662 "Touch Event Listeners Passive Default During Fling";
663
664const char kPassiveEventListenerTrue[] = "True (when unspecified)";
665
666const char kPassiveEventListenerForceAllTrue[] = "Force All True";
667
668const char kPassiveEventListenerDefaultName[] =
669 "Passive Event Listener Override";
670
671const char kPassiveEventListenerDefaultDescription[] =
672 "Forces touchstart, touchmove, mousewheel and wheel event listeners "
673 "(which haven't requested otherwise) to be treated as passive. This "
674 "will break touch/wheel behavior on some websites but is useful for "
675 "demonstrating the potential performance benefits of adopting passive "
676 "event listeners.";
677
vabr0215a8e2017-03-28 12:47:34678const char kImportantSitesInCbdName[] =
679 "Important sites options in clear browsing data dialog";
680
681const char kImportantSitesInCbdDescription[] =
682 "Include the option to whitelist important sites in the clear browsing "
683 "data dialog.";
684
vabr0215a8e2017-03-28 12:47:34685#if defined(USE_ASH)
686
brettw81668cf2017-05-15 22:57:34687const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
vabr0215a8e2017-03-28 12:47:34688
689const char kAshShelfColorDescription[] =
bruthigd8b95962017-03-31 19:38:34690 "Enables/disables the shelf color to be a derived from the wallpaper. The "
691 "--ash-shelf-color-scheme flag defines how that color is derived.";
vabr0215a8e2017-03-28 12:47:34692
bruthigd8b95962017-03-31 19:38:34693const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
vabr0215a8e2017-03-28 12:47:34694
bruthigd8b95962017-03-31 19:38:34695const char kAshShelfColorSchemeDescription[] =
696 "Specify how the color is derived from the wallpaper. This flag is only "
697 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
vabr0215a8e2017-03-28 12:47:34698
bruthigd8b95962017-03-31 19:38:34699const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
vabr0215a8e2017-03-28 12:47:34700
bruthigd8b95962017-03-31 19:38:34701const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
vabr0215a8e2017-03-28 12:47:34702
bruthigd8b95962017-03-31 19:38:34703const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
vabr0215a8e2017-03-28 12:47:34704
bruthigd8b95962017-03-31 19:38:34705const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
706
707const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
708
709const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
vabr0215a8e2017-03-28 12:47:34710
vabr0215a8e2017-03-28 12:47:34711const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
712
713const char kAshEnableMirroredScreenDescription[] =
714 "Enable the mirrored screen mode. This mode flips the screen image "
715 "horizontally.";
716
wutaob161bf22017-04-26 16:55:03717const char kAshDisableSmoothScreenRotationName[] =
718 "Disable smooth rotation animations.";
wutao2c0ca182017-04-06 22:40:54719
wutaob161bf22017-04-26 16:55:03720const char kAshDisableSmoothScreenRotationDescription[] =
721 "Disable smooth rotation animations.";
wutao2c0ca182017-04-06 22:40:54722
vabr0215a8e2017-03-28 12:47:34723const char kMaterialDesignInkDropAnimationFast[] = "Fast";
724
725const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
726
727const char kMaterialDesignInkDropAnimationSpeedName[] =
728 "Material Design Ink Drop Animation Speed";
729
730const char kMaterialDesignInkDropAnimationSpeedDescription[] =
731 "Sets the speed of the experimental visual feedback animations for "
732 "material design.";
733
734const char kUiSlowAnimationsName[] = "Slow UI animations";
735
736const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
737
reveman5be07ac82017-04-14 01:06:05738const char kUiShowCompositedLayerBordersName[] =
739 "Show UI composited layer borders";
740
741const char kUiShowCompositedLayerBordersDescription[] =
742 "Show border around composited layers created by UI.";
743
744const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
745
746const char kUiShowCompositedLayerBordersSurface[] = "Surface";
747
748const char kUiShowCompositedLayerBordersLayer[] = "Layer";
749
750const char kUiShowCompositedLayerBordersAll[] = "All";
751
vabr0215a8e2017-03-28 12:47:34752#endif // defined(USE_ASH)
753
754const char kJavascriptHarmonyShippingName[] =
755 "Latest stable JavaScript features";
756
757const char kJavascriptHarmonyShippingDescription[] =
758 "Some web pages use legacy or non-standard JavaScript extensions that "
759 "may conflict with the latest JavaScript features. This flag allows "
760 "disabling support of those features for compatibility with such "
761 "pages.";
762
763const char kJavascriptHarmonyName[] = "Experimental JavaScript";
764
765const char kJavascriptHarmonyDescription[] =
766 "Enable web pages to use experimental JavaScript features.";
767
vabr0215a8e2017-03-28 12:47:34768const char kEnableAsmWasmName[] =
769 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
770
771const char kEnableAsmWasmDescription[] =
772 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
773 R"*(WebAssembly.)*";
774
775const char kEnableSharedArrayBufferName[] =
776 "Experimental enabled SharedArrayBuffer support in JavaScript.";
777
778const char kEnableSharedArrayBufferDescription[] =
779 "Enable SharedArrayBuffer support in JavaScript.";
780
781const char kEnableWasmName[] = "WebAssembly structured cloning support.";
vabr0215a8e2017-03-28 12:47:34782const char kEnableWasmDescription[] =
783 "Enable web pages to use WebAssembly structured cloning.";
784
mtrofinc8717b52017-04-19 14:27:22785const char kEnableWasmStreamingName[] =
786 "WebAssembly streaming compile/instantiate support.";
787const char kEnableWasmStreamingDescription[] =
788 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
789
vabr0215a8e2017-03-28 12:47:34790#if defined(OS_ANDROID)
791
792const char kMediaDocumentDownloadButtonName[] =
793 "Download button when opening a page with media url.";
794
795const char kMediaDocumentDownloadButtonDescription[] =
796 "Allow a download button to show up when opening a page with media "
797 "url.";
798
799#endif // defined(OS_ANDROID)
800
801const char kSoftwareRasterizerName[] = "3D software rasterizer";
802
803const char kSoftwareRasterizerDescription[] =
804 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
805
806const char kGpuRasterizationName[] = "GPU rasterization";
807
808const char kGpuRasterizationDescription[] =
809 "Use GPU to rasterize web content. Requires impl-side painting.";
810
811const char kForceGpuRasterization[] = "Force-enabled for all layers";
812
813const char kGpuRasterizationMsaaSampleCountName[] =
814 "GPU rasterization MSAA sample count.";
815
816const char kGpuRasterizationMsaaSampleCountDescription[] =
817 "Specify the number of MSAA samples for GPU rasterization.";
818
819const char kGpuRasterizationMsaaSampleCountZero[] = "0";
820
821const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
822
823const char kGpuRasterizationMsaaSampleCountFour[] = "4";
824
825const char kGpuRasterizationMsaaSampleCountEight[] = "8";
826
827const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
828
829const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
830
831const char kSlimmingPaintInvalidationDescription[] =
832 "Whether to enable a new paint invalidation system.";
833
834const char kExperimentalSecurityFeaturesName[] =
835 "Potentially annoying security features";
836
837const char kExperimentalSecurityFeaturesDescription[] =
838 "Enables several security features that will likely break one or more "
839 "pages that you visit on a daily basis. Strict mixed content checking, "
840 "for example. And locking powerful features to secure contexts. This "
841 "flag will probably annoy you.";
842
843const char kExperimentalWebPlatformFeaturesName[] =
844 "Experimental Web Platform features";
845
846const char kExperimentalWebPlatformFeaturesDescription[] =
847 "Enables experimental Web Platform features that are in development.";
848
vabr0215a8e2017-03-28 12:47:34849const char kOriginTrialsName[] = "Origin Trials";
850
851const char kOriginTrialsDescription[] =
852 "Enables origin trials for controlling access to feature/API "
853 "experiments.";
854
855const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
856
857const char kBleAdvertisingInExtensionsDescription[] =
858 "Enables BLE Advertising in Chrome Apps. BLE Advertising might "
859 "interfere with regular use of Bluetooth Low Energy features.";
860
861const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
862
863const char kDevtoolsExperimentsDescription[] =
864 "Enables Developer Tools experiments. Use Settings panel in Developer "
865 "Tools to toggle individual experiments.";
866
867const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
868
869const char kSilentDebuggerExtensionApiDescription[] =
870 "Do not show the infobar when an extension attaches to a page via "
871 "chrome.debugger API. This is required to debug extension background "
872 "pages.";
873
874const char kShowTouchHudName[] = "Show HUD for touch points";
875
876const char kShowTouchHudDescription[] =
877 "Enables a heads-up display at the top-left corner of the screen that "
878 "lists information about the touch-points on the screen.";
879
880const char kPreferHtmlOverPluginsName[] = "Prefer HTML over Flash";
881
882const char kPreferHtmlOverPluginsDescription[] =
883 "Prefer HTML content by hiding Flash from the list of plugins.";
884
885const char kAllowNaclSocketApiName[] = "NaCl Socket API.";
886
887const char kAllowNaclSocketApiDescription[] =
888 "Allows applications to use NaCl Socket API. Use only to test NaCl "
889 "plugins.";
890
891const char kRunAllFlashInAllowModeName[] =
892 R"*(Run all Flash content when Flash setting is set to "allow")*";
893
894const char kRunAllFlashInAllowModeDescription[] =
895 R"*(For sites that have been set to "allow" Flash content, run all )*"
896 R"*(content including any that has been deemed unimportant.)*";
897
898const char kPinchScaleName[] = "Pinch scale";
899
900const char kPinchScaleDescription[] =
901 "Enables experimental support for scale using pinch.";
902
vabr0215a8e2017-03-28 12:47:34903const char kReducedReferrerGranularityName[] =
904 "Reduce default 'referer' header granularity.";
905
906const char kReducedReferrerGranularityDescription[] =
907 "If a page hasn't set an explicit referrer policy, setting this flag "
908 "will reduce the amount of information in the 'referer' header for "
909 "cross-origin requests.";
910
911#if defined(OS_CHROMEOS)
912
sky527bea52017-05-15 19:15:14913const char kUseMusDescription[] = "Enable the Mojo UI service.";
vabr0215a8e2017-03-28 12:47:34914
sky527bea52017-05-15 19:15:14915const char kUseMusName[] = "Mus";
916
917const char kEnableMashDescription[] =
918 "Mash (UI, Chrome and ash in separate services)";
919
920const char kEnableMusDescription[] =
921 "Mus (UI in separate service, Chrome and ash in same service)";
vabr0215a8e2017-03-28 12:47:34922
923const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
924
925const char kAllowTouchpadThreeFingerClickDescription[] =
926 "Enables touchpad three-finger-click as middle button.";
927
928const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
929
930const char kAshEnableUnifiedDesktopDescription[] =
931 "Enable unified desktop mode which allows a window to span multiple "
932 "displays.";
933
brettw5f9c1642017-05-14 17:12:48934const char kBootAnimationName[] = "Boot animation";
vabr0215a8e2017-03-28 12:47:34935
936const char kBootAnimationDescription[] =
937 "Wallpaper boot animation (except for OOBE case).";
938
hansberryc147785f2017-05-02 23:36:27939const char kTetherName[] = "Instant Tethering";
940
941const char kTetherDescription[] =
942 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
943 "phone to share its Internet connection with this device.";
944
vabr0215a8e2017-03-28 12:47:34945#endif // defined(OS_CHROMEOS)
946
947const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode";
948
949const char kAcceleratedVideoDecodeDescription[] =
950 "Hardware-accelerated video decode where available.";
951
hubbee7499512017-04-05 22:35:04952const char kEnableHDRName[] = "HDR mode";
953
954const char kEnableHDRDescription[] =
955 "Enables HDR support on compatible displays.";
956
brettw5f9c1642017-05-14 17:12:48957const char kCloudImportName[] = "Cloud Import";
vabr0215a8e2017-03-28 12:47:34958
959const char kCloudImportDescription[] = "Allows the cloud-import feature.";
960
961const char kRequestTabletSiteName[] =
962 "Request tablet site option in the settings menu";
963
964const char kRequestTabletSiteDescription[] =
965 "Allows the user to request tablet site. Web content is often optimized "
966 "for tablet devices. When this option is selected the user agent string "
967 "is changed to indicate a tablet device. Web content optimized for "
968 "tablets is received there after for the current tab.";
969
970const char kDebugPackedAppName[] = "Debugging for packed apps";
971
972const char kDebugPackedAppDescription[] =
973 "Enables debugging context menu options such as Inspect Element for "
974 "packed applications.";
975
976const char kDropSyncCredentialName[] =
977 "Drop sync credentials from password manager";
978
979const char kDropSyncCredentialDescription[] =
980 "The password manager will not offer to save the credential used to "
981 "sync.";
982
983const char kPasswordGenerationName[] = "Password generation";
984
985const char kPasswordGenerationDescription[] =
986 "Allow the user to have Chrome generate passwords when it detects "
987 "account creation pages.";
988
989const char kPasswordForceSavingName[] = "Force-saving of passwords";
990
991const char kPasswordForceSavingDescription[] =
992 "Allow the user to manually enforce password saving instead of relying "
993 "on password manager's heuristics.";
994
995const char kManualPasswordGenerationName[] = "Manual password generation.";
996
997const char kManualPasswordGenerationDescription[] =
998 "Show a 'Generate Password' option on the context menu for all password "
999 "fields.";
1000
brettw5f9c1642017-05-14 17:12:481001const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
vabr0215a8e2017-03-28 12:47:341002
1003const char kShowAutofillSignaturesDescription[] =
1004 "Annotates web forms with Autofill signatures as HTML attributes.";
1005
1006const char kSuggestionsWithSubStringMatchName[] =
1007 "Substring matching for Autofill suggestions";
1008
1009const char kSuggestionsWithSubStringMatchDescription[] =
1010 "Match Autofill suggestions based on substrings (token prefixes) rather "
1011 "than just prefixes.";
1012
1013const char kAffiliationBasedMatchingName[] =
1014 "Affiliation based matching in password manager";
1015
1016const char kAffiliationBasedMatchingDescription[] =
1017 "Allow credentials stored for Android applications to be filled into "
1018 "corresponding websites.";
1019
1020const char kProtectSyncCredentialName[] = "Autofill sync credential";
1021
1022const char kProtectSyncCredentialDescription[] =
1023 "How the password manager handles autofill for the sync credential.";
1024
1025const char kPasswordImportExportName[] = "Password import and export";
1026
1027const char kPasswordImportExportDescription[] =
1028 "Import and Export functionality in password settings.";
1029
1030const char kProtectSyncCredentialOnReauthName[] =
1031 "Autofill sync credential only for transactional reauth pages";
1032
1033const char kProtectSyncCredentialOnReauthDescription[] =
1034 "How the password manager handles autofill for the sync credential only "
1035 "for transactional reauth pages.";
1036
1037const char kIconNtpName[] = "Large icons on the New Tab page";
1038
1039const char kIconNtpDescription[] =
1040 "Enable the experimental New Tab page using large icons.";
1041
1042const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1043
1044const char kPushApiBackgroundModeDescription[] =
1045 "Enable background mode for the Push API. This allows Chrome to "
1046 "continue running after the last window is closed, and to launch at OS "
1047 "startup, if the Push API needs it.";
1048
brettw5f9c1642017-05-14 17:12:481049const char kEnableNavigationTracingName[] = "Enable navigation tracing";
vabr0215a8e2017-03-28 12:47:341050
1051const char kEnableNavigationTracingDescription[] =
1052 "This is to be used in conjunction with the trace-upload-url flag. "
1053 "WARNING: When enabled, Chrome will record performance data for every "
1054 "navigation and upload it to the URL specified by the trace-upload-url "
1055 "flag. The trace may include personally identifiable information (PII) "
1056 "such as the titles and URLs of websites you visit.";
1057
afakhry9e0a18b32017-06-05 19:23:141058const char kEnableNightLightName[] = "Enable Night Light";
1059const char kEnableNightLightDescription[] =
1060 "Enable the Night Light feature to control the color temperature of the "
1061 "screen.";
1062
apacible8246df62017-05-26 23:23:171063const char kEnablePictureInPictureName[] = "Enable picture in picture.";
1064
1065const char kEnablePictureInPictureDescription[] =
1066 "Enable the picture in picture feature for videos.";
1067
brettw5f9c1642017-05-14 17:12:481068const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
vabr0215a8e2017-03-28 12:47:341069
1070const char kTraceUploadUrlDescription[] =
1071 "This is to be used in conjunction with the enable-navigation-tracing "
1072 "flag. Please select the label that best describes the recorded traces. "
1073 "This will choose the destination the traces are uploaded to. If you "
1074 "are not sure, select other. If left empty, no traces will be "
1075 "uploaded.";
1076
brettw5f9c1642017-05-14 17:12:481077const char kDisableAudioForDesktopShareName[] =
1078 "Disable Audio For Desktop Share";
vabr0215a8e2017-03-28 12:47:341079
1080const char kDisableAudioForDesktopShareDescription[] =
1081 "With this flag on, desktop share picker window will not let the user "
1082 "choose whether to share audio.";
1083
brettw5f9c1642017-05-14 17:12:481084const char kDisableTabForDesktopShareName[] =
vabr0215a8e2017-03-28 12:47:341085 "Disable Desktop Share with tab source";
1086
1087const char kDisableTabForDesktopShareDescription[] =
1088 "This flag controls whether users can choose a tab for desktop share.";
1089
1090const char kTraceUploadUrlChoiceOther[] = "Other";
1091
1092const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1093
1094const char kTraceUploadUrlChoiceQa[] = "QA";
1095
1096const char kTraceUploadUrlChoiceTesting[] = "Testing";
1097
1098const char kSupervisedUserManagedBookmarksFolderName[] =
1099 "Managed bookmarks for supervised users";
1100
1101const char kSupervisedUserManagedBookmarksFolderDescription[] =
1102 "Enable the managed bookmarks folder for supervised users.";
1103
1104const char kSyncAppListName[] = "App Launcher sync";
1105
1106const char kSyncAppListDescription[] =
1107 "Enable App Launcher sync. This also enables Folders where available "
1108 "(non OSX).";
1109
brettw5f9c1642017-05-14 17:12:481110const char kDriveSearchInChromeLauncherName[] =
vabr0215a8e2017-03-28 12:47:341111 "Drive Search in Chrome App Launcher";
1112
1113const char kDriveSearchInChromeLauncherDescription[] =
1114 "Files from Drive will show up when searching the Chrome App Launcher.";
1115
1116const char kV8CacheOptionsName[] = "V8 caching mode.";
1117
1118const char kV8CacheOptionsDescription[] =
1119 "Caching mode for the V8 JavaScript engine.";
1120
1121const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1122
1123const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1124
1125const char kV8CacheStrategiesForCacheStorageName[] =
1126 "V8 caching strategy for CacheStorage.";
1127
1128const char kV8CacheStrategiesForCacheStorageDescription[] =
1129 "Caching strategy of scripts in CacheStorage for the V8 JavaScript "
1130 "engine.";
1131
1132const char kV8CacheStrategiesForCacheStorageNormal[] = "Normal";
1133
1134const char kV8CacheStrategiesForCacheStorageAggressive[] = "Aggressive";
1135
vabr0215a8e2017-03-28 12:47:341136const char kMemoryCoordinatorName[] = "Memory coordinator";
1137
1138const char kMemoryCoordinatorDescription[] =
1139 "Enable memory coordinator instead of memory pressure listeners.";
1140
1141const char kServiceWorkerNavigationPreloadName[] =
1142 "Service worker navigation preload.";
1143
1144const char kServiceWorkerNavigationPreloadDescription[] =
1145 "Enable web pages to use the experimental service worker navigation "
1146 "preload API.";
1147
vabr0215a8e2017-03-28 12:47:341148// Data Reduction Proxy
1149
1150const char kDataReductionProxyLoFiName[] = "Data Saver Lo-Fi mode";
1151
1152const char kDataReductionProxyLoFiDescription[] =
1153 "Forces Data Saver Lo-Fi mode to be always enabled, enabled only on "
1154 "cellular connections, or disabled. Data Saver must be enabled for "
1155 "Lo-Fi mode to be used.";
1156
1157const char kDataReductionProxyLoFiAlwaysOn[] = "Always on";
1158
1159const char kDataReductionProxyLoFiCellularOnly[] = "Cellular only";
1160
1161const char kDataReductionProxyLoFiDisabled[] = "Disable";
1162
1163const char kDataReductionProxyLoFiSlowConnectionsOnly[] =
1164 "Slow connections only";
1165
1166const char kEnableDataReductionProxyLitePageName[] =
1167 "Lite pages for Data Saver Lo-Fi mode";
1168
1169const char kEnableDataReductionProxyLitePageDescription[] =
1170 "Enable lite pages in Data Saver Lo-Fi mode. Previews of pages will be "
1171 "shown instead of image placeholders when Lo-Fi is on. Data Saver and "
1172 "Lo-Fi must be enabled for lite pages to be shown.";
1173
ryansturm7e309dd2017-05-24 16:29:531174const char kDataReductionProxyServerAlternative[] =
1175 "Use alternative server configuration";
1176
1177const char kEnableDataReductionProxyServerExperimentName[] =
1178 "Use an alternative Data Saver back end configuration.";
1179
1180const char kEnableDataReductionProxyServerExperimentDescription[] =
1181 "Enable a different approach to saving data by configuring the back end "
1182 "server";
1183
vabr0215a8e2017-03-28 12:47:341184const char kDataReductionProxyCarrierTestName[] =
1185 "Enable a carrier-specific Data Reduction Proxy for testing.";
1186
1187const char kDataReductionProxyCarrierTestDescription[] =
1188 "Use a carrier-specific Data Reduction Proxy for testing.";
1189
1190const char kEnableDataReductionProxySavingsPromoName[] =
1191 "Data Saver 1 MB Savings Promo";
1192
1193const char kEnableDataReductionProxySavingsPromoDescription[] =
1194 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has "
1195 "already saved 1 MB of data, then the promo will not be shown. Data "
1196 "Saver must be enabled for the promo to be shown.";
1197
megjablon553df4cf2017-04-01 01:29:551198#if defined(OS_ANDROID)
1199
1200const char kEnableDataReductionProxyMainMenuName[] =
megjablonacb36d12017-04-21 00:09:291201 "Enable Data Saver main menu footer";
megjablon553df4cf2017-04-01 01:29:551202
1203const char kEnableDataReductionProxyMainMenuDescription[] =
megjablonacb36d12017-04-21 00:09:291204 "Enables the Data Saver footer in the main menu";
megjablon553df4cf2017-04-01 01:29:551205
megjablon5e5d1c172017-04-06 23:55:111206const char kEnableDataReductionProxySiteBreakdownName[] =
1207 "Data Saver Site Breakdown";
1208
1209const char kEnableDataReductionProxySiteBreakdownDescription[] =
1210 "Enable the site breakdown on the Data Saver settings page.";
1211
ryansturm28839dee2017-05-05 17:34:271212const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1213
1214const char kEnableOfflinePreviewsDescription[] =
1215 "Enable showing offline page previews on slow networks.";
1216
ryansturmfaf92142017-05-11 19:07:471217const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
1218
1219const char kEnableClientLoFiDescription[] =
1220 "Enable showing low fidelity images on some pages on slow networks.";
1221
megjablon553df4cf2017-04-01 01:29:551222#endif // defined(OS_ANDROID)
1223
vabr0215a8e2017-03-28 12:47:341224const char kLcdTextName[] = "LCD text antialiasing";
1225
1226const char kLcdTextDescription[] =
1227 "If disabled, text is rendered with grayscale antialiasing instead of "
1228 "LCD (subpixel) when doing accelerated compositing.";
1229
1230const char kDistanceFieldTextName[] = "Distance field text";
1231
1232const char kDistanceFieldTextDescription[] =
1233 "Text is rendered with signed distance fields rather than bitmap alpha "
1234 "masks.";
1235
1236const char kZeroCopyName[] = "Zero-copy rasterizer";
1237
1238const char kZeroCopyDescription[] =
1239 "Raster threads write directly to GPU memory associated with tiles.";
1240
1241const char kHideInactiveStackedTabCloseButtonsName[] =
1242 "Hiding close buttons on inactive tabs when stacked";
1243
1244const char kHideInactiveStackedTabCloseButtonsDescription[] =
1245 "Hides the close buttons of inactive tabs when the tabstrip is in "
1246 "stacked mode.";
1247
1248const char kDefaultTileWidthName[] = "Default tile width";
1249
1250const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
1251
1252const char kDefaultTileWidthShort[] = "128";
1253
1254const char kDefaultTileWidthTall[] = "256";
1255
1256const char kDefaultTileWidthGrande[] = "512";
1257
1258const char kDefaultTileWidthVenti[] = "1024";
1259
1260const char kDefaultTileHeightName[] = "Default tile height";
1261
1262const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
1263
1264const char kDefaultTileHeightShort[] = "128";
1265
1266const char kDefaultTileHeightTall[] = "256";
1267
1268const char kDefaultTileHeightGrande[] = "512";
1269
1270const char kDefaultTileHeightVenti[] = "1024";
1271
1272const char kNumRasterThreadsName[] = "Number of raster threads";
1273
1274const char kNumRasterThreadsDescription[] =
1275 "Specify the number of raster threads.";
1276
1277const char kNumRasterThreadsOne[] = "1";
1278
1279const char kNumRasterThreadsTwo[] = "2";
1280
1281const char kNumRasterThreadsThree[] = "3";
1282
1283const char kNumRasterThreadsFour[] = "4";
1284
1285const char kResetAppListInstallStateName[] =
1286 "Reset the App Launcher install state on every restart.";
1287
1288const char kResetAppListInstallStateDescription[] =
1289 "Reset the App Launcher install state on every restart. While this flag "
1290 "is set, Chrome will forget the launcher has been installed each time "
1291 "it starts. This is used for testing the App Launcher install flow.";
1292
1293#if defined(OS_CHROMEOS)
1294
1295const char kFirstRunUiTransitionsName[] =
1296 "Animated transitions in the first-run tutorial";
1297
1298const char kFirstRunUiTransitionsDescription[] =
1299 "Transitions during first-run tutorial are animated.";
1300
1301#endif // defined(OS_CHROMEOS)
1302
1303const char kNewBookmarkAppsName[] = "The new bookmark app system";
1304
1305const char kNewBookmarkAppsDescription[] =
1306 "Enables the new system for creating bookmark apps.";
1307
1308#if defined(OS_MACOSX)
1309
1310const char kHostedAppsInWindowsName[] =
1311 "Allow hosted apps to be opened in windows";
1312
1313const char kHostedAppsInWindowsDescription[] =
1314 "Allows hosted apps to be opened in windows instead of being limited to "
1315 "tabs.";
1316
1317const char kTabDetachingInFullscreenName[] =
1318 "Allow tab detaching in fullscreen";
1319
1320const char kTabDetachingInFullscreenDescription[] =
1321 "Allow tabs to detach from the tabstrip when in fullscreen mode on "
1322 "Mac.";
1323
1324const char kFullscreenToolbarRevealName[] =
1325 "Enables the toolbar in fullscreen to reveal itself.";
1326
1327const char kFullscreenToolbarRevealDescription[] =
1328 "Reveal the toolbar in fullscreen for a short period when the tab strip "
1329 "has changed.";
1330
1331const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
1332
1333const char kTabStripKeyboardFocusDescription[] =
1334 "Enable keyboard focus for the tabs in the tab strip.";
1335
1336#endif // defined(OS_MACOSX)
1337
1338const char kHostedAppShimCreationName[] =
1339 "Creation of app shims for hosted apps on Mac";
1340
1341const char kHostedAppShimCreationDescription[] =
1342 "Create app shims on Mac when creating a hosted app.";
1343
1344const char kHostedAppQuitNotificationName[] =
1345 "Quit notification for hosted apps";
1346
1347const char kHostedAppQuitNotificationDescription[] =
1348 "Display a notification when quitting Chrome if hosted apps are "
1349 "currently running.";
1350
1351#if defined(OS_ANDROID)
1352
1353const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
1354
1355const char kPullToRefreshEffectDescription[] =
1356 "Page reloads triggered by vertically overscrolling content.";
1357
googleobc47e0b2017-05-05 05:11:121358const char kTranslateCompactUIName[] = "New Translate Infobar";
1359
1360const char kTranslateCompactUIDescription[] =
1361 "Enable the new Translate compact infobar UI.";
1362
vabr0215a8e2017-03-28 12:47:341363#endif // defined(OS_ANDROID)
1364
1365#if defined(OS_MACOSX)
1366
1367const char kTranslateNewUxName[] = "New Translate UX";
1368
1369const char kTranslateNewUxDescription[] =
1370 "Enable the new Translate bubble UX is offered instead of the infobar.";
1371
1372#endif // defined(OS_MACOSX)
1373
1374const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
1375
1376const char kTranslate2016q2UiDescription[] =
1377 "Improved triggering logic and look for Translate Bubble UI";
1378
1379const char kTranslateLanguageByUlpName[] = "Translate Language by ULP";
1380
1381const char kTranslateLanguageByUlpDescription[] =
1382 "Improved translate target language and triggering logic by considering "
1383 "information from User Language Profile (ULP).";
1384
vabr0215a8e2017-03-28 12:47:341385const char kPermissionActionReportingName[] = "Permission Action Reporting";
1386
1387const char kPermissionActionReportingDescription[] =
1388 "Enables permission action reporting to Safe Browsing servers for opted "
1389 "in users.";
1390
1391const char kPermissionsBlacklistName[] = "Permissions Blacklist";
1392
1393const char kPermissionsBlacklistDescription[] =
1394 "Enables the Permissions Blacklist, which blocks permissions for "
1395 "blacklisted sites for Safe Browsing users.";
1396
1397const char kThreadedScrollingName[] = "Threaded scrolling";
1398
1399const char kThreadedScrollingDescription[] =
1400 "Threaded handling of scroll-related input events. Disabling this will "
1401 "force all such scroll events to be handled on the main thread. Note "
1402 "that this can dramatically hurt scrolling performance of most websites "
1403 "and is intended for testing purposes only.";
1404
1405const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
1406
1407const char kHarfbuzzRendertextDescription[] =
1408 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't "
1409 "affect web content.";
1410
1411const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
1412
1413const char kEmbeddedExtensionOptionsDescription[] =
1414 "Display extension options as an embedded element in "
1415 "chrome://extensions rather than opening a new tab.";
1416
1417const char kTabAudioMutingName[] = "Tab audio muting UI control";
1418
1419const char kTabAudioMutingDescription[] =
1420 "When enabled, the audio indicators in the tab strip double as tab "
1421 "audio mute controls. This also adds commands in the tab context menu "
1422 "for quickly muting multiple selected tabs.";
1423
1424const char kEasyUnlockBluetoothLowEnergyDiscoveryName[] =
1425 "Smart Lock Bluetooth Low Energy Discovery";
1426
1427const char kEasyUnlockBluetoothLowEnergyDiscoveryDescription[] =
1428 "Enables a Smart Lock setting that allows Chromebook to discover phones "
1429 "over Bluetooth Low Energy in order to unlock the Chromebook when the "
1430 "phone is in its proximity.";
1431
1432const char kEasyUnlockProximityDetectionName[] =
1433 "Smart Lock proximity detection";
1434
1435const char kEasyUnlockProximityDetectionDescription[] =
1436 "Enables a Smart Lock setting that restricts unlocking to only work "
1437 "when your phone is very close to (roughly, within an arm's length of) "
1438 "the Chrome device.";
1439
1440const char kWifiCredentialSyncName[] = "WiFi credential sync";
1441
1442const char kWifiCredentialSyncDescription[] =
1443 "Enables synchronizing WiFi network settings across devices. When "
1444 "enabled, the WiFi credential datatype is registered with Chrome Sync, "
1445 "and WiFi credentials are synchronized subject to user preferences. "
1446 "(See also, chrome://settings/syncSetup.)";
1447
1448const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1449
1450const char kSyncSandboxDescription[] =
1451 "Connects to the testing server for Chrome Sync.";
1452
1453const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
1454
1455const char kDatasaverPromptDescription[] =
1456 "Enables a prompt, which appears when a cellular network connection is "
1457 "detected, to take the user to the Data Saver extension page on Chrome "
1458 "Web Store.";
1459
1460const char kDatasaverPromptDemoMode[] = "Demo mode";
1461
vabr0215a8e2017-03-28 12:47:341462const char kTrySupportedChannelLayoutsName[] =
1463 "Causes audio output streams to check if channel layouts other than the "
1464 "default hardware layout are available.";
1465
1466const char kTrySupportedChannelLayoutsDescription[] =
1467 "Causes audio output streams to check if channel layouts other than the "
1468 "default hardware layout are available. Turning this on will allow the "
1469 "OS to do stereo to surround expansion if supported. May expose third "
1470 "party driver bugs, use with caution.";
1471
1472#if defined(OS_MACOSX)
1473
1474const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
1475
1476const char kAppInfoDialogDescription[] =
1477 "Makes the Toolkit-Views based App Info dialog accessible from "
1478 "chrome://apps or chrome://extensions in place of the native extension "
1479 "permissions dialog, or the details link (which is a link to the Web "
1480 "Store).";
1481
1482const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
1483
1484const char kMacViewsNativeAppWindowsDescription[] =
1485 "Controls whether to use Toolkit-Views based Chrome App windows.";
1486
1487const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
1488
1489const char kMacViewsTaskManagerDescription[] =
1490 "Controls whether to use the Toolkit-Views based Task Manager.";
1491
1492const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
1493
1494const char kAppWindowCyclingDescription[] =
1495 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
1496 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
1497 "browser window, and browser windows will not be cycled when a Chrome "
1498 "App is active.";
1499
1500#endif // defined(OS_MACOSX)
1501
1502#if defined(OS_CHROMEOS)
1503
1504const char kAcceleratedMjpegDecodeName[] =
1505 "Hardware-accelerated mjpeg decode for captured frame";
1506
1507const char kAcceleratedMjpegDecodeDescription[] =
1508 "Enable hardware-accelerated mjpeg decode for captured frame where "
1509 "available.";
1510
1511#endif // defined(OS_CHROMEOS)
1512
1513const char kSimplifiedFullscreenUiName[] =
1514 "Simplified full screen / mouse lock UI.";
1515
1516const char kSimplifiedFullscreenUiDescription[] =
1517 "A simplified new user experience when entering page-triggered full "
1518 "screen or mouse pointer lock states.";
1519
1520const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
1521
1522const char kExperimentalKeyboardLockUiDescription[] =
1523 "An experimental full screen with keyboard lock mode requiring users to "
1524 "hold Esc to exit.";
1525
1526#if defined(OS_ANDROID)
1527
Rouslan Solomakhinbed1af22017-06-09 18:40:571528extern const char kPayWithGoogleV1Name[] = "Pay with Google v1";
1529
1530extern const char kPayWithGoogleV1Description[] =
1531 "Enable Pay with Google integration into Web Payments with API version "
1532 "'1'.";
1533
vabr0215a8e2017-03-28 12:47:341534const char kProgressBarAnimationName[] =
1535 "Android phone page loading progress bar animation";
1536
1537const char kProgressBarAnimationDescription[] =
1538 "Configures Android phone page loading progress bar animation.";
1539
1540const char kProgressBarAnimationLinear[] = "Linear";
1541
1542const char kProgressBarAnimationSmooth[] = "Smooth";
1543
1544const char kProgressBarAnimationSmoothIndeterminate[] = "Smooth indeterminate";
1545
1546const char kProgressBarAnimationFastStart[] = "Fast start";
1547
1548const char kProgressBarCompletionName[] =
1549 "Android phone page load progress bar completion time.";
1550
1551const char kProgressBarCompletionDescription[] =
1552 "Configures Android phone page loading progress bar completion time.";
1553
1554const char kProgressBarCompletionLoadEvent[] =
1555 R"*(Top loading frame's onload event ("everything" is done in the )*"
1556 R"*(page, historical behavior).)*";
1557
1558const char kProgressBarCompletionResourcesBeforeDcl[] =
1559 "Main frame's domContentLoaded and all resources loads started before "
1560 "domContentLoaded (iframes ignored).";
1561
1562const char kProgressBarCompletionDomContentLoaded[] =
1563 "Main frame's domContentLoaded (iframes ignored).";
1564
1565const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
1566 "domContentLoaded and all resources loads started before "
1567 "domContentLoaded (main frame and same origin iframes).";
1568
1569#endif // defined(OS_ANDROID)
1570
1571const char kDisallowDocWrittenScriptsUiName[] =
1572 "Block scripts loaded via document.write";
1573
1574const char kDisallowDocWrittenScriptsUiDescription[] =
1575 "Disallows fetches for third-party parser-blocking scripts inserted "
1576 "into the main frame via document.write.";
1577
1578#if defined(OS_WIN)
1579
1580const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
1581
1582const char kEnableAppcontainerDescription[] =
1583 "Enables the use of an AppContainer on sandboxed processes to improve "
1584 "security.";
1585
1586#endif // defined(OS_WIN)
1587
elawrenced9978fc2017-05-02 02:45:191588#if defined(TOOLKIT_VIEWS) || (defined(OS_MACOSX) && !defined(OS_IOS))
1589
1590const char kShowCertLinkOnPageInfoName[] = "Show certificate link";
1591
1592const char kShowCertLinkOnPageInfoDescription[] =
1593 "Add a link from the Page Info bubble to the certificate viewer for HTTPS "
1594 "sites.";
1595
1596#endif // defined(TOOLKIT_VIEWS) || (defined(OS_MACOSX) && !defined(OS_IOS))
1597
vabr0215a8e2017-03-28 12:47:341598#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
1599
1600const char kAutofillCreditCardUploadName[] =
1601 "Enable offering upload of Autofilled credit cards";
1602
1603const char kAutofillCreditCardUploadDescription[] =
1604 "Enables a new option to upload credit cards to Google Payments for "
1605 "sync to all Chrome devices.";
1606
1607#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
1608
1609const char kForceUiDirectionName[] = "Force UI direction";
1610
1611const char kForceUiDirectionDescription[] =
1612 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
1613 "mode, overriding the default direction of the UI language.";
1614
krb6822b602017-05-02 14:53:211615const char kForceTextDirectionName[] = "Force text direction";
vabr0215a8e2017-03-28 12:47:341616
krb6822b602017-05-02 14:53:211617const char kForceTextDirectionDescription[] =
1618 "Explicitly force the per-character directionality of UI text to "
1619 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the "
1620 "default direction of the character language.";
1621
1622const char kForceDirectionLtr[] = "Left-to-right";
1623
1624const char kForceDirectionRtl[] = "Right-to-left";
vabr0215a8e2017-03-28 12:47:341625
1626#if defined(OS_WIN) || defined(OS_LINUX)
1627
1628const char kEnableInputImeApiName[] = "Enable Input IME API";
1629
1630const char kEnableInputImeApiDescription[] =
1631 "Enable the use of chrome.input.ime API.";
1632
1633#endif // defined(OS_WIN) || defined(OS_LINUX)
1634
1635const char kEnableGroupedHistoryName[] = "Group history by domain";
1636
1637const char kEnableGroupedHistoryDescription[] =
1638 "Group history by website domain (i.e. google.com) on "
1639 "chrome://history.";
1640
vabr0215a8e2017-03-28 12:47:341641const char kSaveasMenuLabelExperimentName[] =
1642 "Switch 'Save as' menu labels to 'Download'";
1643
1644const char kSaveasMenuLabelExperimentDescription[] =
1645 "Enables an experiment to switch menu labels that use 'Save as...' to "
1646 "'Download'.";
1647
1648const char kEnableEnumeratingAudioDevicesName[] =
1649 "Experimentally enable enumerating audio devices.";
1650
1651const char kEnableEnumeratingAudioDevicesDescription[] =
1652 "Experimentally enable the use of enumerating audio devices.";
1653
1654const char kNewUsbBackendName[] = "Enable new USB backend";
1655
1656const char kNewUsbBackendDescription[] =
1657 "Enables the new experimental USB backend for Windows.";
1658
1659const char kNewOmniboxAnswerTypesName[] =
1660 "New omnibox answers in suggest types";
1661
1662const char kNewOmniboxAnswerTypesDescription[] =
1663 "Enables new types of answers in the omnibox suggest drop-down: "
1664 "currency conversions, dictionary definitions, sports scores, "
1665 "translations, and when is.";
1666
1667const char kEnableZeroSuggestRedirectToChromeName[] =
1668 "Experimental contextual omnibox suggestion";
1669
1670const char kEnableZeroSuggestRedirectToChromeDescription[] =
1671 "Change omnibox contextual suggestions to an experimental source. Note "
1672 "that this is not an on/off switch for contextual omnibox and it only "
1673 "applies to suggestions provided before the user starts typing a URL or "
1674 "a search query (i.e. zero suggest).";
1675
1676const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
1677
1678const char kFillOnAccountSelectDescription[] =
1679 "Filling of passwords when an account is explicitly selected by the "
1680 "user rather than autofilling credentials on page load.";
1681
1682const char kEnableClearBrowsingDataCountersName[] =
1683 "Enable Clear browsing data counters.";
1684
1685const char kEnableClearBrowsingDataCountersDescription[] =
1686 "Shows data volume counters in the Clear browsing data dialog.";
1687
1688#if defined(OS_ANDROID)
1689
1690const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1691
1692const char kTabsInCbdDescription[] =
1693 "Enables a basic and an advanced tab for the Clear Browsing Data "
1694 "dialog.";
1695
1696#endif // defined(OS_ANDROID)
1697
brettw5f9c1642017-05-14 17:12:481698const char kNotificationsNativeFlagName[] = "Enable native notifications.";
vabr0215a8e2017-03-28 12:47:341699
1700const char kNotificationsNativeFlagDescription[] =
1701 "Enable support for using the native notification toasts and "
1702 "notification center on platforms where these are available.";
1703
1704#if defined(OS_ANDROID)
1705
1706const char kEnableAndroidSpellcheckerDescription[] =
1707 "Enables use of the Android spellchecker.";
1708
1709const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
1710
1711#endif // defined(OS_ANDROID)
1712
1713const char kEnableWebNotificationCustomLayoutsName[] =
1714 "Enable custom layouts for Web Notifications.";
1715
1716const char kEnableWebNotificationCustomLayoutsDescription[] =
1717 "Enable custom layouts for Web Notifications. They will have subtle "
1718 "layout improvements that are otherwise not possible.";
1719
vabr0215a8e2017-03-28 12:47:341720const char kGoogleProfileInfoName[] = "Google profile name and icon";
1721
1722const char kGoogleProfileInfoDescription[] =
1723 "Enables using Google information to populate the profile name and icon "
1724 "in the avatar menu.";
1725
brettw5f9c1642017-05-14 17:12:481726const char kOfferStoreUnmaskedWalletCardsName[] =
vabr0215a8e2017-03-28 12:47:341727 "Google Payments card saving checkbox";
1728
1729const char kOfferStoreUnmaskedWalletCardsDescription[] =
1730 "Show the checkbox to offer local saving of a credit card downloaded "
1731 "from the server.";
1732
1733const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1734
1735const char kOfflineAutoReloadDescription[] =
1736 "Pages that fail to load while the browser is offline will be "
1737 "auto-reloaded when the browser is online again.";
1738
1739const char kOfflineAutoReloadVisibleOnlyName[] =
1740 "Only Auto-Reload Visible Tabs";
1741
1742const char kOfflineAutoReloadVisibleOnlyDescription[] =
1743 "Pages that fail to load while the browser is offline will only be "
1744 "auto-reloaded if their tab is visible.";
1745
1746const char kShowSavedCopyName[] = "Show Saved Copy Button";
1747
1748const char kShowSavedCopyDescription[] =
1749 "When a page fails to load, if a stale copy of the page exists in the "
1750 "browser cache, a button will be presented to allow the user to load "
1751 "that stale copy. The primary enabling choice puts the button in the "
1752 "most salient position on the error page; the secondary enabling choice "
1753 "puts it secondary to the reload button.";
1754
1755const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1756
1757const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1758
1759const char kDisableShowSavedCopy[] = "Disable";
1760
1761#if defined(OS_CHROMEOS)
1762
vabr0215a8e2017-03-28 12:47:341763const char kVirtualKeyboardName[] = "Virtual Keyboard";
1764
1765const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
1766
1767const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
1768
1769const char kVirtualKeyboardOverscrollDescription[] =
1770 "Enables virtual keyboard overscroll support.";
1771
1772const char kInputViewName[] = "Input views";
1773
1774const char kInputViewDescription[] =
1775 "Enable IME extensions to supply custom views for user input such as "
1776 "virtual keyboards.";
1777
1778const char kNewKoreanImeName[] = "New Korean IME";
1779
1780const char kNewKoreanImeDescription[] =
1781 "New Korean IME, which is based on Google Input Tools' HMM engine.";
1782
1783const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
1784
1785const char kPhysicalKeyboardAutocorrectDescription[] =
1786 "Enable physical keyboard autocorrect for US keyboard, which can "
1787 "provide suggestions as typing on physical keyboard.";
1788
1789const char kVoiceInputName[] = "Voice input on virtual keyboard";
1790
1791const char kVoiceInputDescription[] =
1792 "Enables voice input on virtual keyboard.";
1793
1794const char kExperimentalInputViewFeaturesName[] =
1795 "Experimental input view features";
1796
1797const char kExperimentalInputViewFeaturesDescription[] =
1798 "Enable experimental features for IME input views.";
1799
1800const char kFloatingVirtualKeyboardName[] = "Floating virtual keyboard.";
1801
1802const char kFloatingVirtualKeyboardDescription[] =
1803 "Enable/Disable floating virtual keyboard.";
1804
1805const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
1806
1807const char kGestureTypingDescription[] =
1808 "Enable/Disable gesture typing option in the settings page for the "
1809 "virtual keyboard.";
1810
1811const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
1812
1813const char kGestureEditingDescription[] =
1814 "Enable/Disable gesture editing option in the settings page for the "
1815 "virtual keyboard.";
1816
1817const char kCaptivePortalBypassProxyName[] =
1818 "Bypass proxy for Captive Portal Authorization";
1819
1820const char kCaptivePortalBypassProxyDescription[] =
1821 "If proxy is configured, it usually prevents from authorization on "
1822 "different captive portals. This enables opening captive portal "
1823 "authorization dialog in a separate window, which ignores proxy "
1824 "settings.";
1825
1826const char kTouchscreenCalibrationName[] =
1827 "Enable/disable touchscreen calibration option in material design "
1828 "settings";
1829
1830const char kTouchscreenCalibrationDescription[] =
1831 "If enabled, the user can calibrate the touch screen displays in "
1832 "chrome://md-settings/display.";
1833
yamaguchid99a64b2017-05-12 15:33:491834const char kTeamDrivesName[] = "Enable Team Drives Integration";
1835const char kTeamDrivesDescription[] =
1836 "If enabled, files under Team Drives will appear in the Files app.";
1837
vabr0215a8e2017-03-28 12:47:341838#endif // defined(OS_CHROMEOS)
1839
1840// Strings for controlling credit card assist feature in about:flags.
1841
1842const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
1843
1844const char kCreditCardAssistDescription[] =
1845 "Enable assisted credit card filling on certain sites.";
1846
1847// Strings for controlling credit card scanning feature in about:flags.
1848
1849// Simple Cache Backend experiment.
1850
1851const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1852
1853const char kSimpleCacheBackendDescription[] =
1854 "The Simple Cache for HTTP is a new cache. It relies on the filesystem "
1855 "for disk space allocation.";
1856
1857// Spelling feedback field trial.
1858
1859const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1860
1861const char kSpellingFeedbackFieldTrialDescription[] =
1862 "Enable the field trial for sending user feedback to spelling service.";
1863
1864// Web MIDI API.
1865
1866const char kWebMidiName[] = "Web MIDI API";
1867
1868const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1869
1870// Site per process mode
1871
creisc3af64f2017-04-12 17:22:381872const char kSitePerProcessName[] = "Strict site isolation";
vabr0215a8e2017-03-28 12:47:341873
1874const char kSitePerProcessDescription[] =
creisc3af64f2017-04-12 17:22:381875 "Highly experimental security mode that ensures each renderer process "
1876 "contains pages from at most one site. In this mode, out-of-process "
1877 "iframes will be used whenever an iframe is cross-site.";
vabr0215a8e2017-03-28 12:47:341878
1879// Top document isolation mode
1880
1881const char kTopDocumentIsolationName[] = "Top document isolation";
1882
1883const char kTopDocumentIsolationDescription[] =
1884 "Highly experimental performance mode where cross-site iframes are kept "
1885 "in a separate process from the top document. In this mode, iframes "
1886 "from different third-party sites will be allowed to share a process.";
1887
1888// Cross process guest frames isolation mode
1889
1890const char kCrossProcessGuestViewIsolationName[] =
1891 "Cross process frames for guests";
1892
1893const char kCrossProcessGuestViewIsolationDescription[] =
1894 "Highly experimental where guests such as <webview> are implemented "
1895 "on the out-of-process iframe infrastructure.";
1896
1897// Task Scheduler
1898
1899const char kBrowserTaskSchedulerName[] = "Task Scheduler";
1900
1901const char kBrowserTaskSchedulerDescription[] =
1902 "Enables redirection of some task posting APIs to the task scheduler.";
1903
1904// Arc authorization
1905
1906#if defined(OS_CHROMEOS)
1907
1908const char kArcUseAuthEndpointName[] = "Android apps authorization point";
1909
1910const char kArcUseAuthEndpointDescription[] =
1911 "Enable Android apps authorization point to automatic sign-in in OptIn "
1912 "flow.";
1913
1914#endif // defined(OS_CHROMEOS)
1915
1916// Autofill experiment flags
1917
1918const char kSingleClickAutofillName[] = "Single-click autofill";
1919
1920const char kSingleClickAutofillDescription[] =
1921 "Make autofill suggestions on initial mouse click on a form element.";
1922
1923#if defined(OS_ANDROID)
1924
1925const char kAutofillAccessoryViewName[] =
1926 "Autofill suggestions as keyboard accessory view";
1927
1928const char kAutofillAccessoryViewDescription[] =
1929 "Shows Autofill suggestions on top of the keyboard rather than in a "
1930 "dropdown.";
1931
1932#endif // defined(OS_ANDROID)
1933
1934// Reader mode experiment flags
1935
1936#if defined(OS_ANDROID)
1937
1938const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
1939
1940const char kReaderModeHeuristicsDescription[] =
1941 "Determines what pages the Reader Mode button is shown on.";
1942
1943const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
1944
1945const char kReaderModeHeuristicsAdaboost[] = "Appears to be an article";
1946
1947const char kReaderModeHeuristicsAlwaysOff[] = "Never";
1948
1949const char kReaderModeHeuristicsAlwaysOn[] = "Always";
1950
1951#endif // defined(OS_ANDROID)
1952
1953// Chrome home flags
1954
1955#if defined(OS_ANDROID)
1956
1957const char kChromeHomeName[] = "Chrome Home";
1958
1959const char kChromeHomeDescription[] = "Enables Chrome Home on Android.";
1960
mdjonesd484eac2017-05-02 21:34:451961const char kChromeHomeExpandButtonName[] = "Chrome Home Expand Button";
1962
1963const char kChromeHomeExpandButtonDescription[] =
1964 "Enables the expand button for Chrome Home.";
1965
Matthew Jonesd349741f2017-05-26 21:07:521966const char kChromeHomeSwipeLogicName[] = "Chrome Home Swipe Logic";
1967
1968const char kChromeHomeSwipeLogicDescription[] =
1969 "Various swipe logic options for Chrome Home for sheet expansion.";
1970
1971const char kChromeHomeSwipeLogicRestrictArea[] = "Restrict swipable area";
1972
Matthew Jonesfc0d7de2017-06-12 21:54:001973const char kChromeHomeSwipeLogicButtonOnly[] = "Swipe on expand button";
1974
vabr0215a8e2017-03-28 12:47:341975#endif // defined(OS_ANDROID)
1976
1977// Settings window flags
1978
1979const char kSettingsWindowName[] = "Show settings in a window";
1980
1981const char kSettingsWindowDescription[] =
1982 "Settings will be shown in a dedicated window instead of as a browser "
1983 "tab.";
1984
vabr0215a8e2017-03-28 12:47:341985// Extension Content Verification
1986
1987const char kExtensionContentVerificationName[] =
1988 "Extension Content Verification";
1989
1990const char kExtensionContentVerificationDescription[] =
1991 "This flag can be used to turn on verification that the contents of the "
1992 "files on disk for extensions from the webstore match what they're "
1993 "expected to be. This can be used to turn on this feature if it would "
1994 "not otherwise have been turned on, but cannot be used to turn it off "
1995 "(because this setting can be tampered with by malware).";
1996
1997const char kExtensionContentVerificationBootstrap[] =
1998 "Bootstrap (get expected hashes, but do not enforce them)";
1999
2000const char kExtensionContentVerificationEnforce[] =
2001 "Enforce (try to get hashes, and enforce them if successful)";
2002
2003const char kExtensionContentVerificationEnforceStrict[] =
2004 "Enforce strict (hard fail if we can't get hashes)";
2005
2006// Built-in hotword detection display strings
2007
2008const char kExperimentalHotwordHardwareName[] =
2009 "Simulated hardware 'Ok Google' features";
2010
2011const char kExperimentalHotwordHardwareDescription[] =
2012 "Enables an experimental version of 'Ok Google' hotword detection "
2013 "features that have a hardware dependency.";
2014
2015// Message center strings
2016
2017const char kMessageCenterAlwaysScrollUpUponRemovalName[] =
2018 "Experiments that message center always scroll up upon notification "
2019 "removal";
2020
2021const char kMessageCenterAlwaysScrollUpUponRemovalDescription[] =
2022 "Enables experiment that message center always scroll up when a "
2023 "notification is removed.";
2024
yoshikif14ac822017-05-31 04:26:142025const char kMessageCenterNewStyleNotificationName[] = "New style notification";
2026
2027const char kMessageCenterNewStyleNotificationDescription[] =
2028 "Enables the experiment style of material-design notification";
2029
vabr0215a8e2017-03-28 12:47:342030const char kCastStreamingHwEncodingName[] =
2031 "Cast Streaming hardware video encoding";
2032
2033const char kCastStreamingHwEncodingDescription[] =
2034 "This option enables support in Cast Streaming for encoding video "
2035 "streams using platform hardware.";
2036
brettw5f9c1642017-05-14 17:12:482037const char kAllowInsecureLocalhostName[] =
vabr0215a8e2017-03-28 12:47:342038 "Allow invalid certificates for resources loaded from localhost.";
2039
2040const char kAllowInsecureLocalhostDescription[] =
2041 "Allows requests to localhost over HTTPS even when an invalid "
2042 "certificate is presented.";
2043
2044#if defined(OS_WIN) || defined(OS_MACOSX)
2045
2046// Tab discarding
2047
2048const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2049
2050const char kAutomaticTabDiscardingDescription[] =
2051 "If enabled, tabs get automatically discarded from memory when the "
2052 "system memory is low. Discarded tabs are still visible on the tab "
2053 "strip and get reloaded when clicked on. Info about discarded tabs can "
2054 "be found at chrome://discards.";
2055
2056#endif // defined(OS_WIN) || defined(OS_MACOSX)
2057
2058#if defined(OS_ANDROID)
2059
2060const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2061
2062const char kOfflineBookmarksDescription[] =
2063 "Enable saving bookmarked pages for offline viewing.";
2064
2065const char kNtpOfflinePagesName[] = "Enable NTP offline pages";
2066
2067const char kNtpOfflinePagesDescription[] =
2068 "Enables badging of offline pages on the New Tab page. Only relevant if "
2069 "offline pages are enabled.";
2070
2071const char kOfflinePagesAsyncDownloadName[] =
jianli762bb48d2017-06-13 21:40:582072 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages.)*";
vabr0215a8e2017-03-28 12:47:342073
2074const char kOfflinePagesAsyncDownloadDescription[] =
jianli762bb48d2017-06-13 21:40:582075 R"*(Enables showing "DOWNLOAD WHEN ONLINE" button in error pages such )*"
vabr0215a8e2017-03-28 12:47:342076 R"*(that the user can click on it to download the page later.)*";
2077
2078const char kOfflinePagesSvelteConcurrentLoadingName[] =
2079 "Enables concurrent background loading on svelte.";
2080
2081const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2082 "Enables concurrent background loading (or downloading) of pages on "
2083 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2084 "happen when the svelte device is idle.";
2085
petewil2abcf042017-04-10 21:45:002086const char kOfflinePagesLoadSignalCollectingName[] =
2087 "Enables collecting load timing data for offline page snapshots.";
2088
2089const char kOfflinePagesLoadSignalCollectingDescription[] =
2090 "Enables loading completeness data collection while writing an offline "
2091 "page. This data is collected in the snapshotted offline page to allow "
2092 "data analysis to improve deciding when to make the offline snapshot.";
2093
vabr0215a8e2017-03-28 12:47:342094const char kOfflinePagesPrefetchingName[] =
2095 "Enables suggested offline pages to be prefetched.";
2096
2097const char kOfflinePagesPrefetchingDescription[] =
2098 "Enables suggested offline pages to be prefetched, so useful content is "
2099 "available while offline.";
2100
2101const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2102
2103const char kOfflinePagesSharingDescription[] =
2104 "Enables the saved offline pages to be shared via other applications.";
2105
2106const char kBackgroundLoaderForDownloadsName[] =
2107 "Enables background downloading of pages.";
2108
2109const char kBackgroundLoaderForDownloadsDescription[] =
2110 "Enables downloading pages in the background in case page is not yet "
2111 "loaded in current tab.";
2112
2113const char kNewBackgroundLoaderName[] =
2114 "Use background loader instead of prerenderer to load pages.";
2115
2116const char kNewBackgroundLoaderDescription[] =
2117 "Use background loader instead of prerenderer to asynchronously "
2118 "download pages.";
2119
2120const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
2121
2122const char kNtpPopularSitesDescription[] =
2123 "Pre-populate the New Tab page with popular sites.";
2124
2125const char kNtpSwitchToExistingTabName[] =
2126 "Switch to an existing tab for New Tab Page suggestions.";
2127
2128const char kNtpSwitchToExistingTabDescription[] =
2129 "When opening a suggested webpage from the New Tab Page, if a tab is "
2130 "already open for the suggestion, switch to that one instead of loading "
2131 "the suggestion in the new tab.";
2132
2133const char kNtpSwitchToExistingTabMatchUrl[] = "Match by URL";
2134
2135const char kNtpSwitchToExistingTabMatchHost[] = "Match by Hostname";
2136
2137const char kUseAndroidMidiApiName[] = "Use Android Midi API";
2138
2139const char kUseAndroidMidiApiDescription[] =
2140 "Use Android Midi API for WebMIDI (effective only with Android M+ "
2141 "devices).";
2142
2143const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
2144
2145const char kWebPaymentsModifiersDescription[] =
2146 "If the website provides modifiers in the payment request, show the "
2147 "custom total for each payment instrument, update the shopping cart "
2148 "when instruments are switched, and send modified payment method "
2149 "specific data to the payment app.";
2150
lbargu8bb0fabc2017-05-19 14:53:112151const char kXGEOVisibleNetworksName[] = "Enable XGEO Visible Networks";
2152
2153const char kXGEOVisibleNetworksDescription[] =
2154 "If location permissions are granted, include visible networks in the XGEO "
2155 "Header for omnibox queries. This will only happen if location is not "
2156 "fresh or not available (for example, due to a cold start).";
2157
vabr0215a8e2017-03-28 12:47:342158#endif // defined(OS_ANDROID)
2159
2160#if defined(OS_WIN)
2161
2162// Exporting tracing events to ETW
2163
2164const char kTraceExportEventsToEtwName[] =
2165 "Enable exporting of tracing events to ETW.";
2166
2167const char kTraceExportEventsToEtwDesription[] =
2168 "If enabled, trace events will be exported to the Event Tracing for "
2169 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2170 "Xperf.";
2171
2172const char kMergeKeyCharEventsName[] =
2173 "Enable or disable merging merging the key event (WM_KEY*) with char "
2174 "event (WM_CHAR).";
2175
2176const char kMergeKeyCharEventsDescription[] =
etienneb9a4b5302017-06-08 06:28:462177 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separately.";
vabr0215a8e2017-03-28 12:47:342178
2179const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2180
2181const char kUseWinrtMidiApiDescription[] =
2182 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 "
2183 "or later).";
2184
2185#endif // defined(OS_WIN)
2186
2187#if defined(OS_ANDROID)
2188
2189// Data Use
2190
2191// Update Menu Item Flags
2192
2193const char kUpdateMenuItemName[] = "Force show update menu item";
2194
2195const char kUpdateMenuItemDescription[] =
2196 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2197 R"*(menu.)*";
2198
twellingtonce0b29ba2017-04-19 21:01:172199const char kUpdateMenuItemCustomSummaryDescription[] =
vabr0215a8e2017-03-28 12:47:342200 "When this flag and the force show update menu item flag are enabled, a "
twellingtonce0b29ba2017-04-19 21:01:172201 "custom summary string will be displayed below the update menu item.";
vabr0215a8e2017-03-28 12:47:342202
twellingtonce0b29ba2017-04-19 21:01:172203const char kUpdateMenuItemCustomSummaryName[] =
2204 "Update menu item custom summary";
vabr0215a8e2017-03-28 12:47:342205
2206const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2207
2208const char kUpdateMenuBadgeDescription[] =
2209 "When enabled, an update badge will be shown on the app menu button.";
2210
2211const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2212
2213const char kSetMarketUrlForTestingDescription[] =
2214 "When enabled, sets the market URL for use in testing the update menu "
2215 "item.";
2216
2217#endif // defined(OS_ANDROID)
2218
2219#if defined(OS_ANDROID)
2220
2221const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
2222
2223const char kHerbPrototypeChoicesDescription[] =
2224 "Switching this option changes which tab management prototype is being "
2225 "tested.";
2226
2227const char kHerbPrototypeFlavorElderberry[] =
2228 "ELDERBERRY: All View Intents in CCT v2";
2229
2230const char kEnableSpecialLocaleName[] =
2231 "Enable custom logic for special locales.";
2232
2233const char kEnableSpecialLocaleDescription[] =
2234 "Enable custom logic for special locales. In this mode, Chrome might "
2235 "behave differently in some locales.";
2236
2237// WebApks
2238
2239const char kEnableWebapk[] = "Enable improved add to Home screen";
2240
2241const char kEnableWebapkDescription[] =
2242 R"*(Packages "Progressive Web Apps" so that they can integrate more )*"
2243 R"*(deeply with Android. A Chrome server is used to package sites. In )*"
2244 R"*(Chrome Canary and Chrome Dev, this requires “Untrusted )*"
2245 R"*(sources” to be enabled in Android security settings.)*";
2246
2247#endif // defined(OS_ANDROID)
2248
2249const char kEnableBrotliName[] = "Brotli Content-Encoding.";
2250
2251const char kEnableBrotliDescription[] =
2252 "Enable Brotli Content-Encoding support.";
2253
2254const char kEnableWebfontsInterventionName[] =
2255 "New version of User Agent Intervention for WebFonts loading.";
2256
2257const char kEnableWebfontsInterventionDescription[] =
2258 "Enable New version of User Agent Intervention for WebFonts loading.";
2259
2260const char kEnableWebfontsInterventionV2ChoiceDefault[] = "Default";
2261
2262const char kEnableWebfontsInterventionV2ChoiceEnabledWith2g[] = "Enabled: 2G";
2263
2264const char kEnableWebfontsInterventionV2ChoiceEnabledWith3g[] = "Enabled: 3G";
2265
2266const char kEnableWebfontsInterventionV2ChoiceEnabledWithSlow2g[] =
2267 "Enabled: Slow 2G";
2268
2269const char kEnableWebfontsInterventionV2ChoiceDisabled[] = "Disabled";
2270
2271const char kEnableWebfontsInterventionTriggerName[] =
2272 "Trigger User Agent Intervention for WebFonts loading always.";
2273
2274const char kEnableWebfontsInterventionTriggerDescription[] =
2275 "Enable to trigger User Agent Intervention for WebFonts loading always. "
2276 "This flag affects only when the intervention is enabled.";
2277
2278const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
2279
2280const char kEnableScrollAnchoringDescription[] =
2281 "Adjusts scroll position to prevent visible jumps when offscreen "
2282 "content changes.";
2283
2284#if defined(OS_CHROMEOS)
2285
skaua9afc0212017-04-07 19:18:472286const char kDisableNativeCupsName[] = "Native CUPS";
vabr0215a8e2017-03-28 12:47:342287
skaua9afc0212017-04-07 19:18:472288const char kDisableNativeCupsDescription[] =
2289 "Disable the use of the native CUPS printing backend.";
vabr0215a8e2017-03-28 12:47:342290
2291const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2292
2293const char kEnableAndroidWallpapersAppDescription[] =
2294 "Enables the Android Wallpapers App as the default Wallpaper App on "
2295 "Chrome OS.";
2296
2297const char kEnableTouchSupportForScreenMagnifierName[] =
2298 "Touch support for screen magnifier";
2299
2300const char kEnableTouchSupportForScreenMagnifierDescription[] =
2301 "Enables touch support for screen magnifier";
2302
Rouslan Solomakhinbed1af22017-06-09 18:40:572303const char kEnableZipArchiverOnFileManagerName[] = "ZIP archiver for Drive";
takise183b8cb42017-04-07 05:12:082304
2305const char kEnableZipArchiverOnFileManagerDescription[] =
2306 "Enable the ability to archive and unpack files on Drive in the Files app";
2307
xiaochu32e9672a2017-05-04 04:15:082308const char kCrOSComponentName[] = "Chrome OS Component";
2309
2310const char kCrOSComponentDescription[] =
xiaochu169aadd2017-06-15 22:32:512311 "Enable the use of componentized escpr CUPS filter.";
xiaochu32e9672a2017-05-04 04:15:082312
vabr0215a8e2017-03-28 12:47:342313#endif // defined(OS_CHROMEOS)
2314
2315#if defined(OS_ANDROID)
2316
2317const char kContentSuggestionsCategoryOrderName[] =
2318 "Default content suggestions category order (e.g. on NTP)";
2319
2320const char kContentSuggestionsCategoryOrderDescription[] =
2321 "Set default order of content suggestion categories (e.g. on the NTP).";
2322
2323const char kContentSuggestionsCategoryRankerName[] =
2324 "Content suggestions category ranker (e.g. on NTP)";
2325
2326const char kContentSuggestionsCategoryRankerDescription[] =
2327 "Set category ranker to order categories of content suggestions (e.g. "
2328 "on the NTP).";
2329
2330const char kEnableNtpSnippetsVisibilityName[] =
2331 "Make New Tab Page Snippets more visible.";
2332
2333const char kEnableNtpSnippetsVisibilityDescription[] =
2334 "If enabled, the NTP snippets will become more discoverable with a "
2335 "larger portion of the first card above the fold.";
2336
jkrcal18514e662017-03-30 06:12:282337const char kEnableContentSuggestionsNewFaviconServerName[] =
2338 "Get favicons for content suggestions from a new server.";
2339
2340const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2341 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2342 "new favicon server.";
2343
mastizbac78ad2017-05-22 10:14:002344const char kEnableFaviconsFromWebManifestName[] =
2345 "Load favicons from Web Manifests";
2346
2347const char kEnableFaviconsFromWebManifestDescription[] =
2348 "Fetch Web Manifests on page load to read favicons from them.";
2349
jkrcal7d79de52017-05-05 18:13:102350const char kEnableNtpMostLikelyFaviconsFromServerName[] =
2351 "Download favicons for NTP tiles from Google.";
2352
2353const char kEnableNtpMostLikelyFaviconsFromServerDescription[] =
2354 "If enabled, missing favicons for NTP tiles get downloaded from Google. "
2355 "This only applies to tiles that originate from synced history.";
2356
Nicolas Dossou-gbetec92e3ff2017-05-24 14:21:482357const char kEnableContentSuggestionsCategoriesName[] =
2358 "Organize content suggestions by categories.";
2359
2360const char kEnableContentSuggestionsCategoriesDescription[] =
2361 "If enabled, the content suggestions will be grouped by categories or "
2362 "topics. Only remote content suggestions are shown when this is enabled.";
2363
dgn2b5a43382017-04-06 16:56:562364const char kEnableContentSuggestionsSettingsName[] =
2365 "Show content suggestions settings.";
2366
2367const char kEnableContentSuggestionsSettingsDescription[] =
2368 "If enabled, the content suggestions settings will be available from the "
2369 "main settings menu.";
2370
mvanouwerkerk6771b152017-05-10 14:40:342371const char kEnableContentSuggestionsShowSummaryName[] =
2372 "Show content suggestions summaries.";
2373
2374const char kEnableContentSuggestionsShowSummaryDescription[] =
2375 "If enabled, the content suggestions summaries will be shown.";
2376
vabr0215a8e2017-03-28 12:47:342377const char kEnableNtpRemoteSuggestionsName[] =
2378 "Show server-side suggestions on the New Tab page";
2379
2380const char kEnableNtpRemoteSuggestionsDescription[] =
2381 "If enabled, the list of content suggestions on the New Tab page (see "
2382 "#enable-ntp-snippets) will contain server-side suggestions (e.g., "
2383 "Articles for you). Furthermore, it allows to override the source used "
2384 "to retrieve these server-side suggestions.";
2385
2386const char kEnableNtpRecentOfflineTabSuggestionsName[] =
2387 "Show recent offline tabs on the New Tab page";
2388
2389const char kEnableNtpRecentOfflineTabSuggestionsDescription[] =
2390 "If enabled, the list of content suggestions on the New Tab page (see "
2391 "#enable-ntp-snippets) will contain pages that were captured offline "
2392 "during browsing (see #offlining-recent-pages)";
2393
vabr0215a8e2017-03-28 12:47:342394const char kEnableNtpAssetDownloadSuggestionsName[] =
2395 "Show asset downloads on the New Tab page";
2396
2397const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2398 "If enabled, the list of content suggestions on the New Tab page (see "
2399 "#enable-ntp-snippets) will contain assets (e.g. books, pictures, "
2400 "audio) that the user downloaded for later use.";
2401
2402const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2403 "Show offline page downloads on the New Tab page";
2404
2405const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2406 "If enabled, the list of content suggestions on the New Tab page (see "
2407 "#enable-ntp-snippets) will contain pages that the user downloaded for "
2408 "later use.";
2409
2410const char kEnableNtpBookmarkSuggestionsName[] =
2411 "Show recently visited bookmarks on the New Tab page";
2412
2413const char kEnableNtpBookmarkSuggestionsDescription[] =
2414 "If enabled, the list of content suggestions on the New Tab page (see "
2415 "#enable-ntp-snippets) will contain recently visited bookmarks.";
2416
2417const char kEnableNtpPhysicalWebPageSuggestionsName[] =
2418 "Show Physical Web pages on the New Tab page";
2419
2420const char kEnableNtpPhysicalWebPageSuggestionsDescription[] =
2421 "If enabled, the list of content suggestions on the New Tab page (see "
2422 "#enable-ntp-snippets) will contain pages that are available through "
2423 "Physical Web (see #enable-physical-web)";
2424
2425const char kEnableNtpForeignSessionsSuggestionsName[] =
2426 "Show recent foreign tabs on the New Tab page";
2427
2428const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2429 "If enabled, the list of content suggestions on the New Tab page (see "
2430 "#enable-ntp-snippets) will contain recent foreign tabs.";
2431
2432const char kEnableNtpSuggestionsNotificationsName[] =
2433 "Notify about new content suggestions available at the New Tab page";
2434
2435const char kEnableNtpSuggestionsNotificationsDescription[] =
2436 "If enabled, notifications will inform about new content suggestions on "
2437 "the New Tab page (see #enable-ntp-snippets).";
2438
2439const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
2440
2441const char kNtpCondensedLayoutDescription[] =
2442 "Show a condensed layout on the New Tab Page.";
2443
2444const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
2445
2446const char kNtpCondensedTileLayoutDescription[] =
2447 "Show a condensed tile layout on the New Tab Page.";
2448
2449const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2450
2451const char kNtpGoogleGInOmniboxDescription[] =
2452 "Show a Google G in the omnibox on the New Tab Page.";
2453
2454#endif // defined(OS_ANDROID)
2455
2456#if defined(OS_ANDROID)
2457
2458const char kOffliningRecentPagesName[] =
2459 "Enable offlining of recently visited pages";
2460
2461const char kOffliningRecentPagesDescription[] =
2462 "Enable storing recently visited pages locally for offline use. "
2463 "Requires Offline Pages to be enabled.";
2464
2465const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2466
2467const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2468
2469#endif // defined(OS_ANDROID)
2470
2471#if defined(OS_ANDROID)
2472
brettw5f9c1642017-05-14 17:12:482473const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
vabr0215a8e2017-03-28 12:47:342474 "Use expanded autofill credit card popup layout.";
2475
2476const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
2477 "If enabled, displays autofill credit card popup using expanded "
2478 "layout.";
2479
2480#endif // defined(OS_ANDROID)
2481
brettw5f9c1642017-05-14 17:12:482482const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
vabr0215a8e2017-03-28 12:47:342483 "Display the last used date of a credit card in autofill.";
2484
2485const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
2486 "If enabled, display the last used date of a credit card in autofill.";
2487
brettw5f9c1642017-05-14 17:12:482488const char kEnableAutofillCreditCardUploadCvcPromptName[] =
jsaul314052192017-04-13 23:20:572489 "Enable requesting missing CVC during Autofill credit card upload";
2490
2491const char kEnableAutofillCreditCardUploadCvcPromptDescription[] =
2492 "If enabled, requests missing CVC when offering to upload credit cards to "
2493 "Google Payments.";
2494
vabr0215a8e2017-03-28 12:47:342495#if !defined(OS_ANDROID) && defined(GOOGLE_CHROME_BUILD)
2496
2497const char kGoogleBrandedContextMenuName[] =
2498 "Google branding in the context menu";
2499
2500const char kGoogleBrandedContextMenuDescription[] =
2501 "Shows a Google icon next to context menu items powered by Google "
2502 "services.";
2503
2504#endif // !defined(OS_ANDROID) && defined(GOOGLE_CHROME_BUILD)
2505
2506const char kEnableWebUsbName[] = "WebUSB";
2507
2508const char kEnableWebUsbDescription[] = "Enable WebUSB support.";
2509
2510const char kEnableGenericSensorName[] = "Generic Sensor";
2511
2512const char kEnableGenericSensorDescription[] =
2513 "Enable sensor APIs based on Generic Sensor API.";
2514
2515const char kFontCacheScalingName[] = "FontCache scaling";
2516
2517const char kFontCacheScalingDescription[] =
2518 "Reuse a cached font in the renderer to serve different sizes of font "
2519 "for faster layout.";
2520
2521const char kFramebustingName[] =
2522 "Framebusting requires same-origin or a user gesture";
2523
2524const char kFramebustingDescription[] =
2525 "Don't permit an iframe to navigate the top level browsing context "
2526 "unless they are same-origin or the iframe is processing a user "
2527 "gesture.";
2528
binluc5b59112017-04-19 15:38:462529const char kVibrateRequiresUserGestureName[] =
2530 "Requiring user gesture for the Vibration API";
2531
2532const char kVibrateRequiresUserGestureDescription[] =
2533 "Block the Vibration API if no user gesture has been received on "
2534 "the frame or any embedded frame.";
2535
vabr0215a8e2017-03-28 12:47:342536#if defined(OS_ANDROID)
mthiesse700b0b62017-05-19 01:37:312537#if BUILDFLAG(ENABLE_VR)
vabr0215a8e2017-03-28 12:47:342538const char kEnableVrShellName[] = "Enable Chrome VR.";
2539
2540const char kEnableVrShellDescription[] =
2541 "Allow browsing with a VR headset if available for this device.";
2542
mthiesse700b0b62017-05-19 01:37:312543const char kVrCustomTabBrowsingName[] = "Enable Custom Tab browsing in VR.";
2544
2545const char kVrCustomTabBrowsingDescription[] =
2546 "Allow browsing with a VR headset in a Custom Tab if available for this "
2547 "device.";
ymalike78a83b2017-05-19 20:42:312548
2549const char kWebVrAutopresentName[] = "Enable WebVr auto presentation";
2550
2551const char kWebVrAutopresentDescription[] =
2552 "Allows auto presentation of WebVr content from trusted first-party apps";
mthiesse700b0b62017-05-19 01:37:312553#endif // BUILDFLAG(ENABLE_VR)
vabr0215a8e2017-03-28 12:47:342554#endif // defined(OS_ANDROID)
2555
2556// Web payments
2557
2558const char kWebPaymentsName[] = "Web Payments";
2559
2560const char kWebPaymentsDescription[] =
2561 "Enable Web Payments API integration, a JavaScript API for merchants.";
2562
2563#if defined(OS_ANDROID)
2564
2565const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2566
2567const char kEnableAndroidPayIntegrationV1Description[] =
2568 "Enable integration with Android Pay using the first version of the "
2569 "API";
2570
2571const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2572
2573const char kEnableAndroidPayIntegrationV2Description[] =
2574 "Enable integration with Android Pay using the second version of the "
2575 "API";
2576
2577const char kEnableWebPaymentsSingleAppUiSkipName[] =
2578 "Enable Web Payments single app UI skip";
2579
2580const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
2581 "Enable Web Payments to skip showing its UI if the developer specifies "
2582 "a single app.";
2583
2584const char kAndroidPaymentAppsName[] = "Android payment apps";
2585
2586const char kAndroidPaymentAppsDescription[] =
2587 "Enable third party Android apps to integrate as payment apps";
2588
mathpb36946b2017-05-09 14:27:162589const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
2590
2591const char kServiceWorkerPaymentAppsDescription[] =
2592 "Enable Service Worker applications to integrate as payment apps";
2593
vabr0215a8e2017-03-28 12:47:342594#endif // defined(OS_ANDROID)
2595
2596const char kFeaturePolicyName[] = "Feature Policy";
2597
2598const char kFeaturePolicyDescription[] =
2599 "Enables granting and removing access to features through the "
2600 "Feature-Policy HTTP header.";
2601
2602// Audio rendering mixing experiment strings.
2603
2604const char kNewAudioRenderingMixingStrategyName[] =
2605 "New audio rendering mixing strategy";
2606
2607const char kNewAudioRenderingMixingStrategyDescription[] =
2608 "Use the new audio rendering mixing strategy.";
2609
2610// Background video track disabling experiment strings.
2611
2612const char kBackgroundVideoTrackOptimizationName[] =
2613 "Optimize background video playback.";
2614
2615const char kBackgroundVideoTrackOptimizationDescription[] =
2616 "Disable video tracks when the video is played in the background to "
2617 "optimize performance.";
2618
avayvod232757942017-04-29 04:12:342619// New remote playback pipeline experiment strings.
2620
2621const char kNewRemotePlaybackPipelineName[] =
2622 "Enable the new remote playback pipeline.";
2623
2624const char kNewRemotePlaybackPipelineDescription[] =
2625 "Enable the new pipeline for playing media element remotely via "
2626 "RemotePlayback API or native controls.";
2627
vabr0215a8e2017-03-28 12:47:342628// Video fullscreen with orientation lock experiment strings.
2629
2630const char kVideoFullscreenOrientationLockName[] =
2631 "Lock screen orientation when playing a video fullscreen.";
2632
2633const char kVideoFullscreenOrientationLockDescription[] =
2634 "Lock the screen orientation of the device to match video orientation "
2635 "when a video goes fullscreen. Only on phones.";
2636
johnme913ee5f2017-04-28 21:36:162637// Video rotate-to-fullscreen experiment strings.
2638
2639const char kVideoRotateToFullscreenName[] =
2640 "Rotate-to-fullscreen gesture for videos.";
2641
2642const char kVideoRotateToFullscreenDescription[] =
2643 "Enter/exit fullscreen when device is rotated to/from the orientation of "
2644 "the video. Only on phones.";
2645
vabr0215a8e2017-03-28 12:47:342646// Expensive background timer throttling flag
2647
2648const char kExpensiveBackgroundTimerThrottlingName[] =
2649 "Throttle expensive background timers";
2650
2651const char kExpensiveBackgroundTimerThrottlingDescription[] =
2652 "Enables intervention to limit CPU usage of background timers to 1%.";
2653
2654// Enable default MediaSession flag
2655
2656#if !defined(OS_ANDROID)
2657
mlamouriff56c092017-05-11 15:31:392658const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
vabr0215a8e2017-03-28 12:47:342659
mlamouriff56c092017-05-11 15:31:392660const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342661 "Manage audio focus across tabs to improve the audio mixing.";
2662
mlamouriff56c092017-05-11 15:31:392663const char kEnableAudioFocusDisabled[] = "Disabled";
vabr0215a8e2017-03-28 12:47:342664
mlamouriff56c092017-05-11 15:31:392665const char kEnableAudioFocusEnabled[] = "Enabled";
vabr0215a8e2017-03-28 12:47:342666
mlamouriff56c092017-05-11 15:31:392667const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342668 "Enabled (Flash lowers volume when interrupted by other sound, "
2669 "experimental)";
2670
2671#endif // !defined(OS_ANDROID)
2672
2673#if defined(OS_WIN)
2674
2675const char kGdiTextPrinting[] = "GDI Text Printing";
2676
2677const char kGdiTextPrintingDescription[] =
2678 "Use GDI to print text as simply text";
2679
2680#endif // defined(OS_WIN)
2681
2682#if defined(OS_ANDROID)
2683
2684const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2685
2686const char kModalPermissionPromptsDescription[] =
2687 "Whether to use permission dialogs in place of permission infobars.";
2688
2689#endif // defined(OS_ANDROID)
2690
2691#if !defined(OS_MACOSX)
2692
2693const char kPermissionPromptPersistenceToggleName[] =
2694 "Persistence Toggle in Permission Prompts";
2695
2696const char kPermissionPromptPersistenceToggleDescription[] =
2697 "Whether to display a persistence toggle in permission prompts.";
2698
2699#endif // !defined(OS_MACOSX)
2700
2701#if defined(OS_ANDROID)
2702
2703const char kNoCreditCardAbort[] = "No Credit Card Abort";
2704
2705const char kNoCreditCardAbortDescription[] =
2706 "Whether or not the No Credit Card Abort is enabled.";
2707
2708#endif // defined(OS_ANDROID)
2709
2710// Consistent omnibox geolocation
2711
2712#if defined(OS_ANDROID)
2713
2714const char kEnableConsistentOmniboxGeolocationName[] =
2715 "Have consistent omnibox geolocation access.";
2716
2717const char kEnableConsistentOmniboxGeolocationDescription[] =
2718 "Have consistent geolocation access between the omnibox and default "
2719 "search engine.";
2720
2721#endif // defined(OS_ANDROID)
2722
2723// Media Remoting chrome://flags strings
2724
2725const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
2726
2727const char kMediaRemotingDescription[] =
2728 "When Casting a tab to a remote device, enabling this turns on an "
2729 "optimization that forwards the content bitstream directly to the "
2730 "remote device when a video is fullscreened.";
2731
vabr0215a8e2017-03-28 12:47:342732// Play Services LSD permission prompt chrome://flags strings
2733
2734#if defined(OS_ANDROID)
2735
2736const char kLsdPermissionPromptName[] =
2737 "Location Settings Dialog Permission Prompt";
2738
2739const char kLsdPermissionPromptDescription[] =
2740 "Whether to use the Google Play Services Location Settings Dialog "
2741 "permission dialog.";
2742
2743#endif // defined(OS_ANDROID)
2744
2745#if defined(OS_WIN)
2746
2747// Custom draw the Windows 10 titlebar. crbug.com/505013
2748
2749const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2750
2751const char kWindows10CustomTitlebarDescription[] =
2752 "If enabled, Chrome will draw the titlebar and caption buttons instead "
2753 "of deferring to Windows.";
2754
2755#endif // defined(OS_WIN)
2756
2757#if defined(OS_WIN)
2758
rbpotter556837e42017-05-01 18:49:042759const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
vabr0215a8e2017-03-28 12:47:342760
rbpotter556837e42017-05-01 18:49:042761const char kDisablePostscriptPrintingDescription[] =
2762 "Disables PostScript generation when printing to PostScript capable "
2763 "printers, and uses EMF generation in its place.";
vabr0215a8e2017-03-28 12:47:342764
2765#endif // defined(OS_WIN)
2766
2767#if defined(OS_ANDROID)
2768
2769const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2770
2771const char kAiaFetchingDescription[] =
2772 "Enable intermediate certificate fetching when a server does not "
2773 "provide sufficient certificates to build a chain to a trusted root.";
2774
2775#endif // defined(OS_ANDROID)
2776
2777// Web MIDI supports MIDIManager dynamic instantiation chrome://flags strings
2778
2779const char kEnableMidiManagerDynamicInstantiationName[] =
2780 "MIDIManager dynamic instantiation for Web MIDI.";
2781
2782const char kEnableMidiManagerDynamicInstantiationDescription[] =
2783 "Enable MIDIManager dynamic instantiation for Web MIDI.";
2784
2785// Desktop iOS promotion chrome://flags strings
2786
2787#if defined(OS_WIN)
2788
2789const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2790
2791const char kEnableDesktopIosPromotionsDescription[] =
2792 "Enable Desktop to iOS promotions, and allow users to see them if they "
2793 "are eligible.";
2794
2795#endif // defined(OS_WIN)
2796
2797#if defined(OS_ANDROID)
2798
2799const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2800
2801const char kEnableCustomFeedbackUiDescription[] =
2802 "Enables a custom feedback UI when submitting feedback through Google "
2803 "Feedback. Works with Google Play Services v10.2+";
2804
2805#endif // defined(OS_ANDROID)
2806
vabr0215a8e2017-03-28 12:47:342807#if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || \
2808 defined(OS_WIN)
2809
2810const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
vabr0215a8e2017-03-28 12:47:342811const char kOmniboxEntitySuggestionsDescription[] =
krbcc621412017-06-01 19:40:282812 "Enable receiving entity suggestions - disambiguation descriptions - for "
2813 "Omnibox suggestions.";
2814
2815const char kOmniboxTailSuggestionsName[] = "Omnibox tail suggestions";
2816const char kOmniboxTailSuggestionsDescription[] =
2817 "Enable receiving tail suggestions, a type of search suggestion "
2818 "based on the last few words in the query, for the Omnibox.";
vabr0215a8e2017-03-28 12:47:342819
ojan38c678352017-04-11 20:27:552820const char kPauseBackgroundTabsName[] = "Pause background tabs";
2821const char kPauseBackgroundTabsDescription[] =
2822 "Pause timers in background tabs after 5 minutes on desktop.";
2823
spqchan6f9127a2017-04-29 03:42:022824const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2825const char kEnableNewAppMenuIconDescription[] =
2826 "Use the new app menu icon with update notification animations.";
spqchan064a8112017-04-18 16:46:322827
vabr0215a8e2017-03-28 12:47:342828#endif // defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) ||
2829 // defined(OS_WIN)
2830
2831#if defined(OS_CHROMEOS)
2832
2833const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2834
2835const char kEnableChromevoxArcSupportDescription[] =
2836 "Enable ChromeVox screen reader features in ARC";
2837
2838#endif // defined(OS_CHROMEOS)
2839
2840const char kMojoLoadingName[] = "Use Mojo IPC for resource loading";
2841
2842const char kMojoLoadingDescription[] =
2843 "Use Mojo IPC instead of traditional Chrome IPC for resource loading.";
2844
2845#if defined(OS_ANDROID)
2846
2847const char kUseNewDoodleApiName[] = "Use new Doodle API";
2848
2849const char kUseNewDoodleApiDescription[] =
2850 "Enables the new API to fetch Doodles for the NTP.";
2851
2852#endif // defined(OS_ANDROID)
2853
vabr0215a8e2017-03-28 12:47:342854const char kDebugShortcutsDescription[] =
2855 "Enables additional keyboard shortcuts that are useful for debugging "
2856 "Ash.";
2857
dskiba950fbc82017-04-12 20:36:282858const char kMemoryAblationName[] = "Memory ablation experiment";
2859const char kMemoryAblationDescription[] =
2860 "Allocates extra memory in the browser process.";
2861
jwanda1582bcf2017-03-30 04:33:482862#if defined(OS_ANDROID)
2863
2864const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2865
2866const char kEnableCustomContextMenuDescription[] =
2867 "Enables a new context menu when a link, image, or video is pressed within "
2868 "Chrome.";
2869
2870#endif // defined(OS_ANDROID)
2871
vabr0215a8e2017-03-28 12:47:342872#if defined(OS_CHROMEOS)
2873
2874// File Manager
2875
2876const char kVideoPlayerChromecastSupportName[] =
2877 "Experimental Chromecast support for Video Player";
2878
2879const char kVideoPlayerChromecastSupportDescription[] =
2880 "This option enables experimental Chromecast support for Video Player "
2881 "app on ChromeOS.";
2882
2883const char kNewZipUnpackerName[] = "New ZIP unpacker";
2884
2885const char kNewZipUnpackerDescription[] =
2886 "New ZIP unpacker flow, based on the File System Provider API.";
2887
vabr0215a8e2017-03-28 12:47:342888const char kOfficeEditingComponentAppName[] =
2889 "Office Editing for Docs, Sheets & Slides";
2890
2891const char kOfficeEditingComponentAppDescription[] =
2892 "Office Editing for Docs, Sheets & Slides for testing purposes.";
2893
2894const char kDisplayColorCalibrationName[] = "Color calibration of the display";
2895
2896const char kDisplayColorCalibrationDescription[] =
2897 "Allow color calibration of the display if the display supports the "
2898 "feature.";
2899
2900const char kMemoryPressureThresholdName[] =
2901 "Memory discard strategy for advanced pressure handling";
2902
2903const char kMemoryPressureThresholdDescription[] =
2904 "Memory discarding strategy to use";
2905
2906const char kConservativeThresholds[] =
2907 "Conservative memory pressure release strategy";
2908
2909const char kAggressiveCacheDiscardThresholds[] =
2910 "Aggressive cache release strategy";
2911
2912const char kAggressiveTabDiscardThresholds[] =
2913 "Aggressive tab release strategy";
2914
2915const char kAggressiveThresholds[] =
2916 "Aggressive tab and cache release strategy";
2917
2918const char kWakeOnPacketsName[] = "Wake On Packets";
2919
2920const char kWakeOnPacketsDescription[] =
2921 "Enables waking the device based on the receipt of some network "
2922 "packets.";
2923
brettw5f9c1642017-05-14 17:12:482924const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
vabr0215a8e2017-03-28 12:47:342925
2926const char kQuickUnlockPinDescription[] =
jdufault74476492017-04-20 01:20:002927 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2928 "device on the lock screen after you have signed into your device.";
2929
2930const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2931
2932const char kQuickUnlockPinSigninDescription[] =
2933 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2934 "device. After changing this flag PIN needs to be set up again.";
vabr0215a8e2017-03-28 12:47:342935
2936const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2937
2938const char kQuickUnlockFingerprintDescription[] =
2939 "Enabling fingerprint quick unlock allows you to setup and use a "
2940 "fingerprint to unlock your Chromebook on the lock screen after you "
2941 "have signed into your device.";
2942
2943const char kExperimentalAccessibilityFeaturesName[] =
2944 "Experimental accessibility features";
2945
2946const char kExperimentalAccessibilityFeaturesDescription[] =
2947 "Enable additional accessibility features in the Settings page.";
2948
2949const char kDisableSystemTimezoneAutomaticDetectionName[] =
2950 "SystemTimezoneAutomaticDetection policy support";
2951
2952const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2953 "Disable system timezone automatic detection device policy.";
2954
2955const char kEolNotificationName[] = "Disable Device End of Life notification.";
2956
2957const char kEolNotificationDescription[] =
2958 "Disable Notifcation when Device is End of Life.";
2959
2960// Stylus strings
2961
2962const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2963
2964const char kForceEnableStylusToolsDescription[] =
2965 "Forces display of the stylus tools menu in the shelf and the stylus "
2966 "section in settings, even if there is no attached stylus device.";
2967
2968// Network portal notification
2969
2970const char kNetworkPortalNotificationName[] =
2971 "Notifications about captive portals";
2972
2973const char kNetworkPortalNotificationDescription[] =
2974 "If enabled, notification is displayed when device is connected to a "
2975 "network behind captive portal.";
2976
stevenjbe1d457382017-05-24 22:37:242977const char kNetworkSettingsConfigName[] =
2978 "Settings based Network Configuration";
2979
2980const char kNetworkSettingsConfigDescription[] =
2981 "Enables the Settings based network configuration UI instead of the Views "
2982 "based configuration dialog.";
2983
vabr0215a8e2017-03-28 12:47:342984const char kMtpWriteSupportName[] = "MTP write support";
2985
2986const char kMtpWriteSupportDescription[] =
2987 "MTP write support in File System API (and file manager). In-place "
2988 "editing operations are not supported.";
2989
2990const char kCrosRegionsModeName[] = "Cros-regions load mode";
2991
2992const char kCrosRegionsModeDescription[] =
2993 "This flag controls cros-regions load mode";
2994
2995const char kCrosRegionsModeDefault[] = "Default";
2996
2997const char kCrosRegionsModeOverride[] = "Override VPD values.";
2998
2999const char kCrosRegionsModeHide[] = "Hide VPD values.";
3000
3001const char kPrinterProviderSearchAppName[] =
3002 "Chrome Web Store Gallery app for printer drivers";
3003
3004const char kPrinterProviderSearchAppDescription[] =
3005 "Enables Chrome Web Store Gallery app for printer drivers. The app "
3006 "searches Chrome Web Store for extensions that support printing to a "
3007 "USB printer with specific USB ID.";
3008
3009const char kArcBootCompleted[] = "Load Android apps automatically";
3010
3011const char kArcBootCompletedDescription[] =
3012 "Allow Android apps to start automatically after signing in.";
3013
3014const char kEnableImeMenuName[] = "Enable opt-in IME menu";
3015
3016const char kEnableImeMenuDescription[] =
3017 "Enable access to the new IME menu in the Language Settings page.";
3018
3019const char kEnableEhvInputName[] =
3020 "Emoji, handwriting and voice input on opt-in IME menu";
3021
3022const char kEnableEhvInputDescription[] =
3023 "Enable access to emoji, handwriting and voice input form opt-in IME "
3024 "menu.";
3025
fukino1b5ebe952017-04-07 05:35:303026const char kEnableEncryptionMigrationName[] =
3027 "Enable encryption migration of user data";
3028
3029const char kEnableEncryptionMigrationDescription[] =
3030 "If enabled and the device supports ARC, the user will be asked to update "
3031 "the encryption of user data when the user signs in.";
3032
vabr0215a8e2017-03-28 12:47:343033#endif // #if defined(OS_CHROMEOS)
3034
wychen2212fe72017-04-10 10:23:323035#if defined(OS_ANDROID)
3036
3037const char kEnableCopylessPasteName[] = "App Indexing (Copyless Paste)";
3038
3039const char kEnableCopylessPasteDescription[] =
3040 "Provide suggestions for text input, based on your recent context. For "
3041 "example, if you looked at a restaurant website and switched to the Maps "
3042 "app, the keyboard would offer the name of that restaurant as a suggestion "
3043 "to enter into the search bar. The data is indexed locally, and never sent "
3044 "to the server. It's disabled in incognito mode.";
3045
alexander.shalamov588eca42017-04-20 13:32:423046const char kEnableWebNfcName[] = "WebNFC";
3047
3048const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
3049
wychen2212fe72017-04-10 10:23:323050#endif // defined(OS_ANDROID)
3051
xiaochengh91ba4c52017-04-21 03:49:253052const char kEnableIdleTimeSpellCheckingName[] =
3053 "Enable idle time spell checker";
3054
3055const char kEnableIdleTimeSpellCheckingDescription[] =
3056 "Make spell-checking code run only when the browser is idle, so that input "
3057 "latency is reduced, especially when editing long articles, emails, etc.";
3058
mpearson5aed28a2017-04-25 06:01:313059#if defined(OS_ANDROID)
3060
3061const char kEnableOmniboxClipboardProviderName[] =
3062 "Omnibox clipboard URL suggestions";
3063
3064const char kEnableOmniboxClipboardProviderDescription[] =
3065 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
3066 "focus in the omnibox.";
3067
3068#endif // defined(OS_ANDROID)
3069
mlamouri1f264da22017-04-25 22:34:423070const char kAutoplayPolicyName[] = "Autoplay policy";
3071
3072const char kAutoplayPolicyDescription[] =
3073 "Policy used when deciding if audio or video is allowed to autoplay.";
3074
3075const char kAutoplayPolicyNoUserGestureRequired[] =
3076 "No user gesture is required.";
3077
3078const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
3079
mlamouri55a0543c2017-05-11 10:34:073080const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
mlamouri1f264da22017-04-25 22:34:423081 "User gesture is required for cross-origin iframes.";
3082
mlamouri431bb4e2017-06-06 08:54:243083const char kAutoplayPolicyDocumentUserActivation[] =
3084 "Document user activation is required.";
3085
gcomanici8cabc77f2017-04-27 20:04:543086const char kOmniboxDisplayTitleForCurrentUrlName[] =
3087 "Include title for the current URL in the omnibox";
3088
3089const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
3090 "In the event that the omnibox provides suggestions on-focus, the URL of "
3091 "the current page is provided as the first suggestion without a title. "
3092 "Enabling this flag causes the title to be displayed.";
3093
tommyclifd4ba2792017-06-14 00:05:393094const char kOmniboxUIHideSuggestionUrlPathName[] =
3095 "Omnibox UI Hide Suggestion URL Path";
3096const char kOmniboxUIHideSuggestionUrlPathDescription[] =
3097 "Elides the paths of suggested URLs in the Omnibox dropdown.";
3098
3099const char kOmniboxUIHideSuggestionUrlSchemeName[] =
3100 "Omnibox UI Hide Suggestion URL Scheme";
3101const char kOmniboxUIHideSuggestionUrlSchemeDescription[] =
3102 "Elides the schemes of suggested URLs in the Omnibox dropdown.";
3103
3104const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsName[] =
3105 "Omnibox UI Hide Suggestion URL Trivial Subdomains";
3106const char kOmniboxUIHideSuggestionUrlTrivialSubdomainsDescription[] =
3107 "Elides trivially informative subdomains from suggested URLs in the "
3108 "Omnibox dropdown (e.g. www. and m.).";
3109
tommyclia5a538f92017-05-15 19:09:383110const char kOmniboxUIMaxAutocompleteMatchesName[] =
3111 "Omnibox UI Max Autocomplete Matches";
3112
3113const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
etienneb9a4b5302017-06-08 06:28:463114 "Changes the maximum number of autocomplete matches displayed in the "
tommyclia5a538f92017-05-15 19:09:383115 "Omnibox UI.";
3116
tommycli0695a7242017-06-09 17:32:223117const char kOmniboxUINarrowDropdownName[] = "Omnibox UI Narrow Dropdown";
3118
3119const char kOmniboxUINarrowDropdownDescription[] =
3120 "Makes the suggestions dropdown width match the omnibox width.";
3121
tommycli26317da2017-05-26 20:50:333122const char kOmniboxUIVerticalLayoutName[] = "Omnibox UI Vertical Layout";
3123
3124const char kOmniboxUIVerticalLayoutDescription[] =
3125 "Displays Omnibox sugestions in 2 lines - title over origin.";
3126
tommycli2bb95c42017-05-08 18:07:023127const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
3128
3129const char kOmniboxUIVerticalMarginDescription[] =
3130 "Changes the vertical margin in the Omnibox UI.";
3131
tbansald3e08ca62017-05-04 19:51:093132const char kForceEffectiveConnectionTypeName[] =
3133 "Override effective connection type";
3134
3135const char kForceEffectiveConnectionTypeDescription[] =
3136 "Overrides the effective connection type of the current connection "
3137 "returned by the network quality estimator.";
3138
3139const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
3140const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
3141const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
3142const char kEffectiveConnectionType2GDescription[] = "2G";
3143const char kEffectiveConnectionType3GDescription[] = "3G";
3144const char kEffectiveConnectionType4GDescription[] = "4G";
3145
dskibac6376a62017-05-01 22:43:293146const char kEnableHeapProfilingName[] = "Heap profiling";
3147
3148const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
3149
3150const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
3151
3152const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
3153
3154const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
3155
fhorschig122c6652017-05-05 10:21:303156const char kUseSuggestionsEvenIfFewFeatureName[] =
3157 "Disable minimum for server-side tile suggestions on NTP.";
3158
3159const char kUseSuggestionsEvenIfFewFeatureDescription[] =
3160 "Request server-side suggestions even if there are only very few of them "
3161 "and use them for tiles on the New Tab Page.";
3162
toyoshim9ff98be2017-05-05 15:53:283163const char kLocationHardReloadName[] =
3164 "Experimental change for Location.reload() to trigger a hard-reload.";
3165
3166const char kLocationHardReloadDescription[] =
3167 "Enable an experimental change for Location.reload() to trigger a "
3168 "hard-reload.";
3169
treib32d2e422017-05-08 10:00:353170const char kCaptureThumbnailOnLoadFinishedName[] =
3171 "Capture page thumbnail on load finished";
3172
3173const char kCaptureThumbnailOnLoadFinishedDescription[] =
3174 "Capture a page thumbnail (for use on the New Tab page) when the page load "
3175 "finishes, in addition to other times a thumbnail may be captured.";
3176
stanisc14bed0b132017-05-10 17:46:373177#if defined(OS_WIN)
3178
3179// Name and description of the flag that enables D3D v-sync.
3180const char kEnableD3DVsync[] = "D3D v-sync";
3181const char kEnableD3DVsyncDescription[] =
3182 "Produces v-sync signal by having D3D wait for vertical blanking interval "
3183 "to occur.";
3184
3185#endif // defined(OS_WIN)
3186
treib273e9db2017-05-11 14:02:263187#if !defined(OS_ANDROID) && !defined(OS_IOS)
3188
msarda6d4b3dc2017-06-02 15:39:473189const char kAccountConsistencyName[] =
3190 "Identity consistency between browser and cookie jar";
3191
3192const char kAccountConsistencyDescription[] =
3193 "When enabled, the browser manages signing in and out of Google "
3194 "accounts.";
3195
3196const char kAccountConsistencyChoiceMirror[] = "Mirror";
3197const char kAccountConsistencyChoiceDice[] = "Dice";
3198
treib273e9db2017-05-11 14:02:263199const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
3200const char kUseGoogleLocalNtpDescription[] =
3201 "Use the local New Tab page if Google is the default search engine.";
3202
3203const char kOneGoogleBarOnLocalNtpName[] =
3204 "Enable the OneGoogleBar on the local NTP";
3205const char kOneGoogleBarOnLocalNtpDescription[] =
3206 "Show a OneGoogleBar on the local New Tab page if Google is the default "
3207 "search engine.";
3208
3209#endif // !defined(OS_ANDROID) && !defined(OS_IOS)
3210
lgreyc0b638e52017-05-11 19:10:173211#if defined(OS_MACOSX)
3212extern const char kMacRTLName[] = "Enable RTL";
3213extern const char kMacRTLDescription[] =
3214 "Mirrors the UI for RTL language users";
elawrence408bddb2017-06-15 16:07:383215extern const char kMacTouchBarName[] = "Hardware TouchBar";
3216extern const char kMacTouchBarDescription[] =
3217 "Control the use of the TouchBar.";
lgreyc0b638e52017-05-11 19:10:173218#endif
3219
yhanadac5bff5b2017-05-18 06:37:093220#if defined(OS_CHROMEOS)
3221
3222const char kDisableNewVirtualKeyboardBehaviorName[] =
3223 "New window behavior for the accessibility keyboard";
3224const char kDisableNewVirtualKeyboardBehaviorDescription[] =
3225 "Disable new window behavior for the accessibility keyboard "
3226 "in non-sticky mode (do not change work area in non-sticky mode).";
3227
bruthigeafb0c02017-06-09 13:11:533228const char kUiDevToolsName[] = "Enable native UI inspection";
3229const char kUiDevToolsDescription[] =
3230 "Enables inspection of native UI elements. For local inspection use "
3231 "chrome://inspect#other";
3232
yhanadac5bff5b2017-05-18 06:37:093233#endif // defined(OS_CHROMEOS)
3234
vabr0215a8e2017-03-28 12:47:343235} // namespace flag_descriptions