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