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