blob: 68f4559e056ae457d2ac4af3bf1206253791b619 [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
403const char kUserConsentForExtensionScriptsName[] =
404 "User consent for extension scripts";
405
406const char kUserConsentForExtensionScriptsDescription[] =
407 "Require user consent for an extension running a script on the page, if "
408 "the extension requested permission to run on all urls.";
409
410const char kHistoryRequiresUserGestureName[] =
411 "New history entries require a user gesture.";
412
413const char kHistoryRequiresUserGestureDescription[] =
414 "Require a user gesture to add a history entry.";
415
416const char kHyperlinkAuditingName[] = "Hyperlink auditing";
417
418const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings.";
419
420#if defined(OS_ANDROID)
421
brettw5f9c1642017-05-14 17:12:48422const char kContextualSearchName[] = "Contextual Search";
vabr0215a8e2017-03-28 12:47:34423
424const char kContextualSearchDescription[] =
425 "Whether or not Contextual Search is enabled.";
426
427const char kContextualSearchContextualCardsBarIntegration[] =
428 "Contextual Search - Contextual Cards Integration";
429
430const char kContextualSearchContextualCardsBarIntegrationDescription[] =
431 "Whether or not integration of Contextual Cards data in the Contextual "
432 "Search Bar is enabled.";
433
brettw5f9c1642017-05-14 17:12:48434const char kContextualSearchSingleActionsName[] =
vabr0215a8e2017-03-28 12:47:34435 "Contextual Search - Single Actions";
436
437const char kContextualSearchSingleActionsDescription[] =
438 "Whether or not single actions using Contextual Cards data in the "
439 "Contextual Search Bar is enabled.";
440
brettw5f9c1642017-05-14 17:12:48441const char kContextualSearchUrlActionsName[] =
442 "Contextual Search - URL Actions";
vabr0215a8e2017-03-28 12:47:34443
444const char kContextualSearchUrlActionsDescription[] =
445 "Whether or not URL actions using Contextual Cards data in the "
446 "Contextual Search Bar is enabled.";
447
448#endif // defined(OS_ANDROID)
449
450const char kSmoothScrollingName[] = "Smooth Scrolling";
451
452const char kSmoothScrollingDescription[] =
453 "Animate smoothly when scrolling page content.";
454
455const char kOverlayScrollbarsName[] = "Overlay Scrollbars";
456
457const char kOverlayScrollbarsDescription[] =
458 "Enable the experimental overlay scrollbars implementation. You must "
459 "also enable threaded compositing to have the scrollbars animate.";
460
461const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions";
462
463const char kShowAutofillTypePredictionsDescription[] =
464 "Annotates web forms with Autofill field type predictions as "
465 "placeholder text.";
466
467const char kTcpFastOpenName[] = "TCP Fast Open";
468
469const char kTcpFastOpenDescription[] =
470 "Enable the option to send extra authentication information in the "
471 "initial SYN packet for a previously connected client, allowing faster "
472 "data send start.";
473
474const char kTouchDragDropName[] = "Touch initiated drag and drop";
475
476const char kTouchDragDropDescription[] =
477 "Touch drag and drop can be initiated through long press on a draggable "
478 "element.";
479
480const char kTouchSelectionStrategyName[] = "Touch text selection strategy";
481
482const char kTouchSelectionStrategyDescription[] =
483 "Controls how text selection granularity changes when touch text "
484 "selection handles are dragged. Non-default behavior is experimental.";
485
486const char kTouchSelectionStrategyCharacter[] = "Character";
487
488const char kTouchSelectionStrategyDirection[] = "Direction";
489
490const char kWalletServiceUseSandboxName[] =
491 "Use Google Payments sandbox servers";
492
493const char kWalletServiceUseSandboxDescription[] =
494 "For developers: use the sandbox service for Google Payments API "
495 "calls.";
496
497const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation";
498
499const char kOverscrollHistoryNavigationDescription[] =
500 "Experimental history navigation in response to horizontal overscroll.";
501
502const char kOverscrollHistoryNavigationSimpleUi[] = "Simple";
503
504const char kOverscrollStartThresholdName[] = "Overscroll start threshold";
505
506const char kOverscrollStartThresholdDescription[] =
507 "Changes overscroll start threshold relative to the default value.";
508
509const char kOverscrollStartThreshold133Percent[] = "133%";
510
511const char kOverscrollStartThreshold166Percent[] = "166%";
512
513const char kOverscrollStartThreshold200Percent[] = "200%";
514
515const char kScrollEndEffectName[] = "Scroll end effect";
516
517const char kScrollEndEffectDescription[] =
518 "Experimental scroll end effect in response to vertical overscroll.";
519
520const char kWebgl2Name[] = "WebGL 2.0";
521
522const char kWebgl2Description[] = "Allow web applications to access WebGL 2.0.";
523
524const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions";
525
526const char kWebglDraftExtensionsDescription[] =
527 "Enabling this option allows web applications to access the WebGL "
528 "Extensions that are still in draft status.";
529
530const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
531
532const char kWebrtcHwDecodingDescription[] =
533 "Support in WebRTC for decoding video streams using platform hardware.";
534
535const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
536
537const char kWebrtcHwEncodingDescription[] =
538 "Support in WebRTC for encoding video streams using platform hardware.";
539
540const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
541
542const char kWebrtcHwH264EncodingDescription[] =
543 "Support in WebRTC for encoding h264 video streams using platform "
544 "hardware.";
545
braveyao96c9b342017-04-25 18:23:19546const char kWebrtcHwVP8EncodingName[] = "WebRTC hardware vp8 video encoding";
547
548const char kWebrtcHwVP8EncodingDescription[] =
549 "Support in WebRTC for encoding vp8 video streams using platform "
550 "hardware.";
551
vabr0215a8e2017-03-28 12:47:34552const char kWebrtcSrtpAesGcmName[] =
553 "Negotiation with GCM cipher suites for SRTP in WebRTC";
554
555const char kWebrtcSrtpAesGcmDescription[] =
556 "When enabled, WebRTC will try to negotiate GCM cipher suites for "
557 "SRTP.";
558
559const char kWebrtcStunOriginName[] = "WebRTC Stun origin header";
560
561const char kWebrtcStunOriginDescription[] =
562 "When enabled, Stun messages generated by WebRTC will contain the "
563 "Origin header.";
564
565const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3.";
566
567const char kWebrtcEchoCanceller3Description[] =
568 "Experimental WebRTC echo canceller (AEC3).";
569
570#if defined(OS_ANDROID)
571
572const char kMediaScreenCaptureName[] = "Experimental ScreenCapture.";
573
574const char kMediaScreenCaptureDescription[] =
575 "Enable this option for experimental ScreenCapture feature on Android.";
576
577#endif // defined(OS_ANDROID)
578
579#if BUILDFLAG(ENABLE_WEBRTC)
580
581const char kWebrtcH264WithOpenh264FfmpegName[] =
582 "WebRTC H.264 software video encoder/decoder";
583
584const char kWebrtcH264WithOpenh264FfmpegDescription[] =
585 "When enabled, an H.264 software video encoder/decoder pair is "
586 "included. If a hardware encoder/decoder is also available it may be "
587 "used instead of this encoder/decoder.";
588
589#endif // BUILDFLAG(ENABLE_WEBRTC)
590
591const char kWebvrName[] = "WebVR";
592
593const char kWebvrDescription[] =
594 "Enabling this option allows web applications to access experimental "
595 "Virtual Reality APIs.";
596
mthiesse700b0b62017-05-19 01:37:31597#if BUILDFLAG(ENABLE_VR)
598
vabr0215a8e2017-03-28 12:47:34599const char kWebvrExperimentalRenderingName[] =
600 "WebVR experimental rendering optimizations";
601
602const char kWebvrExperimentalRenderingDescription[] =
603 "Enabling this option activates experimental rendering path "
604 "optimizations for WebVR.";
605
mthiesse700b0b62017-05-19 01:37:31606#endif // BUILDFLAG(ENABLE_VR)
607
vabr0215a8e2017-03-28 12:47:34608const char kGamepadExtensionsName[] = "Gamepad Extensions";
609
610const char kGamepadExtensionsDescription[] =
611 "Enabling this option allows web applications to access experimental "
612 "extensions to the Gamepad APIs.";
613
614#if defined(OS_ANDROID)
615
616const char kNewPhotoPickerName[] = "Enable new Photopicker";
617
618const char kNewPhotoPickerDescription[] =
619 "Activates the new picker for selecting photos.";
620
621#endif // defined(OS_ANDROID)
622
623#if defined(OS_ANDROID)
624
625const char kEnableOskOverscrollName[] = "Enable OSK Overscroll";
626
627const char kEnableOskOverscrollDescription[] =
628 "Enable OSK overscroll support. With this flag on, the OSK will only "
629 "resize the visual viewport.";
630
631#endif // defined(OS_ANDROID)
632
633const char kQuicName[] = "Experimental QUIC protocol";
634
635const char kQuicDescription[] = "Enable experimental QUIC protocol support.";
636
637const char kSslVersionMaxName[] = "Maximum TLS version enabled.";
638
639const char kSslVersionMaxDescription[] = "Set maximum enabled TLS version.";
640
641const char kSslVersionMaxTls12[] = "TLS 1.2";
642
643const char kSslVersionMaxTls13[] = "TLS 1.3";
644
645const char kEnableTokenBindingName[] = "Token Binding.";
646
647const char kEnableTokenBindingDescription[] = "Enable Token Binding support.";
648
vabr0215a8e2017-03-28 12:47:34649const char kPassiveDocumentEventListenersDescription[] =
650 "Forces touchstart, and touchmove event listeners on document level "
651 "targets (which haven't requested otherwise) to be treated as passive.";
652
653const char kPassiveDocumentEventListenersName[] =
654 "Document Level Event Listeners Passive Default";
655
656const char kPassiveEventListenersDueToFlingDescription[] =
657 "Forces touchstart, and first touchmove per scroll event listeners "
658 "during fling to be treated as passive.";
659
660const char kPassiveEventListenersDueToFlingName[] =
661 "Touch Event Listeners Passive Default During Fling";
662
663const char kPassiveEventListenerTrue[] = "True (when unspecified)";
664
665const char kPassiveEventListenerForceAllTrue[] = "Force All True";
666
667const char kPassiveEventListenerDefaultName[] =
668 "Passive Event Listener Override";
669
670const char kPassiveEventListenerDefaultDescription[] =
671 "Forces touchstart, touchmove, mousewheel and wheel event listeners "
672 "(which haven't requested otherwise) to be treated as passive. This "
673 "will break touch/wheel behavior on some websites but is useful for "
674 "demonstrating the potential performance benefits of adopting passive "
675 "event listeners.";
676
vabr0215a8e2017-03-28 12:47:34677const char kImportantSitesInCbdName[] =
678 "Important sites options in clear browsing data dialog";
679
680const char kImportantSitesInCbdDescription[] =
681 "Include the option to whitelist important sites in the clear browsing "
682 "data dialog.";
683
vabr0215a8e2017-03-28 12:47:34684#if defined(USE_ASH)
685
brettw81668cf2017-05-15 22:57:34686const char kAshShelfColorName[] = "Shelf color in Chrome OS system UI";
vabr0215a8e2017-03-28 12:47:34687
688const char kAshShelfColorDescription[] =
bruthigd8b95962017-03-31 19:38:34689 "Enables/disables the shelf color to be a derived from the wallpaper. The "
690 "--ash-shelf-color-scheme flag defines how that color is derived.";
vabr0215a8e2017-03-28 12:47:34691
bruthigd8b95962017-03-31 19:38:34692const char kAshShelfColorScheme[] = "Shelf color scheme in Chrome OS System UI";
vabr0215a8e2017-03-28 12:47:34693
bruthigd8b95962017-03-31 19:38:34694const char kAshShelfColorSchemeDescription[] =
695 "Specify how the color is derived from the wallpaper. This flag is only "
696 "used when the --ash-shelf-color flag is enabled. Defaults to Dark & Muted";
vabr0215a8e2017-03-28 12:47:34697
bruthigd8b95962017-03-31 19:38:34698const char kAshShelfColorSchemeLightVibrant[] = "Light & Vibrant";
vabr0215a8e2017-03-28 12:47:34699
bruthigd8b95962017-03-31 19:38:34700const char kAshShelfColorSchemeNormalVibrant[] = "Normal & Vibrant";
vabr0215a8e2017-03-28 12:47:34701
bruthigd8b95962017-03-31 19:38:34702const char kAshShelfColorSchemeDarkVibrant[] = "Dark & Vibrant";
vabr0215a8e2017-03-28 12:47:34703
bruthigd8b95962017-03-31 19:38:34704const char kAshShelfColorSchemeLightMuted[] = "Light & Muted";
705
706const char kAshShelfColorSchemeNormalMuted[] = "Normal & Muted";
707
708const char kAshShelfColorSchemeDarkMuted[] = "Dark & Muted";
vabr0215a8e2017-03-28 12:47:34709
vabr0215a8e2017-03-28 12:47:34710const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode.";
711
712const char kAshEnableMirroredScreenDescription[] =
713 "Enable the mirrored screen mode. This mode flips the screen image "
714 "horizontally.";
715
wutaob161bf22017-04-26 16:55:03716const char kAshDisableSmoothScreenRotationName[] =
717 "Disable smooth rotation animations.";
wutao2c0ca182017-04-06 22:40:54718
wutaob161bf22017-04-26 16:55:03719const char kAshDisableSmoothScreenRotationDescription[] =
720 "Disable smooth rotation animations.";
wutao2c0ca182017-04-06 22:40:54721
vabr0215a8e2017-03-28 12:47:34722const char kMaterialDesignInkDropAnimationFast[] = "Fast";
723
724const char kMaterialDesignInkDropAnimationSlow[] = "Slow";
725
726const char kMaterialDesignInkDropAnimationSpeedName[] =
727 "Material Design Ink Drop Animation Speed";
728
729const char kMaterialDesignInkDropAnimationSpeedDescription[] =
730 "Sets the speed of the experimental visual feedback animations for "
731 "material design.";
732
733const char kUiSlowAnimationsName[] = "Slow UI animations";
734
735const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow.";
736
reveman5be07ac82017-04-14 01:06:05737const char kUiShowCompositedLayerBordersName[] =
738 "Show UI composited layer borders";
739
740const char kUiShowCompositedLayerBordersDescription[] =
741 "Show border around composited layers created by UI.";
742
743const char kUiShowCompositedLayerBordersRenderPass[] = "RenderPass";
744
745const char kUiShowCompositedLayerBordersSurface[] = "Surface";
746
747const char kUiShowCompositedLayerBordersLayer[] = "Layer";
748
749const char kUiShowCompositedLayerBordersAll[] = "All";
750
vabr0215a8e2017-03-28 12:47:34751#endif // defined(USE_ASH)
752
753const char kJavascriptHarmonyShippingName[] =
754 "Latest stable JavaScript features";
755
756const char kJavascriptHarmonyShippingDescription[] =
757 "Some web pages use legacy or non-standard JavaScript extensions that "
758 "may conflict with the latest JavaScript features. This flag allows "
759 "disabling support of those features for compatibility with such "
760 "pages.";
761
762const char kJavascriptHarmonyName[] = "Experimental JavaScript";
763
764const char kJavascriptHarmonyDescription[] =
765 "Enable web pages to use experimental JavaScript features.";
766
vabr0215a8e2017-03-28 12:47:34767const char kV8DisableIgnitionTurboName[] =
rmcilroy124254af2017-03-29 14:30:55768 "Classic JavaScript Compilation Pipeline";
vabr0215a8e2017-03-28 12:47:34769
770const char kV8DisableIgnitionTurboDescription[] =
rmcilroy124254af2017-03-29 14:30:55771 "Enables V8's classic compilation pipeline for JavaScript execution "
772 "(disabling V8's new Ignition interpreter and TurboFan compiler)";
vabr0215a8e2017-03-28 12:47:34773
774const char kEnableAsmWasmName[] =
775 "Experimental Validate Asm.js and convert to WebAssembly when valid.";
776
777const char kEnableAsmWasmDescription[] =
778 R"*(Validate Asm.js when "use asm" is present and then convert to )*"
779 R"*(WebAssembly.)*";
780
781const char kEnableSharedArrayBufferName[] =
782 "Experimental enabled SharedArrayBuffer support in JavaScript.";
783
784const char kEnableSharedArrayBufferDescription[] =
785 "Enable SharedArrayBuffer support in JavaScript.";
786
787const char kEnableWasmName[] = "WebAssembly structured cloning support.";
vabr0215a8e2017-03-28 12:47:34788const char kEnableWasmDescription[] =
789 "Enable web pages to use WebAssembly structured cloning.";
790
mtrofinc8717b52017-04-19 14:27:22791const char kEnableWasmStreamingName[] =
792 "WebAssembly streaming compile/instantiate support.";
793const char kEnableWasmStreamingDescription[] =
794 "WebAssembly.{compile|instantiate} taking a Response as parameter.";
795
vabr0215a8e2017-03-28 12:47:34796#if defined(OS_ANDROID)
797
798const char kMediaDocumentDownloadButtonName[] =
799 "Download button when opening a page with media url.";
800
801const char kMediaDocumentDownloadButtonDescription[] =
802 "Allow a download button to show up when opening a page with media "
803 "url.";
804
805#endif // defined(OS_ANDROID)
806
807const char kSoftwareRasterizerName[] = "3D software rasterizer";
808
809const char kSoftwareRasterizerDescription[] =
810 "Fall back to a 3D software rasterizer when the GPU cannot be used.";
811
812const char kGpuRasterizationName[] = "GPU rasterization";
813
814const char kGpuRasterizationDescription[] =
815 "Use GPU to rasterize web content. Requires impl-side painting.";
816
817const char kForceGpuRasterization[] = "Force-enabled for all layers";
818
819const char kGpuRasterizationMsaaSampleCountName[] =
820 "GPU rasterization MSAA sample count.";
821
822const char kGpuRasterizationMsaaSampleCountDescription[] =
823 "Specify the number of MSAA samples for GPU rasterization.";
824
825const char kGpuRasterizationMsaaSampleCountZero[] = "0";
826
827const char kGpuRasterizationMsaaSampleCountTwo[] = "2";
828
829const char kGpuRasterizationMsaaSampleCountFour[] = "4";
830
831const char kGpuRasterizationMsaaSampleCountEight[] = "8";
832
833const char kGpuRasterizationMsaaSampleCountSixteen[] = "16";
834
835const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation.";
836
837const char kSlimmingPaintInvalidationDescription[] =
838 "Whether to enable a new paint invalidation system.";
839
840const char kExperimentalSecurityFeaturesName[] =
841 "Potentially annoying security features";
842
843const char kExperimentalSecurityFeaturesDescription[] =
844 "Enables several security features that will likely break one or more "
845 "pages that you visit on a daily basis. Strict mixed content checking, "
846 "for example. And locking powerful features to secure contexts. This "
847 "flag will probably annoy you.";
848
849const char kExperimentalWebPlatformFeaturesName[] =
850 "Experimental Web Platform features";
851
852const char kExperimentalWebPlatformFeaturesDescription[] =
853 "Enables experimental Web Platform features that are in development.";
854
855const char kExperimentalPointerEventName[] = "Pointer Events";
856
857const char kExperimentalPointerEventDescription[] =
858 "Enables support for the Pointer Events API. This is intended only for "
859 "testing by web developers.";
860
861const char kOriginTrialsName[] = "Origin Trials";
862
863const char kOriginTrialsDescription[] =
864 "Enables origin trials for controlling access to feature/API "
865 "experiments.";
866
867const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps";
868
869const char kBleAdvertisingInExtensionsDescription[] =
870 "Enables BLE Advertising in Chrome Apps. BLE Advertising might "
871 "interfere with regular use of Bluetooth Low Energy features.";
872
873const char kDevtoolsExperimentsName[] = "Developer Tools experiments";
874
875const char kDevtoolsExperimentsDescription[] =
876 "Enables Developer Tools experiments. Use Settings panel in Developer "
877 "Tools to toggle individual experiments.";
878
879const char kSilentDebuggerExtensionApiName[] = "Silent Debugging";
880
881const char kSilentDebuggerExtensionApiDescription[] =
882 "Do not show the infobar when an extension attaches to a page via "
883 "chrome.debugger API. This is required to debug extension background "
884 "pages.";
885
886const char kShowTouchHudName[] = "Show HUD for touch points";
887
888const char kShowTouchHudDescription[] =
889 "Enables a heads-up display at the top-left corner of the screen that "
890 "lists information about the touch-points on the screen.";
891
892const char kPreferHtmlOverPluginsName[] = "Prefer HTML over Flash";
893
894const char kPreferHtmlOverPluginsDescription[] =
895 "Prefer HTML content by hiding Flash from the list of plugins.";
896
897const char kAllowNaclSocketApiName[] = "NaCl Socket API.";
898
899const char kAllowNaclSocketApiDescription[] =
900 "Allows applications to use NaCl Socket API. Use only to test NaCl "
901 "plugins.";
902
903const char kRunAllFlashInAllowModeName[] =
904 R"*(Run all Flash content when Flash setting is set to "allow")*";
905
906const char kRunAllFlashInAllowModeDescription[] =
907 R"*(For sites that have been set to "allow" Flash content, run all )*"
908 R"*(content including any that has been deemed unimportant.)*";
909
910const char kPinchScaleName[] = "Pinch scale";
911
912const char kPinchScaleDescription[] =
913 "Enables experimental support for scale using pinch.";
914
vabr0215a8e2017-03-28 12:47:34915const char kReducedReferrerGranularityName[] =
916 "Reduce default 'referer' header granularity.";
917
918const char kReducedReferrerGranularityDescription[] =
919 "If a page hasn't set an explicit referrer policy, setting this flag "
920 "will reduce the amount of information in the 'referer' header for "
921 "cross-origin requests.";
922
923#if defined(OS_CHROMEOS)
924
sky527bea52017-05-15 19:15:14925const char kUseMusDescription[] = "Enable the Mojo UI service.";
vabr0215a8e2017-03-28 12:47:34926
sky527bea52017-05-15 19:15:14927const char kUseMusName[] = "Mus";
928
929const char kEnableMashDescription[] =
930 "Mash (UI, Chrome and ash in separate services)";
931
932const char kEnableMusDescription[] =
933 "Mus (UI in separate service, Chrome and ash in same service)";
vabr0215a8e2017-03-28 12:47:34934
935const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
936
937const char kAllowTouchpadThreeFingerClickDescription[] =
938 "Enables touchpad three-finger-click as middle button.";
939
940const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode";
941
942const char kAshEnableUnifiedDesktopDescription[] =
943 "Enable unified desktop mode which allows a window to span multiple "
944 "displays.";
945
brettw5f9c1642017-05-14 17:12:48946const char kBootAnimationName[] = "Boot animation";
vabr0215a8e2017-03-28 12:47:34947
948const char kBootAnimationDescription[] =
949 "Wallpaper boot animation (except for OOBE case).";
950
hansberryc147785f2017-05-02 23:36:27951const char kTetherName[] = "Instant Tethering";
952
953const char kTetherDescription[] =
954 "Enables Instant Tethering. Instant Tethering allows your nearby Google "
955 "phone to share its Internet connection with this device.";
956
vabr0215a8e2017-03-28 12:47:34957#endif // defined(OS_CHROMEOS)
958
959const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode";
960
961const char kAcceleratedVideoDecodeDescription[] =
962 "Hardware-accelerated video decode where available.";
963
hubbee7499512017-04-05 22:35:04964const char kEnableHDRName[] = "HDR mode";
965
966const char kEnableHDRDescription[] =
967 "Enables HDR support on compatible displays.";
968
brettw5f9c1642017-05-14 17:12:48969const char kCloudImportName[] = "Cloud Import";
vabr0215a8e2017-03-28 12:47:34970
971const char kCloudImportDescription[] = "Allows the cloud-import feature.";
972
973const char kRequestTabletSiteName[] =
974 "Request tablet site option in the settings menu";
975
976const char kRequestTabletSiteDescription[] =
977 "Allows the user to request tablet site. Web content is often optimized "
978 "for tablet devices. When this option is selected the user agent string "
979 "is changed to indicate a tablet device. Web content optimized for "
980 "tablets is received there after for the current tab.";
981
982const char kDebugPackedAppName[] = "Debugging for packed apps";
983
984const char kDebugPackedAppDescription[] =
985 "Enables debugging context menu options such as Inspect Element for "
986 "packed applications.";
987
988const char kDropSyncCredentialName[] =
989 "Drop sync credentials from password manager";
990
991const char kDropSyncCredentialDescription[] =
992 "The password manager will not offer to save the credential used to "
993 "sync.";
994
995const char kPasswordGenerationName[] = "Password generation";
996
997const char kPasswordGenerationDescription[] =
998 "Allow the user to have Chrome generate passwords when it detects "
999 "account creation pages.";
1000
1001const char kPasswordForceSavingName[] = "Force-saving of passwords";
1002
1003const char kPasswordForceSavingDescription[] =
1004 "Allow the user to manually enforce password saving instead of relying "
1005 "on password manager's heuristics.";
1006
1007const char kManualPasswordGenerationName[] = "Manual password generation.";
1008
1009const char kManualPasswordGenerationDescription[] =
1010 "Show a 'Generate Password' option on the context menu for all password "
1011 "fields.";
1012
brettw5f9c1642017-05-14 17:12:481013const char kShowAutofillSignaturesName[] = "Show autofill signatures.";
vabr0215a8e2017-03-28 12:47:341014
1015const char kShowAutofillSignaturesDescription[] =
1016 "Annotates web forms with Autofill signatures as HTML attributes.";
1017
1018const char kSuggestionsWithSubStringMatchName[] =
1019 "Substring matching for Autofill suggestions";
1020
1021const char kSuggestionsWithSubStringMatchDescription[] =
1022 "Match Autofill suggestions based on substrings (token prefixes) rather "
1023 "than just prefixes.";
1024
1025const char kAffiliationBasedMatchingName[] =
1026 "Affiliation based matching in password manager";
1027
1028const char kAffiliationBasedMatchingDescription[] =
1029 "Allow credentials stored for Android applications to be filled into "
1030 "corresponding websites.";
1031
1032const char kProtectSyncCredentialName[] = "Autofill sync credential";
1033
1034const char kProtectSyncCredentialDescription[] =
1035 "How the password manager handles autofill for the sync credential.";
1036
1037const char kPasswordImportExportName[] = "Password import and export";
1038
1039const char kPasswordImportExportDescription[] =
1040 "Import and Export functionality in password settings.";
1041
1042const char kProtectSyncCredentialOnReauthName[] =
1043 "Autofill sync credential only for transactional reauth pages";
1044
1045const char kProtectSyncCredentialOnReauthDescription[] =
1046 "How the password manager handles autofill for the sync credential only "
1047 "for transactional reauth pages.";
1048
1049const char kIconNtpName[] = "Large icons on the New Tab page";
1050
1051const char kIconNtpDescription[] =
1052 "Enable the experimental New Tab page using large icons.";
1053
1054const char kPushApiBackgroundModeName[] = "Enable Push API background mode";
1055
1056const char kPushApiBackgroundModeDescription[] =
1057 "Enable background mode for the Push API. This allows Chrome to "
1058 "continue running after the last window is closed, and to launch at OS "
1059 "startup, if the Push API needs it.";
1060
brettw5f9c1642017-05-14 17:12:481061const char kEnableNavigationTracingName[] = "Enable navigation tracing";
vabr0215a8e2017-03-28 12:47:341062
1063const char kEnableNavigationTracingDescription[] =
1064 "This is to be used in conjunction with the trace-upload-url flag. "
1065 "WARNING: When enabled, Chrome will record performance data for every "
1066 "navigation and upload it to the URL specified by the trace-upload-url "
1067 "flag. The trace may include personally identifiable information (PII) "
1068 "such as the titles and URLs of websites you visit.";
1069
brettw5f9c1642017-05-14 17:12:481070const char kTraceUploadUrlName[] = "Trace label for navigation tracing";
vabr0215a8e2017-03-28 12:47:341071
1072const char kTraceUploadUrlDescription[] =
1073 "This is to be used in conjunction with the enable-navigation-tracing "
1074 "flag. Please select the label that best describes the recorded traces. "
1075 "This will choose the destination the traces are uploaded to. If you "
1076 "are not sure, select other. If left empty, no traces will be "
1077 "uploaded.";
1078
brettw5f9c1642017-05-14 17:12:481079const char kDisableAudioForDesktopShareName[] =
1080 "Disable Audio For Desktop Share";
vabr0215a8e2017-03-28 12:47:341081
1082const char kDisableAudioForDesktopShareDescription[] =
1083 "With this flag on, desktop share picker window will not let the user "
1084 "choose whether to share audio.";
1085
brettw5f9c1642017-05-14 17:12:481086const char kDisableTabForDesktopShareName[] =
vabr0215a8e2017-03-28 12:47:341087 "Disable Desktop Share with tab source";
1088
1089const char kDisableTabForDesktopShareDescription[] =
1090 "This flag controls whether users can choose a tab for desktop share.";
1091
1092const char kTraceUploadUrlChoiceOther[] = "Other";
1093
1094const char kTraceUploadUrlChoiceEmloading[] = "emloading";
1095
1096const char kTraceUploadUrlChoiceQa[] = "QA";
1097
1098const char kTraceUploadUrlChoiceTesting[] = "Testing";
1099
1100const char kSupervisedUserManagedBookmarksFolderName[] =
1101 "Managed bookmarks for supervised users";
1102
1103const char kSupervisedUserManagedBookmarksFolderDescription[] =
1104 "Enable the managed bookmarks folder for supervised users.";
1105
1106const char kSyncAppListName[] = "App Launcher sync";
1107
1108const char kSyncAppListDescription[] =
1109 "Enable App Launcher sync. This also enables Folders where available "
1110 "(non OSX).";
1111
brettw5f9c1642017-05-14 17:12:481112const char kDriveSearchInChromeLauncherName[] =
vabr0215a8e2017-03-28 12:47:341113 "Drive Search in Chrome App Launcher";
1114
1115const char kDriveSearchInChromeLauncherDescription[] =
1116 "Files from Drive will show up when searching the Chrome App Launcher.";
1117
1118const char kV8CacheOptionsName[] = "V8 caching mode.";
1119
1120const char kV8CacheOptionsDescription[] =
1121 "Caching mode for the V8 JavaScript engine.";
1122
1123const char kV8CacheOptionsParse[] = "Cache V8 parser data.";
1124
1125const char kV8CacheOptionsCode[] = "Cache V8 compiler data.";
1126
1127const char kV8CacheStrategiesForCacheStorageName[] =
1128 "V8 caching strategy for CacheStorage.";
1129
1130const char kV8CacheStrategiesForCacheStorageDescription[] =
1131 "Caching strategy of scripts in CacheStorage for the V8 JavaScript "
1132 "engine.";
1133
1134const char kV8CacheStrategiesForCacheStorageNormal[] = "Normal";
1135
1136const char kV8CacheStrategiesForCacheStorageAggressive[] = "Aggressive";
1137
vabr0215a8e2017-03-28 12:47:341138const char kMemoryCoordinatorName[] = "Memory coordinator";
1139
1140const char kMemoryCoordinatorDescription[] =
1141 "Enable memory coordinator instead of memory pressure listeners.";
1142
1143const char kServiceWorkerNavigationPreloadName[] =
1144 "Service worker navigation preload.";
1145
1146const char kServiceWorkerNavigationPreloadDescription[] =
1147 "Enable web pages to use the experimental service worker navigation "
1148 "preload API.";
1149
vabr0215a8e2017-03-28 12:47:341150// Data Reduction Proxy
1151
1152const char kDataReductionProxyLoFiName[] = "Data Saver Lo-Fi mode";
1153
1154const char kDataReductionProxyLoFiDescription[] =
1155 "Forces Data Saver Lo-Fi mode to be always enabled, enabled only on "
1156 "cellular connections, or disabled. Data Saver must be enabled for "
1157 "Lo-Fi mode to be used.";
1158
1159const char kDataReductionProxyLoFiAlwaysOn[] = "Always on";
1160
1161const char kDataReductionProxyLoFiCellularOnly[] = "Cellular only";
1162
1163const char kDataReductionProxyLoFiDisabled[] = "Disable";
1164
1165const char kDataReductionProxyLoFiSlowConnectionsOnly[] =
1166 "Slow connections only";
1167
1168const char kEnableDataReductionProxyLitePageName[] =
1169 "Lite pages for Data Saver Lo-Fi mode";
1170
1171const char kEnableDataReductionProxyLitePageDescription[] =
1172 "Enable lite pages in Data Saver Lo-Fi mode. Previews of pages will be "
1173 "shown instead of image placeholders when Lo-Fi is on. Data Saver and "
1174 "Lo-Fi must be enabled for lite pages to be shown.";
1175
1176const char kDataReductionProxyCarrierTestName[] =
1177 "Enable a carrier-specific Data Reduction Proxy for testing.";
1178
1179const char kDataReductionProxyCarrierTestDescription[] =
1180 "Use a carrier-specific Data Reduction Proxy for testing.";
1181
1182const char kEnableDataReductionProxySavingsPromoName[] =
1183 "Data Saver 1 MB Savings Promo";
1184
1185const char kEnableDataReductionProxySavingsPromoDescription[] =
1186 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has "
1187 "already saved 1 MB of data, then the promo will not be shown. Data "
1188 "Saver must be enabled for the promo to be shown.";
1189
megjablon553df4cf2017-04-01 01:29:551190#if defined(OS_ANDROID)
1191
1192const char kEnableDataReductionProxyMainMenuName[] =
megjablonacb36d12017-04-21 00:09:291193 "Enable Data Saver main menu footer";
megjablon553df4cf2017-04-01 01:29:551194
1195const char kEnableDataReductionProxyMainMenuDescription[] =
megjablonacb36d12017-04-21 00:09:291196 "Enables the Data Saver footer in the main menu";
megjablon553df4cf2017-04-01 01:29:551197
megjablon5e5d1c172017-04-06 23:55:111198const char kEnableDataReductionProxySiteBreakdownName[] =
1199 "Data Saver Site Breakdown";
1200
1201const char kEnableDataReductionProxySiteBreakdownDescription[] =
1202 "Enable the site breakdown on the Data Saver settings page.";
1203
ryansturm28839dee2017-05-05 17:34:271204const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1205
1206const char kEnableOfflinePreviewsDescription[] =
1207 "Enable showing offline page previews on slow networks.";
1208
ryansturmfaf92142017-05-11 19:07:471209const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
1210
1211const char kEnableClientLoFiDescription[] =
1212 "Enable showing low fidelity images on some pages on slow networks.";
1213
megjablon553df4cf2017-04-01 01:29:551214#endif // defined(OS_ANDROID)
1215
vabr0215a8e2017-03-28 12:47:341216const char kLcdTextName[] = "LCD text antialiasing";
1217
1218const char kLcdTextDescription[] =
1219 "If disabled, text is rendered with grayscale antialiasing instead of "
1220 "LCD (subpixel) when doing accelerated compositing.";
1221
1222const char kDistanceFieldTextName[] = "Distance field text";
1223
1224const char kDistanceFieldTextDescription[] =
1225 "Text is rendered with signed distance fields rather than bitmap alpha "
1226 "masks.";
1227
1228const char kZeroCopyName[] = "Zero-copy rasterizer";
1229
1230const char kZeroCopyDescription[] =
1231 "Raster threads write directly to GPU memory associated with tiles.";
1232
1233const char kHideInactiveStackedTabCloseButtonsName[] =
1234 "Hiding close buttons on inactive tabs when stacked";
1235
1236const char kHideInactiveStackedTabCloseButtonsDescription[] =
1237 "Hides the close buttons of inactive tabs when the tabstrip is in "
1238 "stacked mode.";
1239
1240const char kDefaultTileWidthName[] = "Default tile width";
1241
1242const char kDefaultTileWidthDescription[] = "Specify the default tile width.";
1243
1244const char kDefaultTileWidthShort[] = "128";
1245
1246const char kDefaultTileWidthTall[] = "256";
1247
1248const char kDefaultTileWidthGrande[] = "512";
1249
1250const char kDefaultTileWidthVenti[] = "1024";
1251
1252const char kDefaultTileHeightName[] = "Default tile height";
1253
1254const char kDefaultTileHeightDescription[] = "Specify the default tile height.";
1255
1256const char kDefaultTileHeightShort[] = "128";
1257
1258const char kDefaultTileHeightTall[] = "256";
1259
1260const char kDefaultTileHeightGrande[] = "512";
1261
1262const char kDefaultTileHeightVenti[] = "1024";
1263
1264const char kNumRasterThreadsName[] = "Number of raster threads";
1265
1266const char kNumRasterThreadsDescription[] =
1267 "Specify the number of raster threads.";
1268
1269const char kNumRasterThreadsOne[] = "1";
1270
1271const char kNumRasterThreadsTwo[] = "2";
1272
1273const char kNumRasterThreadsThree[] = "3";
1274
1275const char kNumRasterThreadsFour[] = "4";
1276
1277const char kResetAppListInstallStateName[] =
1278 "Reset the App Launcher install state on every restart.";
1279
1280const char kResetAppListInstallStateDescription[] =
1281 "Reset the App Launcher install state on every restart. While this flag "
1282 "is set, Chrome will forget the launcher has been installed each time "
1283 "it starts. This is used for testing the App Launcher install flow.";
1284
1285#if defined(OS_CHROMEOS)
1286
1287const char kFirstRunUiTransitionsName[] =
1288 "Animated transitions in the first-run tutorial";
1289
1290const char kFirstRunUiTransitionsDescription[] =
1291 "Transitions during first-run tutorial are animated.";
1292
1293#endif // defined(OS_CHROMEOS)
1294
1295const char kNewBookmarkAppsName[] = "The new bookmark app system";
1296
1297const char kNewBookmarkAppsDescription[] =
1298 "Enables the new system for creating bookmark apps.";
1299
1300#if defined(OS_MACOSX)
1301
1302const char kHostedAppsInWindowsName[] =
1303 "Allow hosted apps to be opened in windows";
1304
1305const char kHostedAppsInWindowsDescription[] =
1306 "Allows hosted apps to be opened in windows instead of being limited to "
1307 "tabs.";
1308
1309const char kTabDetachingInFullscreenName[] =
1310 "Allow tab detaching in fullscreen";
1311
1312const char kTabDetachingInFullscreenDescription[] =
1313 "Allow tabs to detach from the tabstrip when in fullscreen mode on "
1314 "Mac.";
1315
1316const char kFullscreenToolbarRevealName[] =
1317 "Enables the toolbar in fullscreen to reveal itself.";
1318
1319const char kFullscreenToolbarRevealDescription[] =
1320 "Reveal the toolbar in fullscreen for a short period when the tab strip "
1321 "has changed.";
1322
1323const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus";
1324
1325const char kTabStripKeyboardFocusDescription[] =
1326 "Enable keyboard focus for the tabs in the tab strip.";
1327
1328#endif // defined(OS_MACOSX)
1329
1330const char kHostedAppShimCreationName[] =
1331 "Creation of app shims for hosted apps on Mac";
1332
1333const char kHostedAppShimCreationDescription[] =
1334 "Create app shims on Mac when creating a hosted app.";
1335
1336const char kHostedAppQuitNotificationName[] =
1337 "Quit notification for hosted apps";
1338
1339const char kHostedAppQuitNotificationDescription[] =
1340 "Display a notification when quitting Chrome if hosted apps are "
1341 "currently running.";
1342
1343#if defined(OS_ANDROID)
1344
1345const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
1346
1347const char kPullToRefreshEffectDescription[] =
1348 "Page reloads triggered by vertically overscrolling content.";
1349
googleobc47e0b2017-05-05 05:11:121350const char kTranslateCompactUIName[] = "New Translate Infobar";
1351
1352const char kTranslateCompactUIDescription[] =
1353 "Enable the new Translate compact infobar UI.";
1354
vabr0215a8e2017-03-28 12:47:341355#endif // defined(OS_ANDROID)
1356
1357#if defined(OS_MACOSX)
1358
1359const char kTranslateNewUxName[] = "New Translate UX";
1360
1361const char kTranslateNewUxDescription[] =
1362 "Enable the new Translate bubble UX is offered instead of the infobar.";
1363
1364#endif // defined(OS_MACOSX)
1365
1366const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
1367
1368const char kTranslate2016q2UiDescription[] =
1369 "Improved triggering logic and look for Translate Bubble UI";
1370
1371const char kTranslateLanguageByUlpName[] = "Translate Language by ULP";
1372
1373const char kTranslateLanguageByUlpDescription[] =
1374 "Improved translate target language and triggering logic by considering "
1375 "information from User Language Profile (ULP).";
1376
1377const char kViewsRectBasedTargetingName[] = "Rect-based targeting in views";
1378
1379const char kViewsRectBasedTargetingDescription[] =
1380 "Rect-based targeting uses a heuristic to determine the most probable "
1381 "target of a gesture, where the touch region is represented by a "
1382 "rectangle.";
1383
1384const char kPermissionActionReportingName[] = "Permission Action Reporting";
1385
1386const char kPermissionActionReportingDescription[] =
1387 "Enables permission action reporting to Safe Browsing servers for opted "
1388 "in users.";
1389
1390const char kPermissionsBlacklistName[] = "Permissions Blacklist";
1391
1392const char kPermissionsBlacklistDescription[] =
1393 "Enables the Permissions Blacklist, which blocks permissions for "
1394 "blacklisted sites for Safe Browsing users.";
1395
1396const char kThreadedScrollingName[] = "Threaded scrolling";
1397
1398const char kThreadedScrollingDescription[] =
1399 "Threaded handling of scroll-related input events. Disabling this will "
1400 "force all such scroll events to be handled on the main thread. Note "
1401 "that this can dramatically hurt scrolling performance of most websites "
1402 "and is intended for testing purposes only.";
1403
1404const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text";
1405
1406const char kHarfbuzzRendertextDescription[] =
1407 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't "
1408 "affect web content.";
1409
1410const char kEmbeddedExtensionOptionsName[] = "Embedded extension options";
1411
1412const char kEmbeddedExtensionOptionsDescription[] =
1413 "Display extension options as an embedded element in "
1414 "chrome://extensions rather than opening a new tab.";
1415
1416const char kTabAudioMutingName[] = "Tab audio muting UI control";
1417
1418const char kTabAudioMutingDescription[] =
1419 "When enabled, the audio indicators in the tab strip double as tab "
1420 "audio mute controls. This also adds commands in the tab context menu "
1421 "for quickly muting multiple selected tabs.";
1422
1423const char kEasyUnlockBluetoothLowEnergyDiscoveryName[] =
1424 "Smart Lock Bluetooth Low Energy Discovery";
1425
1426const char kEasyUnlockBluetoothLowEnergyDiscoveryDescription[] =
1427 "Enables a Smart Lock setting that allows Chromebook to discover phones "
1428 "over Bluetooth Low Energy in order to unlock the Chromebook when the "
1429 "phone is in its proximity.";
1430
1431const char kEasyUnlockProximityDetectionName[] =
1432 "Smart Lock proximity detection";
1433
1434const char kEasyUnlockProximityDetectionDescription[] =
1435 "Enables a Smart Lock setting that restricts unlocking to only work "
1436 "when your phone is very close to (roughly, within an arm's length of) "
1437 "the Chrome device.";
1438
1439const char kWifiCredentialSyncName[] = "WiFi credential sync";
1440
1441const char kWifiCredentialSyncDescription[] =
1442 "Enables synchronizing WiFi network settings across devices. When "
1443 "enabled, the WiFi credential datatype is registered with Chrome Sync, "
1444 "and WiFi credentials are synchronized subject to user preferences. "
1445 "(See also, chrome://settings/syncSetup.)";
1446
1447const char kSyncSandboxName[] = "Use Chrome Sync sandbox";
1448
1449const char kSyncSandboxDescription[] =
1450 "Connects to the testing server for Chrome Sync.";
1451
1452const char kDatasaverPromptName[] = "Cellular Data Saver Prompt";
1453
1454const char kDatasaverPromptDescription[] =
1455 "Enables a prompt, which appears when a cellular network connection is "
1456 "detected, to take the user to the Data Saver extension page on Chrome "
1457 "Web Store.";
1458
1459const char kDatasaverPromptDemoMode[] = "Demo mode";
1460
vabr0215a8e2017-03-28 12:47:341461const char kTrySupportedChannelLayoutsName[] =
1462 "Causes audio output streams to check if channel layouts other than the "
1463 "default hardware layout are available.";
1464
1465const char kTrySupportedChannelLayoutsDescription[] =
1466 "Causes audio output streams to check if channel layouts other than the "
1467 "default hardware layout are available. Turning this on will allow the "
1468 "OS to do stereo to surround expansion if supported. May expose third "
1469 "party driver bugs, use with caution.";
1470
1471#if defined(OS_MACOSX)
1472
1473const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog.";
1474
1475const char kAppInfoDialogDescription[] =
1476 "Makes the Toolkit-Views based App Info dialog accessible from "
1477 "chrome://apps or chrome://extensions in place of the native extension "
1478 "permissions dialog, or the details link (which is a link to the Web "
1479 "Store).";
1480
1481const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows.";
1482
1483const char kMacViewsNativeAppWindowsDescription[] =
1484 "Controls whether to use Toolkit-Views based Chrome App windows.";
1485
1486const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager.";
1487
1488const char kMacViewsTaskManagerDescription[] =
1489 "Controls whether to use the Toolkit-Views based Task Manager.";
1490
1491const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps.";
1492
1493const char kAppWindowCyclingDescription[] =
1494 "Changes the behavior of Cmd+` when a Chrome App becomes active. When "
1495 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a "
1496 "browser window, and browser windows will not be cycled when a Chrome "
1497 "App is active.";
1498
1499#endif // defined(OS_MACOSX)
1500
1501#if defined(OS_CHROMEOS)
1502
1503const char kAcceleratedMjpegDecodeName[] =
1504 "Hardware-accelerated mjpeg decode for captured frame";
1505
1506const char kAcceleratedMjpegDecodeDescription[] =
1507 "Enable hardware-accelerated mjpeg decode for captured frame where "
1508 "available.";
1509
1510#endif // defined(OS_CHROMEOS)
1511
1512const char kSimplifiedFullscreenUiName[] =
1513 "Simplified full screen / mouse lock UI.";
1514
1515const char kSimplifiedFullscreenUiDescription[] =
1516 "A simplified new user experience when entering page-triggered full "
1517 "screen or mouse pointer lock states.";
1518
1519const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI.";
1520
1521const char kExperimentalKeyboardLockUiDescription[] =
1522 "An experimental full screen with keyboard lock mode requiring users to "
1523 "hold Esc to exit.";
1524
1525#if defined(OS_ANDROID)
1526
1527const char kProgressBarAnimationName[] =
1528 "Android phone page loading progress bar animation";
1529
1530const char kProgressBarAnimationDescription[] =
1531 "Configures Android phone page loading progress bar animation.";
1532
1533const char kProgressBarAnimationLinear[] = "Linear";
1534
1535const char kProgressBarAnimationSmooth[] = "Smooth";
1536
1537const char kProgressBarAnimationSmoothIndeterminate[] = "Smooth indeterminate";
1538
1539const char kProgressBarAnimationFastStart[] = "Fast start";
1540
1541const char kProgressBarCompletionName[] =
1542 "Android phone page load progress bar completion time.";
1543
1544const char kProgressBarCompletionDescription[] =
1545 "Configures Android phone page loading progress bar completion time.";
1546
1547const char kProgressBarCompletionLoadEvent[] =
1548 R"*(Top loading frame's onload event ("everything" is done in the )*"
1549 R"*(page, historical behavior).)*";
1550
1551const char kProgressBarCompletionResourcesBeforeDcl[] =
1552 "Main frame's domContentLoaded and all resources loads started before "
1553 "domContentLoaded (iframes ignored).";
1554
1555const char kProgressBarCompletionDomContentLoaded[] =
1556 "Main frame's domContentLoaded (iframes ignored).";
1557
1558const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] =
1559 "domContentLoaded and all resources loads started before "
1560 "domContentLoaded (main frame and same origin iframes).";
1561
1562#endif // defined(OS_ANDROID)
1563
1564const char kDisallowDocWrittenScriptsUiName[] =
1565 "Block scripts loaded via document.write";
1566
1567const char kDisallowDocWrittenScriptsUiDescription[] =
1568 "Disallows fetches for third-party parser-blocking scripts inserted "
1569 "into the main frame via document.write.";
1570
1571#if defined(OS_WIN)
1572
1573const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown.";
1574
1575const char kEnableAppcontainerDescription[] =
1576 "Enables the use of an AppContainer on sandboxed processes to improve "
1577 "security.";
1578
1579#endif // defined(OS_WIN)
1580
elawrenced9978fc2017-05-02 02:45:191581#if defined(TOOLKIT_VIEWS) || (defined(OS_MACOSX) && !defined(OS_IOS))
1582
1583const char kShowCertLinkOnPageInfoName[] = "Show certificate link";
1584
1585const char kShowCertLinkOnPageInfoDescription[] =
1586 "Add a link from the Page Info bubble to the certificate viewer for HTTPS "
1587 "sites.";
1588
1589#endif // defined(TOOLKIT_VIEWS) || (defined(OS_MACOSX) && !defined(OS_IOS))
1590
vabr0215a8e2017-03-28 12:47:341591#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
1592
1593const char kAutofillCreditCardUploadName[] =
1594 "Enable offering upload of Autofilled credit cards";
1595
1596const char kAutofillCreditCardUploadDescription[] =
1597 "Enables a new option to upload credit cards to Google Payments for "
1598 "sync to all Chrome devices.";
1599
1600#endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
1601
1602const char kForceUiDirectionName[] = "Force UI direction";
1603
1604const char kForceUiDirectionDescription[] =
1605 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
1606 "mode, overriding the default direction of the UI language.";
1607
krb6822b602017-05-02 14:53:211608const char kForceTextDirectionName[] = "Force text direction";
vabr0215a8e2017-03-28 12:47:341609
krb6822b602017-05-02 14:53:211610const char kForceTextDirectionDescription[] =
1611 "Explicitly force the per-character directionality of UI text to "
1612 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the "
1613 "default direction of the character language.";
1614
1615const char kForceDirectionLtr[] = "Left-to-right";
1616
1617const char kForceDirectionRtl[] = "Right-to-left";
vabr0215a8e2017-03-28 12:47:341618
1619#if defined(OS_WIN) || defined(OS_LINUX)
1620
1621const char kEnableInputImeApiName[] = "Enable Input IME API";
1622
1623const char kEnableInputImeApiDescription[] =
1624 "Enable the use of chrome.input.ime API.";
1625
1626#endif // defined(OS_WIN) || defined(OS_LINUX)
1627
1628const char kEnableGroupedHistoryName[] = "Group history by domain";
1629
1630const char kEnableGroupedHistoryDescription[] =
1631 "Group history by website domain (i.e. google.com) on "
1632 "chrome://history.";
1633
vabr0215a8e2017-03-28 12:47:341634const char kSaveasMenuLabelExperimentName[] =
1635 "Switch 'Save as' menu labels to 'Download'";
1636
1637const char kSaveasMenuLabelExperimentDescription[] =
1638 "Enables an experiment to switch menu labels that use 'Save as...' to "
1639 "'Download'.";
1640
1641const char kEnableEnumeratingAudioDevicesName[] =
1642 "Experimentally enable enumerating audio devices.";
1643
1644const char kEnableEnumeratingAudioDevicesDescription[] =
1645 "Experimentally enable the use of enumerating audio devices.";
1646
1647const char kNewUsbBackendName[] = "Enable new USB backend";
1648
1649const char kNewUsbBackendDescription[] =
1650 "Enables the new experimental USB backend for Windows.";
1651
1652const char kNewOmniboxAnswerTypesName[] =
1653 "New omnibox answers in suggest types";
1654
1655const char kNewOmniboxAnswerTypesDescription[] =
1656 "Enables new types of answers in the omnibox suggest drop-down: "
1657 "currency conversions, dictionary definitions, sports scores, "
1658 "translations, and when is.";
1659
1660const char kEnableZeroSuggestRedirectToChromeName[] =
1661 "Experimental contextual omnibox suggestion";
1662
1663const char kEnableZeroSuggestRedirectToChromeDescription[] =
1664 "Change omnibox contextual suggestions to an experimental source. Note "
1665 "that this is not an on/off switch for contextual omnibox and it only "
1666 "applies to suggestions provided before the user starts typing a URL or "
1667 "a search query (i.e. zero suggest).";
1668
1669const char kFillOnAccountSelectName[] = "Fill passwords on account selection";
1670
1671const char kFillOnAccountSelectDescription[] =
1672 "Filling of passwords when an account is explicitly selected by the "
1673 "user rather than autofilling credentials on page load.";
1674
1675const char kEnableClearBrowsingDataCountersName[] =
1676 "Enable Clear browsing data counters.";
1677
1678const char kEnableClearBrowsingDataCountersDescription[] =
1679 "Shows data volume counters in the Clear browsing data dialog.";
1680
1681#if defined(OS_ANDROID)
1682
1683const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog.";
1684
1685const char kTabsInCbdDescription[] =
1686 "Enables a basic and an advanced tab for the Clear Browsing Data "
1687 "dialog.";
1688
1689#endif // defined(OS_ANDROID)
1690
brettw5f9c1642017-05-14 17:12:481691const char kNotificationsNativeFlagName[] = "Enable native notifications.";
vabr0215a8e2017-03-28 12:47:341692
1693const char kNotificationsNativeFlagDescription[] =
1694 "Enable support for using the native notification toasts and "
1695 "notification center on platforms where these are available.";
1696
1697#if defined(OS_ANDROID)
1698
1699const char kEnableAndroidSpellcheckerDescription[] =
1700 "Enables use of the Android spellchecker.";
1701
1702const char kEnableAndroidSpellcheckerName[] = "Enable spell checking";
1703
1704#endif // defined(OS_ANDROID)
1705
1706const char kEnableWebNotificationCustomLayoutsName[] =
1707 "Enable custom layouts for Web Notifications.";
1708
1709const char kEnableWebNotificationCustomLayoutsDescription[] =
1710 "Enable custom layouts for Web Notifications. They will have subtle "
1711 "layout improvements that are otherwise not possible.";
1712
1713const char kAccountConsistencyName[] =
1714 "Identity consistency between browser and cookie jar";
1715
1716const char kAccountConsistencyDescription[] =
1717 "When enabled, the browser manages signing in and out of Google "
1718 "accounts.";
1719
vabr0215a8e2017-03-28 12:47:341720const char kGoogleProfileInfoName[] = "Google profile name and icon";
1721
1722const char kGoogleProfileInfoDescription[] =
1723 "Enables using Google information to populate the profile name and icon "
1724 "in the avatar menu.";
1725
brettw5f9c1642017-05-14 17:12:481726const char kOfferStoreUnmaskedWalletCardsName[] =
vabr0215a8e2017-03-28 12:47:341727 "Google Payments card saving checkbox";
1728
1729const char kOfferStoreUnmaskedWalletCardsDescription[] =
1730 "Show the checkbox to offer local saving of a credit card downloaded "
1731 "from the server.";
1732
1733const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode";
1734
1735const char kOfflineAutoReloadDescription[] =
1736 "Pages that fail to load while the browser is offline will be "
1737 "auto-reloaded when the browser is online again.";
1738
1739const char kOfflineAutoReloadVisibleOnlyName[] =
1740 "Only Auto-Reload Visible Tabs";
1741
1742const char kOfflineAutoReloadVisibleOnlyDescription[] =
1743 "Pages that fail to load while the browser is offline will only be "
1744 "auto-reloaded if their tab is visible.";
1745
1746const char kShowSavedCopyName[] = "Show Saved Copy Button";
1747
1748const char kShowSavedCopyDescription[] =
1749 "When a page fails to load, if a stale copy of the page exists in the "
1750 "browser cache, a button will be presented to allow the user to load "
1751 "that stale copy. The primary enabling choice puts the button in the "
1752 "most salient position on the error page; the secondary enabling choice "
1753 "puts it secondary to the reload button.";
1754
1755const char kEnableShowSavedCopyPrimary[] = "Enable: Primary";
1756
1757const char kEnableShowSavedCopySecondary[] = "Enable: Secondary";
1758
1759const char kDisableShowSavedCopy[] = "Disable";
1760
1761#if defined(OS_CHROMEOS)
1762
vabr0215a8e2017-03-28 12:47:341763const char kVirtualKeyboardName[] = "Virtual Keyboard";
1764
1765const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support.";
1766
1767const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll";
1768
1769const char kVirtualKeyboardOverscrollDescription[] =
1770 "Enables virtual keyboard overscroll support.";
1771
1772const char kInputViewName[] = "Input views";
1773
1774const char kInputViewDescription[] =
1775 "Enable IME extensions to supply custom views for user input such as "
1776 "virtual keyboards.";
1777
1778const char kNewKoreanImeName[] = "New Korean IME";
1779
1780const char kNewKoreanImeDescription[] =
1781 "New Korean IME, which is based on Google Input Tools' HMM engine.";
1782
1783const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
1784
1785const char kPhysicalKeyboardAutocorrectDescription[] =
1786 "Enable physical keyboard autocorrect for US keyboard, which can "
1787 "provide suggestions as typing on physical keyboard.";
1788
1789const char kVoiceInputName[] = "Voice input on virtual keyboard";
1790
1791const char kVoiceInputDescription[] =
1792 "Enables voice input on virtual keyboard.";
1793
1794const char kExperimentalInputViewFeaturesName[] =
1795 "Experimental input view features";
1796
1797const char kExperimentalInputViewFeaturesDescription[] =
1798 "Enable experimental features for IME input views.";
1799
1800const char kFloatingVirtualKeyboardName[] = "Floating virtual keyboard.";
1801
1802const char kFloatingVirtualKeyboardDescription[] =
1803 "Enable/Disable floating virtual keyboard.";
1804
1805const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
1806
1807const char kGestureTypingDescription[] =
1808 "Enable/Disable gesture typing option in the settings page for the "
1809 "virtual keyboard.";
1810
1811const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
1812
1813const char kGestureEditingDescription[] =
1814 "Enable/Disable gesture editing option in the settings page for the "
1815 "virtual keyboard.";
1816
1817const char kCaptivePortalBypassProxyName[] =
1818 "Bypass proxy for Captive Portal Authorization";
1819
1820const char kCaptivePortalBypassProxyDescription[] =
1821 "If proxy is configured, it usually prevents from authorization on "
1822 "different captive portals. This enables opening captive portal "
1823 "authorization dialog in a separate window, which ignores proxy "
1824 "settings.";
1825
1826const char kTouchscreenCalibrationName[] =
1827 "Enable/disable touchscreen calibration option in material design "
1828 "settings";
1829
1830const char kTouchscreenCalibrationDescription[] =
1831 "If enabled, the user can calibrate the touch screen displays in "
1832 "chrome://md-settings/display.";
1833
yamaguchid99a64b2017-05-12 15:33:491834const char kTeamDrivesName[] = "Enable Team Drives Integration";
1835const char kTeamDrivesDescription[] =
1836 "If enabled, files under Team Drives will appear in the Files app.";
1837
vabr0215a8e2017-03-28 12:47:341838#endif // defined(OS_CHROMEOS)
1839
1840// Strings for controlling credit card assist feature in about:flags.
1841
1842const char kCreditCardAssistName[] = "Credit Card Assisted Filling";
1843
1844const char kCreditCardAssistDescription[] =
1845 "Enable assisted credit card filling on certain sites.";
1846
1847// Strings for controlling credit card scanning feature in about:flags.
1848
1849// Simple Cache Backend experiment.
1850
1851const char kSimpleCacheBackendName[] = "Simple Cache for HTTP";
1852
1853const char kSimpleCacheBackendDescription[] =
1854 "The Simple Cache for HTTP is a new cache. It relies on the filesystem "
1855 "for disk space allocation.";
1856
1857// Spelling feedback field trial.
1858
1859const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial";
1860
1861const char kSpellingFeedbackFieldTrialDescription[] =
1862 "Enable the field trial for sending user feedback to spelling service.";
1863
1864// Web MIDI API.
1865
1866const char kWebMidiName[] = "Web MIDI API";
1867
1868const char kWebMidiDescription[] = "Enable Web MIDI API experimental support.";
1869
1870// Site per process mode
1871
creisc3af64f2017-04-12 17:22:381872const char kSitePerProcessName[] = "Strict site isolation";
vabr0215a8e2017-03-28 12:47:341873
1874const char kSitePerProcessDescription[] =
creisc3af64f2017-04-12 17:22:381875 "Highly experimental security mode that ensures each renderer process "
1876 "contains pages from at most one site. In this mode, out-of-process "
1877 "iframes will be used whenever an iframe is cross-site.";
vabr0215a8e2017-03-28 12:47:341878
1879// Top document isolation mode
1880
1881const char kTopDocumentIsolationName[] = "Top document isolation";
1882
1883const char kTopDocumentIsolationDescription[] =
1884 "Highly experimental performance mode where cross-site iframes are kept "
1885 "in a separate process from the top document. In this mode, iframes "
1886 "from different third-party sites will be allowed to share a process.";
1887
1888// Cross process guest frames isolation mode
1889
1890const char kCrossProcessGuestViewIsolationName[] =
1891 "Cross process frames for guests";
1892
1893const char kCrossProcessGuestViewIsolationDescription[] =
1894 "Highly experimental where guests such as <webview> are implemented "
1895 "on the out-of-process iframe infrastructure.";
1896
1897// Task Scheduler
1898
1899const char kBrowserTaskSchedulerName[] = "Task Scheduler";
1900
1901const char kBrowserTaskSchedulerDescription[] =
1902 "Enables redirection of some task posting APIs to the task scheduler.";
1903
1904// Arc authorization
1905
1906#if defined(OS_CHROMEOS)
1907
1908const char kArcUseAuthEndpointName[] = "Android apps authorization point";
1909
1910const char kArcUseAuthEndpointDescription[] =
1911 "Enable Android apps authorization point to automatic sign-in in OptIn "
1912 "flow.";
1913
1914#endif // defined(OS_CHROMEOS)
1915
1916// Autofill experiment flags
1917
1918const char kSingleClickAutofillName[] = "Single-click autofill";
1919
1920const char kSingleClickAutofillDescription[] =
1921 "Make autofill suggestions on initial mouse click on a form element.";
1922
1923#if defined(OS_ANDROID)
1924
1925const char kAutofillAccessoryViewName[] =
1926 "Autofill suggestions as keyboard accessory view";
1927
1928const char kAutofillAccessoryViewDescription[] =
1929 "Shows Autofill suggestions on top of the keyboard rather than in a "
1930 "dropdown.";
1931
1932#endif // defined(OS_ANDROID)
1933
1934// Reader mode experiment flags
1935
1936#if defined(OS_ANDROID)
1937
1938const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
1939
1940const char kReaderModeHeuristicsDescription[] =
1941 "Determines what pages the Reader Mode button is shown on.";
1942
1943const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
1944
1945const char kReaderModeHeuristicsAdaboost[] = "Appears to be an article";
1946
1947const char kReaderModeHeuristicsAlwaysOff[] = "Never";
1948
1949const char kReaderModeHeuristicsAlwaysOn[] = "Always";
1950
1951#endif // defined(OS_ANDROID)
1952
1953// Chrome home flags
1954
1955#if defined(OS_ANDROID)
1956
1957const char kChromeHomeName[] = "Chrome Home";
1958
1959const char kChromeHomeDescription[] = "Enables Chrome Home on Android.";
1960
mdjonesd484eac2017-05-02 21:34:451961const char kChromeHomeExpandButtonName[] = "Chrome Home Expand Button";
1962
1963const char kChromeHomeExpandButtonDescription[] =
1964 "Enables the expand button for Chrome Home.";
1965
twellingtond1ada052017-05-17 06:05:131966const char kChromeHomeNtpRedesignName[] = "Chrome Home NTP Redesign";
1967
1968const char kChromeHomeNtpRedesignDescription[] =
1969 "Enables the NTP redesign for Chrome Home.";
1970
vabr0215a8e2017-03-28 12:47:341971#endif // defined(OS_ANDROID)
1972
Tommy Nyquist4fad7062017-04-11 20:01:281973// In-Product Help flags
1974
1975#if defined(OS_ANDROID)
1976
brettw5f9c1642017-05-14 17:12:481977const char kEnableIphDemoModeName[] = "In-Product Help Demo Mode";
Tommy Nyquist4fad7062017-04-11 20:01:281978
1979const char kEnableIphDemoModeDescription[] =
1980 "Enables In-Product Help demo mode on Android.";
1981
1982#endif // defined(OS_ANDROID)
1983
vabr0215a8e2017-03-28 12:47:341984// Settings window flags
1985
1986const char kSettingsWindowName[] = "Show settings in a window";
1987
1988const char kSettingsWindowDescription[] =
1989 "Settings will be shown in a dedicated window instead of as a browser "
1990 "tab.";
1991
1992// Mixed content issue workaround flags
1993
1994#if defined(OS_ANDROID)
1995
1996// Flag strings for seccomp-bpf sandbox flag.
1997
1998const char kSeccompFilterSandboxAndroidName[] = "Seccomp-bpf renderer sandbox";
1999
2000const char kSeccompFilterSandboxAndroidDescription[] =
2001 "Renderers will have a second-layer sandbox provided by seccomp-bpf. "
2002 "This requires kernel features only available on select Android "
2003 "versions.";
2004
2005#endif // defined(OS_ANDROID)
2006
2007// Extension Content Verification
2008
2009const char kExtensionContentVerificationName[] =
2010 "Extension Content Verification";
2011
2012const char kExtensionContentVerificationDescription[] =
2013 "This flag can be used to turn on verification that the contents of the "
2014 "files on disk for extensions from the webstore match what they're "
2015 "expected to be. This can be used to turn on this feature if it would "
2016 "not otherwise have been turned on, but cannot be used to turn it off "
2017 "(because this setting can be tampered with by malware).";
2018
2019const char kExtensionContentVerificationBootstrap[] =
2020 "Bootstrap (get expected hashes, but do not enforce them)";
2021
2022const char kExtensionContentVerificationEnforce[] =
2023 "Enforce (try to get hashes, and enforce them if successful)";
2024
2025const char kExtensionContentVerificationEnforceStrict[] =
2026 "Enforce strict (hard fail if we can't get hashes)";
2027
2028// Built-in hotword detection display strings
2029
2030const char kExperimentalHotwordHardwareName[] =
2031 "Simulated hardware 'Ok Google' features";
2032
2033const char kExperimentalHotwordHardwareDescription[] =
2034 "Enables an experimental version of 'Ok Google' hotword detection "
2035 "features that have a hardware dependency.";
2036
2037// Message center strings
2038
2039const char kMessageCenterAlwaysScrollUpUponRemovalName[] =
2040 "Experiments that message center always scroll up upon notification "
2041 "removal";
2042
2043const char kMessageCenterAlwaysScrollUpUponRemovalDescription[] =
2044 "Enables experiment that message center always scroll up when a "
2045 "notification is removed.";
2046
2047const char kCastStreamingHwEncodingName[] =
2048 "Cast Streaming hardware video encoding";
2049
2050const char kCastStreamingHwEncodingDescription[] =
2051 "This option enables support in Cast Streaming for encoding video "
2052 "streams using platform hardware.";
2053
brettw5f9c1642017-05-14 17:12:482054const char kAllowInsecureLocalhostName[] =
vabr0215a8e2017-03-28 12:47:342055 "Allow invalid certificates for resources loaded from localhost.";
2056
2057const char kAllowInsecureLocalhostDescription[] =
2058 "Allows requests to localhost over HTTPS even when an invalid "
2059 "certificate is presented.";
2060
2061#if defined(OS_WIN) || defined(OS_MACOSX)
2062
2063// Tab discarding
2064
2065const char kAutomaticTabDiscardingName[] = "Automatic tab discarding";
2066
2067const char kAutomaticTabDiscardingDescription[] =
2068 "If enabled, tabs get automatically discarded from memory when the "
2069 "system memory is low. Discarded tabs are still visible on the tab "
2070 "strip and get reloaded when clicked on. Info about discarded tabs can "
2071 "be found at chrome://discards.";
2072
2073#endif // defined(OS_WIN) || defined(OS_MACOSX)
2074
2075#if defined(OS_ANDROID)
2076
2077const char kOfflineBookmarksName[] = "Enable offline bookmarks";
2078
2079const char kOfflineBookmarksDescription[] =
2080 "Enable saving bookmarked pages for offline viewing.";
2081
2082const char kNtpOfflinePagesName[] = "Enable NTP offline pages";
2083
2084const char kNtpOfflinePagesDescription[] =
2085 "Enables badging of offline pages on the New Tab page. Only relevant if "
2086 "offline pages are enabled.";
2087
2088const char kOfflinePagesAsyncDownloadName[] =
2089 R"*(Enables showing "DOWNLOAD PAGE LATER" button in error pages.)*";
2090
2091const char kOfflinePagesAsyncDownloadDescription[] =
2092 R"*(Enables showing "DOWNLOAD PAGE LATER" button in error pages such )*"
2093 R"*(that the user can click on it to download the page later.)*";
2094
2095const char kOfflinePagesSvelteConcurrentLoadingName[] =
2096 "Enables concurrent background loading on svelte.";
2097
2098const char kOfflinePagesSvelteConcurrentLoadingDescription[] =
2099 "Enables concurrent background loading (or downloading) of pages on "
2100 "Android svelte (512MB RAM) devices. Otherwise, background loading will "
2101 "happen when the svelte device is idle.";
2102
petewil2abcf042017-04-10 21:45:002103const char kOfflinePagesLoadSignalCollectingName[] =
2104 "Enables collecting load timing data for offline page snapshots.";
2105
2106const char kOfflinePagesLoadSignalCollectingDescription[] =
2107 "Enables loading completeness data collection while writing an offline "
2108 "page. This data is collected in the snapshotted offline page to allow "
2109 "data analysis to improve deciding when to make the offline snapshot.";
2110
vabr0215a8e2017-03-28 12:47:342111const char kOfflinePagesPrefetchingName[] =
2112 "Enables suggested offline pages to be prefetched.";
2113
2114const char kOfflinePagesPrefetchingDescription[] =
2115 "Enables suggested offline pages to be prefetched, so useful content is "
2116 "available while offline.";
2117
2118const char kOfflinePagesSharingName[] = "Enables offline pages to be shared.";
2119
2120const char kOfflinePagesSharingDescription[] =
2121 "Enables the saved offline pages to be shared via other applications.";
2122
2123const char kBackgroundLoaderForDownloadsName[] =
2124 "Enables background downloading of pages.";
2125
2126const char kBackgroundLoaderForDownloadsDescription[] =
2127 "Enables downloading pages in the background in case page is not yet "
2128 "loaded in current tab.";
2129
2130const char kNewBackgroundLoaderName[] =
2131 "Use background loader instead of prerenderer to load pages.";
2132
2133const char kNewBackgroundLoaderDescription[] =
2134 "Use background loader instead of prerenderer to asynchronously "
2135 "download pages.";
2136
2137const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page";
2138
2139const char kNtpPopularSitesDescription[] =
2140 "Pre-populate the New Tab page with popular sites.";
2141
2142const char kNtpSwitchToExistingTabName[] =
2143 "Switch to an existing tab for New Tab Page suggestions.";
2144
2145const char kNtpSwitchToExistingTabDescription[] =
2146 "When opening a suggested webpage from the New Tab Page, if a tab is "
2147 "already open for the suggestion, switch to that one instead of loading "
2148 "the suggestion in the new tab.";
2149
2150const char kNtpSwitchToExistingTabMatchUrl[] = "Match by URL";
2151
2152const char kNtpSwitchToExistingTabMatchHost[] = "Match by Hostname";
2153
2154const char kUseAndroidMidiApiName[] = "Use Android Midi API";
2155
2156const char kUseAndroidMidiApiDescription[] =
2157 "Use Android Midi API for WebMIDI (effective only with Android M+ "
2158 "devices).";
2159
2160const char kWebPaymentsModifiersName[] = "Enable web payment modifiers";
2161
2162const char kWebPaymentsModifiersDescription[] =
2163 "If the website provides modifiers in the payment request, show the "
2164 "custom total for each payment instrument, update the shopping cart "
2165 "when instruments are switched, and send modified payment method "
2166 "specific data to the payment app.";
2167
lbargu8bb0fabc2017-05-19 14:53:112168const char kXGEOVisibleNetworksName[] = "Enable XGEO Visible Networks";
2169
2170const char kXGEOVisibleNetworksDescription[] =
2171 "If location permissions are granted, include visible networks in the XGEO "
2172 "Header for omnibox queries. This will only happen if location is not "
2173 "fresh or not available (for example, due to a cold start).";
2174
vabr0215a8e2017-03-28 12:47:342175#endif // defined(OS_ANDROID)
2176
2177#if defined(OS_WIN)
2178
2179// Exporting tracing events to ETW
2180
2181const char kTraceExportEventsToEtwName[] =
2182 "Enable exporting of tracing events to ETW.";
2183
2184const char kTraceExportEventsToEtwDesription[] =
2185 "If enabled, trace events will be exported to the Event Tracing for "
2186 "Windows (ETW) and can then be captured by tools such as UIForETW or "
2187 "Xperf.";
2188
2189const char kMergeKeyCharEventsName[] =
2190 "Enable or disable merging merging the key event (WM_KEY*) with char "
2191 "event (WM_CHAR).";
2192
2193const char kMergeKeyCharEventsDescription[] =
2194 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separatedly.";
2195
2196const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API";
2197
2198const char kUseWinrtMidiApiDescription[] =
2199 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 "
2200 "or later).";
2201
2202#endif // defined(OS_WIN)
2203
2204#if defined(OS_ANDROID)
2205
2206// Data Use
2207
2208// Update Menu Item Flags
2209
2210const char kUpdateMenuItemName[] = "Force show update menu item";
2211
2212const char kUpdateMenuItemDescription[] =
2213 R"*(When enabled, an "Update Chrome" item will be shown in the app )*"
2214 R"*(menu.)*";
2215
twellingtonce0b29ba2017-04-19 21:01:172216const char kUpdateMenuItemCustomSummaryDescription[] =
vabr0215a8e2017-03-28 12:47:342217 "When this flag and the force show update menu item flag are enabled, a "
twellingtonce0b29ba2017-04-19 21:01:172218 "custom summary string will be displayed below the update menu item.";
vabr0215a8e2017-03-28 12:47:342219
twellingtonce0b29ba2017-04-19 21:01:172220const char kUpdateMenuItemCustomSummaryName[] =
2221 "Update menu item custom summary";
vabr0215a8e2017-03-28 12:47:342222
2223const char kUpdateMenuBadgeName[] = "Force show update menu badge";
2224
2225const char kUpdateMenuBadgeDescription[] =
2226 "When enabled, an update badge will be shown on the app menu button.";
2227
2228const char kSetMarketUrlForTestingName[] = "Set market URL for testing";
2229
2230const char kSetMarketUrlForTestingDescription[] =
2231 "When enabled, sets the market URL for use in testing the update menu "
2232 "item.";
2233
2234#endif // defined(OS_ANDROID)
2235
2236#if defined(OS_ANDROID)
2237
2238const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb";
2239
2240const char kHerbPrototypeChoicesDescription[] =
2241 "Switching this option changes which tab management prototype is being "
2242 "tested.";
2243
2244const char kHerbPrototypeFlavorElderberry[] =
2245 "ELDERBERRY: All View Intents in CCT v2";
2246
2247const char kEnableSpecialLocaleName[] =
2248 "Enable custom logic for special locales.";
2249
2250const char kEnableSpecialLocaleDescription[] =
2251 "Enable custom logic for special locales. In this mode, Chrome might "
2252 "behave differently in some locales.";
2253
2254// WebApks
2255
2256const char kEnableWebapk[] = "Enable improved add to Home screen";
2257
2258const char kEnableWebapkDescription[] =
2259 R"*(Packages "Progressive Web Apps" so that they can integrate more )*"
2260 R"*(deeply with Android. A Chrome server is used to package sites. In )*"
2261 R"*(Chrome Canary and Chrome Dev, this requires “Untrusted )*"
2262 R"*(sources” to be enabled in Android security settings.)*";
2263
2264#endif // defined(OS_ANDROID)
2265
2266const char kEnableBrotliName[] = "Brotli Content-Encoding.";
2267
2268const char kEnableBrotliDescription[] =
2269 "Enable Brotli Content-Encoding support.";
2270
2271const char kEnableWebfontsInterventionName[] =
2272 "New version of User Agent Intervention for WebFonts loading.";
2273
2274const char kEnableWebfontsInterventionDescription[] =
2275 "Enable New version of User Agent Intervention for WebFonts loading.";
2276
2277const char kEnableWebfontsInterventionV2ChoiceDefault[] = "Default";
2278
2279const char kEnableWebfontsInterventionV2ChoiceEnabledWith2g[] = "Enabled: 2G";
2280
2281const char kEnableWebfontsInterventionV2ChoiceEnabledWith3g[] = "Enabled: 3G";
2282
2283const char kEnableWebfontsInterventionV2ChoiceEnabledWithSlow2g[] =
2284 "Enabled: Slow 2G";
2285
2286const char kEnableWebfontsInterventionV2ChoiceDisabled[] = "Disabled";
2287
2288const char kEnableWebfontsInterventionTriggerName[] =
2289 "Trigger User Agent Intervention for WebFonts loading always.";
2290
2291const char kEnableWebfontsInterventionTriggerDescription[] =
2292 "Enable to trigger User Agent Intervention for WebFonts loading always. "
2293 "This flag affects only when the intervention is enabled.";
2294
2295const char kEnableScrollAnchoringName[] = "Scroll Anchoring";
2296
2297const char kEnableScrollAnchoringDescription[] =
2298 "Adjusts scroll position to prevent visible jumps when offscreen "
2299 "content changes.";
2300
2301#if defined(OS_CHROMEOS)
2302
skaua9afc0212017-04-07 19:18:472303const char kDisableNativeCupsName[] = "Native CUPS";
vabr0215a8e2017-03-28 12:47:342304
skaua9afc0212017-04-07 19:18:472305const char kDisableNativeCupsDescription[] =
2306 "Disable the use of the native CUPS printing backend.";
vabr0215a8e2017-03-28 12:47:342307
2308const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App";
2309
2310const char kEnableAndroidWallpapersAppDescription[] =
2311 "Enables the Android Wallpapers App as the default Wallpaper App on "
2312 "Chrome OS.";
2313
2314const char kEnableTouchSupportForScreenMagnifierName[] =
2315 "Touch support for screen magnifier";
2316
2317const char kEnableTouchSupportForScreenMagnifierDescription[] =
2318 "Enables touch support for screen magnifier";
2319
takise183b8cb42017-04-07 05:12:082320const char kEnableZipArchiverOnFileManagerName[] =
2321 "ZIP archiver for Drive";
2322
2323const char kEnableZipArchiverOnFileManagerDescription[] =
2324 "Enable the ability to archive and unpack files on Drive in the Files app";
2325
xiaochu32e9672a2017-05-04 04:15:082326const char kCrOSComponentName[] = "Chrome OS Component";
2327
2328const char kCrOSComponentDescription[] =
2329 "Enable the use of Chrome OS Component to download Chrome OS features "
2330 "on-demand as components.";
2331
vabr0215a8e2017-03-28 12:47:342332#endif // defined(OS_CHROMEOS)
2333
2334#if defined(OS_ANDROID)
2335
2336const char kContentSuggestionsCategoryOrderName[] =
2337 "Default content suggestions category order (e.g. on NTP)";
2338
2339const char kContentSuggestionsCategoryOrderDescription[] =
2340 "Set default order of content suggestion categories (e.g. on the NTP).";
2341
2342const char kContentSuggestionsCategoryRankerName[] =
2343 "Content suggestions category ranker (e.g. on NTP)";
2344
2345const char kContentSuggestionsCategoryRankerDescription[] =
2346 "Set category ranker to order categories of content suggestions (e.g. "
2347 "on the NTP).";
2348
2349const char kEnableNtpSnippetsVisibilityName[] =
2350 "Make New Tab Page Snippets more visible.";
2351
2352const char kEnableNtpSnippetsVisibilityDescription[] =
2353 "If enabled, the NTP snippets will become more discoverable with a "
2354 "larger portion of the first card above the fold.";
2355
jkrcal18514e662017-03-30 06:12:282356const char kEnableContentSuggestionsNewFaviconServerName[] =
2357 "Get favicons for content suggestions from a new server.";
2358
2359const char kEnableContentSuggestionsNewFaviconServerDescription[] =
2360 "If enabled, the content suggestions (on the NTP) will get favicons from a "
2361 "new favicon server.";
2362
jkrcal7d79de52017-05-05 18:13:102363const char kEnableNtpMostLikelyFaviconsFromServerName[] =
2364 "Download favicons for NTP tiles from Google.";
2365
2366const char kEnableNtpMostLikelyFaviconsFromServerDescription[] =
2367 "If enabled, missing favicons for NTP tiles get downloaded from Google. "
2368 "This only applies to tiles that originate from synced history.";
2369
dgn2b5a43382017-04-06 16:56:562370const char kEnableContentSuggestionsSettingsName[] =
2371 "Show content suggestions settings.";
2372
2373const char kEnableContentSuggestionsSettingsDescription[] =
2374 "If enabled, the content suggestions settings will be available from the "
2375 "main settings menu.";
2376
mvanouwerkerk6771b152017-05-10 14:40:342377const char kEnableContentSuggestionsShowSummaryName[] =
2378 "Show content suggestions summaries.";
2379
2380const char kEnableContentSuggestionsShowSummaryDescription[] =
2381 "If enabled, the content suggestions summaries will be shown.";
2382
vabr0215a8e2017-03-28 12:47:342383const char kEnableNtpRemoteSuggestionsName[] =
2384 "Show server-side suggestions on the New Tab page";
2385
2386const char kEnableNtpRemoteSuggestionsDescription[] =
2387 "If enabled, the list of content suggestions on the New Tab page (see "
2388 "#enable-ntp-snippets) will contain server-side suggestions (e.g., "
2389 "Articles for you). Furthermore, it allows to override the source used "
2390 "to retrieve these server-side suggestions.";
2391
2392const char kEnableNtpRecentOfflineTabSuggestionsName[] =
2393 "Show recent offline tabs on the New Tab page";
2394
2395const char kEnableNtpRecentOfflineTabSuggestionsDescription[] =
2396 "If enabled, the list of content suggestions on the New Tab page (see "
2397 "#enable-ntp-snippets) will contain pages that were captured offline "
2398 "during browsing (see #offlining-recent-pages)";
2399
vabr0215a8e2017-03-28 12:47:342400const char kEnableNtpAssetDownloadSuggestionsName[] =
2401 "Show asset downloads on the New Tab page";
2402
2403const char kEnableNtpAssetDownloadSuggestionsDescription[] =
2404 "If enabled, the list of content suggestions on the New Tab page (see "
2405 "#enable-ntp-snippets) will contain assets (e.g. books, pictures, "
2406 "audio) that the user downloaded for later use.";
2407
2408const char kEnableNtpOfflinePageDownloadSuggestionsName[] =
2409 "Show offline page downloads on the New Tab page";
2410
2411const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] =
2412 "If enabled, the list of content suggestions on the New Tab page (see "
2413 "#enable-ntp-snippets) will contain pages that the user downloaded for "
2414 "later use.";
2415
2416const char kEnableNtpBookmarkSuggestionsName[] =
2417 "Show recently visited bookmarks on the New Tab page";
2418
2419const char kEnableNtpBookmarkSuggestionsDescription[] =
2420 "If enabled, the list of content suggestions on the New Tab page (see "
2421 "#enable-ntp-snippets) will contain recently visited bookmarks.";
2422
2423const char kEnableNtpPhysicalWebPageSuggestionsName[] =
2424 "Show Physical Web pages on the New Tab page";
2425
2426const char kEnableNtpPhysicalWebPageSuggestionsDescription[] =
2427 "If enabled, the list of content suggestions on the New Tab page (see "
2428 "#enable-ntp-snippets) will contain pages that are available through "
2429 "Physical Web (see #enable-physical-web)";
2430
2431const char kEnableNtpForeignSessionsSuggestionsName[] =
2432 "Show recent foreign tabs on the New Tab page";
2433
2434const char kEnableNtpForeignSessionsSuggestionsDescription[] =
2435 "If enabled, the list of content suggestions on the New Tab page (see "
2436 "#enable-ntp-snippets) will contain recent foreign tabs.";
2437
2438const char kEnableNtpSuggestionsNotificationsName[] =
2439 "Notify about new content suggestions available at the New Tab page";
2440
2441const char kEnableNtpSuggestionsNotificationsDescription[] =
2442 "If enabled, notifications will inform about new content suggestions on "
2443 "the New Tab page (see #enable-ntp-snippets).";
2444
2445const char kNtpCondensedLayoutName[] = "Condensed NTP layout";
2446
2447const char kNtpCondensedLayoutDescription[] =
2448 "Show a condensed layout on the New Tab Page.";
2449
2450const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout";
2451
2452const char kNtpCondensedTileLayoutDescription[] =
2453 "Show a condensed tile layout on the New Tab Page.";
2454
2455const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox";
2456
2457const char kNtpGoogleGInOmniboxDescription[] =
2458 "Show a Google G in the omnibox on the New Tab Page.";
2459
2460#endif // defined(OS_ANDROID)
2461
2462#if defined(OS_ANDROID)
2463
2464const char kOffliningRecentPagesName[] =
2465 "Enable offlining of recently visited pages";
2466
2467const char kOffliningRecentPagesDescription[] =
2468 "Enable storing recently visited pages locally for offline use. "
2469 "Requires Offline Pages to be enabled.";
2470
2471const char kOfflinePagesCtName[] = "Enable Offline Pages CT features.";
2472
2473const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features.";
2474
2475#endif // defined(OS_ANDROID)
2476
2477#if defined(OS_ANDROID)
2478
brettw5f9c1642017-05-14 17:12:482479const char kEnableExpandedAutofillCreditCardPopupLayoutName[] =
vabr0215a8e2017-03-28 12:47:342480 "Use expanded autofill credit card popup layout.";
2481
2482const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] =
2483 "If enabled, displays autofill credit card popup using expanded "
2484 "layout.";
2485
2486#endif // defined(OS_ANDROID)
2487
brettw5f9c1642017-05-14 17:12:482488const char kEnableAutofillCreditCardLastUsedDateDisplayName[] =
vabr0215a8e2017-03-28 12:47:342489 "Display the last used date of a credit card in autofill.";
2490
2491const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] =
2492 "If enabled, display the last used date of a credit card in autofill.";
2493
brettw5f9c1642017-05-14 17:12:482494const char kEnableAutofillCreditCardUploadCvcPromptName[] =
jsaul314052192017-04-13 23:20:572495 "Enable requesting missing CVC during Autofill credit card upload";
2496
2497const char kEnableAutofillCreditCardUploadCvcPromptDescription[] =
2498 "If enabled, requests missing CVC when offering to upload credit cards to "
2499 "Google Payments.";
2500
vabr0215a8e2017-03-28 12:47:342501#if !defined(OS_ANDROID) && defined(GOOGLE_CHROME_BUILD)
2502
2503const char kGoogleBrandedContextMenuName[] =
2504 "Google branding in the context menu";
2505
2506const char kGoogleBrandedContextMenuDescription[] =
2507 "Shows a Google icon next to context menu items powered by Google "
2508 "services.";
2509
2510#endif // !defined(OS_ANDROID) && defined(GOOGLE_CHROME_BUILD)
2511
2512const char kEnableWebUsbName[] = "WebUSB";
2513
2514const char kEnableWebUsbDescription[] = "Enable WebUSB support.";
2515
2516const char kEnableGenericSensorName[] = "Generic Sensor";
2517
2518const char kEnableGenericSensorDescription[] =
2519 "Enable sensor APIs based on Generic Sensor API.";
2520
2521const char kFontCacheScalingName[] = "FontCache scaling";
2522
2523const char kFontCacheScalingDescription[] =
2524 "Reuse a cached font in the renderer to serve different sizes of font "
2525 "for faster layout.";
2526
2527const char kFramebustingName[] =
2528 "Framebusting requires same-origin or a user gesture";
2529
2530const char kFramebustingDescription[] =
2531 "Don't permit an iframe to navigate the top level browsing context "
2532 "unless they are same-origin or the iframe is processing a user "
2533 "gesture.";
2534
binluc5b59112017-04-19 15:38:462535const char kVibrateRequiresUserGestureName[] =
2536 "Requiring user gesture for the Vibration API";
2537
2538const char kVibrateRequiresUserGestureDescription[] =
2539 "Block the Vibration API if no user gesture has been received on "
2540 "the frame or any embedded frame.";
2541
vabr0215a8e2017-03-28 12:47:342542#if defined(OS_ANDROID)
mthiesse700b0b62017-05-19 01:37:312543#if BUILDFLAG(ENABLE_VR)
vabr0215a8e2017-03-28 12:47:342544const char kEnableVrShellName[] = "Enable Chrome VR.";
2545
2546const char kEnableVrShellDescription[] =
2547 "Allow browsing with a VR headset if available for this device.";
2548
mthiesse700b0b62017-05-19 01:37:312549const char kVrCustomTabBrowsingName[] = "Enable Custom Tab browsing in VR.";
2550
2551const char kVrCustomTabBrowsingDescription[] =
2552 "Allow browsing with a VR headset in a Custom Tab if available for this "
2553 "device.";
2554#endif // BUILDFLAG(ENABLE_VR)
vabr0215a8e2017-03-28 12:47:342555#endif // defined(OS_ANDROID)
2556
2557// Web payments
2558
2559const char kWebPaymentsName[] = "Web Payments";
2560
2561const char kWebPaymentsDescription[] =
2562 "Enable Web Payments API integration, a JavaScript API for merchants.";
2563
2564#if defined(OS_ANDROID)
2565
2566const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1";
2567
2568const char kEnableAndroidPayIntegrationV1Description[] =
2569 "Enable integration with Android Pay using the first version of the "
2570 "API";
2571
2572const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2";
2573
2574const char kEnableAndroidPayIntegrationV2Description[] =
2575 "Enable integration with Android Pay using the second version of the "
2576 "API";
2577
2578const char kEnableWebPaymentsSingleAppUiSkipName[] =
2579 "Enable Web Payments single app UI skip";
2580
2581const char kEnableWebPaymentsSingleAppUiSkipDescription[] =
2582 "Enable Web Payments to skip showing its UI if the developer specifies "
2583 "a single app.";
2584
2585const char kAndroidPaymentAppsName[] = "Android payment apps";
2586
2587const char kAndroidPaymentAppsDescription[] =
2588 "Enable third party Android apps to integrate as payment apps";
2589
mathpb36946b2017-05-09 14:27:162590const char kServiceWorkerPaymentAppsName[] = "Service Worker payment apps";
2591
2592const char kServiceWorkerPaymentAppsDescription[] =
2593 "Enable Service Worker applications to integrate as payment apps";
2594
vabr0215a8e2017-03-28 12:47:342595#endif // defined(OS_ANDROID)
2596
2597const char kFeaturePolicyName[] = "Feature Policy";
2598
2599const char kFeaturePolicyDescription[] =
2600 "Enables granting and removing access to features through the "
2601 "Feature-Policy HTTP header.";
2602
2603// Audio rendering mixing experiment strings.
2604
2605const char kNewAudioRenderingMixingStrategyName[] =
2606 "New audio rendering mixing strategy";
2607
2608const char kNewAudioRenderingMixingStrategyDescription[] =
2609 "Use the new audio rendering mixing strategy.";
2610
2611// Background video track disabling experiment strings.
2612
2613const char kBackgroundVideoTrackOptimizationName[] =
2614 "Optimize background video playback.";
2615
2616const char kBackgroundVideoTrackOptimizationDescription[] =
2617 "Disable video tracks when the video is played in the background to "
2618 "optimize performance.";
2619
avayvod232757942017-04-29 04:12:342620// New remote playback pipeline experiment strings.
2621
2622const char kNewRemotePlaybackPipelineName[] =
2623 "Enable the new remote playback pipeline.";
2624
2625const char kNewRemotePlaybackPipelineDescription[] =
2626 "Enable the new pipeline for playing media element remotely via "
2627 "RemotePlayback API or native controls.";
2628
vabr0215a8e2017-03-28 12:47:342629// Video fullscreen with orientation lock experiment strings.
2630
2631const char kVideoFullscreenOrientationLockName[] =
2632 "Lock screen orientation when playing a video fullscreen.";
2633
2634const char kVideoFullscreenOrientationLockDescription[] =
2635 "Lock the screen orientation of the device to match video orientation "
2636 "when a video goes fullscreen. Only on phones.";
2637
johnme913ee5f2017-04-28 21:36:162638// Video rotate-to-fullscreen experiment strings.
2639
2640const char kVideoRotateToFullscreenName[] =
2641 "Rotate-to-fullscreen gesture for videos.";
2642
2643const char kVideoRotateToFullscreenDescription[] =
2644 "Enter/exit fullscreen when device is rotated to/from the orientation of "
2645 "the video. Only on phones.";
2646
vabr0215a8e2017-03-28 12:47:342647// Expensive background timer throttling flag
2648
2649const char kExpensiveBackgroundTimerThrottlingName[] =
2650 "Throttle expensive background timers";
2651
2652const char kExpensiveBackgroundTimerThrottlingDescription[] =
2653 "Enables intervention to limit CPU usage of background timers to 1%.";
2654
2655// Enable default MediaSession flag
2656
2657#if !defined(OS_ANDROID)
2658
mlamouriff56c092017-05-11 15:31:392659const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
vabr0215a8e2017-03-28 12:47:342660
mlamouriff56c092017-05-11 15:31:392661const char kEnableAudioFocusDescription[] =
vabr0215a8e2017-03-28 12:47:342662 "Manage audio focus across tabs to improve the audio mixing.";
2663
mlamouriff56c092017-05-11 15:31:392664const char kEnableAudioFocusDisabled[] = "Disabled";
vabr0215a8e2017-03-28 12:47:342665
mlamouriff56c092017-05-11 15:31:392666const char kEnableAudioFocusEnabled[] = "Enabled";
vabr0215a8e2017-03-28 12:47:342667
mlamouriff56c092017-05-11 15:31:392668const char kEnableAudioFocusEnabledDuckFlash[] =
vabr0215a8e2017-03-28 12:47:342669 "Enabled (Flash lowers volume when interrupted by other sound, "
2670 "experimental)";
2671
2672#endif // !defined(OS_ANDROID)
2673
2674#if defined(OS_WIN)
2675
2676const char kGdiTextPrinting[] = "GDI Text Printing";
2677
2678const char kGdiTextPrintingDescription[] =
2679 "Use GDI to print text as simply text";
2680
2681#endif // defined(OS_WIN)
2682
2683#if defined(OS_ANDROID)
2684
2685const char kModalPermissionPromptsName[] = "Modal Permission Prompts";
2686
2687const char kModalPermissionPromptsDescription[] =
2688 "Whether to use permission dialogs in place of permission infobars.";
2689
2690#endif // defined(OS_ANDROID)
2691
2692#if !defined(OS_MACOSX)
2693
2694const char kPermissionPromptPersistenceToggleName[] =
2695 "Persistence Toggle in Permission Prompts";
2696
2697const char kPermissionPromptPersistenceToggleDescription[] =
2698 "Whether to display a persistence toggle in permission prompts.";
2699
2700#endif // !defined(OS_MACOSX)
2701
2702#if defined(OS_ANDROID)
2703
2704const char kNoCreditCardAbort[] = "No Credit Card Abort";
2705
2706const char kNoCreditCardAbortDescription[] =
2707 "Whether or not the No Credit Card Abort is enabled.";
2708
2709#endif // defined(OS_ANDROID)
2710
2711// Consistent omnibox geolocation
2712
2713#if defined(OS_ANDROID)
2714
2715const char kEnableConsistentOmniboxGeolocationName[] =
2716 "Have consistent omnibox geolocation access.";
2717
2718const char kEnableConsistentOmniboxGeolocationDescription[] =
2719 "Have consistent geolocation access between the omnibox and default "
2720 "search engine.";
2721
2722#endif // defined(OS_ANDROID)
2723
2724// Media Remoting chrome://flags strings
2725
2726const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring";
2727
2728const char kMediaRemotingDescription[] =
2729 "When Casting a tab to a remote device, enabling this turns on an "
2730 "optimization that forwards the content bitstream directly to the "
2731 "remote device when a video is fullscreened.";
2732
vabr0215a8e2017-03-28 12:47:342733// Play Services LSD permission prompt chrome://flags strings
2734
2735#if defined(OS_ANDROID)
2736
2737const char kLsdPermissionPromptName[] =
2738 "Location Settings Dialog Permission Prompt";
2739
2740const char kLsdPermissionPromptDescription[] =
2741 "Whether to use the Google Play Services Location Settings Dialog "
2742 "permission dialog.";
2743
2744#endif // defined(OS_ANDROID)
2745
2746#if defined(OS_WIN)
2747
2748// Custom draw the Windows 10 titlebar. crbug.com/505013
2749
2750const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar";
2751
2752const char kWindows10CustomTitlebarDescription[] =
2753 "If enabled, Chrome will draw the titlebar and caption buttons instead "
2754 "of deferring to Windows.";
2755
2756#endif // defined(OS_WIN)
2757
2758#if defined(OS_WIN)
2759
rbpotter556837e42017-05-01 18:49:042760const char kDisablePostscriptPrinting[] = "Disable PostScript Printing";
vabr0215a8e2017-03-28 12:47:342761
rbpotter556837e42017-05-01 18:49:042762const char kDisablePostscriptPrintingDescription[] =
2763 "Disables PostScript generation when printing to PostScript capable "
2764 "printers, and uses EMF generation in its place.";
vabr0215a8e2017-03-28 12:47:342765
2766#endif // defined(OS_WIN)
2767
2768#if defined(OS_ANDROID)
2769
2770const char kAiaFetchingName[] = "Intermediate Certificate Fetching";
2771
2772const char kAiaFetchingDescription[] =
2773 "Enable intermediate certificate fetching when a server does not "
2774 "provide sufficient certificates to build a chain to a trusted root.";
2775
2776#endif // defined(OS_ANDROID)
2777
2778// Web MIDI supports MIDIManager dynamic instantiation chrome://flags strings
2779
2780const char kEnableMidiManagerDynamicInstantiationName[] =
2781 "MIDIManager dynamic instantiation for Web MIDI.";
2782
2783const char kEnableMidiManagerDynamicInstantiationDescription[] =
2784 "Enable MIDIManager dynamic instantiation for Web MIDI.";
2785
2786// Desktop iOS promotion chrome://flags strings
2787
2788#if defined(OS_WIN)
2789
2790const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions.";
2791
2792const char kEnableDesktopIosPromotionsDescription[] =
2793 "Enable Desktop to iOS promotions, and allow users to see them if they "
2794 "are eligible.";
2795
2796#endif // defined(OS_WIN)
2797
2798#if defined(OS_ANDROID)
2799
2800const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI";
2801
2802const char kEnableCustomFeedbackUiDescription[] =
2803 "Enables a custom feedback UI when submitting feedback through Google "
2804 "Feedback. Works with Google Play Services v10.2+";
2805
2806#endif // defined(OS_ANDROID)
2807
vabr0215a8e2017-03-28 12:47:342808#if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || \
2809 defined(OS_WIN)
2810
2811const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions";
2812
2813const char kOmniboxEntitySuggestionsDescription[] =
2814 "Enable receiving entity suggestions in Omnibox.";
2815
ojan38c678352017-04-11 20:27:552816const char kPauseBackgroundTabsName[] = "Pause background tabs";
2817const char kPauseBackgroundTabsDescription[] =
2818 "Pause timers in background tabs after 5 minutes on desktop.";
2819
spqchan6f9127a2017-04-29 03:42:022820const char kEnableNewAppMenuIconName[] = "Enable the New App Menu Icon";
2821const char kEnableNewAppMenuIconDescription[] =
2822 "Use the new app menu icon with update notification animations.";
spqchan064a8112017-04-18 16:46:322823
vabr0215a8e2017-03-28 12:47:342824#endif // defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) ||
2825 // defined(OS_WIN)
2826
2827#if defined(OS_CHROMEOS)
2828
2829const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support";
2830
2831const char kEnableChromevoxArcSupportDescription[] =
2832 "Enable ChromeVox screen reader features in ARC";
2833
2834#endif // defined(OS_CHROMEOS)
2835
2836const char kMojoLoadingName[] = "Use Mojo IPC for resource loading";
2837
2838const char kMojoLoadingDescription[] =
2839 "Use Mojo IPC instead of traditional Chrome IPC for resource loading.";
2840
2841#if defined(OS_ANDROID)
2842
2843const char kUseNewDoodleApiName[] = "Use new Doodle API";
2844
2845const char kUseNewDoodleApiDescription[] =
2846 "Enables the new API to fetch Doodles for the NTP.";
2847
2848#endif // defined(OS_ANDROID)
2849
vabr0215a8e2017-03-28 12:47:342850const char kDebugShortcutsDescription[] =
2851 "Enables additional keyboard shortcuts that are useful for debugging "
2852 "Ash.";
2853
dskiba950fbc82017-04-12 20:36:282854const char kMemoryAblationName[] = "Memory ablation experiment";
2855const char kMemoryAblationDescription[] =
2856 "Allocates extra memory in the browser process.";
2857
jwanda1582bcf2017-03-30 04:33:482858#if defined(OS_ANDROID)
2859
2860const char kEnableCustomContextMenuName[] = "Enable custom context menu";
2861
2862const char kEnableCustomContextMenuDescription[] =
2863 "Enables a new context menu when a link, image, or video is pressed within "
2864 "Chrome.";
2865
2866#endif // defined(OS_ANDROID)
2867
vabr0215a8e2017-03-28 12:47:342868#if defined(OS_CHROMEOS)
2869
2870// File Manager
2871
2872const char kVideoPlayerChromecastSupportName[] =
2873 "Experimental Chromecast support for Video Player";
2874
2875const char kVideoPlayerChromecastSupportDescription[] =
2876 "This option enables experimental Chromecast support for Video Player "
2877 "app on ChromeOS.";
2878
2879const char kNewZipUnpackerName[] = "New ZIP unpacker";
2880
2881const char kNewZipUnpackerDescription[] =
2882 "New ZIP unpacker flow, based on the File System Provider API.";
2883
2884const char kShowArcFilesAppName[] = "Show Android Files app";
2885
2886const char kShowArcFilesAppDescription[] =
2887 "Show Android Files app in Chrome OS launcher. This is only effective "
2888 "on a device with access to Play Store.";
2889
2890const char kOfficeEditingComponentAppName[] =
2891 "Office Editing for Docs, Sheets & Slides";
2892
2893const char kOfficeEditingComponentAppDescription[] =
2894 "Office Editing for Docs, Sheets & Slides for testing purposes.";
2895
2896const char kDisplayColorCalibrationName[] = "Color calibration of the display";
2897
2898const char kDisplayColorCalibrationDescription[] =
2899 "Allow color calibration of the display if the display supports the "
2900 "feature.";
2901
2902const char kMemoryPressureThresholdName[] =
2903 "Memory discard strategy for advanced pressure handling";
2904
2905const char kMemoryPressureThresholdDescription[] =
2906 "Memory discarding strategy to use";
2907
2908const char kConservativeThresholds[] =
2909 "Conservative memory pressure release strategy";
2910
2911const char kAggressiveCacheDiscardThresholds[] =
2912 "Aggressive cache release strategy";
2913
2914const char kAggressiveTabDiscardThresholds[] =
2915 "Aggressive tab release strategy";
2916
2917const char kAggressiveThresholds[] =
2918 "Aggressive tab and cache release strategy";
2919
2920const char kWakeOnPacketsName[] = "Wake On Packets";
2921
2922const char kWakeOnPacketsDescription[] =
2923 "Enables waking the device based on the receipt of some network "
2924 "packets.";
2925
brettw5f9c1642017-05-14 17:12:482926const char kQuickUnlockPinName[] = "Quick Unlock (PIN)";
vabr0215a8e2017-03-28 12:47:342927
2928const char kQuickUnlockPinDescription[] =
jdufault74476492017-04-20 01:20:002929 "Enabling PIN quick unlock allows you to use a PIN to unlock your ChromeOS "
2930 "device on the lock screen after you have signed into your device.";
2931
2932const char kQuickUnlockPinSignin[] = "Enable PIN when logging in.";
2933
2934const char kQuickUnlockPinSigninDescription[] =
2935 "Enabling PIN allows you to use a PIN to sign in and unlock your ChromeOS "
2936 "device. After changing this flag PIN needs to be set up again.";
vabr0215a8e2017-03-28 12:47:342937
2938const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)";
2939
2940const char kQuickUnlockFingerprintDescription[] =
2941 "Enabling fingerprint quick unlock allows you to setup and use a "
2942 "fingerprint to unlock your Chromebook on the lock screen after you "
2943 "have signed into your device.";
2944
2945const char kExperimentalAccessibilityFeaturesName[] =
2946 "Experimental accessibility features";
2947
2948const char kExperimentalAccessibilityFeaturesDescription[] =
2949 "Enable additional accessibility features in the Settings page.";
2950
2951const char kDisableSystemTimezoneAutomaticDetectionName[] =
2952 "SystemTimezoneAutomaticDetection policy support";
2953
2954const char kDisableSystemTimezoneAutomaticDetectionDescription[] =
2955 "Disable system timezone automatic detection device policy.";
2956
2957const char kEolNotificationName[] = "Disable Device End of Life notification.";
2958
2959const char kEolNotificationDescription[] =
2960 "Disable Notifcation when Device is End of Life.";
2961
2962// Stylus strings
2963
2964const char kForceEnableStylusToolsName[] = "Force enable stylus features";
2965
2966const char kForceEnableStylusToolsDescription[] =
2967 "Forces display of the stylus tools menu in the shelf and the stylus "
2968 "section in settings, even if there is no attached stylus device.";
2969
2970// Network portal notification
2971
2972const char kNetworkPortalNotificationName[] =
2973 "Notifications about captive portals";
2974
2975const char kNetworkPortalNotificationDescription[] =
2976 "If enabled, notification is displayed when device is connected to a "
2977 "network behind captive portal.";
2978
2979const char kMtpWriteSupportName[] = "MTP write support";
2980
2981const char kMtpWriteSupportDescription[] =
2982 "MTP write support in File System API (and file manager). In-place "
2983 "editing operations are not supported.";
2984
2985const char kCrosRegionsModeName[] = "Cros-regions load mode";
2986
2987const char kCrosRegionsModeDescription[] =
2988 "This flag controls cros-regions load mode";
2989
2990const char kCrosRegionsModeDefault[] = "Default";
2991
2992const char kCrosRegionsModeOverride[] = "Override VPD values.";
2993
2994const char kCrosRegionsModeHide[] = "Hide VPD values.";
2995
2996const char kPrinterProviderSearchAppName[] =
2997 "Chrome Web Store Gallery app for printer drivers";
2998
2999const char kPrinterProviderSearchAppDescription[] =
3000 "Enables Chrome Web Store Gallery app for printer drivers. The app "
3001 "searches Chrome Web Store for extensions that support printing to a "
3002 "USB printer with specific USB ID.";
3003
3004const char kArcBootCompleted[] = "Load Android apps automatically";
3005
3006const char kArcBootCompletedDescription[] =
3007 "Allow Android apps to start automatically after signing in.";
3008
3009const char kEnableImeMenuName[] = "Enable opt-in IME menu";
3010
3011const char kEnableImeMenuDescription[] =
3012 "Enable access to the new IME menu in the Language Settings page.";
3013
3014const char kEnableEhvInputName[] =
3015 "Emoji, handwriting and voice input on opt-in IME menu";
3016
3017const char kEnableEhvInputDescription[] =
3018 "Enable access to emoji, handwriting and voice input form opt-in IME "
3019 "menu.";
3020
fukino1b5ebe952017-04-07 05:35:303021const char kEnableEncryptionMigrationName[] =
3022 "Enable encryption migration of user data";
3023
3024const char kEnableEncryptionMigrationDescription[] =
3025 "If enabled and the device supports ARC, the user will be asked to update "
3026 "the encryption of user data when the user signs in.";
3027
vabr0215a8e2017-03-28 12:47:343028#endif // #if defined(OS_CHROMEOS)
3029
wychen2212fe72017-04-10 10:23:323030#if defined(OS_ANDROID)
3031
3032const char kEnableCopylessPasteName[] = "App Indexing (Copyless Paste)";
3033
3034const char kEnableCopylessPasteDescription[] =
3035 "Provide suggestions for text input, based on your recent context. For "
3036 "example, if you looked at a restaurant website and switched to the Maps "
3037 "app, the keyboard would offer the name of that restaurant as a suggestion "
3038 "to enter into the search bar. The data is indexed locally, and never sent "
3039 "to the server. It's disabled in incognito mode.";
3040
alexander.shalamov588eca42017-04-20 13:32:423041const char kEnableWebNfcName[] = "WebNFC";
3042
3043const char kEnableWebNfcDescription[] = "Enable WebNFC support.";
3044
wychen2212fe72017-04-10 10:23:323045#endif // defined(OS_ANDROID)
3046
xiaochengh91ba4c52017-04-21 03:49:253047const char kEnableIdleTimeSpellCheckingName[] =
3048 "Enable idle time spell checker";
3049
3050const char kEnableIdleTimeSpellCheckingDescription[] =
3051 "Make spell-checking code run only when the browser is idle, so that input "
3052 "latency is reduced, especially when editing long articles, emails, etc.";
3053
mpearson5aed28a2017-04-25 06:01:313054#if defined(OS_ANDROID)
3055
3056const char kEnableOmniboxClipboardProviderName[] =
3057 "Omnibox clipboard URL suggestions";
3058
3059const char kEnableOmniboxClipboardProviderDescription[] =
3060 "Provide a suggestion of the URL stored in the clipboard (if any) upon "
3061 "focus in the omnibox.";
3062
3063#endif // defined(OS_ANDROID)
3064
mlamouri1f264da22017-04-25 22:34:423065const char kAutoplayPolicyName[] = "Autoplay policy";
3066
3067const char kAutoplayPolicyDescription[] =
3068 "Policy used when deciding if audio or video is allowed to autoplay.";
3069
3070const char kAutoplayPolicyNoUserGestureRequired[] =
3071 "No user gesture is required.";
3072
3073const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
3074
mlamouri55a0543c2017-05-11 10:34:073075const char kAutoplayPolicyUserGestureRequiredForCrossOrigin[] =
mlamouri1f264da22017-04-25 22:34:423076 "User gesture is required for cross-origin iframes.";
3077
gcomanici8cabc77f2017-04-27 20:04:543078const char kOmniboxDisplayTitleForCurrentUrlName[] =
3079 "Include title for the current URL in the omnibox";
3080
3081const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
3082 "In the event that the omnibox provides suggestions on-focus, the URL of "
3083 "the current page is provided as the first suggestion without a title. "
3084 "Enabling this flag causes the title to be displayed.";
3085
tommyclia5a538f92017-05-15 19:09:383086const char kOmniboxUIMaxAutocompleteMatchesName[] =
3087 "Omnibox UI Max Autocomplete Matches";
3088
3089const char kOmniboxUIMaxAutocompleteMatchesDescription[] =
3090 "Changes the maximum number af autocomplete matches displayed in the "
3091 "Omnibox UI.";
3092
tommycli2bb95c42017-05-08 18:07:023093const char kOmniboxUIVerticalMarginName[] = "Omnibox UI Vertical Margin";
3094
3095const char kOmniboxUIVerticalMarginDescription[] =
3096 "Changes the vertical margin in the Omnibox UI.";
3097
tbansald3e08ca62017-05-04 19:51:093098const char kForceEffectiveConnectionTypeName[] =
3099 "Override effective connection type";
3100
3101const char kForceEffectiveConnectionTypeDescription[] =
3102 "Overrides the effective connection type of the current connection "
3103 "returned by the network quality estimator.";
3104
3105const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
3106const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
3107const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
3108const char kEffectiveConnectionType2GDescription[] = "2G";
3109const char kEffectiveConnectionType3GDescription[] = "3G";
3110const char kEffectiveConnectionType4GDescription[] = "4G";
3111
dskibac6376a62017-05-01 22:43:293112const char kEnableHeapProfilingName[] = "Heap profiling";
3113
3114const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
3115
3116const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
3117
3118const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
3119
3120const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
3121
fhorschig122c6652017-05-05 10:21:303122const char kUseSuggestionsEvenIfFewFeatureName[] =
3123 "Disable minimum for server-side tile suggestions on NTP.";
3124
3125const char kUseSuggestionsEvenIfFewFeatureDescription[] =
3126 "Request server-side suggestions even if there are only very few of them "
3127 "and use them for tiles on the New Tab Page.";
3128
toyoshim9ff98be2017-05-05 15:53:283129const char kLocationHardReloadName[] =
3130 "Experimental change for Location.reload() to trigger a hard-reload.";
3131
3132const char kLocationHardReloadDescription[] =
3133 "Enable an experimental change for Location.reload() to trigger a "
3134 "hard-reload.";
3135
treib32d2e422017-05-08 10:00:353136const char kCaptureThumbnailOnLoadFinishedName[] =
3137 "Capture page thumbnail on load finished";
3138
3139const char kCaptureThumbnailOnLoadFinishedDescription[] =
3140 "Capture a page thumbnail (for use on the New Tab page) when the page load "
3141 "finishes, in addition to other times a thumbnail may be captured.";
3142
stanisc14bed0b132017-05-10 17:46:373143#if defined(OS_WIN)
3144
3145// Name and description of the flag that enables D3D v-sync.
3146const char kEnableD3DVsync[] = "D3D v-sync";
3147const char kEnableD3DVsyncDescription[] =
3148 "Produces v-sync signal by having D3D wait for vertical blanking interval "
3149 "to occur.";
3150
3151#endif // defined(OS_WIN)
3152
treib273e9db2017-05-11 14:02:263153#if !defined(OS_ANDROID) && !defined(OS_IOS)
3154
3155const char kUseGoogleLocalNtpName[] = "Enable using the Google local NTP";
3156const char kUseGoogleLocalNtpDescription[] =
3157 "Use the local New Tab page if Google is the default search engine.";
3158
3159const char kOneGoogleBarOnLocalNtpName[] =
3160 "Enable the OneGoogleBar on the local NTP";
3161const char kOneGoogleBarOnLocalNtpDescription[] =
3162 "Show a OneGoogleBar on the local New Tab page if Google is the default "
3163 "search engine.";
3164
3165#endif // !defined(OS_ANDROID) && !defined(OS_IOS)
3166
lgreyc0b638e52017-05-11 19:10:173167#if defined(OS_MACOSX)
3168extern const char kMacRTLName[] = "Enable RTL";
3169extern const char kMacRTLDescription[] =
3170 "Mirrors the UI for RTL language users";
3171#endif
3172
yhanadac5bff5b2017-05-18 06:37:093173#if defined(OS_CHROMEOS)
3174
3175const char kDisableNewVirtualKeyboardBehaviorName[] =
3176 "New window behavior for the accessibility keyboard";
3177const char kDisableNewVirtualKeyboardBehaviorDescription[] =
3178 "Disable new window behavior for the accessibility keyboard "
3179 "in non-sticky mode (do not change work area in non-sticky mode).";
3180
3181#endif // defined(OS_CHROMEOS)
3182
vabr0215a8e2017-03-28 12:47:343183} // namespace flag_descriptions