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