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