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