blob: 2980249f46471cccaf44d2afaf0c5f74cdc2e769 [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
wutao2c0ca182017-04-06 22:40:54737const char kAshEnableSmoothScreenRotationName[] =
738 "Enable smooth rotation animations.";
739
740const char kAshEnableSmoothScreenRotationDescription[] =
741 "Enable smooth rotation animations.";
742
vabr0215a8e2017-03-28 12:47:34743const char kMaterialDesignInkDropAnimationFast[] = "Fast";
744
745const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
746
747const char kMaterialDesignInkDropAnimationSpeedName[] =
748 "Material Design Ink Drop Animation Speed";
749
750const char kMaterialDesignInkDropAnimationSpeedDescription[] =
751 "Sets the speed of the experimental visual feedback animations for "
752 "material design.";
753
754const char kUiSlowAnimationsName[] = "Slow UI animations";
755
756const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
757
758#endif // defined(USE_ASH)
759
760const char kJavascriptHarmonyShippingName[] =
761 "Latest stable JavaScript features";
762
763const char kJavascriptHarmonyShippingDescription[] =
764 "Some web pages use legacy or non-standard JavaScript extensions that "
765 "may conflict with the latest JavaScript features. This flag allows "
766 "disabling support of those features for compatibility with such "
767 "pages.";
768
769const char kJavascriptHarmonyName[] = "Experimental JavaScript";
770
771const char kJavascriptHarmonyDescription[] =
772 "Enable web pages to use experimental JavaScript features.";
773
vabr0215a8e2017-03-28 12:47:34774const char kV8DisableIgnitionTurboName[] =
rmcilroy124254af2017-03-29 14:30:55775 "Classic JavaScript Compilation Pipeline";
vabr0215a8e2017-03-28 12:47:34776
777const char kV8DisableIgnitionTurboDescription[] =
rmcilroy124254af2017-03-29 14:30:55778 "Enables V8's classic compilation pipeline for JavaScript execution "
779 "(disabling V8's new Ignition interpreter and TurboFan compiler)";
vabr0215a8e2017-03-28 12:47:34780
781const char kEnableAsmWasmName[] =
782 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
783
784const char kEnableAsmWasmDescription[] =
785 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
786 R"*(WebAssembly.)*";
787
788const char kEnableSharedArrayBufferName[] =
789 "Experimental enabled SharedArrayBuffer support in JavaScript.";
790
791const char kEnableSharedArrayBufferDescription[] =
792 "Enable SharedArrayBuffer support in JavaScript.";
793
794const char kEnableWasmName[] = "WebAssembly structured cloning support.";
795
796const char kEnableWasmDescription[] =
797 "Enable web pages to use WebAssembly structured cloning.";
798
799#if defined(OS_ANDROID)
800
801const char kMediaDocumentDownloadButtonName[] =
802 "Download button when opening a page with media url.";
803
804const char kMediaDocumentDownloadButtonDescription[] =
805 "Allow a download button to show up when opening a page with media "
806 "url.";
807
808#endif // defined(OS_ANDROID)
809
810const char kSoftwareRasterizerName[] = "3D software rasterizer";
811
812const char kSoftwareRasterizerDescription[] =
813 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
814
815const char kGpuRasterizationName[] = "GPU rasterization";
816
817const char kGpuRasterizationDescription[] =
818 "Use GPU to rasterize web content. Requires impl-side painting.";
819
820const char kForceGpuRasterization[] = "Force-enabled for all layers";
821
822const char kGpuRasterizationMsaaSampleCountName[] =
823 "GPU rasterization MSAA sample count.";
824
825const char kGpuRasterizationMsaaSampleCountDescription[] =
826 "Specify the number of MSAA samples for GPU rasterization.";
827
828const char kGpuRasterizationMsaaSampleCountZero[] = "0";
829
830const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
831
832const char kGpuRasterizationMsaaSampleCountFour[] = "4";
833
834const char kGpuRasterizationMsaaSampleCountEight[] = "8";
835
836const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
837
838const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
839
840const char kSlimmingPaintInvalidationDescription[] =
841 "Whether to enable a new paint invalidation system.";
842
843const char kExperimentalSecurityFeaturesName[] =
844 "Potentially annoying security features";
845
846const char kExperimentalSecurityFeaturesDescription[] =
847 "Enables several security features that will likely break one or more "
848 "pages that you visit on a daily basis. Strict mixed content checking, "
849 "for example. And locking powerful features to secure contexts. This "
850 "flag will probably annoy you.";
851
852const char kExperimentalWebPlatformFeaturesName[] =
853 "Experimental Web Platform features";
854
855const char kExperimentalWebPlatformFeaturesDescription[] =
856 "Enables experimental Web Platform features that are in development.";
857
858const char kExperimentalPointerEventName[] = "Pointer Events";
859
860const char kExperimentalPointerEventDescription[] =
861 "Enables support for the Pointer Events API. This is intended only for "
862 "testing by web developers.";
863
864const char kOriginTrialsName[] = "Origin Trials";
865
866const char kOriginTrialsDescription[] =
867 "Enables origin trials for controlling access to feature/API "
868 "experiments.";
869
870const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
871
872const char kBleAdvertisingInExtensionsDescription[] =
873 "Enables BLE Advertising in Chrome Apps. BLE Advertising might "
874 "interfere with regular use of Bluetooth Low Energy features.";
875
876const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
877
878const char kDevtoolsExperimentsDescription[] =
879 "Enables Developer Tools experiments. Use Settings panel in Developer "
880 "Tools to toggle individual experiments.";
881
882const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
883
884const char kSilentDebuggerExtensionApiDescription[] =
885 "Do not show the infobar when an extension attaches to a page via "
886 "chrome.debugger API. This is required to debug extension background "
887 "pages.";
888
889const char kShowTouchHudName[] = "Show HUD for touch points";
890
891const char kShowTouchHudDescription[] =
892 "Enables a heads-up display at the top-left corner of the screen that "
893 "lists information about the touch-points on the screen.";
894
895const char kPreferHtmlOverPluginsName[] = "Prefer HTML over Flash";
896
897const char kPreferHtmlOverPluginsDescription[] =
898 "Prefer HTML content by hiding Flash from the list of plugins.";
899
900const char kAllowNaclSocketApiName[] = "NaCl Socket API.";
901
902const char kAllowNaclSocketApiDescription[] =
903 "Allows applications to use NaCl Socket API. Use only to test NaCl "
904 "plugins.";
905
906const char kRunAllFlashInAllowModeName[] =
907 R"*(Run all Flash content when Flash setting is set to "allow")*";
908
909const char kRunAllFlashInAllowModeDescription[] =
910 R"*(For sites that have been set to "allow" Flash content, run all )*"
911 R"*(content including any that has been deemed unimportant.)*";
912
913const char kPinchScaleName[] = "Pinch scale";
914
915const char kPinchScaleDescription[] =
916 "Enables experimental support for scale using pinch.";
917
918const char kCredentialManagerApiName[] = "Experimental Credential Manager API";
919
920const char kCredentialManagerApiDescription[] =
921 "Enables an experimental implementation of the Credential Manager API. "
922 "Don't enable this unless you know what you're doing.";
923
924const char kReducedReferrerGranularityName[] =
925 "Reduce default 'referer' header granularity.";
926
927const char kReducedReferrerGranularityDescription[] =
928 "If a page hasn't set an explicit referrer policy, setting this flag "
929 "will reduce the amount of information in the 'referer' header for "
930 "cross-origin requests.";
931
932#if defined(OS_CHROMEOS)
933
934const char kUseMashName[] = "Mojo UI Service (mus).";
935
936const char kUseMashDescription[] = "Enable mus, mash etc.";
937
938const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
939
940const char kAllowTouchpadThreeFingerClickDescription[] =
941 "Enables touchpad three-finger-click as middle button.";
942
943const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
944
945const char kAshEnableUnifiedDesktopDescription[] =
946 "Enable unified desktop mode which allows a window to span multiple "
947 "displays.";
948
949const char kBootAnimation[] = "Boot animation";
950
951const char kBootAnimationDescription[] =
952 "Wallpaper boot animation (except for OOBE case).";
953
954#endif // defined(OS_CHROMEOS)
955
956const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode";
957
958const char kAcceleratedVideoDecodeDescription[] =
959 "Hardware-accelerated video decode where available.";
960
hubbee7499512017-04-05 22:35:04961const char kEnableHDRName[] = "HDR mode";
962
963const char kEnableHDRDescription[] =
964 "Enables HDR support on compatible displays.";
965
vabr0215a8e2017-03-28 12:47:34966const char kCloudImport[] = "Cloud Import";
967
968const char kCloudImportDescription[] = "Allows the cloud-import feature.";
969
970const char kRequestTabletSiteName[] =
971 "Request tablet site option in the settings menu";
972
973const char kRequestTabletSiteDescription[] =
974 "Allows the user to request tablet site. Web content is often optimized "
975 "for tablet devices. When this option is selected the user agent string "
976 "is changed to indicate a tablet device. Web content optimized for "
977 "tablets is received there after for the current tab.";
978
979const char kDebugPackedAppName[] = "Debugging for packed apps";
980
981const char kDebugPackedAppDescription[] =
982 "Enables debugging context menu options such as Inspect Element for "
983 "packed applications.";
984
985const char kDropSyncCredentialName[] =
986 "Drop sync credentials from password manager";
987
988const char kDropSyncCredentialDescription[] =
989 "The password manager will not offer to save the credential used to "
990 "sync.";
991
992const char kPasswordGenerationName[] = "Password generation";
993
994const char kPasswordGenerationDescription[] =
995 "Allow the user to have Chrome generate passwords when it detects "
996 "account creation pages.";
997
998const char kPasswordForceSavingName[] = "Force-saving of passwords";
999
1000const char kPasswordForceSavingDescription[] =
1001 "Allow the user to manually enforce password saving instead of relying "
1002 "on password manager's heuristics.";
1003
1004const char kManualPasswordGenerationName[] = "Manual password generation.";
1005
1006const char kManualPasswordGenerationDescription[] =
1007 "Show a 'Generate Password' option on the context menu for all password "
1008 "fields.";
1009
1010const char kShowAutofillSignatures[] = "Show autofill signatures.";
1011
1012const char kShowAutofillSignaturesDescription[] =
1013 "Annotates web forms with Autofill signatures as HTML attributes.";
1014
1015const char kSuggestionsWithSubStringMatchName[] =
1016 "Substring matching for Autofill suggestions";
1017
1018const char kSuggestionsWithSubStringMatchDescription[] =
1019 "Match Autofill suggestions based on substrings (token prefixes) rather "
1020 "than just prefixes.";
1021
1022const char kAffiliationBasedMatchingName[] =
1023 "Affiliation based matching in password manager";
1024
1025const char kAffiliationBasedMatchingDescription[] =
1026 "Allow credentials stored for Android applications to be filled into "
1027 "corresponding websites.";
1028
1029const char kProtectSyncCredentialName[] = "Autofill sync credential";
1030
1031const char kProtectSyncCredentialDescription[] =
1032 "How the password manager handles autofill for the sync credential.";
1033
1034const char kPasswordImportExportName[] = "Password import and export";
1035
1036const char kPasswordImportExportDescription[] =
1037 "Import and Export functionality in password settings.";
1038
1039const char kProtectSyncCredentialOnReauthName[] =
1040 "Autofill sync credential only for transactional reauth pages";
1041
1042const char kProtectSyncCredentialOnReauthDescription[] =
1043 "How the password manager handles autofill for the sync credential only "
1044 "for transactional reauth pages.";
1045
1046const char kIconNtpName[] = "Large icons on the New Tab page";
1047
1048const char kIconNtpDescription[] =
1049 "Enable the experimental New Tab page using large icons.";
1050
1051const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1052
1053const char kPushApiBackgroundModeDescription[] =
1054 "Enable background mode for the Push API. This allows Chrome to "
1055 "continue running after the last window is closed, and to launch at OS "
1056 "startup, if the Push API needs it.";
1057
1058const char kEnableNavigationTracing[] = "Enable navigation tracing";
1059
1060const char kEnableNavigationTracingDescription[] =
1061 "This is to be used in conjunction with the trace-upload-url flag. "
1062 "WARNING: When enabled, Chrome will record performance data for every "
1063 "navigation and upload it to the URL specified by the trace-upload-url "
1064 "flag. The trace may include personally identifiable information (PII) "
1065 "such as the titles and URLs of websites you visit.";
1066
1067const char kTraceUploadUrl[] = "Trace label for navigation tracing";
1068
1069const char kTraceUploadUrlDescription[] =
1070 "This is to be used in conjunction with the enable-navigation-tracing "
1071 "flag. Please select the label that best describes the recorded traces. "
1072 "This will choose the destination the traces are uploaded to. If you "
1073 "are not sure, select other. If left empty, no traces will be "
1074 "uploaded.";
1075
1076const char kDisableAudioForDesktopShare[] = "Disable Audio For Desktop Share";
1077
1078const char kDisableAudioForDesktopShareDescription[] =
1079 "With this flag on, desktop share picker window will not let the user "
1080 "choose whether to share audio.";
1081
1082const char kDisableTabForDesktopShare[] =
1083 "Disable Desktop Share with tab source";
1084
1085const char kDisableTabForDesktopShareDescription[] =
1086 "This flag controls whether users can choose a tab for desktop share.";
1087
1088const char kTraceUploadUrlChoiceOther[] = "Other";
1089
1090const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1091
1092const char kTraceUploadUrlChoiceQa[] = "QA";
1093
1094const char kTraceUploadUrlChoiceTesting[] = "Testing";
1095
1096const char kSupervisedUserManagedBookmarksFolderName[] =
1097 "Managed bookmarks for supervised users";
1098
1099const char kSupervisedUserManagedBookmarksFolderDescription[] =
1100 "Enable the managed bookmarks folder for supervised users.";
1101
1102const char kSyncAppListName[] = "App Launcher sync";
1103
1104const char kSyncAppListDescription[] =
1105 "Enable App Launcher sync. This also enables Folders where available "
1106 "(non OSX).";
1107
1108const char kDriveSearchInChromeLauncher[] =
1109 "Drive Search in Chrome App Launcher";
1110
1111const char kDriveSearchInChromeLauncherDescription[] =
1112 "Files from Drive will show up when searching the Chrome App Launcher.";
1113
1114const char kV8CacheOptionsName[] = "V8 caching mode.";
1115
1116const char kV8CacheOptionsDescription[] =
1117 "Caching mode for the V8 JavaScript engine.";
1118
1119const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1120
1121const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1122
1123const char kV8CacheStrategiesForCacheStorageName[] =
1124 "V8 caching strategy for CacheStorage.";
1125
1126const char kV8CacheStrategiesForCacheStorageDescription[] =
1127 "Caching strategy of scripts in CacheStorage for the V8 JavaScript "
1128 "engine.";
1129
1130const char kV8CacheStrategiesForCacheStorageNormal[] = "Normal";
1131
1132const char kV8CacheStrategiesForCacheStorageAggressive[] = "Aggressive";
1133
vabr0215a8e2017-03-28 12:47:341134const char kMemoryCoordinatorName[] = "Memory coordinator";
1135
1136const char kMemoryCoordinatorDescription[] =
1137 "Enable memory coordinator instead of memory pressure listeners.";
1138
1139const char kServiceWorkerNavigationPreloadName[] =
1140 "Service worker navigation preload.";
1141
1142const char kServiceWorkerNavigationPreloadDescription[] =
1143 "Enable web pages to use the experimental service worker navigation "
1144 "preload API.";
1145
vabr0215a8e2017-03-28 12:47:341146// Data Reduction Proxy
1147
1148const char kDataReductionProxyLoFiName[] = "Data Saver Lo-Fi mode";
1149
1150const char kDataReductionProxyLoFiDescription[] =
1151 "Forces Data Saver Lo-Fi mode to be always enabled, enabled only on "
1152 "cellular connections, or disabled. Data Saver must be enabled for "
1153 "Lo-Fi mode to be used.";
1154
1155const char kDataReductionProxyLoFiAlwaysOn[] = "Always on";
1156
1157const char kDataReductionProxyLoFiCellularOnly[] = "Cellular only";
1158
1159const char kDataReductionProxyLoFiDisabled[] = "Disable";
1160
1161const char kDataReductionProxyLoFiSlowConnectionsOnly[] =
1162 "Slow connections only";
1163
1164const char kEnableDataReductionProxyLitePageName[] =
1165 "Lite pages for Data Saver Lo-Fi mode";
1166
1167const char kEnableDataReductionProxyLitePageDescription[] =
1168 "Enable lite pages in Data Saver Lo-Fi mode. Previews of pages will be "
1169 "shown instead of image placeholders when Lo-Fi is on. Data Saver and "
1170 "Lo-Fi must be enabled for lite pages to be shown.";
1171
1172const char kDataReductionProxyCarrierTestName[] =
1173 "Enable a carrier-specific Data Reduction Proxy for testing.";
1174
1175const char kDataReductionProxyCarrierTestDescription[] =
1176 "Use a carrier-specific Data Reduction Proxy for testing.";
1177
1178const char kEnableDataReductionProxySavingsPromoName[] =
1179 "Data Saver 1 MB Savings Promo";
1180
1181const char kEnableDataReductionProxySavingsPromoDescription[] =
1182 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has "
1183 "already saved 1 MB of data, then the promo will not be shown. Data "
1184 "Saver must be enabled for the promo to be shown.";
1185
megjablon553df4cf2017-04-01 01:29:551186#if defined(OS_ANDROID)
1187
1188const char kEnableDataReductionProxyMainMenuName[] =
1189 "Enable Data Saver main menu item";
1190
1191const char kEnableDataReductionProxyMainMenuDescription[] =
1192 "Enables the Data Saver menu item in the main menu rather than under "
1193 "Settings.";
1194
megjablon5e5d1c172017-04-06 23:55:111195const char kEnableDataReductionProxySiteBreakdownName[] =
1196 "Data Saver Site Breakdown";
1197
1198const char kEnableDataReductionProxySiteBreakdownDescription[] =
1199 "Enable the site breakdown on the Data Saver settings page.";
1200
megjablon553df4cf2017-04-01 01:29:551201#endif // defined(OS_ANDROID)
1202
vabr0215a8e2017-03-28 12:47:341203const char kLcdTextName[] = "LCD text antialiasing";
1204
1205const char kLcdTextDescription[] =
1206 "If disabled, text is rendered with grayscale antialiasing instead of "
1207 "LCD (subpixel) when doing accelerated compositing.";
1208
1209const char kDistanceFieldTextName[] = "Distance field text";
1210
1211const char kDistanceFieldTextDescription[] =
1212 "Text is rendered with signed distance fields rather than bitmap alpha "
1213 "masks.";
1214
1215const char kZeroCopyName[] = "Zero-copy rasterizer";
1216
1217const char kZeroCopyDescription[] =
1218 "Raster threads write directly to GPU memory associated with tiles.";
1219
1220const char kHideInactiveStackedTabCloseButtonsName[] =
1221 "Hiding close buttons on inactive tabs when stacked";
1222
1223const char kHideInactiveStackedTabCloseButtonsDescription[] =
1224 "Hides the close buttons of inactive tabs when the tabstrip is in "
1225 "stacked mode.";
1226
1227const char kDefaultTileWidthName[] = "Default tile width";
1228
1229const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
1230
1231const char kDefaultTileWidthShort[] = "128";
1232
1233const char kDefaultTileWidthTall[] = "256";
1234
1235const char kDefaultTileWidthGrande[] = "512";
1236
1237const char kDefaultTileWidthVenti[] = "1024";
1238
1239const char kDefaultTileHeightName[] = "Default tile height";
1240
1241const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
1242
1243const char kDefaultTileHeightShort[] = "128";
1244
1245const char kDefaultTileHeightTall[] = "256";
1246
1247const char kDefaultTileHeightGrande[] = "512";
1248
1249const char kDefaultTileHeightVenti[] = "1024";
1250
1251const char kNumRasterThreadsName[] = "Number of raster threads";
1252
1253const char kNumRasterThreadsDescription[] =
1254 "Specify the number of raster threads.";
1255
1256const char kNumRasterThreadsOne[] = "1";
1257
1258const char kNumRasterThreadsTwo[] = "2";
1259
1260const char kNumRasterThreadsThree[] = "3";
1261
1262const char kNumRasterThreadsFour[] = "4";
1263
1264const char kResetAppListInstallStateName[] =
1265 "Reset the App Launcher install state on every restart.";
1266
1267const char kResetAppListInstallStateDescription[] =
1268 "Reset the App Launcher install state on every restart. While this flag "
1269 "is set, Chrome will forget the launcher has been installed each time "
1270 "it starts. This is used for testing the App Launcher install flow.";
1271
1272#if defined(OS_CHROMEOS)
1273
1274const char kFirstRunUiTransitionsName[] =
1275 "Animated transitions in the first-run tutorial";
1276
1277const char kFirstRunUiTransitionsDescription[] =
1278 "Transitions during first-run tutorial are animated.";
1279
1280#endif // defined(OS_CHROMEOS)
1281
1282const char kNewBookmarkAppsName[] = "The new bookmark app system";
1283
1284const char kNewBookmarkAppsDescription[] =
1285 "Enables the new system for creating bookmark apps.";
1286
1287#if defined(OS_MACOSX)
1288
1289const char kHostedAppsInWindowsName[] =
1290 "Allow hosted apps to be opened in windows";
1291
1292const char kHostedAppsInWindowsDescription[] =
1293 "Allows hosted apps to be opened in windows instead of being limited to "
1294 "tabs.";
1295
1296const char kTabDetachingInFullscreenName[] =
1297 "Allow tab detaching in fullscreen";
1298
1299const char kTabDetachingInFullscreenDescription[] =
1300 "Allow tabs to detach from the tabstrip when in fullscreen mode on "
1301 "Mac.";
1302
1303const char kFullscreenToolbarRevealName[] =
1304 "Enables the toolbar in fullscreen to reveal itself.";
1305
1306const char kFullscreenToolbarRevealDescription[] =
1307 "Reveal the toolbar in fullscreen for a short period when the tab strip "
1308 "has changed.";
1309
1310const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
1311
1312const char kTabStripKeyboardFocusDescription[] =
1313 "Enable keyboard focus for the tabs in the tab strip.";
1314
1315#endif // defined(OS_MACOSX)
1316
1317const char kHostedAppShimCreationName[] =
1318 "Creation of app shims for hosted apps on Mac";
1319
1320const char kHostedAppShimCreationDescription[] =
1321 "Create app shims on Mac when creating a hosted app.";
1322
1323const char kHostedAppQuitNotificationName[] =
1324 "Quit notification for hosted apps";
1325
1326const char kHostedAppQuitNotificationDescription[] =
1327 "Display a notification when quitting Chrome if hosted apps are "
1328 "currently running.";
1329
1330#if defined(OS_ANDROID)
1331
1332const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
1333
1334const char kPullToRefreshEffectDescription[] =
1335 "Page reloads triggered by vertically overscrolling content.";
1336
1337#endif // defined(OS_ANDROID)
1338
1339#if defined(OS_MACOSX)
1340
1341const char kTranslateNewUxName[] = "New Translate UX";
1342
1343const char kTranslateNewUxDescription[] =
1344 "Enable the new Translate bubble UX is offered instead of the infobar.";
1345
1346#endif // defined(OS_MACOSX)
1347
1348const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
1349
1350const char kTranslate2016q2UiDescription[] =
1351 "Improved triggering logic and look for Translate Bubble UI";
1352
1353const char kTranslateLanguageByUlpName[] = "Translate Language by ULP";
1354
1355const char kTranslateLanguageByUlpDescription[] =
1356 "Improved translate target language and triggering logic by considering "
1357 "information from User Language Profile (ULP).";
1358
1359const char kViewsRectBasedTargetingName[] = "Rect-based targeting in views";
1360
1361const char kViewsRectBasedTargetingDescription[] =
1362 "Rect-based targeting uses a heuristic to determine the most probable "
1363 "target of a gesture, where the touch region is represented by a "
1364 "rectangle.";
1365
1366const char kPermissionActionReportingName[] = "Permission Action Reporting";
1367
1368const char kPermissionActionReportingDescription[] =
1369 "Enables permission action reporting to Safe Browsing servers for opted "
1370 "in users.";
1371
1372const char kPermissionsBlacklistName[] = "Permissions Blacklist";
1373
1374const char kPermissionsBlacklistDescription[] =
1375 "Enables the Permissions Blacklist, which blocks permissions for "
1376 "blacklisted sites for Safe Browsing users.";
1377
1378const char kThreadedScrollingName[] = "Threaded scrolling";
1379
1380const char kThreadedScrollingDescription[] =
1381 "Threaded handling of scroll-related input events. Disabling this will "
1382 "force all such scroll events to be handled on the main thread. Note "
1383 "that this can dramatically hurt scrolling performance of most websites "
1384 "and is intended for testing purposes only.";
1385
1386const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
1387
1388const char kHarfbuzzRendertextDescription[] =
1389 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't "
1390 "affect web content.";
1391
1392const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
1393
1394const char kEmbeddedExtensionOptionsDescription[] =
1395 "Display extension options as an embedded element in "
1396 "chrome://extensions rather than opening a new tab.";
1397
1398const char kTabAudioMutingName[] = "Tab audio muting UI control";
1399
1400const char kTabAudioMutingDescription[] =
1401 "When enabled, the audio indicators in the tab strip double as tab "
1402 "audio mute controls. This also adds commands in the tab context menu "
1403 "for quickly muting multiple selected tabs.";
1404
1405const char kEasyUnlockBluetoothLowEnergyDiscoveryName[] =
1406 "Smart Lock Bluetooth Low Energy Discovery";
1407
1408const char kEasyUnlockBluetoothLowEnergyDiscoveryDescription[] =
1409 "Enables a Smart Lock setting that allows Chromebook to discover phones "
1410 "over Bluetooth Low Energy in order to unlock the Chromebook when the "
1411 "phone is in its proximity.";
1412
1413const char kEasyUnlockProximityDetectionName[] =
1414 "Smart Lock proximity detection";
1415
1416const char kEasyUnlockProximityDetectionDescription[] =
1417 "Enables a Smart Lock setting that restricts unlocking to only work "
1418 "when your phone is very close to (roughly, within an arm's length of) "
1419 "the Chrome device.";
1420
1421const char kWifiCredentialSyncName[] = "WiFi credential sync";
1422
1423const char kWifiCredentialSyncDescription[] =
1424 "Enables synchronizing WiFi network settings across devices. When "
1425 "enabled, the WiFi credential datatype is registered with Chrome Sync, "
1426 "and WiFi credentials are synchronized subject to user preferences. "
1427 "(See also, chrome://settings/syncSetup.)";
1428
1429const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1430
1431const char kSyncSandboxDescription[] =
1432 "Connects to the testing server for Chrome Sync.";
1433
1434const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
1435
1436const char kDatasaverPromptDescription[] =
1437 "Enables a prompt, which appears when a cellular network connection is "
1438 "detected, to take the user to the Data Saver extension page on Chrome "
1439 "Web Store.";
1440
1441const char kDatasaverPromptDemoMode[] = "Demo mode";
1442
1443const char kDisableUnifiedMediaPipelineDescription[] =
1444 "Disables the unified (Android and desktop) media pipeline on Android.";
1445
1446const char kTrySupportedChannelLayoutsName[] =
1447 "Causes audio output streams to check if channel layouts other than the "
1448 "default hardware layout are available.";
1449
1450const char kTrySupportedChannelLayoutsDescription[] =
1451 "Causes audio output streams to check if channel layouts other than the "
1452 "default hardware layout are available. Turning this on will allow the "
1453 "OS to do stereo to surround expansion if supported. May expose third "
1454 "party driver bugs, use with caution.";
1455
1456#if defined(OS_MACOSX)
1457
1458const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
1459
1460const char kAppInfoDialogDescription[] =
1461 "Makes the Toolkit-Views based App Info dialog accessible from "
1462 "chrome://apps or chrome://extensions in place of the native extension "
1463 "permissions dialog, or the details link (which is a link to the Web "
1464 "Store).";
1465
1466const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
1467
1468const char kMacViewsNativeAppWindowsDescription[] =
1469 "Controls whether to use Toolkit-Views based Chrome App windows.";
1470
1471const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
1472
1473const char kMacViewsTaskManagerDescription[] =
1474 "Controls whether to use the Toolkit-Views based Task Manager.";
1475
1476const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
1477
1478const char kAppWindowCyclingDescription[] =
1479 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
1480 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
1481 "browser window, and browser windows will not be cycled when a Chrome "
1482 "App is active.";
1483
1484#endif // defined(OS_MACOSX)
1485
1486#if defined(OS_CHROMEOS)
1487
1488const char kAcceleratedMjpegDecodeName[] =
1489 "Hardware-accelerated mjpeg decode for captured frame";
1490
1491const char kAcceleratedMjpegDecodeDescription[] =
1492 "Enable hardware-accelerated mjpeg decode for captured frame where "
1493 "available.";
1494
1495#endif // defined(OS_CHROMEOS)
1496
1497const char kSimplifiedFullscreenUiName[] =
1498 "Simplified full screen / mouse lock UI.";
1499
1500const char kSimplifiedFullscreenUiDescription[] =
1501 "A simplified new user experience when entering page-triggered full "
1502 "screen or mouse pointer lock states.";
1503
1504const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
1505
1506const char kExperimentalKeyboardLockUiDescription[] =
1507 "An experimental full screen with keyboard lock mode requiring users to "
1508 "hold Esc to exit.";
1509
1510#if defined(OS_ANDROID)
1511
1512const char kProgressBarAnimationName[] =
1513 "Android phone page loading progress bar animation";
1514
1515const char kProgressBarAnimationDescription[] =
1516 "Configures Android phone page loading progress bar animation.";
1517
1518const char kProgressBarAnimationLinear[] = "Linear";
1519
1520const char kProgressBarAnimationSmooth[] = "Smooth";
1521
1522const char kProgressBarAnimationSmoothIndeterminate[] = "Smooth indeterminate";
1523
1524const char kProgressBarAnimationFastStart[] = "Fast start";
1525
1526const char kProgressBarCompletionName[] =
1527 "Android phone page load progress bar completion time.";
1528
1529const char kProgressBarCompletionDescription[] =
1530 "Configures Android phone page loading progress bar completion time.";
1531
1532const char kProgressBarCompletionLoadEvent[] =
1533 R"*(Top loading frame's onload event ("everything" is done in the )*"
1534 R"*(page, historical behavior).)*";
1535
1536const char kProgressBarCompletionResourcesBeforeDcl[] =
1537 "Main frame's domContentLoaded and all resources loads started before "
1538 "domContentLoaded (iframes ignored).";
1539
1540const char kProgressBarCompletionDomContentLoaded[] =
1541 "Main frame's domContentLoaded (iframes ignored).";
1542
1543const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
1544 "domContentLoaded and all resources loads started before "
1545 "domContentLoaded (main frame and same origin iframes).";
1546
1547#endif // defined(OS_ANDROID)
1548
1549const char kDisallowDocWrittenScriptsUiName[] =
1550 "Block scripts loaded via document.write";
1551
1552const char kDisallowDocWrittenScriptsUiDescription[] =
1553 "Disallows fetches for third-party parser-blocking scripts inserted "
1554 "into the main frame via document.write.";
1555
1556#if defined(OS_WIN)
1557
1558const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
1559
1560const char kEnableAppcontainerDescription[] =
1561 "Enables the use of an AppContainer on sandboxed processes to improve "
1562 "security.";
1563
1564#endif // defined(OS_WIN)
1565
1566#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
1567
1568const char kAutofillCreditCardUploadName[] =
1569 "Enable offering upload of Autofilled credit cards";
1570
1571const char kAutofillCreditCardUploadDescription[] =
1572 "Enables a new option to upload credit cards to Google Payments for "
1573 "sync to all Chrome devices.";
1574
1575#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
1576
1577const char kForceUiDirectionName[] = "Force UI direction";
1578
1579const char kForceUiDirectionDescription[] =
1580 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
1581 "mode, overriding the default direction of the UI language.";
1582
1583const char kForceUiDirectionLtr[] = "Left-to-right";
1584
1585const char kForceUiDirectionRtl[] = "Right-to-left";
1586
1587#if defined(OS_WIN) || defined(OS_LINUX)
1588
1589const char kEnableInputImeApiName[] = "Enable Input IME API";
1590
1591const char kEnableInputImeApiDescription[] =
1592 "Enable the use of chrome.input.ime API.";
1593
1594#endif // defined(OS_WIN) || defined(OS_LINUX)
1595
1596const char kEnableGroupedHistoryName[] = "Group history by domain";
1597
1598const char kEnableGroupedHistoryDescription[] =
1599 "Group history by website domain (i.e. google.com) on "
1600 "chrome://history.";
1601
1602const char kSecurityChipDefault[] = "Default";
1603
1604const char kSecurityChipShowNonsecureOnly[] = "Show non-secure only";
1605
1606const char kSecurityChipShowAll[] = "Show all";
1607
1608const char kSecurityChipAnimationDefault[] = "Default";
1609
1610const char kSecurityChipAnimationNone[] = "No animation";
1611
1612const char kSecurityChipAnimationNonsecureOnly[] = "Animate non-secure only";
1613
1614const char kSecurityChipAnimationAll[] = "Animate all";
1615
1616const char kSaveasMenuLabelExperimentName[] =
1617 "Switch 'Save as' menu labels to 'Download'";
1618
1619const char kSaveasMenuLabelExperimentDescription[] =
1620 "Enables an experiment to switch menu labels that use 'Save as...' to "
1621 "'Download'.";
1622
1623const char kEnableEnumeratingAudioDevicesName[] =
1624 "Experimentally enable enumerating audio devices.";
1625
1626const char kEnableEnumeratingAudioDevicesDescription[] =
1627 "Experimentally enable the use of enumerating audio devices.";
1628
1629const char kNewUsbBackendName[] = "Enable new USB backend";
1630
1631const char kNewUsbBackendDescription[] =
1632 "Enables the new experimental USB backend for Windows.";
1633
1634const char kNewOmniboxAnswerTypesName[] =
1635 "New omnibox answers in suggest types";
1636
1637const char kNewOmniboxAnswerTypesDescription[] =
1638 "Enables new types of answers in the omnibox suggest drop-down: "
1639 "currency conversions, dictionary definitions, sports scores, "
1640 "translations, and when is.";
1641
1642const char kEnableZeroSuggestRedirectToChromeName[] =
1643 "Experimental contextual omnibox suggestion";
1644
1645const char kEnableZeroSuggestRedirectToChromeDescription[] =
1646 "Change omnibox contextual suggestions to an experimental source. Note "
1647 "that this is not an on/off switch for contextual omnibox and it only "
1648 "applies to suggestions provided before the user starts typing a URL or "
1649 "a search query (i.e. zero suggest).";
1650
1651const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
1652
1653const char kFillOnAccountSelectDescription[] =
1654 "Filling of passwords when an account is explicitly selected by the "
1655 "user rather than autofilling credentials on page load.";
1656
1657const char kEnableClearBrowsingDataCountersName[] =
1658 "Enable Clear browsing data counters.";
1659
1660const char kEnableClearBrowsingDataCountersDescription[] =
1661 "Shows data volume counters in the Clear browsing data dialog.";
1662
1663#if defined(OS_ANDROID)
1664
1665const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1666
1667const char kTabsInCbdDescription[] =
1668 "Enables a basic and an advanced tab for the Clear Browsing Data "
1669 "dialog.";
1670
1671#endif // defined(OS_ANDROID)
1672
1673const char kNotificationsNativeFlag[] = "Enable native notifications.";
1674
1675const char kNotificationsNativeFlagDescription[] =
1676 "Enable support for using the native notification toasts and "
1677 "notification center on platforms where these are available.";
1678
1679#if defined(OS_ANDROID)
1680
1681const char kEnableAndroidSpellcheckerDescription[] =
1682 "Enables use of the Android spellchecker.";
1683
1684const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
1685
1686#endif // defined(OS_ANDROID)
1687
1688const char kEnableWebNotificationCustomLayoutsName[] =
1689 "Enable custom layouts for Web Notifications.";
1690
1691const char kEnableWebNotificationCustomLayoutsDescription[] =
1692 "Enable custom layouts for Web Notifications. They will have subtle "
1693 "layout improvements that are otherwise not possible.";
1694
1695const char kAccountConsistencyName[] =
1696 "Identity consistency between browser and cookie jar";
1697
1698const char kAccountConsistencyDescription[] =
1699 "When enabled, the browser manages signing in and out of Google "
1700 "accounts.";
1701
1702const char kEnablePasswordSeparatedSigninFlowName[] =
1703 "Enable new gaia password-separated sign in flow";
1704
1705const char kEnablePasswordSeparatedSigninFlowDescription[] =
1706 "When enabled, signing in to the browser will use a new gaia "
1707 "password-separated sign in flow.";
1708
1709const char kGoogleProfileInfoName[] = "Google profile name and icon";
1710
1711const char kGoogleProfileInfoDescription[] =
1712 "Enables using Google information to populate the profile name and icon "
1713 "in the avatar menu.";
1714
1715const char kOfferStoreUnmaskedWalletCards[] =
1716 "Google Payments card saving checkbox";
1717
1718const char kOfferStoreUnmaskedWalletCardsDescription[] =
1719 "Show the checkbox to offer local saving of a credit card downloaded "
1720 "from the server.";
1721
1722const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1723
1724const char kOfflineAutoReloadDescription[] =
1725 "Pages that fail to load while the browser is offline will be "
1726 "auto-reloaded when the browser is online again.";
1727
1728const char kOfflineAutoReloadVisibleOnlyName[] =
1729 "Only Auto-Reload Visible Tabs";
1730
1731const char kOfflineAutoReloadVisibleOnlyDescription[] =
1732 "Pages that fail to load while the browser is offline will only be "
1733 "auto-reloaded if their tab is visible.";
1734
1735const char kShowSavedCopyName[] = "Show Saved Copy Button";
1736
1737const char kShowSavedCopyDescription[] =
1738 "When a page fails to load, if a stale copy of the page exists in the "
1739 "browser cache, a button will be presented to allow the user to load "
1740 "that stale copy. The primary enabling choice puts the button in the "
1741 "most salient position on the error page; the secondary enabling choice "
1742 "puts it secondary to the reload button.";
1743
1744const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1745
1746const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1747
1748const char kDisableShowSavedCopy[] = "Disable";
1749
1750#if defined(OS_CHROMEOS)
1751
1752const char kSmartVirtualKeyboardName[] =
1753 "Smart Deployment of the Virtual Keyboard";
1754
1755const char kSmartVirtualKeyboardDescription[] =
1756 "Enable/Disable smart deployment of the virtual keyboard.";
1757
1758const char kVirtualKeyboardName[] = "Virtual Keyboard";
1759
1760const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
1761
1762const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
1763
1764const char kVirtualKeyboardOverscrollDescription[] =
1765 "Enables virtual keyboard overscroll support.";
1766
1767const char kInputViewName[] = "Input views";
1768
1769const char kInputViewDescription[] =
1770 "Enable IME extensions to supply custom views for user input such as "
1771 "virtual keyboards.";
1772
1773const char kNewKoreanImeName[] = "New Korean IME";
1774
1775const char kNewKoreanImeDescription[] =
1776 "New Korean IME, which is based on Google Input Tools' HMM engine.";
1777
1778const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
1779
1780const char kPhysicalKeyboardAutocorrectDescription[] =
1781 "Enable physical keyboard autocorrect for US keyboard, which can "
1782 "provide suggestions as typing on physical keyboard.";
1783
1784const char kVoiceInputName[] = "Voice input on virtual keyboard";
1785
1786const char kVoiceInputDescription[] =
1787 "Enables voice input on virtual keyboard.";
1788
1789const char kExperimentalInputViewFeaturesName[] =
1790 "Experimental input view features";
1791
1792const char kExperimentalInputViewFeaturesDescription[] =
1793 "Enable experimental features for IME input views.";
1794
1795const char kFloatingVirtualKeyboardName[] = "Floating virtual keyboard.";
1796
1797const char kFloatingVirtualKeyboardDescription[] =
1798 "Enable/Disable floating virtual keyboard.";
1799
1800const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
1801
1802const char kGestureTypingDescription[] =
1803 "Enable/Disable gesture typing option in the settings page for the "
1804 "virtual keyboard.";
1805
1806const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
1807
1808const char kGestureEditingDescription[] =
1809 "Enable/Disable gesture editing option in the settings page for the "
1810 "virtual keyboard.";
1811
1812const char kCaptivePortalBypassProxyName[] =
1813 "Bypass proxy for Captive Portal Authorization";
1814
1815const char kCaptivePortalBypassProxyDescription[] =
1816 "If proxy is configured, it usually prevents from authorization on "
1817 "different captive portals. This enables opening captive portal "
1818 "authorization dialog in a separate window, which ignores proxy "
1819 "settings.";
1820
1821const char kTouchscreenCalibrationName[] =
1822 "Enable/disable touchscreen calibration option in material design "
1823 "settings";
1824
1825const char kTouchscreenCalibrationDescription[] =
1826 "If enabled, the user can calibrate the touch screen displays in "
1827 "chrome://md-settings/display.";
1828
1829#endif // defined(OS_CHROMEOS)
1830
1831// Strings for controlling credit card assist feature in about:flags.
1832
1833const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
1834
1835const char kCreditCardAssistDescription[] =
1836 "Enable assisted credit card filling on certain sites.";
1837
1838// Strings for controlling credit card scanning feature in about:flags.
1839
1840// Simple Cache Backend experiment.
1841
1842const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1843
1844const char kSimpleCacheBackendDescription[] =
1845 "The Simple Cache for HTTP is a new cache. It relies on the filesystem "
1846 "for disk space allocation.";
1847
1848// Spelling feedback field trial.
1849
1850const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1851
1852const char kSpellingFeedbackFieldTrialDescription[] =
1853 "Enable the field trial for sending user feedback to spelling service.";
1854
1855// Web MIDI API.
1856
1857const char kWebMidiName[] = "Web MIDI API";
1858
1859const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1860
1861// Site per process mode
1862
1863const char kSitePerProcessName[] = "Out of process iframes";
1864
1865const char kSitePerProcessDescription[] =
1866 "Highly experimental support for rendering cross-site iframes in "
1867 "separate processes. In this mode, documents will share a renderer "
1868 "process only if they are from the same web site.";
1869
1870// Top document isolation mode
1871
1872const char kTopDocumentIsolationName[] = "Top document isolation";
1873
1874const char kTopDocumentIsolationDescription[] =
1875 "Highly experimental performance mode where cross-site iframes are kept "
1876 "in a separate process from the top document. In this mode, iframes "
1877 "from different third-party sites will be allowed to share a process.";
1878
1879// Cross process guest frames isolation mode
1880
1881const char kCrossProcessGuestViewIsolationName[] =
1882 "Cross process frames for guests";
1883
1884const char kCrossProcessGuestViewIsolationDescription[] =
1885 "Highly experimental where guests such as <webview> are implemented "
1886 "on the out-of-process iframe infrastructure.";
1887
1888// Task Scheduler
1889
1890const char kBrowserTaskSchedulerName[] = "Task Scheduler";
1891
1892const char kBrowserTaskSchedulerDescription[] =
1893 "Enables redirection of some task posting APIs to the task scheduler.";
1894
1895// Arc authorization
1896
1897#if defined(OS_CHROMEOS)
1898
1899const char kArcUseAuthEndpointName[] = "Android apps authorization point";
1900
1901const char kArcUseAuthEndpointDescription[] =
1902 "Enable Android apps authorization point to automatic sign-in in OptIn "
1903 "flow.";
1904
1905#endif // defined(OS_CHROMEOS)
1906
1907// Autofill experiment flags
1908
1909const char kSingleClickAutofillName[] = "Single-click autofill";
1910
1911const char kSingleClickAutofillDescription[] =
1912 "Make autofill suggestions on initial mouse click on a form element.";
1913
1914#if defined(OS_ANDROID)
1915
1916const char kAutofillAccessoryViewName[] =
1917 "Autofill suggestions as keyboard accessory view";
1918
1919const char kAutofillAccessoryViewDescription[] =
1920 "Shows Autofill suggestions on top of the keyboard rather than in a "
1921 "dropdown.";
1922
1923#endif // defined(OS_ANDROID)
1924
1925// Reader mode experiment flags
1926
1927#if defined(OS_ANDROID)
1928
1929const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
1930
1931const char kReaderModeHeuristicsDescription[] =
1932 "Determines what pages the Reader Mode button is shown on.";
1933
1934const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
1935
1936const char kReaderModeHeuristicsAdaboost[] = "Appears to be an article";
1937
1938const char kReaderModeHeuristicsAlwaysOff[] = "Never";
1939
1940const char kReaderModeHeuristicsAlwaysOn[] = "Always";
1941
1942#endif // defined(OS_ANDROID)
1943
1944// Chrome home flags
1945
1946#if defined(OS_ANDROID)
1947
1948const char kChromeHomeName[] = "Chrome Home";
1949
1950const char kChromeHomeDescription[] = "Enables Chrome Home on Android.";
1951
1952#endif // defined(OS_ANDROID)
1953
1954// Settings window flags
1955
1956const char kSettingsWindowName[] = "Show settings in a window";
1957
1958const char kSettingsWindowDescription[] =
1959 "Settings will be shown in a dedicated window instead of as a browser "
1960 "tab.";
1961
1962// Mixed content issue workaround flags
1963
1964#if defined(OS_ANDROID)
1965
1966// Flag strings for seccomp-bpf sandbox flag.
1967
1968const char kSeccompFilterSandboxAndroidName[] = "Seccomp-bpf renderer sandbox";
1969
1970const char kSeccompFilterSandboxAndroidDescription[] =
1971 "Renderers will have a second-layer sandbox provided by seccomp-bpf. "
1972 "This requires kernel features only available on select Android "
1973 "versions.";
1974
1975#endif // defined(OS_ANDROID)
1976
1977// Extension Content Verification
1978
1979const char kExtensionContentVerificationName[] =
1980 "Extension Content Verification";
1981
1982const char kExtensionContentVerificationDescription[] =
1983 "This flag can be used to turn on verification that the contents of the "
1984 "files on disk for extensions from the webstore match what they're "
1985 "expected to be. This can be used to turn on this feature if it would "
1986 "not otherwise have been turned on, but cannot be used to turn it off "
1987 "(because this setting can be tampered with by malware).";
1988
1989const char kExtensionContentVerificationBootstrap[] =
1990 "Bootstrap (get expected hashes, but do not enforce them)";
1991
1992const char kExtensionContentVerificationEnforce[] =
1993 "Enforce (try to get hashes, and enforce them if successful)";
1994
1995const char kExtensionContentVerificationEnforceStrict[] =
1996 "Enforce strict (hard fail if we can't get hashes)";
1997
1998// Built-in hotword detection display strings
1999
2000const char kExperimentalHotwordHardwareName[] =
2001 "Simulated hardware 'Ok Google' features";
2002
2003const char kExperimentalHotwordHardwareDescription[] =
2004 "Enables an experimental version of 'Ok Google' hotword detection "
2005 "features that have a hardware dependency.";
2006
2007// Message center strings
2008
2009const char kMessageCenterAlwaysScrollUpUponRemovalName[] =
2010 "Experiments that message center always scroll up upon notification "
2011 "removal";
2012
2013const char kMessageCenterAlwaysScrollUpUponRemovalDescription[] =
2014 "Enables experiment that message center always scroll up when a "
2015 "notification is removed.";
2016
2017const char kCastStreamingHwEncodingName[] =
2018 "Cast Streaming hardware video encoding";
2019
2020const char kCastStreamingHwEncodingDescription[] =
2021 "This option enables support in Cast Streaming for encoding video "
2022 "streams using platform hardware.";
2023
2024const char kAllowInsecureLocalhost[] =
2025 "Allow invalid certificates for resources loaded from localhost.";
2026
2027const char kAllowInsecureLocalhostDescription[] =
2028 "Allows requests to localhost over HTTPS even when an invalid "
2029 "certificate is presented.";
2030
2031#if defined(OS_WIN) || defined(OS_MACOSX)
2032
2033// Tab discarding
2034
2035const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2036
2037const char kAutomaticTabDiscardingDescription[] =
2038 "If enabled, tabs get automatically discarded from memory when the "
2039 "system memory is low. Discarded tabs are still visible on the tab "
2040 "strip and get reloaded when clicked on. Info about discarded tabs can "
2041 "be found at chrome://discards.";
2042
2043#endif // defined(OS_WIN) || defined(OS_MACOSX)
2044
2045#if defined(OS_ANDROID)
2046
2047const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2048
2049const char kOfflineBookmarksDescription[] =
2050 "Enable saving bookmarked pages for offline viewing.";
2051
2052const char kNtpOfflinePagesName[] = "Enable NTP offline pages";
2053
2054const char kNtpOfflinePagesDescription[] =
2055 "Enables badging of offline pages on the New Tab page. Only relevant if "
2056 "offline pages are enabled.";
2057
2058const char kOfflinePagesAsyncDownloadName[] =
2059 R"*(Enables showing "DOWNLOAD PAGE LATER" button in error pages.)*";
2060
2061const char kOfflinePagesAsyncDownloadDescription[] =
2062 R"*(Enables showing "DOWNLOAD PAGE LATER" button in error pages such )*"
2063 R"*(that the user can click on it to download the page later.)*";
2064
2065const char kOfflinePagesSvelteConcurrentLoadingName[] =
2066 "Enables concurrent background loading on svelte.";
2067
2068const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2069 "Enables concurrent background loading (or downloading) of pages on "
2070 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2071 "happen when the svelte device is idle.";
2072
2073const char kOfflinePagesPrefetchingName[] =
2074 "Enables suggested offline pages to be prefetched.";
2075
2076const char kOfflinePagesPrefetchingDescription[] =
2077 "Enables suggested offline pages to be prefetched, so useful content is "
2078 "available while offline.";
2079
2080const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2081
2082const char kOfflinePagesSharingDescription[] =
2083 "Enables the saved offline pages to be shared via other applications.";
2084
2085const char kBackgroundLoaderForDownloadsName[] =
2086 "Enables background downloading of pages.";
2087
2088const char kBackgroundLoaderForDownloadsDescription[] =
2089 "Enables downloading pages in the background in case page is not yet "
2090 "loaded in current tab.";
2091
2092const char kNewBackgroundLoaderName[] =
2093 "Use background loader instead of prerenderer to load pages.";
2094
2095const char kNewBackgroundLoaderDescription[] =
2096 "Use background loader instead of prerenderer to asynchronously "
2097 "download pages.";
2098
2099const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
2100
2101const char kNtpPopularSitesDescription[] =
2102 "Pre-populate the New Tab page with popular sites.";
2103
2104const char kNtpSwitchToExistingTabName[] =
2105 "Switch to an existing tab for New Tab Page suggestions.";
2106
2107const char kNtpSwitchToExistingTabDescription[] =
2108 "When opening a suggested webpage from the New Tab Page, if a tab is "
2109 "already open for the suggestion, switch to that one instead of loading "
2110 "the suggestion in the new tab.";
2111
2112const char kNtpSwitchToExistingTabMatchUrl[] = "Match by URL";
2113
2114const char kNtpSwitchToExistingTabMatchHost[] = "Match by Hostname";
2115
2116const char kUseAndroidMidiApiName[] = "Use Android Midi API";
2117
2118const char kUseAndroidMidiApiDescription[] =
2119 "Use Android Midi API for WebMIDI (effective only with Android M+ "
2120 "devices).";
2121
2122const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
2123
2124const char kWebPaymentsModifiersDescription[] =
2125 "If the website provides modifiers in the payment request, show the "
2126 "custom total for each payment instrument, update the shopping cart "
2127 "when instruments are switched, and send modified payment method "
2128 "specific data to the payment app.";
2129
2130#endif // defined(OS_ANDROID)
2131
2132#if defined(OS_WIN)
2133
2134// Exporting tracing events to ETW
2135
2136const char kTraceExportEventsToEtwName[] =
2137 "Enable exporting of tracing events to ETW.";
2138
2139const char kTraceExportEventsToEtwDesription[] =
2140 "If enabled, trace events will be exported to the Event Tracing for "
2141 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2142 "Xperf.";
2143
2144const char kMergeKeyCharEventsName[] =
2145 "Enable or disable merging merging the key event (WM_KEY*) with char "
2146 "event (WM_CHAR).";
2147
2148const char kMergeKeyCharEventsDescription[] =
2149 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separatedly.";
2150
2151const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2152
2153const char kUseWinrtMidiApiDescription[] =
2154 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 "
2155 "or later).";
2156
2157#endif // defined(OS_WIN)
2158
2159#if defined(OS_ANDROID)
2160
2161// Data Use
2162
2163// Update Menu Item Flags
2164
2165const char kUpdateMenuItemName[] = "Force show update menu item";
2166
2167const char kUpdateMenuItemDescription[] =
2168 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2169 R"*(menu.)*";
2170
2171const char kUpdateMenuItemSummaryName[] = "Update menu item summary";
2172
2173const char kUpdateMenuItemSummaryDescription[] =
2174 "When this flag and the force show update menu item flag are enabled, a "
2175 "summary will be displayed below the update menu item.";
2176
2177const char kUpdateMenuItemNoSummary[] = "No summary";
2178
2179const char kUpdateMenuItemDefaultSummary[] = "Default summary";
2180
2181const char kUpdateMenuItemNewFeaturesSummary[] = "New features summary";
2182
2183const char kUpdateMenuItemCustomSummary[] = "Custom summary";
2184
2185const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2186
2187const char kUpdateMenuBadgeDescription[] =
2188 "When enabled, an update badge will be shown on the app menu button.";
2189
2190const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2191
2192const char kSetMarketUrlForTestingDescription[] =
2193 "When enabled, sets the market URL for use in testing the update menu "
2194 "item.";
2195
2196#endif // defined(OS_ANDROID)
2197
2198#if defined(OS_ANDROID)
2199
2200const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
2201
2202const char kHerbPrototypeChoicesDescription[] =
2203 "Switching this option changes which tab management prototype is being "
2204 "tested.";
2205
2206const char kHerbPrototypeFlavorElderberry[] =
2207 "ELDERBERRY: All View Intents in CCT v2";
2208
2209const char kEnableSpecialLocaleName[] =
2210 "Enable custom logic for special locales.";
2211
2212const char kEnableSpecialLocaleDescription[] =
2213 "Enable custom logic for special locales. In this mode, Chrome might "
2214 "behave differently in some locales.";
2215
2216// WebApks
2217
2218const char kEnableWebapk[] = "Enable improved add to Home screen";
2219
2220const char kEnableWebapkDescription[] =
2221 R"*(Packages "Progressive Web Apps" so that they can integrate more )*"
2222 R"*(deeply with Android. A Chrome server is used to package sites. In )*"
2223 R"*(Chrome Canary and Chrome Dev, this requires “Untrusted )*"
2224 R"*(sources” to be enabled in Android security settings.)*";
2225
2226#endif // defined(OS_ANDROID)
2227
2228const char kEnableBrotliName[] = "Brotli Content-Encoding.";
2229
2230const char kEnableBrotliDescription[] =
2231 "Enable Brotli Content-Encoding support.";
2232
2233const char kEnableWebfontsInterventionName[] =
2234 "New version of User Agent Intervention for WebFonts loading.";
2235
2236const char kEnableWebfontsInterventionDescription[] =
2237 "Enable New version of User Agent Intervention for WebFonts loading.";
2238
2239const char kEnableWebfontsInterventionV2ChoiceDefault[] = "Default";
2240
2241const char kEnableWebfontsInterventionV2ChoiceEnabledWith2g[] = "Enabled: 2G";
2242
2243const char kEnableWebfontsInterventionV2ChoiceEnabledWith3g[] = "Enabled: 3G";
2244
2245const char kEnableWebfontsInterventionV2ChoiceEnabledWithSlow2g[] =
2246 "Enabled: Slow 2G";
2247
2248const char kEnableWebfontsInterventionV2ChoiceDisabled[] = "Disabled";
2249
2250const char kEnableWebfontsInterventionTriggerName[] =
2251 "Trigger User Agent Intervention for WebFonts loading always.";
2252
2253const char kEnableWebfontsInterventionTriggerDescription[] =
2254 "Enable to trigger User Agent Intervention for WebFonts loading always. "
2255 "This flag affects only when the intervention is enabled.";
2256
2257const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
2258
2259const char kEnableScrollAnchoringDescription[] =
2260 "Adjusts scroll position to prevent visible jumps when offscreen "
2261 "content changes.";
2262
2263#if defined(OS_CHROMEOS)
2264
2265const char kEnableNativeCupsName[] = "Native CUPS";
2266
2267const char kEnableNativeCupsDescription[] =
2268 "Enables the use of the native CUPS printing backend.";
2269
2270const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2271
2272const char kEnableAndroidWallpapersAppDescription[] =
2273 "Enables the Android Wallpapers App as the default Wallpaper App on "
2274 "Chrome OS.";
2275
2276const char kEnableTouchSupportForScreenMagnifierName[] =
2277 "Touch support for screen magnifier";
2278
2279const char kEnableTouchSupportForScreenMagnifierDescription[] =
2280 "Enables touch support for screen magnifier";
2281
takise183b8cb42017-04-07 05:12:082282const char kEnableZipArchiverOnFileManagerName[] =
2283 "ZIP archiver for Drive";
2284
2285const char kEnableZipArchiverOnFileManagerDescription[] =
2286 "Enable the ability to archive and unpack files on Drive in the Files app";
2287
vabr0215a8e2017-03-28 12:47:342288#endif // defined(OS_CHROMEOS)
2289
2290#if defined(OS_ANDROID)
2291
2292const char kContentSuggestionsCategoryOrderName[] =
2293 "Default content suggestions category order (e.g. on NTP)";
2294
2295const char kContentSuggestionsCategoryOrderDescription[] =
2296 "Set default order of content suggestion categories (e.g. on the NTP).";
2297
2298const char kContentSuggestionsCategoryRankerName[] =
2299 "Content suggestions category ranker (e.g. on NTP)";
2300
2301const char kContentSuggestionsCategoryRankerDescription[] =
2302 "Set category ranker to order categories of content suggestions (e.g. "
2303 "on the NTP).";
2304
2305const char kEnableNtpSnippetsVisibilityName[] =
2306 "Make New Tab Page Snippets more visible.";
2307
2308const char kEnableNtpSnippetsVisibilityDescription[] =
2309 "If enabled, the NTP snippets will become more discoverable with a "
2310 "larger portion of the first card above the fold.";
2311
jkrcal18514e662017-03-30 06:12:282312const char kEnableContentSuggestionsNewFaviconServerName[] =
2313 "Get favicons for content suggestions from a new server.";
2314
2315const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2316 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2317 "new favicon server.";
2318
dgn2b5a43382017-04-06 16:56:562319const char kEnableContentSuggestionsSettingsName[] =
2320 "Show content suggestions settings.";
2321
2322const char kEnableContentSuggestionsSettingsDescription[] =
2323 "If enabled, the content suggestions settings will be available from the "
2324 "main settings menu.";
2325
vabr0215a8e2017-03-28 12:47:342326const char kEnableNtpRemoteSuggestionsName[] =
2327 "Show server-side suggestions on the New Tab page";
2328
2329const char kEnableNtpRemoteSuggestionsDescription[] =
2330 "If enabled, the list of content suggestions on the New Tab page (see "
2331 "#enable-ntp-snippets) will contain server-side suggestions (e.g., "
2332 "Articles for you). Furthermore, it allows to override the source used "
2333 "to retrieve these server-side suggestions.";
2334
2335const char kEnableNtpRecentOfflineTabSuggestionsName[] =
2336 "Show recent offline tabs on the New Tab page";
2337
2338const char kEnableNtpRecentOfflineTabSuggestionsDescription[] =
2339 "If enabled, the list of content suggestions on the New Tab page (see "
2340 "#enable-ntp-snippets) will contain pages that were captured offline "
2341 "during browsing (see #offlining-recent-pages)";
2342
vabr0215a8e2017-03-28 12:47:342343const char kEnableNtpAssetDownloadSuggestionsName[] =
2344 "Show asset downloads on the New Tab page";
2345
2346const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2347 "If enabled, the list of content suggestions on the New Tab page (see "
2348 "#enable-ntp-snippets) will contain assets (e.g. books, pictures, "
2349 "audio) that the user downloaded for later use.";
2350
2351const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2352 "Show offline page downloads on the New Tab page";
2353
2354const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2355 "If enabled, the list of content suggestions on the New Tab page (see "
2356 "#enable-ntp-snippets) will contain pages that the user downloaded for "
2357 "later use.";
2358
2359const char kEnableNtpBookmarkSuggestionsName[] =
2360 "Show recently visited bookmarks on the New Tab page";
2361
2362const char kEnableNtpBookmarkSuggestionsDescription[] =
2363 "If enabled, the list of content suggestions on the New Tab page (see "
2364 "#enable-ntp-snippets) will contain recently visited bookmarks.";
2365
2366const char kEnableNtpPhysicalWebPageSuggestionsName[] =
2367 "Show Physical Web pages on the New Tab page";
2368
2369const char kEnableNtpPhysicalWebPageSuggestionsDescription[] =
2370 "If enabled, the list of content suggestions on the New Tab page (see "
2371 "#enable-ntp-snippets) will contain pages that are available through "
2372 "Physical Web (see #enable-physical-web)";
2373
2374const char kEnableNtpForeignSessionsSuggestionsName[] =
2375 "Show recent foreign tabs on the New Tab page";
2376
2377const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2378 "If enabled, the list of content suggestions on the New Tab page (see "
2379 "#enable-ntp-snippets) will contain recent foreign tabs.";
2380
2381const char kEnableNtpSuggestionsNotificationsName[] =
2382 "Notify about new content suggestions available at the New Tab page";
2383
2384const char kEnableNtpSuggestionsNotificationsDescription[] =
2385 "If enabled, notifications will inform about new content suggestions on "
2386 "the New Tab page (see #enable-ntp-snippets).";
2387
2388const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
2389
2390const char kNtpCondensedLayoutDescription[] =
2391 "Show a condensed layout on the New Tab Page.";
2392
2393const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
2394
2395const char kNtpCondensedTileLayoutDescription[] =
2396 "Show a condensed tile layout on the New Tab Page.";
2397
2398const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2399
2400const char kNtpGoogleGInOmniboxDescription[] =
2401 "Show a Google G in the omnibox on the New Tab Page.";
2402
2403#endif // defined(OS_ANDROID)
2404
2405#if defined(OS_ANDROID)
2406
2407const char kOffliningRecentPagesName[] =
2408 "Enable offlining of recently visited pages";
2409
2410const char kOffliningRecentPagesDescription[] =
2411 "Enable storing recently visited pages locally for offline use. "
2412 "Requires Offline Pages to be enabled.";
2413
2414const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2415
2416const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2417
2418#endif // defined(OS_ANDROID)
2419
2420#if defined(OS_ANDROID)
2421
2422const char kEnableExpandedAutofillCreditCardPopupLayout[] =
2423 "Use expanded autofill credit card popup layout.";
2424
2425const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
2426 "If enabled, displays autofill credit card popup using expanded "
2427 "layout.";
2428
2429#endif // defined(OS_ANDROID)
2430
2431const char kEnableAutofillCreditCardLastUsedDateDisplay[] =
2432 "Display the last used date of a credit card in autofill.";
2433
2434const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
2435 "If enabled, display the last used date of a credit card in autofill.";
2436
2437#if !defined(OS_ANDROID) && defined(GOOGLE_CHROME_BUILD)
2438
2439const char kGoogleBrandedContextMenuName[] =
2440 "Google branding in the context menu";
2441
2442const char kGoogleBrandedContextMenuDescription[] =
2443 "Shows a Google icon next to context menu items powered by Google "
2444 "services.";
2445
2446#endif // !defined(OS_ANDROID) && defined(GOOGLE_CHROME_BUILD)
2447
2448const char kEnableWebUsbName[] = "WebUSB";
2449
2450const char kEnableWebUsbDescription[] = "Enable WebUSB support.";
2451
2452const char kEnableGenericSensorName[] = "Generic Sensor";
2453
2454const char kEnableGenericSensorDescription[] =
2455 "Enable sensor APIs based on Generic Sensor API.";
2456
2457const char kFontCacheScalingName[] = "FontCache scaling";
2458
2459const char kFontCacheScalingDescription[] =
2460 "Reuse a cached font in the renderer to serve different sizes of font "
2461 "for faster layout.";
2462
2463const char kFramebustingName[] =
2464 "Framebusting requires same-origin or a user gesture";
2465
2466const char kFramebustingDescription[] =
2467 "Don't permit an iframe to navigate the top level browsing context "
2468 "unless they are same-origin or the iframe is processing a user "
2469 "gesture.";
2470
2471#if defined(OS_ANDROID)
2472
2473const char kEnableVrShellName[] = "Enable Chrome VR.";
2474
2475const char kEnableVrShellDescription[] =
2476 "Allow browsing with a VR headset if available for this device.";
2477
2478#endif // defined(OS_ANDROID)
2479
2480// Web payments
2481
2482const char kWebPaymentsName[] = "Web Payments";
2483
2484const char kWebPaymentsDescription[] =
2485 "Enable Web Payments API integration, a JavaScript API for merchants.";
2486
2487#if defined(OS_ANDROID)
2488
2489const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2490
2491const char kEnableAndroidPayIntegrationV1Description[] =
2492 "Enable integration with Android Pay using the first version of the "
2493 "API";
2494
2495const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2496
2497const char kEnableAndroidPayIntegrationV2Description[] =
2498 "Enable integration with Android Pay using the second version of the "
2499 "API";
2500
2501const char kEnableWebPaymentsSingleAppUiSkipName[] =
2502 "Enable Web Payments single app UI skip";
2503
2504const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
2505 "Enable Web Payments to skip showing its UI if the developer specifies "
2506 "a single app.";
2507
2508const char kAndroidPaymentAppsName[] = "Android payment apps";
2509
2510const char kAndroidPaymentAppsDescription[] =
2511 "Enable third party Android apps to integrate as payment apps";
2512
2513const char kAndroidPaymentAppsFilterTitle[] = "Android payment apps filter";
2514
2515const char kAndroidPaymentAppsFilterDescription[] =
2516 "Enable filtering out third party Android apps that can not be shown in "
2517 "settings";
2518
2519#endif // defined(OS_ANDROID)
2520
2521const char kFeaturePolicyName[] = "Feature Policy";
2522
2523const char kFeaturePolicyDescription[] =
2524 "Enables granting and removing access to features through the "
2525 "Feature-Policy HTTP header.";
2526
2527// Audio rendering mixing experiment strings.
2528
2529const char kNewAudioRenderingMixingStrategyName[] =
2530 "New audio rendering mixing strategy";
2531
2532const char kNewAudioRenderingMixingStrategyDescription[] =
2533 "Use the new audio rendering mixing strategy.";
2534
2535// Background video track disabling experiment strings.
2536
2537const char kBackgroundVideoTrackOptimizationName[] =
2538 "Optimize background video playback.";
2539
2540const char kBackgroundVideoTrackOptimizationDescription[] =
2541 "Disable video tracks when the video is played in the background to "
2542 "optimize performance.";
2543
2544// Video fullscreen with orientation lock experiment strings.
2545
2546const char kVideoFullscreenOrientationLockName[] =
2547 "Lock screen orientation when playing a video fullscreen.";
2548
2549const char kVideoFullscreenOrientationLockDescription[] =
2550 "Lock the screen orientation of the device to match video orientation "
2551 "when a video goes fullscreen. Only on phones.";
2552
2553// Expensive background timer throttling flag
2554
2555const char kExpensiveBackgroundTimerThrottlingName[] =
2556 "Throttle expensive background timers";
2557
2558const char kExpensiveBackgroundTimerThrottlingDescription[] =
2559 "Enables intervention to limit CPU usage of background timers to 1%.";
2560
2561// Enable default MediaSession flag
2562
2563#if !defined(OS_ANDROID)
2564
2565const char kEnableDefaultMediaSessionName[] = "Manage audio focus across tabs";
2566
2567const char kEnableDefaultMediaSessionDescription[] =
2568 "Manage audio focus across tabs to improve the audio mixing.";
2569
2570const char kEnableDefaultMediaSessionDisabled[] = "Disabled";
2571
2572const char kEnableDefaultMediaSessionEnabled[] = "Enabled";
2573
2574const char kEnableDefaultMediaSessionEnabledDuckFlash[] =
2575 "Enabled (Flash lowers volume when interrupted by other sound, "
2576 "experimental)";
2577
2578#endif // !defined(OS_ANDROID)
2579
2580#if defined(OS_WIN)
2581
2582const char kGdiTextPrinting[] = "GDI Text Printing";
2583
2584const char kGdiTextPrintingDescription[] =
2585 "Use GDI to print text as simply text";
2586
2587#endif // defined(OS_WIN)
2588
2589#if defined(OS_ANDROID)
2590
2591const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2592
2593const char kModalPermissionPromptsDescription[] =
2594 "Whether to use permission dialogs in place of permission infobars.";
2595
2596#endif // defined(OS_ANDROID)
2597
2598#if !defined(OS_MACOSX)
2599
2600const char kPermissionPromptPersistenceToggleName[] =
2601 "Persistence Toggle in Permission Prompts";
2602
2603const char kPermissionPromptPersistenceToggleDescription[] =
2604 "Whether to display a persistence toggle in permission prompts.";
2605
2606#endif // !defined(OS_MACOSX)
2607
2608#if defined(OS_ANDROID)
2609
2610const char kNoCreditCardAbort[] = "No Credit Card Abort";
2611
2612const char kNoCreditCardAbortDescription[] =
2613 "Whether or not the No Credit Card Abort is enabled.";
2614
2615#endif // defined(OS_ANDROID)
2616
2617// Consistent omnibox geolocation
2618
2619#if defined(OS_ANDROID)
2620
2621const char kEnableConsistentOmniboxGeolocationName[] =
2622 "Have consistent omnibox geolocation access.";
2623
2624const char kEnableConsistentOmniboxGeolocationDescription[] =
2625 "Have consistent geolocation access between the omnibox and default "
2626 "search engine.";
2627
2628#endif // defined(OS_ANDROID)
2629
2630// Media Remoting chrome://flags strings
2631
2632const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
2633
2634const char kMediaRemotingDescription[] =
2635 "When Casting a tab to a remote device, enabling this turns on an "
2636 "optimization that forwards the content bitstream directly to the "
2637 "remote device when a video is fullscreened.";
2638
2639const char kMediaRemotingEncryptedName[] =
2640 "Media Remoting during Cast Tab Mirroring: Encrypted content too";
2641
2642const char kMediaRemotingEncryptedDescription[] =
2643 "When Media Remoting is enabled, this flag must be enabled to allow the "
2644 "remoting of encrypted content. When disabled, only non-encrypted "
2645 "content can be remoted.";
2646
2647// Chrome OS component updates chrome://flags strings
2648
2649const char kCrosCompUpdatesName[] = "Chrome OS Flash Component Updates";
2650
2651const char kCrosCompUpdatesDescription[] =
2652 "Enable Flash component updates for Chrome OS.";
2653
2654// Native Android History chrome://flags strings
2655
2656#if defined(OS_ANDROID)
2657
2658const char kNativeAndroidHistoryManager[] = "Native Android History";
2659
2660const char kNativeAndroidHistoryManagerDescription[] =
2661 "Show the native Android UI for browsing history.";
2662
2663#endif // defined(OS_ANDROID)
2664
2665// Play Services LSD permission prompt chrome://flags strings
2666
2667#if defined(OS_ANDROID)
2668
2669const char kLsdPermissionPromptName[] =
2670 "Location Settings Dialog Permission Prompt";
2671
2672const char kLsdPermissionPromptDescription[] =
2673 "Whether to use the Google Play Services Location Settings Dialog "
2674 "permission dialog.";
2675
2676#endif // defined(OS_ANDROID)
2677
2678#if defined(OS_WIN)
2679
2680// Custom draw the Windows 10 titlebar. crbug.com/505013
2681
2682const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2683
2684const char kWindows10CustomTitlebarDescription[] =
2685 "If enabled, Chrome will draw the titlebar and caption buttons instead "
2686 "of deferring to Windows.";
2687
2688#endif // defined(OS_WIN)
2689
2690#if defined(OS_WIN)
2691
2692const char kPostscriptPrinting[] = "PostScript Printing";
2693
2694const char kPostscriptPrintingDescription[] =
2695 "Enable postscript generation in place of emf generation when printing "
2696 "to postscript capable printers.";
2697
2698#endif // defined(OS_WIN)
2699
2700#if defined(OS_ANDROID)
2701
2702const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2703
2704const char kAiaFetchingDescription[] =
2705 "Enable intermediate certificate fetching when a server does not "
2706 "provide sufficient certificates to build a chain to a trusted root.";
2707
2708#endif // defined(OS_ANDROID)
2709
2710// Web MIDI supports MIDIManager dynamic instantiation chrome://flags strings
2711
2712const char kEnableMidiManagerDynamicInstantiationName[] =
2713 "MIDIManager dynamic instantiation for Web MIDI.";
2714
2715const char kEnableMidiManagerDynamicInstantiationDescription[] =
2716 "Enable MIDIManager dynamic instantiation for Web MIDI.";
2717
2718// Desktop iOS promotion chrome://flags strings
2719
2720#if defined(OS_WIN)
2721
2722const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2723
2724const char kEnableDesktopIosPromotionsDescription[] =
2725 "Enable Desktop to iOS promotions, and allow users to see them if they "
2726 "are eligible.";
2727
2728#endif // defined(OS_WIN)
2729
2730#if defined(OS_ANDROID)
2731
2732const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2733
2734const char kEnableCustomFeedbackUiDescription[] =
2735 "Enables a custom feedback UI when submitting feedback through Google "
2736 "Feedback. Works with Google Play Services v10.2+";
2737
2738#endif // defined(OS_ANDROID)
2739
2740const char kEnableAdjustableLargeCursorName[] =
2741 "Enable adjustable large cursor";
2742
2743const char kEnableAdjustableLargeCursorDescription[] =
2744 "Make size of accessibility large cursor adjustable.";
2745
2746#if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || \
2747 defined(OS_WIN)
2748
2749const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
2750
2751const char kOmniboxEntitySuggestionsDescription[] =
2752 "Enable receiving entity suggestions in Omnibox.";
2753
2754#endif // defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) ||
2755 // defined(OS_WIN)
2756
2757#if defined(OS_CHROMEOS)
2758
2759const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2760
2761const char kEnableChromevoxArcSupportDescription[] =
2762 "Enable ChromeVox screen reader features in ARC";
2763
2764#endif // defined(OS_CHROMEOS)
2765
2766const char kMojoLoadingName[] = "Use Mojo IPC for resource loading";
2767
2768const char kMojoLoadingDescription[] =
2769 "Use Mojo IPC instead of traditional Chrome IPC for resource loading.";
2770
2771#if defined(OS_ANDROID)
2772
2773const char kUseNewDoodleApiName[] = "Use new Doodle API";
2774
2775const char kUseNewDoodleApiDescription[] =
2776 "Enables the new API to fetch Doodles for the NTP.";
2777
2778#endif // defined(OS_ANDROID)
2779
2780const char kDelayNavigationName[] = "Delay navigations";
2781
2782const char kDelayNavigationDescription[] =
2783 "Add a fixed delay to main frame navigations.";
2784
2785const char kDebugShortcutsDescription[] =
2786 "Enables additional keyboard shortcuts that are useful for debugging "
2787 "Ash.";
2788
jwanda1582bcf2017-03-30 04:33:482789#if defined(OS_ANDROID)
2790
2791const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2792
2793const char kEnableCustomContextMenuDescription[] =
2794 "Enables a new context menu when a link, image, or video is pressed within "
2795 "Chrome.";
2796
2797#endif // defined(OS_ANDROID)
2798
vabr0215a8e2017-03-28 12:47:342799#if defined(OS_CHROMEOS)
2800
2801// File Manager
2802
2803const char kVideoPlayerChromecastSupportName[] =
2804 "Experimental Chromecast support for Video Player";
2805
2806const char kVideoPlayerChromecastSupportDescription[] =
2807 "This option enables experimental Chromecast support for Video Player "
2808 "app on ChromeOS.";
2809
2810const char kNewZipUnpackerName[] = "New ZIP unpacker";
2811
2812const char kNewZipUnpackerDescription[] =
2813 "New ZIP unpacker flow, based on the File System Provider API.";
2814
2815const char kShowArcFilesAppName[] = "Show Android Files app";
2816
2817const char kShowArcFilesAppDescription[] =
2818 "Show Android Files app in Chrome OS launcher. This is only effective "
2819 "on a device with access to Play Store.";
2820
2821const char kOfficeEditingComponentAppName[] =
2822 "Office Editing for Docs, Sheets & Slides";
2823
2824const char kOfficeEditingComponentAppDescription[] =
2825 "Office Editing for Docs, Sheets & Slides for testing purposes.";
2826
2827const char kDisplayColorCalibrationName[] = "Color calibration of the display";
2828
2829const char kDisplayColorCalibrationDescription[] =
2830 "Allow color calibration of the display if the display supports the "
2831 "feature.";
2832
2833const char kMemoryPressureThresholdName[] =
2834 "Memory discard strategy for advanced pressure handling";
2835
2836const char kMemoryPressureThresholdDescription[] =
2837 "Memory discarding strategy to use";
2838
2839const char kConservativeThresholds[] =
2840 "Conservative memory pressure release strategy";
2841
2842const char kAggressiveCacheDiscardThresholds[] =
2843 "Aggressive cache release strategy";
2844
2845const char kAggressiveTabDiscardThresholds[] =
2846 "Aggressive tab release strategy";
2847
2848const char kAggressiveThresholds[] =
2849 "Aggressive tab and cache release strategy";
2850
2851const char kWakeOnPacketsName[] = "Wake On Packets";
2852
2853const char kWakeOnPacketsDescription[] =
2854 "Enables waking the device based on the receipt of some network "
2855 "packets.";
2856
2857const char kQuickUnlockPin[] = "Quick Unlock (PIN)";
2858
2859const char kQuickUnlockPinDescription[] =
2860 "Enabling PIN quick unlock allows you to use a PIN to unlock your "
2861 "Chromebook on the lock screen after you have signed into your device.";
2862
2863const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2864
2865const char kQuickUnlockFingerprintDescription[] =
2866 "Enabling fingerprint quick unlock allows you to setup and use a "
2867 "fingerprint to unlock your Chromebook on the lock screen after you "
2868 "have signed into your device.";
2869
2870const char kExperimentalAccessibilityFeaturesName[] =
2871 "Experimental accessibility features";
2872
2873const char kExperimentalAccessibilityFeaturesDescription[] =
2874 "Enable additional accessibility features in the Settings page.";
2875
2876const char kDisableSystemTimezoneAutomaticDetectionName[] =
2877 "SystemTimezoneAutomaticDetection policy support";
2878
2879const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2880 "Disable system timezone automatic detection device policy.";
2881
2882const char kEolNotificationName[] = "Disable Device End of Life notification.";
2883
2884const char kEolNotificationDescription[] =
2885 "Disable Notifcation when Device is End of Life.";
2886
2887// Stylus strings
2888
2889const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2890
2891const char kForceEnableStylusToolsDescription[] =
2892 "Forces display of the stylus tools menu in the shelf and the stylus "
2893 "section in settings, even if there is no attached stylus device.";
2894
2895// Network portal notification
2896
2897const char kNetworkPortalNotificationName[] =
2898 "Notifications about captive portals";
2899
2900const char kNetworkPortalNotificationDescription[] =
2901 "If enabled, notification is displayed when device is connected to a "
2902 "network behind captive portal.";
2903
2904const char kMtpWriteSupportName[] = "MTP write support";
2905
2906const char kMtpWriteSupportDescription[] =
2907 "MTP write support in File System API (and file manager). In-place "
2908 "editing operations are not supported.";
2909
2910const char kCrosRegionsModeName[] = "Cros-regions load mode";
2911
2912const char kCrosRegionsModeDescription[] =
2913 "This flag controls cros-regions load mode";
2914
2915const char kCrosRegionsModeDefault[] = "Default";
2916
2917const char kCrosRegionsModeOverride[] = "Override VPD values.";
2918
2919const char kCrosRegionsModeHide[] = "Hide VPD values.";
2920
2921const char kPrinterProviderSearchAppName[] =
2922 "Chrome Web Store Gallery app for printer drivers";
2923
2924const char kPrinterProviderSearchAppDescription[] =
2925 "Enables Chrome Web Store Gallery app for printer drivers. The app "
2926 "searches Chrome Web Store for extensions that support printing to a "
2927 "USB printer with specific USB ID.";
2928
2929const char kArcBootCompleted[] = "Load Android apps automatically";
2930
2931const char kArcBootCompletedDescription[] =
2932 "Allow Android apps to start automatically after signing in.";
2933
2934const char kEnableImeMenuName[] = "Enable opt-in IME menu";
2935
2936const char kEnableImeMenuDescription[] =
2937 "Enable access to the new IME menu in the Language Settings page.";
2938
2939const char kEnableEhvInputName[] =
2940 "Emoji, handwriting and voice input on opt-in IME menu";
2941
2942const char kEnableEhvInputDescription[] =
2943 "Enable access to emoji, handwriting and voice input form opt-in IME "
2944 "menu.";
2945
fukino1b5ebe952017-04-07 05:35:302946const char kEnableEncryptionMigrationName[] =
2947 "Enable encryption migration of user data";
2948
2949const char kEnableEncryptionMigrationDescription[] =
2950 "If enabled and the device supports ARC, the user will be asked to update "
2951 "the encryption of user data when the user signs in.";
2952
vabr0215a8e2017-03-28 12:47:342953#endif // #if defined(OS_CHROMEOS)
2954
2955} // namespace flag_descriptions