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