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