blob: ce5c3233123dac99fa07a1bc50864b9ab0a6e6f9 [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
9// Material Design version of chrome://bookmarks
10
11const char kEnableMaterialDesignBookmarksName[] =
12 "Enable Material Design bookmarks";
13
14const char kEnableMaterialDesignBookmarksDescription[] =
15 "If enabled, the chrome://bookmarks/ URL loads the Material Design "
16 "bookmarks page.";
17
18// Material Design version of chrome://policy
19
20const char kEnableMaterialDesignPolicyPageName[] =
21 "Enable Material Design policy page";
22
23const char kEnableMaterialDesignPolicyPageDescription[] =
24 "If enabled, the chrome://md-policy URL loads the Material Design "
25 "policy page.";
26
27// Material Design version of chrome://history
28
29const char kEnableMaterialDesignHistoryName[] =
30 "Enable Material Design history";
31
32const char kEnableMaterialDesignHistoryDescription[] =
33 "If enabled, the chrome://history/ URL loads the Material Design "
34 "history page.";
35
36// Material Design version of chrome://settings
37
38const char kEnableMaterialDesignSettingsName[] =
39 "Enable Material Design settings";
40
41const char kEnableMaterialDesignSettingsDescription[] =
42 "If enabled, the chrome://settings/ URL loads the Material Design "
43 "settings page.";
44
45// Material Design version of chrome://extensions
46
47const char kEnableMaterialDesignExtensionsName[] =
48 "Enable Material Design extensions";
49
50const char kEnableMaterialDesignExtensionsDescription[] =
51 "If enabled, the chrome://extensions/ URL loads the Material Design "
52 "extensions page.";
53
54// Material Design version of feedback form
55
56const char kEnableMaterialDesignFeedbackName[] =
57 "Enable Material Design feedback";
58
59const char kEnableMaterialDesignFeedbackDescription[] =
60 "If enabled, reporting an issue will load the Material Design feedback "
61 "UI.";
62
63// Report URL to SafeSearch
64
65const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting.";
66
67const char kSafeSearchUrlReportingDescription[] =
68 "If enabled, inappropriate URLs can be reported back to SafeSearch.";
69
70// Device scale factor change in content crbug.com/485650.
71
72const char kEnableUseZoomForDsfName[] =
73 "Use Blink's zoom for device scale factor.";
74
75const char kEnableUseZoomForDsfDescription[] =
76 "If enabled, Blink uses its zooming mechanism to scale content for "
77 "device scale factor.";
78
79const char kEnableUseZoomForDsfChoiceDefault[] = "Default";
80
81const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled";
82
83const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled";
84
85const char kNostatePrefetch[] = "No-State Prefetch";
86
87const char kNostatePrefetchDescription[] =
88 R"*("No-State Prefetch" pre-downloads resources to improve load )*"
89 R"*(times. "Prerender" does a full pre-rendering of the page, to )*"
90 R"*(improve load times even more. "Simple Load" does nothing and is )*"
91 R"*(similar to disabling the feature, but collects more metrics for )*"
92 R"*(comparison purposes.)*";
93
94const char kSpeculativePrefetchName[] = "Speculative Prefetch";
95
96const char kSpeculativePrefetchDescription[] =
97 R"*("Speculative Prefetch" fetches likely resources early to improve )*"
98 R"*(load times, based on a local database (see chrome://predictors). )*"
99 R"*("Learning" means that only the database construction is enabled, )*"
100 R"*("Prefetching" that learning and prefetching are enabled.)*";
101
102// 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
121
122const 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.";
127
128const char kPrintScalingName[] = "Print Scaling.";
129
130const char kPrintScalingDescription[] =
131 "If enabled, an option to scale documents will be available in print "
132 "preview.";
133
134const char kNaclName[] = "Native Client";
135
136#if defined(OS_ANDROID)
137
138const char kNaclDescription[] = "Enable support for Native Client.";
139
140#endif // defined(OS_ANDROID)
141
142#if !defined(OS_ANDROID)
143
144const char kNaclDescription[] =
145 "Support Native Client for all web applications, even those that were "
146 "not installed from the Chrome Web Store.";
147
148#endif // !defined(OS_ANDROID)
149
150const char kNaclDebugName[] = "Native Client GDB-based debugging";
151
152const char kNaclDebugDescription[] =
153 "Enable GDB debug stub. This will stop a Native Client application on "
154 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it.";
155
156#if !defined(OS_ANDROID)
157
158const char kPnaclSubzeroName[] = "Force PNaCl Subzero";
159
160const char kPnaclSubzeroDescription[] =
161 "Force the use of PNaCl's fast Subzero translator for all pexe files.";
162
163#endif // !defined(OS_ANDROID)
164
165const char kNaclDebugMaskName[] =
166 "Restrict Native Client GDB-based debugging by pattern";
167
168const char kNaclDebugMaskDescription[] =
169 "Restricts Native Client application GDB-based debugging by URL of "
170 "manifest file. Native Client GDB-based debugging must be enabled for "
171 "this option to work.";
172
173const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything.";
174
175const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] =
176 "Debug everything except secure shell and the PNaCl translator.";
177
178const char kNaclDebugMaskChoiceIncludeDebug[] =
179 "Debug only if manifest URL ends with debug.nmf.";
180
181const char kEnableHttpFormWarningName[] =
182 "Show in-form warnings for sensitive fields when the top-level page is "
183 "not HTTPS";
184
185const char kEnableHttpFormWarningDescription[] =
186 "Attaches a warning UI to any password or credit card fields detected "
187 "when the top-level page is not HTTPS";
188
189const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
190
191const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
192
193const char kMarkHttpAsDangerous[] = "Always mark HTTP as actively dangerous";
194
195const char kSavePageAsMhtmlName[] = "Save Page as MHTML";
196
197const char kSavePageAsMhtmlDescription[] =
198 "Enables saving pages as MHTML: a single text file containing HTML and "
199 "all sub-resources.";
200
201// Flag and values for MHTML Geenrator options lab.
202
203const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option";
204
205const char kMhtmlGeneratorOptionDescription[] =
206 "Provides experimental options for MHTML file generator.";
207
208const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame.";
209
210const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources.";
211
212const char kDeviceDiscoveryNotificationsName[] =
213 "Device Discovery Notifications";
214
215const char kDeviceDiscoveryNotificationsDescription[] =
216 "Device discovery notifications on local network.";
217
218#if defined(OS_WIN)
219
220const char kCloudPrintXpsName[] = "XPS in Google Cloud Print";
221
222const char kCloudPrintXpsDescription[] =
223 "XPS enables advanced options for classic printers connected to the "
224 "Cloud Print with Chrome. Printers must be re-connected after changing "
225 "this flag.";
226
227#endif // defined(OS_WIN)
228
229const char kLoadMediaRouterComponentExtensionName[] =
230 "Load Media Router Component Extension";
231
232const char kLoadMediaRouterComponentExtensionDescription[] =
233 "Loads the Media Router component extension at startup.";
234
235const char kPrintPreviewRegisterPromosName[] =
236 "Print Preview Registration Promos";
237
238const char kPrintPreviewRegisterPromosDescription[] =
239 "Enable registering unregistered cloud printers from print preview.";
240
241const char kScrollPredictionName[] = "Scroll prediction";
242
243const char kTopChromeMd[] = "UI Layout for the browser's top chrome";
244
245const char kTopChromeMdDescription[] =
246 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*";
247
248const char kTopChromeMdMaterial[] = "Normal";
249
250const char kTopChromeMdMaterialHybrid[] = "Touch";
251
252const char kSiteSettings[] = "Site settings with All sites and Site details";
253
254const char kSiteSettingsDescription[] =
255 "Adds new ways of viewing Site settings.";
256
257const char kSecondaryUiMd[] =
258 "Material Design in the rest of the browser's native UI";
259
260const char kSecondaryUiMdDescription[] =
261 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, "
262 "etc.). On Mac, this enables MacViews, which uses toolkit-views for "
263 "native browser dialogs.";
264
265const char kScrollPredictionDescription[] =
266 "Predicts the finger's future position during scrolls allowing time to "
267 "render the frame before the finger is there.";
268
269const char kAddToShelfName[] = "Add to shelf";
270
271const char kAddToShelfDescription[] =
272 "Enable the display of add to shelf banners, which prompt a user to add "
273 "a web app to their shelf, or other platform-specific equivalent.";
274
275const char kBypassAppBannerEngagementChecksName[] =
276 "Bypass user engagement checks";
277
278const char kBypassAppBannerEngagementChecksDescription[] =
279 "Bypasses user engagement checks for displaying app banners, such as "
280 "requiring that users have visited the site before and that the banner "
281 "hasn't been shown recently. This allows developers to test that other "
282 "eligibility requirements for showing app banners, such as having a "
283 "manifest, are met.";
284
285#if defined(OS_ANDROID)
286
287const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher";
288
289const char kAccessibilityTabSwitcherDescription[] =
290 "Enable the accessibility tab switcher for Android.";
291
csashidf20b102017-04-04 01:53:24292const char kAndroidAutofillAccessibilityName[] = "Autofill Accessibility";
293
294const char kAndroidAutofillAccessibilityDescription[] =
295 "Enable accessibility for autofill popup.";
296
vabr0215a8e2017-03-28 12:47:34297const char kEnablePhysicalWebName[] = "Enable the Physical Web.";
298
299const char kEnablePhysicalWebDescription[] =
300 "Enable scanning for URLs from Physical Web objects.";
301
302#endif // defined(OS_ANDROID)
303
304const char kTouchEventsName[] = "Touch Events API";
305
306const char kTouchEventsDescription[] =
307 "Force Touch Events API feature detection to always be enabled or "
308 "disabled, or to be enabled when a touchscreen is detected on startup "
309 "(Automatic, the default).";
310
311const char kTouchAdjustmentName[] = "Touch adjustment";
312
313const char kTouchAdjustmentDescription[] =
314 "Refine the position of a touch gesture in order to compensate for "
315 "touches having poor resolution compared to a mouse.";
316
317const char kCompositedLayerBorders[] = "Composited render layer borders";
318
319const char kCompositedLayerBordersDescription[] =
320 "Renders a border around composited Render Layers to help debug and "
321 "study layer compositing.";
322
323const char kGlCompositedTextureQuadBorders[] =
324 "GL composited texture quad borders";
325
326const char kGlCompositedTextureQuadBordersDescription[] =
327 "Renders a border around GL composited texture quads to help debug and "
328 "study overlay support.";
329
330const char kShowOverdrawFeedback[] = "Show overdraw feedback";
331
332const char kShowOverdrawFeedbackDescription[] =
333 "Visualize overdraw by color-coding elements based on if they have "
334 "other elements drawn underneath.";
335
336const char kUiPartialSwapName[] = "Partial swap";
337
338const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
339
340const char kDebugShortcutsName[] = "Debugging keyboard shortcuts";
341
342const char kIgnoreGpuBlacklistName[] = "Override software rendering list";
343
344const char kIgnoreGpuBlacklistDescription[] =
345 "Overrides the built-in software rendering list and enables "
346 "GPU-acceleration on unsupported system configurations.";
347
348const char kInertVisualViewportName[] = "Inert visual viewport.";
349
350const char kInertVisualViewportDescription[] =
351 "Experiment to have all APIs reflect the layout viewport. This will "
352 "make window.scroll properties relative to the layout viewport.";
353
354const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features";
355
356const char kExperimentalCanvasFeaturesDescription[] =
357 "Enables the use of experimental canvas features which are still in "
358 "development.";
359
360const char kAccelerated2dCanvasName[] = "Accelerated 2D canvas";
361
362const char kAccelerated2dCanvasDescription[] =
363 "Enables the use of the GPU to perform 2d canvas rendering instead of "
364 "using software rendering.";
365
366const char kDisplayList2dCanvasName[] = "Display list 2D canvas";
367
368const char kDisplayList2dCanvasDescription[] =
369 "Enables the use of display lists to record 2D canvas commands. This "
370 "allows 2D canvas rasterization to be performed on separate thread.";
371
372const char kEnable2dCanvasDynamicRenderingModeSwitchingName[] =
373 "Enable 2D canvas dynamic rendering mode switching.";
374
375const char kEnable2dCanvasDynamicRenderingModeSwitchingDescription[] =
376 "There are multiple implementations of the graphics rendering pipeline "
377 "for the 2D canvas. These different implementations have different "
378 "performance characteristics. Turning on this flag allows canvas 2D "
379 "contexts to switch between these implementations on the fly based on "
380 "how the canvas is used in order to increase performance. For example, "
381 "going from an implementation that uses the GPU to one that doesn't.";
382
383const char kExperimentalExtensionApisName[] = "Experimental Extension APIs";
384
385const char kExperimentalExtensionApisDescription[] =
386 "Enables experimental extension APIs. Note that the extension gallery "
387 "doesn't allow you to upload extensions that use experimental APIs.";
388
389const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs";
390
391const char kExtensionsOnChromeUrlsDescription[] =
392 "Enables running extensions on chrome:// URLs, where extensions "
393 "explicitly request this permission.";
394
395const char kFastUnloadName[] = "Fast tab/window close";
396
397const char kFastUnloadDescription[] =
398 "Enables fast tab/window closing - runs a tab's onunload js handler "
399 "independently of the GUI.";
400
401const char kUserConsentForExtensionScriptsName[] =
402 "User consent for extension scripts";
403
404const char kUserConsentForExtensionScriptsDescription[] =
405 "Require user consent for an extension running a script on the page, if "
406 "the extension requested permission to run on all urls.";
407
408const char kHistoryRequiresUserGestureName[] =
409 "New history entries require a user gesture.";
410
411const char kHistoryRequiresUserGestureDescription[] =
412 "Require a user gesture to add a history entry.";
413
414const char kHyperlinkAuditingName[] = "Hyperlink auditing";
415
416const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
417
418#if defined(OS_ANDROID)
419
420const char kContextualSearch[] = "Contextual Search";
421
422const char kContextualSearchDescription[] =
423 "Whether or not Contextual Search is enabled.";
424
425const char kContextualSearchContextualCardsBarIntegration[] =
426 "Contextual Search - Contextual Cards Integration";
427
428const char kContextualSearchContextualCardsBarIntegrationDescription[] =
429 "Whether or not integration of Contextual Cards data in the Contextual "
430 "Search Bar is enabled.";
431
432const char kContextualSearchSingleActions[] =
433 "Contextual Search - Single Actions";
434
435const char kContextualSearchSingleActionsDescription[] =
436 "Whether or not single actions using Contextual Cards data in the "
437 "Contextual Search Bar is enabled.";
438
439const char kContextualSearchUrlActions[] = "Contextual Search - URL Actions";
440
441const char kContextualSearchUrlActionsDescription[] =
442 "Whether or not URL actions using Contextual Cards data in the "
443 "Contextual Search Bar is enabled.";
444
445#endif // defined(OS_ANDROID)
446
447const char kSmoothScrollingName[] = "Smooth Scrolling";
448
449const char kSmoothScrollingDescription[] =
450 "Animate smoothly when scrolling page content.";
451
452const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
453
454const char kOverlayScrollbarsDescription[] =
455 "Enable the experimental overlay scrollbars implementation. You must "
456 "also enable threaded compositing to have the scrollbars animate.";
457
458const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
459
460const char kShowAutofillTypePredictionsDescription[] =
461 "Annotates web forms with Autofill field type predictions as "
462 "placeholder text.";
463
464const char kTcpFastOpenName[] = "TCP Fast Open";
465
466const char kTcpFastOpenDescription[] =
467 "Enable the option to send extra authentication information in the "
468 "initial SYN packet for a previously connected client, allowing faster "
469 "data send start.";
470
471const char kTouchDragDropName[] = "Touch initiated drag and drop";
472
473const char kTouchDragDropDescription[] =
474 "Touch drag and drop can be initiated through long press on a draggable "
475 "element.";
476
477const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
478
479const char kTouchSelectionStrategyDescription[] =
480 "Controls how text selection granularity changes when touch text "
481 "selection handles are dragged. Non-default behavior is experimental.";
482
483const char kTouchSelectionStrategyCharacter[] = "Character";
484
485const char kTouchSelectionStrategyDirection[] = "Direction";
486
487const char kWalletServiceUseSandboxName[] =
488 "Use Google Payments sandbox servers";
489
490const char kWalletServiceUseSandboxDescription[] =
491 "For developers: use the sandbox service for Google Payments API "
492 "calls.";
493
494const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
495
496const char kOverscrollHistoryNavigationDescription[] =
497 "Experimental history navigation in response to horizontal overscroll.";
498
499const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
500
501const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
502
503const char kOverscrollStartThresholdDescription[] =
504 "Changes overscroll start threshold relative to the default value.";
505
506const char kOverscrollStartThreshold133Percent[] = "133%";
507
508const char kOverscrollStartThreshold166Percent[] = "166%";
509
510const char kOverscrollStartThreshold200Percent[] = "200%";
511
512const char kScrollEndEffectName[] = "Scroll end effect";
513
514const char kScrollEndEffectDescription[] =
515 "Experimental scroll end effect in response to vertical overscroll.";
516
517const char kWebgl2Name[] = "WebGL 2.0";
518
519const char kWebgl2Description[] = "Allow web applications to access WebGL 2.0.";
520
521const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
522
523const char kWebglDraftExtensionsDescription[] =
524 "Enabling this option allows web applications to access the WebGL "
525 "Extensions that are still in draft status.";
526
527const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
528
529const char kWebrtcHwDecodingDescription[] =
530 "Support in WebRTC for decoding video streams using platform hardware.";
531
532const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
533
534const char kWebrtcHwEncodingDescription[] =
535 "Support in WebRTC for encoding video streams using platform hardware.";
536
537const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
538
539const char kWebrtcHwH264EncodingDescription[] =
540 "Support in WebRTC for encoding h264 video streams using platform "
541 "hardware.";
542
543const char kWebrtcSrtpAesGcmName[] =
544 "Negotiation with GCM cipher suites for SRTP in WebRTC";
545
546const char kWebrtcSrtpAesGcmDescription[] =
547 "When enabled, WebRTC will try to negotiate GCM cipher suites for "
548 "SRTP.";
549
550const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
551
552const char kWebrtcStunOriginDescription[] =
553 "When enabled, Stun messages generated by WebRTC will contain the "
554 "Origin header.";
555
556const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
557
558const char kWebrtcEchoCanceller3Description[] =
559 "Experimental WebRTC echo canceller (AEC3).";
560
561#if defined(OS_ANDROID)
562
563const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
564
565const char kMediaScreenCaptureDescription[] =
566 "Enable this option for experimental ScreenCapture feature on Android.";
567
568#endif // defined(OS_ANDROID)
569
570#if BUILDFLAG(ENABLE_WEBRTC)
571
572const char kWebrtcH264WithOpenh264FfmpegName[] =
573 "WebRTC H.264 software video encoder/decoder";
574
575const char kWebrtcH264WithOpenh264FfmpegDescription[] =
576 "When enabled, an H.264 software video encoder/decoder pair is "
577 "included. If a hardware encoder/decoder is also available it may be "
578 "used instead of this encoder/decoder.";
579
580#endif // BUILDFLAG(ENABLE_WEBRTC)
581
582const char kWebvrName[] = "WebVR";
583
584const char kWebvrDescription[] =
585 "Enabling this option allows web applications to access experimental "
586 "Virtual Reality APIs.";
587
588const char kWebvrExperimentalRenderingName[] =
589 "WebVR experimental rendering optimizations";
590
591const char kWebvrExperimentalRenderingDescription[] =
592 "Enabling this option activates experimental rendering path "
593 "optimizations for WebVR.";
594
595const char kGamepadExtensionsName[] = "Gamepad Extensions";
596
597const char kGamepadExtensionsDescription[] =
598 "Enabling this option allows web applications to access experimental "
599 "extensions to the Gamepad APIs.";
600
601#if defined(OS_ANDROID)
602
603const char kNewPhotoPickerName[] = "Enable new Photopicker";
604
605const char kNewPhotoPickerDescription[] =
606 "Activates the new picker for selecting photos.";
607
608#endif // defined(OS_ANDROID)
609
610#if defined(OS_ANDROID)
611
612const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
613
614const char kEnableOskOverscrollDescription[] =
615 "Enable OSK overscroll support. With this flag on, the OSK will only "
616 "resize the visual viewport.";
617
618#endif // defined(OS_ANDROID)
619
620const char kQuicName[] = "Experimental QUIC protocol";
621
622const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
623
624const char kSslVersionMaxName[] = "Maximum TLS version enabled.";
625
626const char kSslVersionMaxDescription[] = "Set maximum enabled TLS version.";
627
628const char kSslVersionMaxTls12[] = "TLS 1.2";
629
630const char kSslVersionMaxTls13[] = "TLS 1.3";
631
632const char kEnableTokenBindingName[] = "Token Binding.";
633
634const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
635
636const char kGestureRequirementForMediaPlaybackName[] =
637 "Gesture requirement for media playback";
638
639const char kGestureRequirementForMediaPlaybackDescription[] =
640 "User gesture requirement for playing media elements. Disabling this "
641 "will allow autoplay to work.";
642
643#if !defined(OS_ANDROID)
644
645const char kCrossOriginMediaPlaybackRequiresUserGestureName[] =
646 "Media playback in cross-origin iframes requires user gesture";
647
648const char kCrossOriginMediaPlaybackRequiresUserGestureDescription[] =
649 "Playing media elements in cross-origin iframes requires user gesture. "
650 "Disabling this will allow autoplay in cross-origin iframes to work.";
651
652#endif // !defined(OS_ANDROID)
653
654const char kPassiveDocumentEventListenersDescription[] =
655 "Forces touchstart, and touchmove event listeners on document level "
656 "targets (which haven't requested otherwise) to be treated as passive.";
657
658const char kPassiveDocumentEventListenersName[] =
659 "Document Level Event Listeners Passive Default";
660
661const char kPassiveEventListenersDueToFlingDescription[] =
662 "Forces touchstart, and first touchmove per scroll event listeners "
663 "during fling to be treated as passive.";
664
665const char kPassiveEventListenersDueToFlingName[] =
666 "Touch Event Listeners Passive Default During Fling";
667
668const char kPassiveEventListenerTrue[] = "True (when unspecified)";
669
670const char kPassiveEventListenerForceAllTrue[] = "Force All True";
671
672const char kPassiveEventListenerDefaultName[] =
673 "Passive Event Listener Override";
674
675const char kPassiveEventListenerDefaultDescription[] =
676 "Forces touchstart, touchmove, mousewheel and wheel event listeners "
677 "(which haven't requested otherwise) to be treated as passive. This "
678 "will break touch/wheel behavior on some websites but is useful for "
679 "demonstrating the potential performance benefits of adopting passive "
680 "event listeners.";
681
682#if defined(OS_ANDROID)
683
684const char kImportantSitesInCbdName[] =
685 "Important sites options in clear browsing data dialog";
686
687const char kImportantSitesInCbdDescription[] =
688 "Include the option to whitelist important sites in the clear browsing "
689 "data dialog.";
690
691#endif // defined(OS_ANDROID)
692
693#if defined(USE_ASH)
694
bruthigd8b95962017-03-31 19:38:34695const char kAshShelfColor[] = "Shelf color in Chrome OS system UI";
vabr0215a8e2017-03-28 12:47:34696
697const char kAshShelfColorDescription[] =
bruthigd8b95962017-03-31 19:38:34698 "Enables/disables the shelf color to be a derived from the wallpaper. The "
699 "--ash-shelf-color-scheme flag defines how that color is derived.";
vabr0215a8e2017-03-28 12:47:34700
bruthigd8b95962017-03-31 19:38:34701const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
vabr0215a8e2017-03-28 12:47:34702
bruthigd8b95962017-03-31 19:38:34703const char kAshShelfColorSchemeDescription[] =
704 "Specify how the color is derived from the wallpaper. This flag is only "
705 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
vabr0215a8e2017-03-28 12:47:34706
bruthigd8b95962017-03-31 19:38:34707const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
vabr0215a8e2017-03-28 12:47:34708
bruthigd8b95962017-03-31 19:38:34709const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
vabr0215a8e2017-03-28 12:47:34710
bruthigd8b95962017-03-31 19:38:34711const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
vabr0215a8e2017-03-28 12:47:34712
bruthigd8b95962017-03-31 19:38:34713const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
714
715const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
716
717const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
vabr0215a8e2017-03-28 12:47:34718
719const char kAshMaximizeModeWindowBackdropName[] =
720 "Window backdrops in TouchView";
721
722const char kAshMaximizeModeWindowBackdropDescription[] =
723 "Show grey window backdrops used in TouchView (maximize mode) behind "
724 "windows which cannot be maximized.";
725
726const char kAshScreenOrientationLockName[] = "Screen Orientation locking";
727
728const char kAshScreenOrientationLockDescription[] =
729 "Allows javascript to lock the screen orienation.";
730
731const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
732
733const char kAshEnableMirroredScreenDescription[] =
734 "Enable the mirrored screen mode. This mode flips the screen image "
735 "horizontally.";
736
737const char kMaterialDesignInkDropAnimationFast[] = "Fast";
738
739const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
740
741const char kMaterialDesignInkDropAnimationSpeedName[] =
742 "Material Design Ink Drop Animation Speed";
743
744const char kMaterialDesignInkDropAnimationSpeedDescription[] =
745 "Sets the speed of the experimental visual feedback animations for "
746 "material design.";
747
748const char kUiSlowAnimationsName[] = "Slow UI animations";
749
750const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
751
752#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 kV8DisableIgnitionTurboName[] =
rmcilroy124254af2017-03-29 14:30:55769 "Classic JavaScript Compilation Pipeline";
vabr0215a8e2017-03-28 12:47:34770
771const char kV8DisableIgnitionTurboDescription[] =
rmcilroy124254af2017-03-29 14:30:55772 "Enables V8's classic compilation pipeline for JavaScript execution "
773 "(disabling V8's new Ignition interpreter and TurboFan compiler)";
vabr0215a8e2017-03-28 12:47:34774
775const char kEnableAsmWasmName[] =
776 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
777
778const char kEnableAsmWasmDescription[] =
779 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
780 R"*(WebAssembly.)*";
781
782const char kEnableSharedArrayBufferName[] =
783 "Experimental enabled SharedArrayBuffer support in JavaScript.";
784
785const char kEnableSharedArrayBufferDescription[] =
786 "Enable SharedArrayBuffer support in JavaScript.";
787
788const char kEnableWasmName[] = "WebAssembly structured cloning support.";
789
790const char kEnableWasmDescription[] =
791 "Enable web pages to use WebAssembly structured cloning.";
792
793#if defined(OS_ANDROID)
794
795const char kMediaDocumentDownloadButtonName[] =
796 "Download button when opening a page with media url.";
797
798const char kMediaDocumentDownloadButtonDescription[] =
799 "Allow a download button to show up when opening a page with media "
800 "url.";
801
802#endif // defined(OS_ANDROID)
803
804const char kSoftwareRasterizerName[] = "3D software rasterizer";
805
806const char kSoftwareRasterizerDescription[] =
807 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
808
809const char kGpuRasterizationName[] = "GPU rasterization";
810
811const char kGpuRasterizationDescription[] =
812 "Use GPU to rasterize web content. Requires impl-side painting.";
813
814const char kForceGpuRasterization[] = "Force-enabled for all layers";
815
816const char kGpuRasterizationMsaaSampleCountName[] =
817 "GPU rasterization MSAA sample count.";
818
819const char kGpuRasterizationMsaaSampleCountDescription[] =
820 "Specify the number of MSAA samples for GPU rasterization.";
821
822const char kGpuRasterizationMsaaSampleCountZero[] = "0";
823
824const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
825
826const char kGpuRasterizationMsaaSampleCountFour[] = "4";
827
828const char kGpuRasterizationMsaaSampleCountEight[] = "8";
829
830const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
831
832const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
833
834const char kSlimmingPaintInvalidationDescription[] =
835 "Whether to enable a new paint invalidation system.";
836
837const char kExperimentalSecurityFeaturesName[] =
838 "Potentially annoying security features";
839
840const char kExperimentalSecurityFeaturesDescription[] =
841 "Enables several security features that will likely break one or more "
842 "pages that you visit on a daily basis. Strict mixed content checking, "
843 "for example. And locking powerful features to secure contexts. This "
844 "flag will probably annoy you.";
845
846const char kExperimentalWebPlatformFeaturesName[] =
847 "Experimental Web Platform features";
848
849const char kExperimentalWebPlatformFeaturesDescription[] =
850 "Enables experimental Web Platform features that are in development.";
851
852const char kExperimentalPointerEventName[] = "Pointer Events";
853
854const char kExperimentalPointerEventDescription[] =
855 "Enables support for the Pointer Events API. This is intended only for "
856 "testing by web developers.";
857
858const char kOriginTrialsName[] = "Origin Trials";
859
860const char kOriginTrialsDescription[] =
861 "Enables origin trials for controlling access to feature/API "
862 "experiments.";
863
864const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
865
866const char kBleAdvertisingInExtensionsDescription[] =
867 "Enables BLE Advertising in Chrome Apps. BLE Advertising might "
868 "interfere with regular use of Bluetooth Low Energy features.";
869
870const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
871
872const char kDevtoolsExperimentsDescription[] =
873 "Enables Developer Tools experiments. Use Settings panel in Developer "
874 "Tools to toggle individual experiments.";
875
876const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
877
878const char kSilentDebuggerExtensionApiDescription[] =
879 "Do not show the infobar when an extension attaches to a page via "
880 "chrome.debugger API. This is required to debug extension background "
881 "pages.";
882
883const char kShowTouchHudName[] = "Show HUD for touch points";
884
885const char kShowTouchHudDescription[] =
886 "Enables a heads-up display at the top-left corner of the screen that "
887 "lists information about the touch-points on the screen.";
888
889const char kPreferHtmlOverPluginsName[] = "Prefer HTML over Flash";
890
891const char kPreferHtmlOverPluginsDescription[] =
892 "Prefer HTML content by hiding Flash from the list of plugins.";
893
894const char kAllowNaclSocketApiName[] = "NaCl Socket API.";
895
896const char kAllowNaclSocketApiDescription[] =
897 "Allows applications to use NaCl Socket API. Use only to test NaCl "
898 "plugins.";
899
900const char kRunAllFlashInAllowModeName[] =
901 R"*(Run all Flash content when Flash setting is set to "allow")*";
902
903const char kRunAllFlashInAllowModeDescription[] =
904 R"*(For sites that have been set to "allow" Flash content, run all )*"
905 R"*(content including any that has been deemed unimportant.)*";
906
907const char kPinchScaleName[] = "Pinch scale";
908
909const char kPinchScaleDescription[] =
910 "Enables experimental support for scale using pinch.";
911
912const char kCredentialManagerApiName[] = "Experimental Credential Manager API";
913
914const char kCredentialManagerApiDescription[] =
915 "Enables an experimental implementation of the Credential Manager API. "
916 "Don't enable this unless you know what you're doing.";
917
918const char kReducedReferrerGranularityName[] =
919 "Reduce default 'referer' header granularity.";
920
921const char kReducedReferrerGranularityDescription[] =
922 "If a page hasn't set an explicit referrer policy, setting this flag "
923 "will reduce the amount of information in the 'referer' header for "
924 "cross-origin requests.";
925
926#if defined(OS_CHROMEOS)
927
928const char kUseMashName[] = "Mojo UI Service (mus).";
929
930const char kUseMashDescription[] = "Enable mus, mash etc.";
931
932const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
933
934const char kAllowTouchpadThreeFingerClickDescription[] =
935 "Enables touchpad three-finger-click as middle button.";
936
937const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
938
939const char kAshEnableUnifiedDesktopDescription[] =
940 "Enable unified desktop mode which allows a window to span multiple "
941 "displays.";
942
943const char kBootAnimation[] = "Boot animation";
944
945const char kBootAnimationDescription[] =
946 "Wallpaper boot animation (except for OOBE case).";
947
948#endif // defined(OS_CHROMEOS)
949
950const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode";
951
952const char kAcceleratedVideoDecodeDescription[] =
953 "Hardware-accelerated video decode where available.";
954
hubbee7499512017-04-05 22:35:04955const char kEnableHDRName[] = "HDR mode";
956
957const char kEnableHDRDescription[] =
958 "Enables HDR support on compatible displays.";
959
vabr0215a8e2017-03-28 12:47:34960const char kCloudImport[] = "Cloud Import";
961
962const char kCloudImportDescription[] = "Allows the cloud-import feature.";
963
964const char kRequestTabletSiteName[] =
965 "Request tablet site option in the settings menu";
966
967const char kRequestTabletSiteDescription[] =
968 "Allows the user to request tablet site. Web content is often optimized "
969 "for tablet devices. When this option is selected the user agent string "
970 "is changed to indicate a tablet device. Web content optimized for "
971 "tablets is received there after for the current tab.";
972
973const char kDebugPackedAppName[] = "Debugging for packed apps";
974
975const char kDebugPackedAppDescription[] =
976 "Enables debugging context menu options such as Inspect Element for "
977 "packed applications.";
978
979const char kDropSyncCredentialName[] =
980 "Drop sync credentials from password manager";
981
982const char kDropSyncCredentialDescription[] =
983 "The password manager will not offer to save the credential used to "
984 "sync.";
985
986const char kPasswordGenerationName[] = "Password generation";
987
988const char kPasswordGenerationDescription[] =
989 "Allow the user to have Chrome generate passwords when it detects "
990 "account creation pages.";
991
992const char kPasswordForceSavingName[] = "Force-saving of passwords";
993
994const char kPasswordForceSavingDescription[] =
995 "Allow the user to manually enforce password saving instead of relying "
996 "on password manager's heuristics.";
997
998const char kManualPasswordGenerationName[] = "Manual password generation.";
999
1000const char kManualPasswordGenerationDescription[] =
1001 "Show a 'Generate Password' option on the context menu for all password "
1002 "fields.";
1003
1004const char kShowAutofillSignatures[] = "Show autofill signatures.";
1005
1006const char kShowAutofillSignaturesDescription[] =
1007 "Annotates web forms with Autofill signatures as HTML attributes.";
1008
1009const char kSuggestionsWithSubStringMatchName[] =
1010 "Substring matching for Autofill suggestions";
1011
1012const char kSuggestionsWithSubStringMatchDescription[] =
1013 "Match Autofill suggestions based on substrings (token prefixes) rather "
1014 "than just prefixes.";
1015
1016const char kAffiliationBasedMatchingName[] =
1017 "Affiliation based matching in password manager";
1018
1019const char kAffiliationBasedMatchingDescription[] =
1020 "Allow credentials stored for Android applications to be filled into "
1021 "corresponding websites.";
1022
1023const char kProtectSyncCredentialName[] = "Autofill sync credential";
1024
1025const char kProtectSyncCredentialDescription[] =
1026 "How the password manager handles autofill for the sync credential.";
1027
1028const char kPasswordImportExportName[] = "Password import and export";
1029
1030const char kPasswordImportExportDescription[] =
1031 "Import and Export functionality in password settings.";
1032
1033const char kProtectSyncCredentialOnReauthName[] =
1034 "Autofill sync credential only for transactional reauth pages";
1035
1036const char kProtectSyncCredentialOnReauthDescription[] =
1037 "How the password manager handles autofill for the sync credential only "
1038 "for transactional reauth pages.";
1039
1040const char kIconNtpName[] = "Large icons on the New Tab page";
1041
1042const char kIconNtpDescription[] =
1043 "Enable the experimental New Tab page using large icons.";
1044
1045const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1046
1047const char kPushApiBackgroundModeDescription[] =
1048 "Enable background mode for the Push API. This allows Chrome to "
1049 "continue running after the last window is closed, and to launch at OS "
1050 "startup, if the Push API needs it.";
1051
1052const char kEnableNavigationTracing[] = "Enable navigation tracing";
1053
1054const char kEnableNavigationTracingDescription[] =
1055 "This is to be used in conjunction with the trace-upload-url flag. "
1056 "WARNING: When enabled, Chrome will record performance data for every "
1057 "navigation and upload it to the URL specified by the trace-upload-url "
1058 "flag. The trace may include personally identifiable information (PII) "
1059 "such as the titles and URLs of websites you visit.";
1060
1061const char kTraceUploadUrl[] = "Trace label for navigation tracing";
1062
1063const char kTraceUploadUrlDescription[] =
1064 "This is to be used in conjunction with the enable-navigation-tracing "
1065 "flag. Please select the label that best describes the recorded traces. "
1066 "This will choose the destination the traces are uploaded to. If you "
1067 "are not sure, select other. If left empty, no traces will be "
1068 "uploaded.";
1069
1070const char kDisableAudioForDesktopShare[] = "Disable Audio For Desktop Share";
1071
1072const char kDisableAudioForDesktopShareDescription[] =
1073 "With this flag on, desktop share picker window will not let the user "
1074 "choose whether to share audio.";
1075
1076const char kDisableTabForDesktopShare[] =
1077 "Disable Desktop Share with tab source";
1078
1079const char kDisableTabForDesktopShareDescription[] =
1080 "This flag controls whether users can choose a tab for desktop share.";
1081
1082const char kTraceUploadUrlChoiceOther[] = "Other";
1083
1084const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1085
1086const char kTraceUploadUrlChoiceQa[] = "QA";
1087
1088const char kTraceUploadUrlChoiceTesting[] = "Testing";
1089
1090const char kSupervisedUserManagedBookmarksFolderName[] =
1091 "Managed bookmarks for supervised users";
1092
1093const char kSupervisedUserManagedBookmarksFolderDescription[] =
1094 "Enable the managed bookmarks folder for supervised users.";
1095
1096const char kSyncAppListName[] = "App Launcher sync";
1097
1098const char kSyncAppListDescription[] =
1099 "Enable App Launcher sync. This also enables Folders where available "
1100 "(non OSX).";
1101
1102const char kDriveSearchInChromeLauncher[] =
1103 "Drive Search in Chrome App Launcher";
1104
1105const char kDriveSearchInChromeLauncherDescription[] =
1106 "Files from Drive will show up when searching the Chrome App Launcher.";
1107
1108const char kV8CacheOptionsName[] = "V8 caching mode.";
1109
1110const char kV8CacheOptionsDescription[] =
1111 "Caching mode for the V8 JavaScript engine.";
1112
1113const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1114
1115const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1116
1117const char kV8CacheStrategiesForCacheStorageName[] =
1118 "V8 caching strategy for CacheStorage.";
1119
1120const char kV8CacheStrategiesForCacheStorageDescription[] =
1121 "Caching strategy of scripts in CacheStorage for the V8 JavaScript "
1122 "engine.";
1123
1124const char kV8CacheStrategiesForCacheStorageNormal[] = "Normal";
1125
1126const char kV8CacheStrategiesForCacheStorageAggressive[] = "Aggressive";
1127
vabr0215a8e2017-03-28 12:47:341128const char kMemoryCoordinatorName[] = "Memory coordinator";
1129
1130const char kMemoryCoordinatorDescription[] =
1131 "Enable memory coordinator instead of memory pressure listeners.";
1132
1133const char kServiceWorkerNavigationPreloadName[] =
1134 "Service worker navigation preload.";
1135
1136const char kServiceWorkerNavigationPreloadDescription[] =
1137 "Enable web pages to use the experimental service worker navigation "
1138 "preload API.";
1139
vabr0215a8e2017-03-28 12:47:341140// Data Reduction Proxy
1141
1142const char kDataReductionProxyLoFiName[] = "Data Saver Lo-Fi mode";
1143
1144const char kDataReductionProxyLoFiDescription[] =
1145 "Forces Data Saver Lo-Fi mode to be always enabled, enabled only on "
1146 "cellular connections, or disabled. Data Saver must be enabled for "
1147 "Lo-Fi mode to be used.";
1148
1149const char kDataReductionProxyLoFiAlwaysOn[] = "Always on";
1150
1151const char kDataReductionProxyLoFiCellularOnly[] = "Cellular only";
1152
1153const char kDataReductionProxyLoFiDisabled[] = "Disable";
1154
1155const char kDataReductionProxyLoFiSlowConnectionsOnly[] =
1156 "Slow connections only";
1157
1158const char kEnableDataReductionProxyLitePageName[] =
1159 "Lite pages for Data Saver Lo-Fi mode";
1160
1161const char kEnableDataReductionProxyLitePageDescription[] =
1162 "Enable lite pages in Data Saver Lo-Fi mode. Previews of pages will be "
1163 "shown instead of image placeholders when Lo-Fi is on. Data Saver and "
1164 "Lo-Fi must be enabled for lite pages to be shown.";
1165
1166const char kDataReductionProxyCarrierTestName[] =
1167 "Enable a carrier-specific Data Reduction Proxy for testing.";
1168
1169const char kDataReductionProxyCarrierTestDescription[] =
1170 "Use a carrier-specific Data Reduction Proxy for testing.";
1171
1172const char kEnableDataReductionProxySavingsPromoName[] =
1173 "Data Saver 1 MB Savings Promo";
1174
1175const char kEnableDataReductionProxySavingsPromoDescription[] =
1176 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has "
1177 "already saved 1 MB of data, then the promo will not be shown. Data "
1178 "Saver must be enabled for the promo to be shown.";
1179
megjablon553df4cf2017-04-01 01:29:551180#if defined(OS_ANDROID)
1181
1182const char kEnableDataReductionProxyMainMenuName[] =
1183 "Enable Data Saver main menu item";
1184
1185const char kEnableDataReductionProxyMainMenuDescription[] =
1186 "Enables the Data Saver menu item in the main menu rather than under "
1187 "Settings.";
1188
1189#endif // defined(OS_ANDROID)
1190
vabr0215a8e2017-03-28 12:47:341191const char kLcdTextName[] = "LCD text antialiasing";
1192
1193const char kLcdTextDescription[] =
1194 "If disabled, text is rendered with grayscale antialiasing instead of "
1195 "LCD (subpixel) when doing accelerated compositing.";
1196
1197const char kDistanceFieldTextName[] = "Distance field text";
1198
1199const char kDistanceFieldTextDescription[] =
1200 "Text is rendered with signed distance fields rather than bitmap alpha "
1201 "masks.";
1202
1203const char kZeroCopyName[] = "Zero-copy rasterizer";
1204
1205const char kZeroCopyDescription[] =
1206 "Raster threads write directly to GPU memory associated with tiles.";
1207
1208const char kHideInactiveStackedTabCloseButtonsName[] =
1209 "Hiding close buttons on inactive tabs when stacked";
1210
1211const char kHideInactiveStackedTabCloseButtonsDescription[] =
1212 "Hides the close buttons of inactive tabs when the tabstrip is in "
1213 "stacked mode.";
1214
1215const char kDefaultTileWidthName[] = "Default tile width";
1216
1217const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
1218
1219const char kDefaultTileWidthShort[] = "128";
1220
1221const char kDefaultTileWidthTall[] = "256";
1222
1223const char kDefaultTileWidthGrande[] = "512";
1224
1225const char kDefaultTileWidthVenti[] = "1024";
1226
1227const char kDefaultTileHeightName[] = "Default tile height";
1228
1229const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
1230
1231const char kDefaultTileHeightShort[] = "128";
1232
1233const char kDefaultTileHeightTall[] = "256";
1234
1235const char kDefaultTileHeightGrande[] = "512";
1236
1237const char kDefaultTileHeightVenti[] = "1024";
1238
1239const char kNumRasterThreadsName[] = "Number of raster threads";
1240
1241const char kNumRasterThreadsDescription[] =
1242 "Specify the number of raster threads.";
1243
1244const char kNumRasterThreadsOne[] = "1";
1245
1246const char kNumRasterThreadsTwo[] = "2";
1247
1248const char kNumRasterThreadsThree[] = "3";
1249
1250const char kNumRasterThreadsFour[] = "4";
1251
1252const char kResetAppListInstallStateName[] =
1253 "Reset the App Launcher install state on every restart.";
1254
1255const char kResetAppListInstallStateDescription[] =
1256 "Reset the App Launcher install state on every restart. While this flag "
1257 "is set, Chrome will forget the launcher has been installed each time "
1258 "it starts. This is used for testing the App Launcher install flow.";
1259
1260#if defined(OS_CHROMEOS)
1261
1262const char kFirstRunUiTransitionsName[] =
1263 "Animated transitions in the first-run tutorial";
1264
1265const char kFirstRunUiTransitionsDescription[] =
1266 "Transitions during first-run tutorial are animated.";
1267
1268#endif // defined(OS_CHROMEOS)
1269
1270const char kNewBookmarkAppsName[] = "The new bookmark app system";
1271
1272const char kNewBookmarkAppsDescription[] =
1273 "Enables the new system for creating bookmark apps.";
1274
1275#if defined(OS_MACOSX)
1276
1277const char kHostedAppsInWindowsName[] =
1278 "Allow hosted apps to be opened in windows";
1279
1280const char kHostedAppsInWindowsDescription[] =
1281 "Allows hosted apps to be opened in windows instead of being limited to "
1282 "tabs.";
1283
1284const char kTabDetachingInFullscreenName[] =
1285 "Allow tab detaching in fullscreen";
1286
1287const char kTabDetachingInFullscreenDescription[] =
1288 "Allow tabs to detach from the tabstrip when in fullscreen mode on "
1289 "Mac.";
1290
1291const char kFullscreenToolbarRevealName[] =
1292 "Enables the toolbar in fullscreen to reveal itself.";
1293
1294const char kFullscreenToolbarRevealDescription[] =
1295 "Reveal the toolbar in fullscreen for a short period when the tab strip "
1296 "has changed.";
1297
1298const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
1299
1300const char kTabStripKeyboardFocusDescription[] =
1301 "Enable keyboard focus for the tabs in the tab strip.";
1302
1303#endif // defined(OS_MACOSX)
1304
1305const char kHostedAppShimCreationName[] =
1306 "Creation of app shims for hosted apps on Mac";
1307
1308const char kHostedAppShimCreationDescription[] =
1309 "Create app shims on Mac when creating a hosted app.";
1310
1311const char kHostedAppQuitNotificationName[] =
1312 "Quit notification for hosted apps";
1313
1314const char kHostedAppQuitNotificationDescription[] =
1315 "Display a notification when quitting Chrome if hosted apps are "
1316 "currently running.";
1317
1318#if defined(OS_ANDROID)
1319
1320const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
1321
1322const char kPullToRefreshEffectDescription[] =
1323 "Page reloads triggered by vertically overscrolling content.";
1324
1325#endif // defined(OS_ANDROID)
1326
1327#if defined(OS_MACOSX)
1328
1329const char kTranslateNewUxName[] = "New Translate UX";
1330
1331const char kTranslateNewUxDescription[] =
1332 "Enable the new Translate bubble UX is offered instead of the infobar.";
1333
1334#endif // defined(OS_MACOSX)
1335
1336const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
1337
1338const char kTranslate2016q2UiDescription[] =
1339 "Improved triggering logic and look for Translate Bubble UI";
1340
1341const char kTranslateLanguageByUlpName[] = "Translate Language by ULP";
1342
1343const char kTranslateLanguageByUlpDescription[] =
1344 "Improved translate target language and triggering logic by considering "
1345 "information from User Language Profile (ULP).";
1346
1347const char kViewsRectBasedTargetingName[] = "Rect-based targeting in views";
1348
1349const char kViewsRectBasedTargetingDescription[] =
1350 "Rect-based targeting uses a heuristic to determine the most probable "
1351 "target of a gesture, where the touch region is represented by a "
1352 "rectangle.";
1353
1354const char kPermissionActionReportingName[] = "Permission Action Reporting";
1355
1356const char kPermissionActionReportingDescription[] =
1357 "Enables permission action reporting to Safe Browsing servers for opted "
1358 "in users.";
1359
1360const char kPermissionsBlacklistName[] = "Permissions Blacklist";
1361
1362const char kPermissionsBlacklistDescription[] =
1363 "Enables the Permissions Blacklist, which blocks permissions for "
1364 "blacklisted sites for Safe Browsing users.";
1365
1366const char kThreadedScrollingName[] = "Threaded scrolling";
1367
1368const char kThreadedScrollingDescription[] =
1369 "Threaded handling of scroll-related input events. Disabling this will "
1370 "force all such scroll events to be handled on the main thread. Note "
1371 "that this can dramatically hurt scrolling performance of most websites "
1372 "and is intended for testing purposes only.";
1373
1374const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
1375
1376const char kHarfbuzzRendertextDescription[] =
1377 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't "
1378 "affect web content.";
1379
1380const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
1381
1382const char kEmbeddedExtensionOptionsDescription[] =
1383 "Display extension options as an embedded element in "
1384 "chrome://extensions rather than opening a new tab.";
1385
1386const char kTabAudioMutingName[] = "Tab audio muting UI control";
1387
1388const char kTabAudioMutingDescription[] =
1389 "When enabled, the audio indicators in the tab strip double as tab "
1390 "audio mute controls. This also adds commands in the tab context menu "
1391 "for quickly muting multiple selected tabs.";
1392
1393const char kEasyUnlockBluetoothLowEnergyDiscoveryName[] =
1394 "Smart Lock Bluetooth Low Energy Discovery";
1395
1396const char kEasyUnlockBluetoothLowEnergyDiscoveryDescription[] =
1397 "Enables a Smart Lock setting that allows Chromebook to discover phones "
1398 "over Bluetooth Low Energy in order to unlock the Chromebook when the "
1399 "phone is in its proximity.";
1400
1401const char kEasyUnlockProximityDetectionName[] =
1402 "Smart Lock proximity detection";
1403
1404const char kEasyUnlockProximityDetectionDescription[] =
1405 "Enables a Smart Lock setting that restricts unlocking to only work "
1406 "when your phone is very close to (roughly, within an arm's length of) "
1407 "the Chrome device.";
1408
1409const char kWifiCredentialSyncName[] = "WiFi credential sync";
1410
1411const char kWifiCredentialSyncDescription[] =
1412 "Enables synchronizing WiFi network settings across devices. When "
1413 "enabled, the WiFi credential datatype is registered with Chrome Sync, "
1414 "and WiFi credentials are synchronized subject to user preferences. "
1415 "(See also, chrome://settings/syncSetup.)";
1416
1417const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1418
1419const char kSyncSandboxDescription[] =
1420 "Connects to the testing server for Chrome Sync.";
1421
1422const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
1423
1424const char kDatasaverPromptDescription[] =
1425 "Enables a prompt, which appears when a cellular network connection is "
1426 "detected, to take the user to the Data Saver extension page on Chrome "
1427 "Web Store.";
1428
1429const char kDatasaverPromptDemoMode[] = "Demo mode";
1430
1431const char kDisableUnifiedMediaPipelineDescription[] =
1432 "Disables the unified (Android and desktop) media pipeline on Android.";
1433
1434const char kTrySupportedChannelLayoutsName[] =
1435 "Causes audio output streams to check if channel layouts other than the "
1436 "default hardware layout are available.";
1437
1438const char kTrySupportedChannelLayoutsDescription[] =
1439 "Causes audio output streams to check if channel layouts other than the "
1440 "default hardware layout are available. Turning this on will allow the "
1441 "OS to do stereo to surround expansion if supported. May expose third "
1442 "party driver bugs, use with caution.";
1443
1444#if defined(OS_MACOSX)
1445
1446const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
1447
1448const char kAppInfoDialogDescription[] =
1449 "Makes the Toolkit-Views based App Info dialog accessible from "
1450 "chrome://apps or chrome://extensions in place of the native extension "
1451 "permissions dialog, or the details link (which is a link to the Web "
1452 "Store).";
1453
1454const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
1455
1456const char kMacViewsNativeAppWindowsDescription[] =
1457 "Controls whether to use Toolkit-Views based Chrome App windows.";
1458
1459const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
1460
1461const char kMacViewsTaskManagerDescription[] =
1462 "Controls whether to use the Toolkit-Views based Task Manager.";
1463
1464const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
1465
1466const char kAppWindowCyclingDescription[] =
1467 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
1468 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
1469 "browser window, and browser windows will not be cycled when a Chrome "
1470 "App is active.";
1471
1472#endif // defined(OS_MACOSX)
1473
1474#if defined(OS_CHROMEOS)
1475
1476const char kAcceleratedMjpegDecodeName[] =
1477 "Hardware-accelerated mjpeg decode for captured frame";
1478
1479const char kAcceleratedMjpegDecodeDescription[] =
1480 "Enable hardware-accelerated mjpeg decode for captured frame where "
1481 "available.";
1482
1483#endif // defined(OS_CHROMEOS)
1484
1485const char kSimplifiedFullscreenUiName[] =
1486 "Simplified full screen / mouse lock UI.";
1487
1488const char kSimplifiedFullscreenUiDescription[] =
1489 "A simplified new user experience when entering page-triggered full "
1490 "screen or mouse pointer lock states.";
1491
1492const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
1493
1494const char kExperimentalKeyboardLockUiDescription[] =
1495 "An experimental full screen with keyboard lock mode requiring users to "
1496 "hold Esc to exit.";
1497
1498#if defined(OS_ANDROID)
1499
1500const char kProgressBarAnimationName[] =
1501 "Android phone page loading progress bar animation";
1502
1503const char kProgressBarAnimationDescription[] =
1504 "Configures Android phone page loading progress bar animation.";
1505
1506const char kProgressBarAnimationLinear[] = "Linear";
1507
1508const char kProgressBarAnimationSmooth[] = "Smooth";
1509
1510const char kProgressBarAnimationSmoothIndeterminate[] = "Smooth indeterminate";
1511
1512const char kProgressBarAnimationFastStart[] = "Fast start";
1513
1514const char kProgressBarCompletionName[] =
1515 "Android phone page load progress bar completion time.";
1516
1517const char kProgressBarCompletionDescription[] =
1518 "Configures Android phone page loading progress bar completion time.";
1519
1520const char kProgressBarCompletionLoadEvent[] =
1521 R"*(Top loading frame's onload event ("everything" is done in the )*"
1522 R"*(page, historical behavior).)*";
1523
1524const char kProgressBarCompletionResourcesBeforeDcl[] =
1525 "Main frame's domContentLoaded and all resources loads started before "
1526 "domContentLoaded (iframes ignored).";
1527
1528const char kProgressBarCompletionDomContentLoaded[] =
1529 "Main frame's domContentLoaded (iframes ignored).";
1530
1531const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
1532 "domContentLoaded and all resources loads started before "
1533 "domContentLoaded (main frame and same origin iframes).";
1534
1535#endif // defined(OS_ANDROID)
1536
1537const char kDisallowDocWrittenScriptsUiName[] =
1538 "Block scripts loaded via document.write";
1539
1540const char kDisallowDocWrittenScriptsUiDescription[] =
1541 "Disallows fetches for third-party parser-blocking scripts inserted "
1542 "into the main frame via document.write.";
1543
1544#if defined(OS_WIN)
1545
1546const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
1547
1548const char kEnableAppcontainerDescription[] =
1549 "Enables the use of an AppContainer on sandboxed processes to improve "
1550 "security.";
1551
1552#endif // defined(OS_WIN)
1553
1554#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
1555
1556const char kAutofillCreditCardUploadName[] =
1557 "Enable offering upload of Autofilled credit cards";
1558
1559const char kAutofillCreditCardUploadDescription[] =
1560 "Enables a new option to upload credit cards to Google Payments for "
1561 "sync to all Chrome devices.";
1562
1563#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
1564
1565const char kForceUiDirectionName[] = "Force UI direction";
1566
1567const char kForceUiDirectionDescription[] =
1568 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
1569 "mode, overriding the default direction of the UI language.";
1570
1571const char kForceUiDirectionLtr[] = "Left-to-right";
1572
1573const char kForceUiDirectionRtl[] = "Right-to-left";
1574
1575#if defined(OS_WIN) || defined(OS_LINUX)
1576
1577const char kEnableInputImeApiName[] = "Enable Input IME API";
1578
1579const char kEnableInputImeApiDescription[] =
1580 "Enable the use of chrome.input.ime API.";
1581
1582#endif // defined(OS_WIN) || defined(OS_LINUX)
1583
1584const char kEnableGroupedHistoryName[] = "Group history by domain";
1585
1586const char kEnableGroupedHistoryDescription[] =
1587 "Group history by website domain (i.e. google.com) on "
1588 "chrome://history.";
1589
1590const char kSecurityChipDefault[] = "Default";
1591
1592const char kSecurityChipShowNonsecureOnly[] = "Show non-secure only";
1593
1594const char kSecurityChipShowAll[] = "Show all";
1595
1596const char kSecurityChipAnimationDefault[] = "Default";
1597
1598const char kSecurityChipAnimationNone[] = "No animation";
1599
1600const char kSecurityChipAnimationNonsecureOnly[] = "Animate non-secure only";
1601
1602const char kSecurityChipAnimationAll[] = "Animate all";
1603
1604const char kSaveasMenuLabelExperimentName[] =
1605 "Switch 'Save as' menu labels to 'Download'";
1606
1607const char kSaveasMenuLabelExperimentDescription[] =
1608 "Enables an experiment to switch menu labels that use 'Save as...' to "
1609 "'Download'.";
1610
1611const char kEnableEnumeratingAudioDevicesName[] =
1612 "Experimentally enable enumerating audio devices.";
1613
1614const char kEnableEnumeratingAudioDevicesDescription[] =
1615 "Experimentally enable the use of enumerating audio devices.";
1616
1617const char kNewUsbBackendName[] = "Enable new USB backend";
1618
1619const char kNewUsbBackendDescription[] =
1620 "Enables the new experimental USB backend for Windows.";
1621
1622const char kNewOmniboxAnswerTypesName[] =
1623 "New omnibox answers in suggest types";
1624
1625const char kNewOmniboxAnswerTypesDescription[] =
1626 "Enables new types of answers in the omnibox suggest drop-down: "
1627 "currency conversions, dictionary definitions, sports scores, "
1628 "translations, and when is.";
1629
1630const char kEnableZeroSuggestRedirectToChromeName[] =
1631 "Experimental contextual omnibox suggestion";
1632
1633const char kEnableZeroSuggestRedirectToChromeDescription[] =
1634 "Change omnibox contextual suggestions to an experimental source. Note "
1635 "that this is not an on/off switch for contextual omnibox and it only "
1636 "applies to suggestions provided before the user starts typing a URL or "
1637 "a search query (i.e. zero suggest).";
1638
1639const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
1640
1641const char kFillOnAccountSelectDescription[] =
1642 "Filling of passwords when an account is explicitly selected by the "
1643 "user rather than autofilling credentials on page load.";
1644
1645const char kEnableClearBrowsingDataCountersName[] =
1646 "Enable Clear browsing data counters.";
1647
1648const char kEnableClearBrowsingDataCountersDescription[] =
1649 "Shows data volume counters in the Clear browsing data dialog.";
1650
1651#if defined(OS_ANDROID)
1652
1653const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1654
1655const char kTabsInCbdDescription[] =
1656 "Enables a basic and an advanced tab for the Clear Browsing Data "
1657 "dialog.";
1658
1659#endif // defined(OS_ANDROID)
1660
1661const char kNotificationsNativeFlag[] = "Enable native notifications.";
1662
1663const char kNotificationsNativeFlagDescription[] =
1664 "Enable support for using the native notification toasts and "
1665 "notification center on platforms where these are available.";
1666
1667#if defined(OS_ANDROID)
1668
1669const char kEnableAndroidSpellcheckerDescription[] =
1670 "Enables use of the Android spellchecker.";
1671
1672const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
1673
1674#endif // defined(OS_ANDROID)
1675
1676const char kEnableWebNotificationCustomLayoutsName[] =
1677 "Enable custom layouts for Web Notifications.";
1678
1679const char kEnableWebNotificationCustomLayoutsDescription[] =
1680 "Enable custom layouts for Web Notifications. They will have subtle "
1681 "layout improvements that are otherwise not possible.";
1682
1683const char kAccountConsistencyName[] =
1684 "Identity consistency between browser and cookie jar";
1685
1686const char kAccountConsistencyDescription[] =
1687 "When enabled, the browser manages signing in and out of Google "
1688 "accounts.";
1689
1690const char kEnablePasswordSeparatedSigninFlowName[] =
1691 "Enable new gaia password-separated sign in flow";
1692
1693const char kEnablePasswordSeparatedSigninFlowDescription[] =
1694 "When enabled, signing in to the browser will use a new gaia "
1695 "password-separated sign in flow.";
1696
1697const char kGoogleProfileInfoName[] = "Google profile name and icon";
1698
1699const char kGoogleProfileInfoDescription[] =
1700 "Enables using Google information to populate the profile name and icon "
1701 "in the avatar menu.";
1702
1703const char kOfferStoreUnmaskedWalletCards[] =
1704 "Google Payments card saving checkbox";
1705
1706const char kOfferStoreUnmaskedWalletCardsDescription[] =
1707 "Show the checkbox to offer local saving of a credit card downloaded "
1708 "from the server.";
1709
1710const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1711
1712const char kOfflineAutoReloadDescription[] =
1713 "Pages that fail to load while the browser is offline will be "
1714 "auto-reloaded when the browser is online again.";
1715
1716const char kOfflineAutoReloadVisibleOnlyName[] =
1717 "Only Auto-Reload Visible Tabs";
1718
1719const char kOfflineAutoReloadVisibleOnlyDescription[] =
1720 "Pages that fail to load while the browser is offline will only be "
1721 "auto-reloaded if their tab is visible.";
1722
1723const char kShowSavedCopyName[] = "Show Saved Copy Button";
1724
1725const char kShowSavedCopyDescription[] =
1726 "When a page fails to load, if a stale copy of the page exists in the "
1727 "browser cache, a button will be presented to allow the user to load "
1728 "that stale copy. The primary enabling choice puts the button in the "
1729 "most salient position on the error page; the secondary enabling choice "
1730 "puts it secondary to the reload button.";
1731
1732const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1733
1734const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1735
1736const char kDisableShowSavedCopy[] = "Disable";
1737
1738#if defined(OS_CHROMEOS)
1739
1740const char kSmartVirtualKeyboardName[] =
1741 "Smart Deployment of the Virtual Keyboard";
1742
1743const char kSmartVirtualKeyboardDescription[] =
1744 "Enable/Disable smart deployment of the virtual keyboard.";
1745
1746const char kVirtualKeyboardName[] = "Virtual Keyboard";
1747
1748const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
1749
1750const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
1751
1752const char kVirtualKeyboardOverscrollDescription[] =
1753 "Enables virtual keyboard overscroll support.";
1754
1755const char kInputViewName[] = "Input views";
1756
1757const char kInputViewDescription[] =
1758 "Enable IME extensions to supply custom views for user input such as "
1759 "virtual keyboards.";
1760
1761const char kNewKoreanImeName[] = "New Korean IME";
1762
1763const char kNewKoreanImeDescription[] =
1764 "New Korean IME, which is based on Google Input Tools' HMM engine.";
1765
1766const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
1767
1768const char kPhysicalKeyboardAutocorrectDescription[] =
1769 "Enable physical keyboard autocorrect for US keyboard, which can "
1770 "provide suggestions as typing on physical keyboard.";
1771
1772const char kVoiceInputName[] = "Voice input on virtual keyboard";
1773
1774const char kVoiceInputDescription[] =
1775 "Enables voice input on virtual keyboard.";
1776
1777const char kExperimentalInputViewFeaturesName[] =
1778 "Experimental input view features";
1779
1780const char kExperimentalInputViewFeaturesDescription[] =
1781 "Enable experimental features for IME input views.";
1782
1783const char kFloatingVirtualKeyboardName[] = "Floating virtual keyboard.";
1784
1785const char kFloatingVirtualKeyboardDescription[] =
1786 "Enable/Disable floating virtual keyboard.";
1787
1788const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
1789
1790const char kGestureTypingDescription[] =
1791 "Enable/Disable gesture typing option in the settings page for the "
1792 "virtual keyboard.";
1793
1794const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
1795
1796const char kGestureEditingDescription[] =
1797 "Enable/Disable gesture editing option in the settings page for the "
1798 "virtual keyboard.";
1799
1800const char kCaptivePortalBypassProxyName[] =
1801 "Bypass proxy for Captive Portal Authorization";
1802
1803const char kCaptivePortalBypassProxyDescription[] =
1804 "If proxy is configured, it usually prevents from authorization on "
1805 "different captive portals. This enables opening captive portal "
1806 "authorization dialog in a separate window, which ignores proxy "
1807 "settings.";
1808
1809const char kTouchscreenCalibrationName[] =
1810 "Enable/disable touchscreen calibration option in material design "
1811 "settings";
1812
1813const char kTouchscreenCalibrationDescription[] =
1814 "If enabled, the user can calibrate the touch screen displays in "
1815 "chrome://md-settings/display.";
1816
1817#endif // defined(OS_CHROMEOS)
1818
1819// Strings for controlling credit card assist feature in about:flags.
1820
1821const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
1822
1823const char kCreditCardAssistDescription[] =
1824 "Enable assisted credit card filling on certain sites.";
1825
1826// Strings for controlling credit card scanning feature in about:flags.
1827
1828// Simple Cache Backend experiment.
1829
1830const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1831
1832const char kSimpleCacheBackendDescription[] =
1833 "The Simple Cache for HTTP is a new cache. It relies on the filesystem "
1834 "for disk space allocation.";
1835
1836// Spelling feedback field trial.
1837
1838const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1839
1840const char kSpellingFeedbackFieldTrialDescription[] =
1841 "Enable the field trial for sending user feedback to spelling service.";
1842
1843// Web MIDI API.
1844
1845const char kWebMidiName[] = "Web MIDI API";
1846
1847const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1848
1849// Site per process mode
1850
1851const char kSitePerProcessName[] = "Out of process iframes";
1852
1853const char kSitePerProcessDescription[] =
1854 "Highly experimental support for rendering cross-site iframes in "
1855 "separate processes. In this mode, documents will share a renderer "
1856 "process only if they are from the same web site.";
1857
1858// Top document isolation mode
1859
1860const char kTopDocumentIsolationName[] = "Top document isolation";
1861
1862const char kTopDocumentIsolationDescription[] =
1863 "Highly experimental performance mode where cross-site iframes are kept "
1864 "in a separate process from the top document. In this mode, iframes "
1865 "from different third-party sites will be allowed to share a process.";
1866
1867// Cross process guest frames isolation mode
1868
1869const char kCrossProcessGuestViewIsolationName[] =
1870 "Cross process frames for guests";
1871
1872const char kCrossProcessGuestViewIsolationDescription[] =
1873 "Highly experimental where guests such as <webview> are implemented "
1874 "on the out-of-process iframe infrastructure.";
1875
1876// Task Scheduler
1877
1878const char kBrowserTaskSchedulerName[] = "Task Scheduler";
1879
1880const char kBrowserTaskSchedulerDescription[] =
1881 "Enables redirection of some task posting APIs to the task scheduler.";
1882
1883// Arc authorization
1884
1885#if defined(OS_CHROMEOS)
1886
1887const char kArcUseAuthEndpointName[] = "Android apps authorization point";
1888
1889const char kArcUseAuthEndpointDescription[] =
1890 "Enable Android apps authorization point to automatic sign-in in OptIn "
1891 "flow.";
1892
1893#endif // defined(OS_CHROMEOS)
1894
1895// Autofill experiment flags
1896
1897const char kSingleClickAutofillName[] = "Single-click autofill";
1898
1899const char kSingleClickAutofillDescription[] =
1900 "Make autofill suggestions on initial mouse click on a form element.";
1901
1902#if defined(OS_ANDROID)
1903
1904const char kAutofillAccessoryViewName[] =
1905 "Autofill suggestions as keyboard accessory view";
1906
1907const char kAutofillAccessoryViewDescription[] =
1908 "Shows Autofill suggestions on top of the keyboard rather than in a "
1909 "dropdown.";
1910
1911#endif // defined(OS_ANDROID)
1912
1913// Reader mode experiment flags
1914
1915#if defined(OS_ANDROID)
1916
1917const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
1918
1919const char kReaderModeHeuristicsDescription[] =
1920 "Determines what pages the Reader Mode button is shown on.";
1921
1922const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
1923
1924const char kReaderModeHeuristicsAdaboost[] = "Appears to be an article";
1925
1926const char kReaderModeHeuristicsAlwaysOff[] = "Never";
1927
1928const char kReaderModeHeuristicsAlwaysOn[] = "Always";
1929
1930#endif // defined(OS_ANDROID)
1931
1932// Chrome home flags
1933
1934#if defined(OS_ANDROID)
1935
1936const char kChromeHomeName[] = "Chrome Home";
1937
1938const char kChromeHomeDescription[] = "Enables Chrome Home on Android.";
1939
1940#endif // defined(OS_ANDROID)
1941
1942// Settings window flags
1943
1944const char kSettingsWindowName[] = "Show settings in a window";
1945
1946const char kSettingsWindowDescription[] =
1947 "Settings will be shown in a dedicated window instead of as a browser "
1948 "tab.";
1949
1950// Mixed content issue workaround flags
1951
1952#if defined(OS_ANDROID)
1953
1954// Flag strings for seccomp-bpf sandbox flag.
1955
1956const char kSeccompFilterSandboxAndroidName[] = "Seccomp-bpf renderer sandbox";
1957
1958const char kSeccompFilterSandboxAndroidDescription[] =
1959 "Renderers will have a second-layer sandbox provided by seccomp-bpf. "
1960 "This requires kernel features only available on select Android "
1961 "versions.";
1962
1963#endif // defined(OS_ANDROID)
1964
1965// Extension Content Verification
1966
1967const char kExtensionContentVerificationName[] =
1968 "Extension Content Verification";
1969
1970const char kExtensionContentVerificationDescription[] =
1971 "This flag can be used to turn on verification that the contents of the "
1972 "files on disk for extensions from the webstore match what they're "
1973 "expected to be. This can be used to turn on this feature if it would "
1974 "not otherwise have been turned on, but cannot be used to turn it off "
1975 "(because this setting can be tampered with by malware).";
1976
1977const char kExtensionContentVerificationBootstrap[] =
1978 "Bootstrap (get expected hashes, but do not enforce them)";
1979
1980const char kExtensionContentVerificationEnforce[] =
1981 "Enforce (try to get hashes, and enforce them if successful)";
1982
1983const char kExtensionContentVerificationEnforceStrict[] =
1984 "Enforce strict (hard fail if we can't get hashes)";
1985
1986// Built-in hotword detection display strings
1987
1988const char kExperimentalHotwordHardwareName[] =
1989 "Simulated hardware 'Ok Google' features";
1990
1991const char kExperimentalHotwordHardwareDescription[] =
1992 "Enables an experimental version of 'Ok Google' hotword detection "
1993 "features that have a hardware dependency.";
1994
1995// Message center strings
1996
1997const char kMessageCenterAlwaysScrollUpUponRemovalName[] =
1998 "Experiments that message center always scroll up upon notification "
1999 "removal";
2000
2001const char kMessageCenterAlwaysScrollUpUponRemovalDescription[] =
2002 "Enables experiment that message center always scroll up when a "
2003 "notification is removed.";
2004
2005const char kCastStreamingHwEncodingName[] =
2006 "Cast Streaming hardware video encoding";
2007
2008const char kCastStreamingHwEncodingDescription[] =
2009 "This option enables support in Cast Streaming for encoding video "
2010 "streams using platform hardware.";
2011
2012const char kAllowInsecureLocalhost[] =
2013 "Allow invalid certificates for resources loaded from localhost.";
2014
2015const char kAllowInsecureLocalhostDescription[] =
2016 "Allows requests to localhost over HTTPS even when an invalid "
2017 "certificate is presented.";
2018
2019#if defined(OS_WIN) || defined(OS_MACOSX)
2020
2021// Tab discarding
2022
2023const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2024
2025const char kAutomaticTabDiscardingDescription[] =
2026 "If enabled, tabs get automatically discarded from memory when the "
2027 "system memory is low. Discarded tabs are still visible on the tab "
2028 "strip and get reloaded when clicked on. Info about discarded tabs can "
2029 "be found at chrome://discards.";
2030
2031#endif // defined(OS_WIN) || defined(OS_MACOSX)
2032
2033#if defined(OS_ANDROID)
2034
2035const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2036
2037const char kOfflineBookmarksDescription[] =
2038 "Enable saving bookmarked pages for offline viewing.";
2039
2040const char kNtpOfflinePagesName[] = "Enable NTP offline pages";
2041
2042const char kNtpOfflinePagesDescription[] =
2043 "Enables badging of offline pages on the New Tab page. Only relevant if "
2044 "offline pages are enabled.";
2045
2046const char kOfflinePagesAsyncDownloadName[] =
2047 R"*(Enables showing "DOWNLOAD PAGE LATER" button in error pages.)*";
2048
2049const char kOfflinePagesAsyncDownloadDescription[] =
2050 R"*(Enables showing "DOWNLOAD PAGE LATER" button in error pages such )*"
2051 R"*(that the user can click on it to download the page later.)*";
2052
2053const char kOfflinePagesSvelteConcurrentLoadingName[] =
2054 "Enables concurrent background loading on svelte.";
2055
2056const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2057 "Enables concurrent background loading (or downloading) of pages on "
2058 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2059 "happen when the svelte device is idle.";
2060
2061const char kOfflinePagesPrefetchingName[] =
2062 "Enables suggested offline pages to be prefetched.";
2063
2064const char kOfflinePagesPrefetchingDescription[] =
2065 "Enables suggested offline pages to be prefetched, so useful content is "
2066 "available while offline.";
2067
2068const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2069
2070const char kOfflinePagesSharingDescription[] =
2071 "Enables the saved offline pages to be shared via other applications.";
2072
2073const char kBackgroundLoaderForDownloadsName[] =
2074 "Enables background downloading of pages.";
2075
2076const char kBackgroundLoaderForDownloadsDescription[] =
2077 "Enables downloading pages in the background in case page is not yet "
2078 "loaded in current tab.";
2079
2080const char kNewBackgroundLoaderName[] =
2081 "Use background loader instead of prerenderer to load pages.";
2082
2083const char kNewBackgroundLoaderDescription[] =
2084 "Use background loader instead of prerenderer to asynchronously "
2085 "download pages.";
2086
2087const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
2088
2089const char kNtpPopularSitesDescription[] =
2090 "Pre-populate the New Tab page with popular sites.";
2091
2092const char kNtpSwitchToExistingTabName[] =
2093 "Switch to an existing tab for New Tab Page suggestions.";
2094
2095const char kNtpSwitchToExistingTabDescription[] =
2096 "When opening a suggested webpage from the New Tab Page, if a tab is "
2097 "already open for the suggestion, switch to that one instead of loading "
2098 "the suggestion in the new tab.";
2099
2100const char kNtpSwitchToExistingTabMatchUrl[] = "Match by URL";
2101
2102const char kNtpSwitchToExistingTabMatchHost[] = "Match by Hostname";
2103
2104const char kUseAndroidMidiApiName[] = "Use Android Midi API";
2105
2106const char kUseAndroidMidiApiDescription[] =
2107 "Use Android Midi API for WebMIDI (effective only with Android M+ "
2108 "devices).";
2109
2110const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
2111
2112const char kWebPaymentsModifiersDescription[] =
2113 "If the website provides modifiers in the payment request, show the "
2114 "custom total for each payment instrument, update the shopping cart "
2115 "when instruments are switched, and send modified payment method "
2116 "specific data to the payment app.";
2117
2118#endif // defined(OS_ANDROID)
2119
2120#if defined(OS_WIN)
2121
2122// Exporting tracing events to ETW
2123
2124const char kTraceExportEventsToEtwName[] =
2125 "Enable exporting of tracing events to ETW.";
2126
2127const char kTraceExportEventsToEtwDesription[] =
2128 "If enabled, trace events will be exported to the Event Tracing for "
2129 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2130 "Xperf.";
2131
2132const char kMergeKeyCharEventsName[] =
2133 "Enable or disable merging merging the key event (WM_KEY*) with char "
2134 "event (WM_CHAR).";
2135
2136const char kMergeKeyCharEventsDescription[] =
2137 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separatedly.";
2138
2139const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2140
2141const char kUseWinrtMidiApiDescription[] =
2142 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 "
2143 "or later).";
2144
2145#endif // defined(OS_WIN)
2146
2147#if defined(OS_ANDROID)
2148
2149// Data Use
2150
2151// Update Menu Item Flags
2152
2153const char kUpdateMenuItemName[] = "Force show update menu item";
2154
2155const char kUpdateMenuItemDescription[] =
2156 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2157 R"*(menu.)*";
2158
2159const char kUpdateMenuItemSummaryName[] = "Update menu item summary";
2160
2161const char kUpdateMenuItemSummaryDescription[] =
2162 "When this flag and the force show update menu item flag are enabled, a "
2163 "summary will be displayed below the update menu item.";
2164
2165const char kUpdateMenuItemNoSummary[] = "No summary";
2166
2167const char kUpdateMenuItemDefaultSummary[] = "Default summary";
2168
2169const char kUpdateMenuItemNewFeaturesSummary[] = "New features summary";
2170
2171const char kUpdateMenuItemCustomSummary[] = "Custom summary";
2172
2173const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2174
2175const char kUpdateMenuBadgeDescription[] =
2176 "When enabled, an update badge will be shown on the app menu button.";
2177
2178const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2179
2180const char kSetMarketUrlForTestingDescription[] =
2181 "When enabled, sets the market URL for use in testing the update menu "
2182 "item.";
2183
2184#endif // defined(OS_ANDROID)
2185
2186#if defined(OS_ANDROID)
2187
2188const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
2189
2190const char kHerbPrototypeChoicesDescription[] =
2191 "Switching this option changes which tab management prototype is being "
2192 "tested.";
2193
2194const char kHerbPrototypeFlavorElderberry[] =
2195 "ELDERBERRY: All View Intents in CCT v2";
2196
2197const char kEnableSpecialLocaleName[] =
2198 "Enable custom logic for special locales.";
2199
2200const char kEnableSpecialLocaleDescription[] =
2201 "Enable custom logic for special locales. In this mode, Chrome might "
2202 "behave differently in some locales.";
2203
2204// WebApks
2205
2206const char kEnableWebapk[] = "Enable improved add to Home screen";
2207
2208const char kEnableWebapkDescription[] =
2209 R"*(Packages "Progressive Web Apps" so that they can integrate more )*"
2210 R"*(deeply with Android. A Chrome server is used to package sites. In )*"
2211 R"*(Chrome Canary and Chrome Dev, this requires “Untrusted )*"
2212 R"*(sources” to be enabled in Android security settings.)*";
2213
2214#endif // defined(OS_ANDROID)
2215
2216const char kEnableBrotliName[] = "Brotli Content-Encoding.";
2217
2218const char kEnableBrotliDescription[] =
2219 "Enable Brotli Content-Encoding support.";
2220
2221const char kEnableWebfontsInterventionName[] =
2222 "New version of User Agent Intervention for WebFonts loading.";
2223
2224const char kEnableWebfontsInterventionDescription[] =
2225 "Enable New version of User Agent Intervention for WebFonts loading.";
2226
2227const char kEnableWebfontsInterventionV2ChoiceDefault[] = "Default";
2228
2229const char kEnableWebfontsInterventionV2ChoiceEnabledWith2g[] = "Enabled: 2G";
2230
2231const char kEnableWebfontsInterventionV2ChoiceEnabledWith3g[] = "Enabled: 3G";
2232
2233const char kEnableWebfontsInterventionV2ChoiceEnabledWithSlow2g[] =
2234 "Enabled: Slow 2G";
2235
2236const char kEnableWebfontsInterventionV2ChoiceDisabled[] = "Disabled";
2237
2238const char kEnableWebfontsInterventionTriggerName[] =
2239 "Trigger User Agent Intervention for WebFonts loading always.";
2240
2241const char kEnableWebfontsInterventionTriggerDescription[] =
2242 "Enable to trigger User Agent Intervention for WebFonts loading always. "
2243 "This flag affects only when the intervention is enabled.";
2244
2245const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
2246
2247const char kEnableScrollAnchoringDescription[] =
2248 "Adjusts scroll position to prevent visible jumps when offscreen "
2249 "content changes.";
2250
2251#if defined(OS_CHROMEOS)
2252
2253const char kEnableNativeCupsName[] = "Native CUPS";
2254
2255const char kEnableNativeCupsDescription[] =
2256 "Enables the use of the native CUPS printing backend.";
2257
2258const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2259
2260const char kEnableAndroidWallpapersAppDescription[] =
2261 "Enables the Android Wallpapers App as the default Wallpaper App on "
2262 "Chrome OS.";
2263
2264const char kEnableTouchSupportForScreenMagnifierName[] =
2265 "Touch support for screen magnifier";
2266
2267const char kEnableTouchSupportForScreenMagnifierDescription[] =
2268 "Enables touch support for screen magnifier";
2269
2270#endif // defined(OS_CHROMEOS)
2271
2272#if defined(OS_ANDROID)
2273
2274const char kContentSuggestionsCategoryOrderName[] =
2275 "Default content suggestions category order (e.g. on NTP)";
2276
2277const char kContentSuggestionsCategoryOrderDescription[] =
2278 "Set default order of content suggestion categories (e.g. on the NTP).";
2279
2280const char kContentSuggestionsCategoryRankerName[] =
2281 "Content suggestions category ranker (e.g. on NTP)";
2282
2283const char kContentSuggestionsCategoryRankerDescription[] =
2284 "Set category ranker to order categories of content suggestions (e.g. "
2285 "on the NTP).";
2286
2287const char kEnableNtpSnippetsVisibilityName[] =
2288 "Make New Tab Page Snippets more visible.";
2289
2290const char kEnableNtpSnippetsVisibilityDescription[] =
2291 "If enabled, the NTP snippets will become more discoverable with a "
2292 "larger portion of the first card above the fold.";
2293
jkrcal18514e662017-03-30 06:12:282294const char kEnableContentSuggestionsNewFaviconServerName[] =
2295 "Get favicons for content suggestions from a new server.";
2296
2297const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2298 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2299 "new favicon server.";
2300
dgn2b5a43382017-04-06 16:56:562301const char kEnableContentSuggestionsSettingsName[] =
2302 "Show content suggestions settings.";
2303
2304const char kEnableContentSuggestionsSettingsDescription[] =
2305 "If enabled, the content suggestions settings will be available from the "
2306 "main settings menu.";
2307
vabr0215a8e2017-03-28 12:47:342308const char kEnableNtpRemoteSuggestionsName[] =
2309 "Show server-side suggestions on the New Tab page";
2310
2311const char kEnableNtpRemoteSuggestionsDescription[] =
2312 "If enabled, the list of content suggestions on the New Tab page (see "
2313 "#enable-ntp-snippets) will contain server-side suggestions (e.g., "
2314 "Articles for you). Furthermore, it allows to override the source used "
2315 "to retrieve these server-side suggestions.";
2316
2317const char kEnableNtpRecentOfflineTabSuggestionsName[] =
2318 "Show recent offline tabs on the New Tab page";
2319
2320const char kEnableNtpRecentOfflineTabSuggestionsDescription[] =
2321 "If enabled, the list of content suggestions on the New Tab page (see "
2322 "#enable-ntp-snippets) will contain pages that were captured offline "
2323 "during browsing (see #offlining-recent-pages)";
2324
vabr0215a8e2017-03-28 12:47:342325const char kEnableNtpAssetDownloadSuggestionsName[] =
2326 "Show asset downloads on the New Tab page";
2327
2328const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2329 "If enabled, the list of content suggestions on the New Tab page (see "
2330 "#enable-ntp-snippets) will contain assets (e.g. books, pictures, "
2331 "audio) that the user downloaded for later use.";
2332
2333const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2334 "Show offline page downloads on the New Tab page";
2335
2336const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2337 "If enabled, the list of content suggestions on the New Tab page (see "
2338 "#enable-ntp-snippets) will contain pages that the user downloaded for "
2339 "later use.";
2340
2341const char kEnableNtpBookmarkSuggestionsName[] =
2342 "Show recently visited bookmarks on the New Tab page";
2343
2344const char kEnableNtpBookmarkSuggestionsDescription[] =
2345 "If enabled, the list of content suggestions on the New Tab page (see "
2346 "#enable-ntp-snippets) will contain recently visited bookmarks.";
2347
2348const char kEnableNtpPhysicalWebPageSuggestionsName[] =
2349 "Show Physical Web pages on the New Tab page";
2350
2351const char kEnableNtpPhysicalWebPageSuggestionsDescription[] =
2352 "If enabled, the list of content suggestions on the New Tab page (see "
2353 "#enable-ntp-snippets) will contain pages that are available through "
2354 "Physical Web (see #enable-physical-web)";
2355
2356const char kEnableNtpForeignSessionsSuggestionsName[] =
2357 "Show recent foreign tabs on the New Tab page";
2358
2359const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2360 "If enabled, the list of content suggestions on the New Tab page (see "
2361 "#enable-ntp-snippets) will contain recent foreign tabs.";
2362
2363const char kEnableNtpSuggestionsNotificationsName[] =
2364 "Notify about new content suggestions available at the New Tab page";
2365
2366const char kEnableNtpSuggestionsNotificationsDescription[] =
2367 "If enabled, notifications will inform about new content suggestions on "
2368 "the New Tab page (see #enable-ntp-snippets).";
2369
2370const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
2371
2372const char kNtpCondensedLayoutDescription[] =
2373 "Show a condensed layout on the New Tab Page.";
2374
2375const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
2376
2377const char kNtpCondensedTileLayoutDescription[] =
2378 "Show a condensed tile layout on the New Tab Page.";
2379
2380const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2381
2382const char kNtpGoogleGInOmniboxDescription[] =
2383 "Show a Google G in the omnibox on the New Tab Page.";
2384
2385#endif // defined(OS_ANDROID)
2386
2387#if defined(OS_ANDROID)
2388
2389const char kOffliningRecentPagesName[] =
2390 "Enable offlining of recently visited pages";
2391
2392const char kOffliningRecentPagesDescription[] =
2393 "Enable storing recently visited pages locally for offline use. "
2394 "Requires Offline Pages to be enabled.";
2395
2396const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2397
2398const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2399
2400#endif // defined(OS_ANDROID)
2401
2402#if defined(OS_ANDROID)
2403
2404const char kEnableExpandedAutofillCreditCardPopupLayout[] =
2405 "Use expanded autofill credit card popup layout.";
2406
2407const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
2408 "If enabled, displays autofill credit card popup using expanded "
2409 "layout.";
2410
2411#endif // defined(OS_ANDROID)
2412
2413const char kEnableAutofillCreditCardLastUsedDateDisplay[] =
2414 "Display the last used date of a credit card in autofill.";
2415
2416const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
2417 "If enabled, display the last used date of a credit card in autofill.";
2418
2419#if !defined(OS_ANDROID) && defined(GOOGLE_CHROME_BUILD)
2420
2421const char kGoogleBrandedContextMenuName[] =
2422 "Google branding in the context menu";
2423
2424const char kGoogleBrandedContextMenuDescription[] =
2425 "Shows a Google icon next to context menu items powered by Google "
2426 "services.";
2427
2428#endif // !defined(OS_ANDROID) && defined(GOOGLE_CHROME_BUILD)
2429
2430const char kEnableWebUsbName[] = "WebUSB";
2431
2432const char kEnableWebUsbDescription[] = "Enable WebUSB support.";
2433
2434const char kEnableGenericSensorName[] = "Generic Sensor";
2435
2436const char kEnableGenericSensorDescription[] =
2437 "Enable sensor APIs based on Generic Sensor API.";
2438
2439const char kFontCacheScalingName[] = "FontCache scaling";
2440
2441const char kFontCacheScalingDescription[] =
2442 "Reuse a cached font in the renderer to serve different sizes of font "
2443 "for faster layout.";
2444
2445const char kFramebustingName[] =
2446 "Framebusting requires same-origin or a user gesture";
2447
2448const char kFramebustingDescription[] =
2449 "Don't permit an iframe to navigate the top level browsing context "
2450 "unless they are same-origin or the iframe is processing a user "
2451 "gesture.";
2452
2453#if defined(OS_ANDROID)
2454
2455const char kEnableVrShellName[] = "Enable Chrome VR.";
2456
2457const char kEnableVrShellDescription[] =
2458 "Allow browsing with a VR headset if available for this device.";
2459
2460#endif // defined(OS_ANDROID)
2461
2462// Web payments
2463
2464const char kWebPaymentsName[] = "Web Payments";
2465
2466const char kWebPaymentsDescription[] =
2467 "Enable Web Payments API integration, a JavaScript API for merchants.";
2468
2469#if defined(OS_ANDROID)
2470
2471const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2472
2473const char kEnableAndroidPayIntegrationV1Description[] =
2474 "Enable integration with Android Pay using the first version of the "
2475 "API";
2476
2477const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2478
2479const char kEnableAndroidPayIntegrationV2Description[] =
2480 "Enable integration with Android Pay using the second version of the "
2481 "API";
2482
2483const char kEnableWebPaymentsSingleAppUiSkipName[] =
2484 "Enable Web Payments single app UI skip";
2485
2486const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
2487 "Enable Web Payments to skip showing its UI if the developer specifies "
2488 "a single app.";
2489
2490const char kAndroidPaymentAppsName[] = "Android payment apps";
2491
2492const char kAndroidPaymentAppsDescription[] =
2493 "Enable third party Android apps to integrate as payment apps";
2494
2495const char kAndroidPaymentAppsFilterTitle[] = "Android payment apps filter";
2496
2497const char kAndroidPaymentAppsFilterDescription[] =
2498 "Enable filtering out third party Android apps that can not be shown in "
2499 "settings";
2500
2501#endif // defined(OS_ANDROID)
2502
2503const char kFeaturePolicyName[] = "Feature Policy";
2504
2505const char kFeaturePolicyDescription[] =
2506 "Enables granting and removing access to features through the "
2507 "Feature-Policy HTTP header.";
2508
2509// Audio rendering mixing experiment strings.
2510
2511const char kNewAudioRenderingMixingStrategyName[] =
2512 "New audio rendering mixing strategy";
2513
2514const char kNewAudioRenderingMixingStrategyDescription[] =
2515 "Use the new audio rendering mixing strategy.";
2516
2517// Background video track disabling experiment strings.
2518
2519const char kBackgroundVideoTrackOptimizationName[] =
2520 "Optimize background video playback.";
2521
2522const char kBackgroundVideoTrackOptimizationDescription[] =
2523 "Disable video tracks when the video is played in the background to "
2524 "optimize performance.";
2525
2526// Video fullscreen with orientation lock experiment strings.
2527
2528const char kVideoFullscreenOrientationLockName[] =
2529 "Lock screen orientation when playing a video fullscreen.";
2530
2531const char kVideoFullscreenOrientationLockDescription[] =
2532 "Lock the screen orientation of the device to match video orientation "
2533 "when a video goes fullscreen. Only on phones.";
2534
2535// Expensive background timer throttling flag
2536
2537const char kExpensiveBackgroundTimerThrottlingName[] =
2538 "Throttle expensive background timers";
2539
2540const char kExpensiveBackgroundTimerThrottlingDescription[] =
2541 "Enables intervention to limit CPU usage of background timers to 1%.";
2542
2543// Enable default MediaSession flag
2544
2545#if !defined(OS_ANDROID)
2546
2547const char kEnableDefaultMediaSessionName[] = "Manage audio focus across tabs";
2548
2549const char kEnableDefaultMediaSessionDescription[] =
2550 "Manage audio focus across tabs to improve the audio mixing.";
2551
2552const char kEnableDefaultMediaSessionDisabled[] = "Disabled";
2553
2554const char kEnableDefaultMediaSessionEnabled[] = "Enabled";
2555
2556const char kEnableDefaultMediaSessionEnabledDuckFlash[] =
2557 "Enabled (Flash lowers volume when interrupted by other sound, "
2558 "experimental)";
2559
2560#endif // !defined(OS_ANDROID)
2561
2562#if defined(OS_WIN)
2563
2564const char kGdiTextPrinting[] = "GDI Text Printing";
2565
2566const char kGdiTextPrintingDescription[] =
2567 "Use GDI to print text as simply text";
2568
2569#endif // defined(OS_WIN)
2570
2571#if defined(OS_ANDROID)
2572
2573const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2574
2575const char kModalPermissionPromptsDescription[] =
2576 "Whether to use permission dialogs in place of permission infobars.";
2577
2578#endif // defined(OS_ANDROID)
2579
2580#if !defined(OS_MACOSX)
2581
2582const char kPermissionPromptPersistenceToggleName[] =
2583 "Persistence Toggle in Permission Prompts";
2584
2585const char kPermissionPromptPersistenceToggleDescription[] =
2586 "Whether to display a persistence toggle in permission prompts.";
2587
2588#endif // !defined(OS_MACOSX)
2589
2590#if defined(OS_ANDROID)
2591
2592const char kNoCreditCardAbort[] = "No Credit Card Abort";
2593
2594const char kNoCreditCardAbortDescription[] =
2595 "Whether or not the No Credit Card Abort is enabled.";
2596
2597#endif // defined(OS_ANDROID)
2598
2599// Consistent omnibox geolocation
2600
2601#if defined(OS_ANDROID)
2602
2603const char kEnableConsistentOmniboxGeolocationName[] =
2604 "Have consistent omnibox geolocation access.";
2605
2606const char kEnableConsistentOmniboxGeolocationDescription[] =
2607 "Have consistent geolocation access between the omnibox and default "
2608 "search engine.";
2609
2610#endif // defined(OS_ANDROID)
2611
2612// Media Remoting chrome://flags strings
2613
2614const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
2615
2616const char kMediaRemotingDescription[] =
2617 "When Casting a tab to a remote device, enabling this turns on an "
2618 "optimization that forwards the content bitstream directly to the "
2619 "remote device when a video is fullscreened.";
2620
2621const char kMediaRemotingEncryptedName[] =
2622 "Media Remoting during Cast Tab Mirroring: Encrypted content too";
2623
2624const char kMediaRemotingEncryptedDescription[] =
2625 "When Media Remoting is enabled, this flag must be enabled to allow the "
2626 "remoting of encrypted content. When disabled, only non-encrypted "
2627 "content can be remoted.";
2628
2629// Chrome OS component updates chrome://flags strings
2630
2631const char kCrosCompUpdatesName[] = "Chrome OS Flash Component Updates";
2632
2633const char kCrosCompUpdatesDescription[] =
2634 "Enable Flash component updates for Chrome OS.";
2635
2636// Native Android History chrome://flags strings
2637
2638#if defined(OS_ANDROID)
2639
2640const char kNativeAndroidHistoryManager[] = "Native Android History";
2641
2642const char kNativeAndroidHistoryManagerDescription[] =
2643 "Show the native Android UI for browsing history.";
2644
2645#endif // defined(OS_ANDROID)
2646
2647// Play Services LSD permission prompt chrome://flags strings
2648
2649#if defined(OS_ANDROID)
2650
2651const char kLsdPermissionPromptName[] =
2652 "Location Settings Dialog Permission Prompt";
2653
2654const char kLsdPermissionPromptDescription[] =
2655 "Whether to use the Google Play Services Location Settings Dialog "
2656 "permission dialog.";
2657
2658#endif // defined(OS_ANDROID)
2659
2660#if defined(OS_WIN)
2661
2662// Custom draw the Windows 10 titlebar. crbug.com/505013
2663
2664const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2665
2666const char kWindows10CustomTitlebarDescription[] =
2667 "If enabled, Chrome will draw the titlebar and caption buttons instead "
2668 "of deferring to Windows.";
2669
2670#endif // defined(OS_WIN)
2671
2672#if defined(OS_WIN)
2673
2674const char kPostscriptPrinting[] = "PostScript Printing";
2675
2676const char kPostscriptPrintingDescription[] =
2677 "Enable postscript generation in place of emf generation when printing "
2678 "to postscript capable printers.";
2679
2680#endif // defined(OS_WIN)
2681
2682#if defined(OS_ANDROID)
2683
2684const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2685
2686const char kAiaFetchingDescription[] =
2687 "Enable intermediate certificate fetching when a server does not "
2688 "provide sufficient certificates to build a chain to a trusted root.";
2689
2690#endif // defined(OS_ANDROID)
2691
2692// Web MIDI supports MIDIManager dynamic instantiation chrome://flags strings
2693
2694const char kEnableMidiManagerDynamicInstantiationName[] =
2695 "MIDIManager dynamic instantiation for Web MIDI.";
2696
2697const char kEnableMidiManagerDynamicInstantiationDescription[] =
2698 "Enable MIDIManager dynamic instantiation for Web MIDI.";
2699
2700// Desktop iOS promotion chrome://flags strings
2701
2702#if defined(OS_WIN)
2703
2704const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2705
2706const char kEnableDesktopIosPromotionsDescription[] =
2707 "Enable Desktop to iOS promotions, and allow users to see them if they "
2708 "are eligible.";
2709
2710#endif // defined(OS_WIN)
2711
2712#if defined(OS_ANDROID)
2713
2714const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2715
2716const char kEnableCustomFeedbackUiDescription[] =
2717 "Enables a custom feedback UI when submitting feedback through Google "
2718 "Feedback. Works with Google Play Services v10.2+";
2719
2720#endif // defined(OS_ANDROID)
2721
2722const char kEnableAdjustableLargeCursorName[] =
2723 "Enable adjustable large cursor";
2724
2725const char kEnableAdjustableLargeCursorDescription[] =
2726 "Make size of accessibility large cursor adjustable.";
2727
2728#if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || \
2729 defined(OS_WIN)
2730
2731const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
2732
2733const char kOmniboxEntitySuggestionsDescription[] =
2734 "Enable receiving entity suggestions in Omnibox.";
2735
2736#endif // defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) ||
2737 // defined(OS_WIN)
2738
2739#if defined(OS_CHROMEOS)
2740
2741const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2742
2743const char kEnableChromevoxArcSupportDescription[] =
2744 "Enable ChromeVox screen reader features in ARC";
2745
2746#endif // defined(OS_CHROMEOS)
2747
2748const char kMojoLoadingName[] = "Use Mojo IPC for resource loading";
2749
2750const char kMojoLoadingDescription[] =
2751 "Use Mojo IPC instead of traditional Chrome IPC for resource loading.";
2752
2753#if defined(OS_ANDROID)
2754
2755const char kUseNewDoodleApiName[] = "Use new Doodle API";
2756
2757const char kUseNewDoodleApiDescription[] =
2758 "Enables the new API to fetch Doodles for the NTP.";
2759
2760#endif // defined(OS_ANDROID)
2761
2762const char kDelayNavigationName[] = "Delay navigations";
2763
2764const char kDelayNavigationDescription[] =
2765 "Add a fixed delay to main frame navigations.";
2766
2767const char kDebugShortcutsDescription[] =
2768 "Enables additional keyboard shortcuts that are useful for debugging "
2769 "Ash.";
2770
jwanda1582bcf2017-03-30 04:33:482771#if defined(OS_ANDROID)
2772
2773const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2774
2775const char kEnableCustomContextMenuDescription[] =
2776 "Enables a new context menu when a link, image, or video is pressed within "
2777 "Chrome.";
2778
2779#endif // defined(OS_ANDROID)
2780
vabr0215a8e2017-03-28 12:47:342781#if defined(OS_CHROMEOS)
2782
2783// File Manager
2784
2785const char kVideoPlayerChromecastSupportName[] =
2786 "Experimental Chromecast support for Video Player";
2787
2788const char kVideoPlayerChromecastSupportDescription[] =
2789 "This option enables experimental Chromecast support for Video Player "
2790 "app on ChromeOS.";
2791
2792const char kNewZipUnpackerName[] = "New ZIP unpacker";
2793
2794const char kNewZipUnpackerDescription[] =
2795 "New ZIP unpacker flow, based on the File System Provider API.";
2796
2797const char kShowArcFilesAppName[] = "Show Android Files app";
2798
2799const char kShowArcFilesAppDescription[] =
2800 "Show Android Files app in Chrome OS launcher. This is only effective "
2801 "on a device with access to Play Store.";
2802
2803const char kOfficeEditingComponentAppName[] =
2804 "Office Editing for Docs, Sheets & Slides";
2805
2806const char kOfficeEditingComponentAppDescription[] =
2807 "Office Editing for Docs, Sheets & Slides for testing purposes.";
2808
2809const char kDisplayColorCalibrationName[] = "Color calibration of the display";
2810
2811const char kDisplayColorCalibrationDescription[] =
2812 "Allow color calibration of the display if the display supports the "
2813 "feature.";
2814
2815const char kMemoryPressureThresholdName[] =
2816 "Memory discard strategy for advanced pressure handling";
2817
2818const char kMemoryPressureThresholdDescription[] =
2819 "Memory discarding strategy to use";
2820
2821const char kConservativeThresholds[] =
2822 "Conservative memory pressure release strategy";
2823
2824const char kAggressiveCacheDiscardThresholds[] =
2825 "Aggressive cache release strategy";
2826
2827const char kAggressiveTabDiscardThresholds[] =
2828 "Aggressive tab release strategy";
2829
2830const char kAggressiveThresholds[] =
2831 "Aggressive tab and cache release strategy";
2832
2833const char kWakeOnPacketsName[] = "Wake On Packets";
2834
2835const char kWakeOnPacketsDescription[] =
2836 "Enables waking the device based on the receipt of some network "
2837 "packets.";
2838
2839const char kQuickUnlockPin[] = "Quick Unlock (PIN)";
2840
2841const char kQuickUnlockPinDescription[] =
2842 "Enabling PIN quick unlock allows you to use a PIN to unlock your "
2843 "Chromebook on the lock screen after you have signed into your device.";
2844
2845const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2846
2847const char kQuickUnlockFingerprintDescription[] =
2848 "Enabling fingerprint quick unlock allows you to setup and use a "
2849 "fingerprint to unlock your Chromebook on the lock screen after you "
2850 "have signed into your device.";
2851
2852const char kExperimentalAccessibilityFeaturesName[] =
2853 "Experimental accessibility features";
2854
2855const char kExperimentalAccessibilityFeaturesDescription[] =
2856 "Enable additional accessibility features in the Settings page.";
2857
2858const char kDisableSystemTimezoneAutomaticDetectionName[] =
2859 "SystemTimezoneAutomaticDetection policy support";
2860
2861const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2862 "Disable system timezone automatic detection device policy.";
2863
2864const char kEolNotificationName[] = "Disable Device End of Life notification.";
2865
2866const char kEolNotificationDescription[] =
2867 "Disable Notifcation when Device is End of Life.";
2868
2869// Stylus strings
2870
2871const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2872
2873const char kForceEnableStylusToolsDescription[] =
2874 "Forces display of the stylus tools menu in the shelf and the stylus "
2875 "section in settings, even if there is no attached stylus device.";
2876
2877// Network portal notification
2878
2879const char kNetworkPortalNotificationName[] =
2880 "Notifications about captive portals";
2881
2882const char kNetworkPortalNotificationDescription[] =
2883 "If enabled, notification is displayed when device is connected to a "
2884 "network behind captive portal.";
2885
2886const char kMtpWriteSupportName[] = "MTP write support";
2887
2888const char kMtpWriteSupportDescription[] =
2889 "MTP write support in File System API (and file manager). In-place "
2890 "editing operations are not supported.";
2891
2892const char kCrosRegionsModeName[] = "Cros-regions load mode";
2893
2894const char kCrosRegionsModeDescription[] =
2895 "This flag controls cros-regions load mode";
2896
2897const char kCrosRegionsModeDefault[] = "Default";
2898
2899const char kCrosRegionsModeOverride[] = "Override VPD values.";
2900
2901const char kCrosRegionsModeHide[] = "Hide VPD values.";
2902
2903const char kPrinterProviderSearchAppName[] =
2904 "Chrome Web Store Gallery app for printer drivers";
2905
2906const char kPrinterProviderSearchAppDescription[] =
2907 "Enables Chrome Web Store Gallery app for printer drivers. The app "
2908 "searches Chrome Web Store for extensions that support printing to a "
2909 "USB printer with specific USB ID.";
2910
2911const char kArcBootCompleted[] = "Load Android apps automatically";
2912
2913const char kArcBootCompletedDescription[] =
2914 "Allow Android apps to start automatically after signing in.";
2915
2916const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2917
2918const char kEnableImeMenuDescription[] =
2919 "Enable access to the new IME menu in the Language Settings page.";
2920
2921const char kEnableEhvInputName[] =
2922 "Emoji, handwriting and voice input on opt-in IME menu";
2923
2924const char kEnableEhvInputDescription[] =
2925 "Enable access to emoji, handwriting and voice input form opt-in IME "
2926 "menu.";
2927
2928#endif // #if defined(OS_CHROMEOS)
2929
2930} // namespace flag_descriptions