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