OLD | NEW |
(Empty) | |
| 1 // 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 |
| 7 namespace flag_descriptions { |
| 8 |
| 9 // Material Design version of chrome://bookmarks |
| 10 |
| 11 const char kEnableMaterialDesignBookmarksName[] = |
| 12 "Enable Material Design bookmarks"; |
| 13 |
| 14 const 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 |
| 20 const char kEnableMaterialDesignPolicyPageName[] = |
| 21 "Enable Material Design policy page"; |
| 22 |
| 23 const char kEnableMaterialDesignPolicyPageDescription[] = |
| 24 "If enabled, the chrome://md-policy URL loads the Material Design " |
| 25 "policy page."; |
| 26 |
| 27 // Material Design version of chrome://history |
| 28 |
| 29 const char kEnableMaterialDesignHistoryName[] = |
| 30 "Enable Material Design history"; |
| 31 |
| 32 const char kEnableMaterialDesignHistoryDescription[] = |
| 33 "If enabled, the chrome://history/ URL loads the Material Design " |
| 34 "history page."; |
| 35 |
| 36 // Material Design version of chrome://settings |
| 37 |
| 38 const char kEnableMaterialDesignSettingsName[] = |
| 39 "Enable Material Design settings"; |
| 40 |
| 41 const char kEnableMaterialDesignSettingsDescription[] = |
| 42 "If enabled, the chrome://settings/ URL loads the Material Design " |
| 43 "settings page."; |
| 44 |
| 45 // Material Design version of chrome://extensions |
| 46 |
| 47 const char kEnableMaterialDesignExtensionsName[] = |
| 48 "Enable Material Design extensions"; |
| 49 |
| 50 const char kEnableMaterialDesignExtensionsDescription[] = |
| 51 "If enabled, the chrome://extensions/ URL loads the Material Design " |
| 52 "extensions page."; |
| 53 |
| 54 // Material Design version of feedback form |
| 55 |
| 56 const char kEnableMaterialDesignFeedbackName[] = |
| 57 "Enable Material Design feedback"; |
| 58 |
| 59 const char kEnableMaterialDesignFeedbackDescription[] = |
| 60 "If enabled, reporting an issue will load the Material Design feedback " |
| 61 "UI."; |
| 62 |
| 63 // Report URL to SafeSearch |
| 64 |
| 65 const char kSafeSearchUrlReportingName[] = "SafeSearch URLs reporting."; |
| 66 |
| 67 const char kSafeSearchUrlReportingDescription[] = |
| 68 "If enabled, inappropriate URLs can be reported back to SafeSearch."; |
| 69 |
| 70 // Device scale factor change in content crbug.com/485650. |
| 71 |
| 72 const char kEnableUseZoomForDsfName[] = |
| 73 "Use Blink's zoom for device scale factor."; |
| 74 |
| 75 const char kEnableUseZoomForDsfDescription[] = |
| 76 "If enabled, Blink uses its zooming mechanism to scale content for " |
| 77 "device scale factor."; |
| 78 |
| 79 const char kEnableUseZoomForDsfChoiceDefault[] = "Default"; |
| 80 |
| 81 const char kEnableUseZoomForDsfChoiceEnabled[] = "Enabled"; |
| 82 |
| 83 const char kEnableUseZoomForDsfChoiceDisabled[] = "Disabled"; |
| 84 |
| 85 const char kNostatePrefetch[] = "No-State Prefetch"; |
| 86 |
| 87 const char kNostatePrefetchDescription[] = |
| 88 R"*("No-State Prefetch" pre-downloads resources to improve load )*" |
| 89 R"*(times. "Prerender" does a full pre-rendering of the page, to )*" |
| 90 R"*(improve load times even more. "Simple Load" does nothing and is )*" |
| 91 R"*(similar to disabling the feature, but collects more metrics for )*" |
| 92 R"*(comparison purposes.)*"; |
| 93 |
| 94 const char kSpeculativePrefetchName[] = "Speculative Prefetch"; |
| 95 |
| 96 const char kSpeculativePrefetchDescription[] = |
| 97 R"*("Speculative Prefetch" fetches likely resources early to improve )*" |
| 98 R"*(load times, based on a local database (see chrome://predictors). )*" |
| 99 R"*("Learning" means that only the database construction is enabled, )*" |
| 100 R"*("Prefetching" that learning and prefetching are enabled.)*"; |
| 101 |
| 102 // Force Tablet Mode |
| 103 |
| 104 const char kForceTabletModeName[] = "Force Tablet Mode"; |
| 105 |
| 106 const char kForceTabletModeDescription[] = |
| 107 R"*(This flag can be used to force a certain mode on to a chromebook, )*" |
| 108 R"*(despite its current orientation. "TouchView" means that the )*" |
| 109 R"*(chromebook will act as if it were in touch view mode. "Clamshell" )*" |
| 110 R"*(means that the chromebook will act as if it were in clamshell )*" |
| 111 R"*(mode . "Auto" means that the chromebook will alternate between )*" |
| 112 R"*(the two, based on its orientation.)*"; |
| 113 |
| 114 const char kForceTabletModeTouchview[] = "TouchView"; |
| 115 |
| 116 const char kForceTabletModeClamshell[] = "Clamshell"; |
| 117 |
| 118 const char kForceTabletModeAuto[] = "Auto (default)"; |
| 119 |
| 120 // Print Preview features |
| 121 |
| 122 const char kPrintPdfAsImageName[] = "Print Pdf as Image"; |
| 123 |
| 124 const char kPrintPdfAsImageDescription[] = |
| 125 "If enabled, an option to print PDF files as images will be available " |
| 126 "in print preview."; |
| 127 |
| 128 const char kPrintScalingName[] = "Print Scaling."; |
| 129 |
| 130 const char kPrintScalingDescription[] = |
| 131 "If enabled, an option to scale documents will be available in print " |
| 132 "preview."; |
| 133 |
| 134 const char kNaclName[] = "Native Client"; |
| 135 |
| 136 #if defined(OS_ANDROID) |
| 137 |
| 138 const char kNaclDescription[] = "Enable support for Native Client."; |
| 139 |
| 140 #endif // defined(OS_ANDROID) |
| 141 |
| 142 #if !defined(OS_ANDROID) |
| 143 |
| 144 const char kNaclDescription[] = |
| 145 "Support Native Client for all web applications, even those that were " |
| 146 "not installed from the Chrome Web Store."; |
| 147 |
| 148 #endif // !defined(OS_ANDROID) |
| 149 |
| 150 const char kNaclDebugName[] = "Native Client GDB-based debugging"; |
| 151 |
| 152 const char kNaclDebugDescription[] = |
| 153 "Enable GDB debug stub. This will stop a Native Client application on " |
| 154 "startup and wait for nacl-gdb (from the NaCl SDK) to attach to it."; |
| 155 |
| 156 #if !defined(OS_ANDROID) |
| 157 |
| 158 const char kPnaclSubzeroName[] = "Force PNaCl Subzero"; |
| 159 |
| 160 const char kPnaclSubzeroDescription[] = |
| 161 "Force the use of PNaCl's fast Subzero translator for all pexe files."; |
| 162 |
| 163 #endif // !defined(OS_ANDROID) |
| 164 |
| 165 const char kNaclDebugMaskName[] = |
| 166 "Restrict Native Client GDB-based debugging by pattern"; |
| 167 |
| 168 const char kNaclDebugMaskDescription[] = |
| 169 "Restricts Native Client application GDB-based debugging by URL of " |
| 170 "manifest file. Native Client GDB-based debugging must be enabled for " |
| 171 "this option to work."; |
| 172 |
| 173 const char kNaclDebugMaskChoiceDebugAll[] = "Debug everything."; |
| 174 |
| 175 const char kNaclDebugMaskChoiceExcludeUtilsPnacl[] = |
| 176 "Debug everything except secure shell and the PNaCl translator."; |
| 177 |
| 178 const char kNaclDebugMaskChoiceIncludeDebug[] = |
| 179 "Debug only if manifest URL ends with debug.nmf."; |
| 180 |
| 181 const char kEnableHttpFormWarningName[] = |
| 182 "Show in-form warnings for sensitive fields when the top-level page is " |
| 183 "not HTTPS"; |
| 184 |
| 185 const char kEnableHttpFormWarningDescription[] = |
| 186 "Attaches a warning UI to any password or credit card fields detected " |
| 187 "when the top-level page is not HTTPS"; |
| 188 |
| 189 const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure"; |
| 190 |
| 191 const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages"; |
| 192 |
| 193 const char kMarkHttpAsDangerous[] = "Always mark HTTP as actively dangerous"; |
| 194 |
| 195 const char kSavePageAsMhtmlName[] = "Save Page as MHTML"; |
| 196 |
| 197 const char kSavePageAsMhtmlDescription[] = |
| 198 "Enables saving pages as MHTML: a single text file containing HTML and " |
| 199 "all sub-resources."; |
| 200 |
| 201 // Flag and values for MHTML Geenrator options lab. |
| 202 |
| 203 const char kMhtmlGeneratorOptionName[] = "MHTML Generation Option"; |
| 204 |
| 205 const char kMhtmlGeneratorOptionDescription[] = |
| 206 "Provides experimental options for MHTML file generator."; |
| 207 |
| 208 const char kMhtmlSkipNostoreMain[] = "Skips no-store main frame."; |
| 209 |
| 210 const char kMhtmlSkipNostoreAll[] = "Skips all no-store resources."; |
| 211 |
| 212 const char kDeviceDiscoveryNotificationsName[] = |
| 213 "Device Discovery Notifications"; |
| 214 |
| 215 const char kDeviceDiscoveryNotificationsDescription[] = |
| 216 "Device discovery notifications on local network."; |
| 217 |
| 218 #if defined(OS_WIN) |
| 219 |
| 220 const char kCloudPrintXpsName[] = "XPS in Google Cloud Print"; |
| 221 |
| 222 const char kCloudPrintXpsDescription[] = |
| 223 "XPS enables advanced options for classic printers connected to the " |
| 224 "Cloud Print with Chrome. Printers must be re-connected after changing " |
| 225 "this flag."; |
| 226 |
| 227 #endif // defined(OS_WIN) |
| 228 |
| 229 const char kLoadMediaRouterComponentExtensionName[] = |
| 230 "Load Media Router Component Extension"; |
| 231 |
| 232 const char kLoadMediaRouterComponentExtensionDescription[] = |
| 233 "Loads the Media Router component extension at startup."; |
| 234 |
| 235 const char kPrintPreviewRegisterPromosName[] = |
| 236 "Print Preview Registration Promos"; |
| 237 |
| 238 const char kPrintPreviewRegisterPromosDescription[] = |
| 239 "Enable registering unregistered cloud printers from print preview."; |
| 240 |
| 241 const char kScrollPredictionName[] = "Scroll prediction"; |
| 242 |
| 243 const char kTopChromeMd[] = "UI Layout for the browser's top chrome"; |
| 244 |
| 245 const char kTopChromeMdDescription[] = |
| 246 R"*(Toggles between normal and touch (formerly "hybrid") layouts.)*"; |
| 247 |
| 248 const char kTopChromeMdMaterial[] = "Normal"; |
| 249 |
| 250 const char kTopChromeMdMaterialHybrid[] = "Touch"; |
| 251 |
| 252 const char kSiteSettings[] = "Site settings with All sites and Site details"; |
| 253 |
| 254 const char kSiteSettingsDescription[] = |
| 255 "Adds new ways of viewing Site settings."; |
| 256 |
| 257 const char kSecondaryUiMd[] = |
| 258 "Material Design in the rest of the browser's native UI"; |
| 259 |
| 260 const char kSecondaryUiMdDescription[] = |
| 261 "Extends the --top-chrome-md setting to secondary UI (bubbles, dialogs, " |
| 262 "etc.). On Mac, this enables MacViews, which uses toolkit-views for " |
| 263 "native browser dialogs."; |
| 264 |
| 265 const char kScrollPredictionDescription[] = |
| 266 "Predicts the finger's future position during scrolls allowing time to " |
| 267 "render the frame before the finger is there."; |
| 268 |
| 269 const char kAddToShelfName[] = "Add to shelf"; |
| 270 |
| 271 const char kAddToShelfDescription[] = |
| 272 "Enable the display of add to shelf banners, which prompt a user to add " |
| 273 "a web app to their shelf, or other platform-specific equivalent."; |
| 274 |
| 275 const char kBypassAppBannerEngagementChecksName[] = |
| 276 "Bypass user engagement checks"; |
| 277 |
| 278 const char kBypassAppBannerEngagementChecksDescription[] = |
| 279 "Bypasses user engagement checks for displaying app banners, such as " |
| 280 "requiring that users have visited the site before and that the banner " |
| 281 "hasn't been shown recently. This allows developers to test that other " |
| 282 "eligibility requirements for showing app banners, such as having a " |
| 283 "manifest, are met."; |
| 284 |
| 285 #if defined(OS_ANDROID) |
| 286 |
| 287 const char kAccessibilityTabSwitcherName[] = "Accessibility Tab Switcher"; |
| 288 |
| 289 const char kAccessibilityTabSwitcherDescription[] = |
| 290 "Enable the accessibility tab switcher for Android."; |
| 291 |
| 292 const char kEnablePhysicalWebName[] = "Enable the Physical Web."; |
| 293 |
| 294 const char kEnablePhysicalWebDescription[] = |
| 295 "Enable scanning for URLs from Physical Web objects."; |
| 296 |
| 297 #endif // defined(OS_ANDROID) |
| 298 |
| 299 const char kTouchEventsName[] = "Touch Events API"; |
| 300 |
| 301 const char kTouchEventsDescription[] = |
| 302 "Force Touch Events API feature detection to always be enabled or " |
| 303 "disabled, or to be enabled when a touchscreen is detected on startup " |
| 304 "(Automatic, the default)."; |
| 305 |
| 306 const char kTouchAdjustmentName[] = "Touch adjustment"; |
| 307 |
| 308 const char kTouchAdjustmentDescription[] = |
| 309 "Refine the position of a touch gesture in order to compensate for " |
| 310 "touches having poor resolution compared to a mouse."; |
| 311 |
| 312 const char kCompositedLayerBorders[] = "Composited render layer borders"; |
| 313 |
| 314 const char kCompositedLayerBordersDescription[] = |
| 315 "Renders a border around composited Render Layers to help debug and " |
| 316 "study layer compositing."; |
| 317 |
| 318 const char kGlCompositedTextureQuadBorders[] = |
| 319 "GL composited texture quad borders"; |
| 320 |
| 321 const char kGlCompositedTextureQuadBordersDescription[] = |
| 322 "Renders a border around GL composited texture quads to help debug and " |
| 323 "study overlay support."; |
| 324 |
| 325 const char kShowOverdrawFeedback[] = "Show overdraw feedback"; |
| 326 |
| 327 const char kShowOverdrawFeedbackDescription[] = |
| 328 "Visualize overdraw by color-coding elements based on if they have " |
| 329 "other elements drawn underneath."; |
| 330 |
| 331 const char kUiPartialSwapName[] = "Partial swap"; |
| 332 |
| 333 const char kUiPartialSwapDescription[] = "Sets partial swap behavior."; |
| 334 |
| 335 const char kDebugShortcutsName[] = "Debugging keyboard shortcuts"; |
| 336 |
| 337 const char kIgnoreGpuBlacklistName[] = "Override software rendering list"; |
| 338 |
| 339 const char kIgnoreGpuBlacklistDescription[] = |
| 340 "Overrides the built-in software rendering list and enables " |
| 341 "GPU-acceleration on unsupported system configurations."; |
| 342 |
| 343 const char kInertVisualViewportName[] = "Inert visual viewport."; |
| 344 |
| 345 const char kInertVisualViewportDescription[] = |
| 346 "Experiment to have all APIs reflect the layout viewport. This will " |
| 347 "make window.scroll properties relative to the layout viewport."; |
| 348 |
| 349 const char kExperimentalCanvasFeaturesName[] = "Experimental canvas features"; |
| 350 |
| 351 const char kExperimentalCanvasFeaturesDescription[] = |
| 352 "Enables the use of experimental canvas features which are still in " |
| 353 "development."; |
| 354 |
| 355 const char kAccelerated2dCanvasName[] = "Accelerated 2D canvas"; |
| 356 |
| 357 const char kAccelerated2dCanvasDescription[] = |
| 358 "Enables the use of the GPU to perform 2d canvas rendering instead of " |
| 359 "using software rendering."; |
| 360 |
| 361 const char kDisplayList2dCanvasName[] = "Display list 2D canvas"; |
| 362 |
| 363 const char kDisplayList2dCanvasDescription[] = |
| 364 "Enables the use of display lists to record 2D canvas commands. This " |
| 365 "allows 2D canvas rasterization to be performed on separate thread."; |
| 366 |
| 367 const char kEnable2dCanvasDynamicRenderingModeSwitchingName[] = |
| 368 "Enable 2D canvas dynamic rendering mode switching."; |
| 369 |
| 370 const char kEnable2dCanvasDynamicRenderingModeSwitchingDescription[] = |
| 371 "There are multiple implementations of the graphics rendering pipeline " |
| 372 "for the 2D canvas. These different implementations have different " |
| 373 "performance characteristics. Turning on this flag allows canvas 2D " |
| 374 "contexts to switch between these implementations on the fly based on " |
| 375 "how the canvas is used in order to increase performance. For example, " |
| 376 "going from an implementation that uses the GPU to one that doesn't."; |
| 377 |
| 378 const char kExperimentalExtensionApisName[] = "Experimental Extension APIs"; |
| 379 |
| 380 const char kExperimentalExtensionApisDescription[] = |
| 381 "Enables experimental extension APIs. Note that the extension gallery " |
| 382 "doesn't allow you to upload extensions that use experimental APIs."; |
| 383 |
| 384 const char kExtensionsOnChromeUrlsName[] = "Extensions on chrome:// URLs"; |
| 385 |
| 386 const char kExtensionsOnChromeUrlsDescription[] = |
| 387 "Enables running extensions on chrome:// URLs, where extensions " |
| 388 "explicitly request this permission."; |
| 389 |
| 390 const char kFastUnloadName[] = "Fast tab/window close"; |
| 391 |
| 392 const char kFastUnloadDescription[] = |
| 393 "Enables fast tab/window closing - runs a tab's onunload js handler " |
| 394 "independently of the GUI."; |
| 395 |
| 396 const char kUserConsentForExtensionScriptsName[] = |
| 397 "User consent for extension scripts"; |
| 398 |
| 399 const char kUserConsentForExtensionScriptsDescription[] = |
| 400 "Require user consent for an extension running a script on the page, if " |
| 401 "the extension requested permission to run on all urls."; |
| 402 |
| 403 const char kHistoryRequiresUserGestureName[] = |
| 404 "New history entries require a user gesture."; |
| 405 |
| 406 const char kHistoryRequiresUserGestureDescription[] = |
| 407 "Require a user gesture to add a history entry."; |
| 408 |
| 409 const char kHyperlinkAuditingName[] = "Hyperlink auditing"; |
| 410 |
| 411 const char kHyperlinkAuditingDescription[] = "Sends hyperlink auditing pings."; |
| 412 |
| 413 #if defined(OS_ANDROID) |
| 414 |
| 415 const char kContextualSearch[] = "Contextual Search"; |
| 416 |
| 417 const char kContextualSearchDescription[] = |
| 418 "Whether or not Contextual Search is enabled."; |
| 419 |
| 420 const char kContextualSearchContextualCardsBarIntegration[] = |
| 421 "Contextual Search - Contextual Cards Integration"; |
| 422 |
| 423 const char kContextualSearchContextualCardsBarIntegrationDescription[] = |
| 424 "Whether or not integration of Contextual Cards data in the Contextual " |
| 425 "Search Bar is enabled."; |
| 426 |
| 427 const char kContextualSearchSingleActions[] = |
| 428 "Contextual Search - Single Actions"; |
| 429 |
| 430 const char kContextualSearchSingleActionsDescription[] = |
| 431 "Whether or not single actions using Contextual Cards data in the " |
| 432 "Contextual Search Bar is enabled."; |
| 433 |
| 434 const char kContextualSearchUrlActions[] = "Contextual Search - URL Actions"; |
| 435 |
| 436 const char kContextualSearchUrlActionsDescription[] = |
| 437 "Whether or not URL actions using Contextual Cards data in the " |
| 438 "Contextual Search Bar is enabled."; |
| 439 |
| 440 #endif // defined(OS_ANDROID) |
| 441 |
| 442 const char kSmoothScrollingName[] = "Smooth Scrolling"; |
| 443 |
| 444 const char kSmoothScrollingDescription[] = |
| 445 "Animate smoothly when scrolling page content."; |
| 446 |
| 447 const char kOverlayScrollbarsName[] = "Overlay Scrollbars"; |
| 448 |
| 449 const char kOverlayScrollbarsDescription[] = |
| 450 "Enable the experimental overlay scrollbars implementation. You must " |
| 451 "also enable threaded compositing to have the scrollbars animate."; |
| 452 |
| 453 const char kShowAutofillTypePredictionsName[] = "Show Autofill predictions"; |
| 454 |
| 455 const char kShowAutofillTypePredictionsDescription[] = |
| 456 "Annotates web forms with Autofill field type predictions as " |
| 457 "placeholder text."; |
| 458 |
| 459 const char kTcpFastOpenName[] = "TCP Fast Open"; |
| 460 |
| 461 const char kTcpFastOpenDescription[] = |
| 462 "Enable the option to send extra authentication information in the " |
| 463 "initial SYN packet for a previously connected client, allowing faster " |
| 464 "data send start."; |
| 465 |
| 466 const char kTouchDragDropName[] = "Touch initiated drag and drop"; |
| 467 |
| 468 const char kTouchDragDropDescription[] = |
| 469 "Touch drag and drop can be initiated through long press on a draggable " |
| 470 "element."; |
| 471 |
| 472 const char kTouchSelectionStrategyName[] = "Touch text selection strategy"; |
| 473 |
| 474 const char kTouchSelectionStrategyDescription[] = |
| 475 "Controls how text selection granularity changes when touch text " |
| 476 "selection handles are dragged. Non-default behavior is experimental."; |
| 477 |
| 478 const char kTouchSelectionStrategyCharacter[] = "Character"; |
| 479 |
| 480 const char kTouchSelectionStrategyDirection[] = "Direction"; |
| 481 |
| 482 const char kWalletServiceUseSandboxName[] = |
| 483 "Use Google Payments sandbox servers"; |
| 484 |
| 485 const char kWalletServiceUseSandboxDescription[] = |
| 486 "For developers: use the sandbox service for Google Payments API " |
| 487 "calls."; |
| 488 |
| 489 const char kOverscrollHistoryNavigationName[] = "Overscroll history navigation"; |
| 490 |
| 491 const char kOverscrollHistoryNavigationDescription[] = |
| 492 "Experimental history navigation in response to horizontal overscroll."; |
| 493 |
| 494 const char kOverscrollHistoryNavigationSimpleUi[] = "Simple"; |
| 495 |
| 496 const char kOverscrollStartThresholdName[] = "Overscroll start threshold"; |
| 497 |
| 498 const char kOverscrollStartThresholdDescription[] = |
| 499 "Changes overscroll start threshold relative to the default value."; |
| 500 |
| 501 const char kOverscrollStartThreshold133Percent[] = "133%"; |
| 502 |
| 503 const char kOverscrollStartThreshold166Percent[] = "166%"; |
| 504 |
| 505 const char kOverscrollStartThreshold200Percent[] = "200%"; |
| 506 |
| 507 const char kScrollEndEffectName[] = "Scroll end effect"; |
| 508 |
| 509 const char kScrollEndEffectDescription[] = |
| 510 "Experimental scroll end effect in response to vertical overscroll."; |
| 511 |
| 512 const char kWebgl2Name[] = "WebGL 2.0"; |
| 513 |
| 514 const char kWebgl2Description[] = "Allow web applications to access WebGL 2.0."; |
| 515 |
| 516 const char kWebglDraftExtensionsName[] = "WebGL Draft Extensions"; |
| 517 |
| 518 const char kWebglDraftExtensionsDescription[] = |
| 519 "Enabling this option allows web applications to access the WebGL " |
| 520 "Extensions that are still in draft status."; |
| 521 |
| 522 const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding"; |
| 523 |
| 524 const char kWebrtcHwDecodingDescription[] = |
| 525 "Support in WebRTC for decoding video streams using platform hardware."; |
| 526 |
| 527 const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding"; |
| 528 |
| 529 const char kWebrtcHwEncodingDescription[] = |
| 530 "Support in WebRTC for encoding video streams using platform hardware."; |
| 531 |
| 532 const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding"; |
| 533 |
| 534 const char kWebrtcHwH264EncodingDescription[] = |
| 535 "Support in WebRTC for encoding h264 video streams using platform " |
| 536 "hardware."; |
| 537 |
| 538 const char kWebrtcSrtpAesGcmName[] = |
| 539 "Negotiation with GCM cipher suites for SRTP in WebRTC"; |
| 540 |
| 541 const char kWebrtcSrtpAesGcmDescription[] = |
| 542 "When enabled, WebRTC will try to negotiate GCM cipher suites for " |
| 543 "SRTP."; |
| 544 |
| 545 const char kWebrtcStunOriginName[] = "WebRTC Stun origin header"; |
| 546 |
| 547 const char kWebrtcStunOriginDescription[] = |
| 548 "When enabled, Stun messages generated by WebRTC will contain the " |
| 549 "Origin header."; |
| 550 |
| 551 const char kWebrtcEchoCanceller3Name[] = "WebRTC Echo Canceller 3."; |
| 552 |
| 553 const char kWebrtcEchoCanceller3Description[] = |
| 554 "Experimental WebRTC echo canceller (AEC3)."; |
| 555 |
| 556 #if defined(OS_ANDROID) |
| 557 |
| 558 const char kMediaScreenCaptureName[] = "Experimental ScreenCapture."; |
| 559 |
| 560 const char kMediaScreenCaptureDescription[] = |
| 561 "Enable this option for experimental ScreenCapture feature on Android."; |
| 562 |
| 563 #endif // defined(OS_ANDROID) |
| 564 |
| 565 #if BUILDFLAG(ENABLE_WEBRTC) |
| 566 |
| 567 const char kWebrtcH264WithOpenh264FfmpegName[] = |
| 568 "WebRTC H.264 software video encoder/decoder"; |
| 569 |
| 570 const char kWebrtcH264WithOpenh264FfmpegDescription[] = |
| 571 "When enabled, an H.264 software video encoder/decoder pair is " |
| 572 "included. If a hardware encoder/decoder is also available it may be " |
| 573 "used instead of this encoder/decoder."; |
| 574 |
| 575 #endif // BUILDFLAG(ENABLE_WEBRTC) |
| 576 |
| 577 const char kWebvrName[] = "WebVR"; |
| 578 |
| 579 const char kWebvrDescription[] = |
| 580 "Enabling this option allows web applications to access experimental " |
| 581 "Virtual Reality APIs."; |
| 582 |
| 583 const char kWebvrExperimentalRenderingName[] = |
| 584 "WebVR experimental rendering optimizations"; |
| 585 |
| 586 const char kWebvrExperimentalRenderingDescription[] = |
| 587 "Enabling this option activates experimental rendering path " |
| 588 "optimizations for WebVR."; |
| 589 |
| 590 const char kGamepadExtensionsName[] = "Gamepad Extensions"; |
| 591 |
| 592 const char kGamepadExtensionsDescription[] = |
| 593 "Enabling this option allows web applications to access experimental " |
| 594 "extensions to the Gamepad APIs."; |
| 595 |
| 596 #if defined(OS_ANDROID) |
| 597 |
| 598 const char kNewPhotoPickerName[] = "Enable new Photopicker"; |
| 599 |
| 600 const char kNewPhotoPickerDescription[] = |
| 601 "Activates the new picker for selecting photos."; |
| 602 |
| 603 #endif // defined(OS_ANDROID) |
| 604 |
| 605 #if defined(OS_ANDROID) |
| 606 |
| 607 const char kEnableOskOverscrollName[] = "Enable OSK Overscroll"; |
| 608 |
| 609 const char kEnableOskOverscrollDescription[] = |
| 610 "Enable OSK overscroll support. With this flag on, the OSK will only " |
| 611 "resize the visual viewport."; |
| 612 |
| 613 #endif // defined(OS_ANDROID) |
| 614 |
| 615 const char kQuicName[] = "Experimental QUIC protocol"; |
| 616 |
| 617 const char kQuicDescription[] = "Enable experimental QUIC protocol support."; |
| 618 |
| 619 const char kSslVersionMaxName[] = "Maximum TLS version enabled."; |
| 620 |
| 621 const char kSslVersionMaxDescription[] = "Set maximum enabled TLS version."; |
| 622 |
| 623 const char kSslVersionMaxTls12[] = "TLS 1.2"; |
| 624 |
| 625 const char kSslVersionMaxTls13[] = "TLS 1.3"; |
| 626 |
| 627 const char kEnableTokenBindingName[] = "Token Binding."; |
| 628 |
| 629 const char kEnableTokenBindingDescription[] = "Enable Token Binding support."; |
| 630 |
| 631 const char kGestureRequirementForMediaPlaybackName[] = |
| 632 "Gesture requirement for media playback"; |
| 633 |
| 634 const char kGestureRequirementForMediaPlaybackDescription[] = |
| 635 "User gesture requirement for playing media elements. Disabling this " |
| 636 "will allow autoplay to work."; |
| 637 |
| 638 #if !defined(OS_ANDROID) |
| 639 |
| 640 const char kCrossOriginMediaPlaybackRequiresUserGestureName[] = |
| 641 "Media playback in cross-origin iframes requires user gesture"; |
| 642 |
| 643 const char kCrossOriginMediaPlaybackRequiresUserGestureDescription[] = |
| 644 "Playing media elements in cross-origin iframes requires user gesture. " |
| 645 "Disabling this will allow autoplay in cross-origin iframes to work."; |
| 646 |
| 647 #endif // !defined(OS_ANDROID) |
| 648 |
| 649 const char kPassiveDocumentEventListenersDescription[] = |
| 650 "Forces touchstart, and touchmove event listeners on document level " |
| 651 "targets (which haven't requested otherwise) to be treated as passive."; |
| 652 |
| 653 const char kPassiveDocumentEventListenersName[] = |
| 654 "Document Level Event Listeners Passive Default"; |
| 655 |
| 656 const char kPassiveEventListenersDueToFlingDescription[] = |
| 657 "Forces touchstart, and first touchmove per scroll event listeners " |
| 658 "during fling to be treated as passive."; |
| 659 |
| 660 const char kPassiveEventListenersDueToFlingName[] = |
| 661 "Touch Event Listeners Passive Default During Fling"; |
| 662 |
| 663 const char kPassiveEventListenerTrue[] = "True (when unspecified)"; |
| 664 |
| 665 const char kPassiveEventListenerForceAllTrue[] = "Force All True"; |
| 666 |
| 667 const char kPassiveEventListenerDefaultName[] = |
| 668 "Passive Event Listener Override"; |
| 669 |
| 670 const char kPassiveEventListenerDefaultDescription[] = |
| 671 "Forces touchstart, touchmove, mousewheel and wheel event listeners " |
| 672 "(which haven't requested otherwise) to be treated as passive. This " |
| 673 "will break touch/wheel behavior on some websites but is useful for " |
| 674 "demonstrating the potential performance benefits of adopting passive " |
| 675 "event listeners."; |
| 676 |
| 677 #if defined(OS_ANDROID) |
| 678 |
| 679 const char kImportantSitesInCbdName[] = |
| 680 "Important sites options in clear browsing data dialog"; |
| 681 |
| 682 const char kImportantSitesInCbdDescription[] = |
| 683 "Include the option to whitelist important sites in the clear browsing " |
| 684 "data dialog."; |
| 685 |
| 686 #endif // defined(OS_ANDROID) |
| 687 |
| 688 #if defined(USE_ASH) |
| 689 |
| 690 const char kAshShelfColor[] = "Shelf Color in Chrome OS system UI"; |
| 691 |
| 692 const char kAshShelfColorDescription[] = |
| 693 "Specify the Shelf Color scheme in Chrome OS system UI"; |
| 694 |
| 695 const char kAshShelfColorLightVibrant[] = "Light & Vibrant"; |
| 696 |
| 697 const char kAshShelfColorNormalVibrant[] = "Normal & Vibrant"; |
| 698 |
| 699 const char kAshShelfColorDarkVibrant[] = "Dark & Vibrant"; |
| 700 |
| 701 const char kAshShelfColorLightMuted[] = "Light & Muted"; |
| 702 |
| 703 const char kAshShelfColorNormalMuted[] = "Normal & Muted"; |
| 704 |
| 705 const char kAshShelfColorDarkMuted[] = "Dark & Muted"; |
| 706 |
| 707 const char kAshMaximizeModeWindowBackdropName[] = |
| 708 "Window backdrops in TouchView"; |
| 709 |
| 710 const char kAshMaximizeModeWindowBackdropDescription[] = |
| 711 "Show grey window backdrops used in TouchView (maximize mode) behind " |
| 712 "windows which cannot be maximized."; |
| 713 |
| 714 const char kAshScreenOrientationLockName[] = "Screen Orientation locking"; |
| 715 |
| 716 const char kAshScreenOrientationLockDescription[] = |
| 717 "Allows javascript to lock the screen orienation."; |
| 718 |
| 719 const char kAshEnableMirroredScreenName[] = "Enable mirrored screen mode."; |
| 720 |
| 721 const char kAshEnableMirroredScreenDescription[] = |
| 722 "Enable the mirrored screen mode. This mode flips the screen image " |
| 723 "horizontally."; |
| 724 |
| 725 const char kMaterialDesignInkDropAnimationFast[] = "Fast"; |
| 726 |
| 727 const char kMaterialDesignInkDropAnimationSlow[] = "Slow"; |
| 728 |
| 729 const char kMaterialDesignInkDropAnimationSpeedName[] = |
| 730 "Material Design Ink Drop Animation Speed"; |
| 731 |
| 732 const char kMaterialDesignInkDropAnimationSpeedDescription[] = |
| 733 "Sets the speed of the experimental visual feedback animations for " |
| 734 "material design."; |
| 735 |
| 736 const char kUiSlowAnimationsName[] = "Slow UI animations"; |
| 737 |
| 738 const char kUiSlowAnimationsDescription[] = "Makes all UI animations slow."; |
| 739 |
| 740 #endif // defined(USE_ASH) |
| 741 |
| 742 const char kJavascriptHarmonyShippingName[] = |
| 743 "Latest stable JavaScript features"; |
| 744 |
| 745 const char kJavascriptHarmonyShippingDescription[] = |
| 746 "Some web pages use legacy or non-standard JavaScript extensions that " |
| 747 "may conflict with the latest JavaScript features. This flag allows " |
| 748 "disabling support of those features for compatibility with such " |
| 749 "pages."; |
| 750 |
| 751 const char kJavascriptHarmonyName[] = "Experimental JavaScript"; |
| 752 |
| 753 const char kJavascriptHarmonyDescription[] = |
| 754 "Enable web pages to use experimental JavaScript features."; |
| 755 |
| 756 const char kV8FutureName[] = "Experimental Features in V8 JavaScript execution"; |
| 757 |
| 758 const char kV8FutureDescription[] = |
| 759 "Enable experimental features in V8 for JavaScript execution."; |
| 760 |
| 761 const char kV8DisableIgnitionTurboName[] = |
| 762 "Disable the new JavaScript Compilation Pipeline"; |
| 763 |
| 764 const char kV8DisableIgnitionTurboDescription[] = |
| 765 "Disable V8's new Ignition interpreter and TurboFan compiler for " |
| 766 "JavaScript execution."; |
| 767 |
| 768 const char kEnableAsmWasmName[] = |
| 769 "Experimental Validate Asm.js and convert to WebAssembly when valid."; |
| 770 |
| 771 const char kEnableAsmWasmDescription[] = |
| 772 R"*(Validate Asm.js when "use asm" is present and then convert to )*" |
| 773 R"*(WebAssembly.)*"; |
| 774 |
| 775 const char kEnableSharedArrayBufferName[] = |
| 776 "Experimental enabled SharedArrayBuffer support in JavaScript."; |
| 777 |
| 778 const char kEnableSharedArrayBufferDescription[] = |
| 779 "Enable SharedArrayBuffer support in JavaScript."; |
| 780 |
| 781 const char kEnableWasmName[] = "WebAssembly structured cloning support."; |
| 782 |
| 783 const char kEnableWasmDescription[] = |
| 784 "Enable web pages to use WebAssembly structured cloning."; |
| 785 |
| 786 #if defined(OS_ANDROID) |
| 787 |
| 788 const char kMediaDocumentDownloadButtonName[] = |
| 789 "Download button when opening a page with media url."; |
| 790 |
| 791 const char kMediaDocumentDownloadButtonDescription[] = |
| 792 "Allow a download button to show up when opening a page with media " |
| 793 "url."; |
| 794 |
| 795 #endif // defined(OS_ANDROID) |
| 796 |
| 797 const char kSoftwareRasterizerName[] = "3D software rasterizer"; |
| 798 |
| 799 const char kSoftwareRasterizerDescription[] = |
| 800 "Fall back to a 3D software rasterizer when the GPU cannot be used."; |
| 801 |
| 802 const char kGpuRasterizationName[] = "GPU rasterization"; |
| 803 |
| 804 const char kGpuRasterizationDescription[] = |
| 805 "Use GPU to rasterize web content. Requires impl-side painting."; |
| 806 |
| 807 const char kForceGpuRasterization[] = "Force-enabled for all layers"; |
| 808 |
| 809 const char kGpuRasterizationMsaaSampleCountName[] = |
| 810 "GPU rasterization MSAA sample count."; |
| 811 |
| 812 const char kGpuRasterizationMsaaSampleCountDescription[] = |
| 813 "Specify the number of MSAA samples for GPU rasterization."; |
| 814 |
| 815 const char kGpuRasterizationMsaaSampleCountZero[] = "0"; |
| 816 |
| 817 const char kGpuRasterizationMsaaSampleCountTwo[] = "2"; |
| 818 |
| 819 const char kGpuRasterizationMsaaSampleCountFour[] = "4"; |
| 820 |
| 821 const char kGpuRasterizationMsaaSampleCountEight[] = "8"; |
| 822 |
| 823 const char kGpuRasterizationMsaaSampleCountSixteen[] = "16"; |
| 824 |
| 825 const char kSlimmingPaintInvalidationName[] = "Slimming paint invalidation."; |
| 826 |
| 827 const char kSlimmingPaintInvalidationDescription[] = |
| 828 "Whether to enable a new paint invalidation system."; |
| 829 |
| 830 const char kExperimentalSecurityFeaturesName[] = |
| 831 "Potentially annoying security features"; |
| 832 |
| 833 const char kExperimentalSecurityFeaturesDescription[] = |
| 834 "Enables several security features that will likely break one or more " |
| 835 "pages that you visit on a daily basis. Strict mixed content checking, " |
| 836 "for example. And locking powerful features to secure contexts. This " |
| 837 "flag will probably annoy you."; |
| 838 |
| 839 const char kExperimentalWebPlatformFeaturesName[] = |
| 840 "Experimental Web Platform features"; |
| 841 |
| 842 const char kExperimentalWebPlatformFeaturesDescription[] = |
| 843 "Enables experimental Web Platform features that are in development."; |
| 844 |
| 845 const char kExperimentalPointerEventName[] = "Pointer Events"; |
| 846 |
| 847 const char kExperimentalPointerEventDescription[] = |
| 848 "Enables support for the Pointer Events API. This is intended only for " |
| 849 "testing by web developers."; |
| 850 |
| 851 const char kOriginTrialsName[] = "Origin Trials"; |
| 852 |
| 853 const char kOriginTrialsDescription[] = |
| 854 "Enables origin trials for controlling access to feature/API " |
| 855 "experiments."; |
| 856 |
| 857 const char kBleAdvertisingInExtensionsName[] = "BLE Advertising in Chrome Apps"; |
| 858 |
| 859 const char kBleAdvertisingInExtensionsDescription[] = |
| 860 "Enables BLE Advertising in Chrome Apps. BLE Advertising might " |
| 861 "interfere with regular use of Bluetooth Low Energy features."; |
| 862 |
| 863 const char kDevtoolsExperimentsName[] = "Developer Tools experiments"; |
| 864 |
| 865 const char kDevtoolsExperimentsDescription[] = |
| 866 "Enables Developer Tools experiments. Use Settings panel in Developer " |
| 867 "Tools to toggle individual experiments."; |
| 868 |
| 869 const char kSilentDebuggerExtensionApiName[] = "Silent Debugging"; |
| 870 |
| 871 const char kSilentDebuggerExtensionApiDescription[] = |
| 872 "Do not show the infobar when an extension attaches to a page via " |
| 873 "chrome.debugger API. This is required to debug extension background " |
| 874 "pages."; |
| 875 |
| 876 const char kShowTouchHudName[] = "Show HUD for touch points"; |
| 877 |
| 878 const char kShowTouchHudDescription[] = |
| 879 "Enables a heads-up display at the top-left corner of the screen that " |
| 880 "lists information about the touch-points on the screen."; |
| 881 |
| 882 const char kPreferHtmlOverPluginsName[] = "Prefer HTML over Flash"; |
| 883 |
| 884 const char kPreferHtmlOverPluginsDescription[] = |
| 885 "Prefer HTML content by hiding Flash from the list of plugins."; |
| 886 |
| 887 const char kAllowNaclSocketApiName[] = "NaCl Socket API."; |
| 888 |
| 889 const char kAllowNaclSocketApiDescription[] = |
| 890 "Allows applications to use NaCl Socket API. Use only to test NaCl " |
| 891 "plugins."; |
| 892 |
| 893 const char kRunAllFlashInAllowModeName[] = |
| 894 R"*(Run all Flash content when Flash setting is set to "allow")*"; |
| 895 |
| 896 const char kRunAllFlashInAllowModeDescription[] = |
| 897 R"*(For sites that have been set to "allow" Flash content, run all )*" |
| 898 R"*(content including any that has been deemed unimportant.)*"; |
| 899 |
| 900 const char kPinchScaleName[] = "Pinch scale"; |
| 901 |
| 902 const char kPinchScaleDescription[] = |
| 903 "Enables experimental support for scale using pinch."; |
| 904 |
| 905 const char kCredentialManagerApiName[] = "Experimental Credential Manager API"; |
| 906 |
| 907 const char kCredentialManagerApiDescription[] = |
| 908 "Enables an experimental implementation of the Credential Manager API. " |
| 909 "Don't enable this unless you know what you're doing."; |
| 910 |
| 911 const char kReducedReferrerGranularityName[] = |
| 912 "Reduce default 'referer' header granularity."; |
| 913 |
| 914 const char kReducedReferrerGranularityDescription[] = |
| 915 "If a page hasn't set an explicit referrer policy, setting this flag " |
| 916 "will reduce the amount of information in the 'referer' header for " |
| 917 "cross-origin requests."; |
| 918 |
| 919 #if defined(OS_CHROMEOS) |
| 920 |
| 921 const char kUseMashName[] = "Mojo UI Service (mus)."; |
| 922 |
| 923 const char kUseMashDescription[] = "Enable mus, mash etc."; |
| 924 |
| 925 const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click"; |
| 926 |
| 927 const char kAllowTouchpadThreeFingerClickDescription[] = |
| 928 "Enables touchpad three-finger-click as middle button."; |
| 929 |
| 930 const char kAshEnableUnifiedDesktopName[] = "Unified desktop mode"; |
| 931 |
| 932 const char kAshEnableUnifiedDesktopDescription[] = |
| 933 "Enable unified desktop mode which allows a window to span multiple " |
| 934 "displays."; |
| 935 |
| 936 const char kBootAnimation[] = "Boot animation"; |
| 937 |
| 938 const char kBootAnimationDescription[] = |
| 939 "Wallpaper boot animation (except for OOBE case)."; |
| 940 |
| 941 #endif // defined(OS_CHROMEOS) |
| 942 |
| 943 const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode"; |
| 944 |
| 945 const char kAcceleratedVideoDecodeDescription[] = |
| 946 "Hardware-accelerated video decode where available."; |
| 947 |
| 948 const char kCloudImport[] = "Cloud Import"; |
| 949 |
| 950 const char kCloudImportDescription[] = "Allows the cloud-import feature."; |
| 951 |
| 952 const char kRequestTabletSiteName[] = |
| 953 "Request tablet site option in the settings menu"; |
| 954 |
| 955 const char kRequestTabletSiteDescription[] = |
| 956 "Allows the user to request tablet site. Web content is often optimized " |
| 957 "for tablet devices. When this option is selected the user agent string " |
| 958 "is changed to indicate a tablet device. Web content optimized for " |
| 959 "tablets is received there after for the current tab."; |
| 960 |
| 961 const char kDebugPackedAppName[] = "Debugging for packed apps"; |
| 962 |
| 963 const char kDebugPackedAppDescription[] = |
| 964 "Enables debugging context menu options such as Inspect Element for " |
| 965 "packed applications."; |
| 966 |
| 967 const char kDropSyncCredentialName[] = |
| 968 "Drop sync credentials from password manager"; |
| 969 |
| 970 const char kDropSyncCredentialDescription[] = |
| 971 "The password manager will not offer to save the credential used to " |
| 972 "sync."; |
| 973 |
| 974 const char kPasswordGenerationName[] = "Password generation"; |
| 975 |
| 976 const char kPasswordGenerationDescription[] = |
| 977 "Allow the user to have Chrome generate passwords when it detects " |
| 978 "account creation pages."; |
| 979 |
| 980 const char kPasswordForceSavingName[] = "Force-saving of passwords"; |
| 981 |
| 982 const char kPasswordForceSavingDescription[] = |
| 983 "Allow the user to manually enforce password saving instead of relying " |
| 984 "on password manager's heuristics."; |
| 985 |
| 986 const char kManualPasswordGenerationName[] = "Manual password generation."; |
| 987 |
| 988 const char kManualPasswordGenerationDescription[] = |
| 989 "Show a 'Generate Password' option on the context menu for all password " |
| 990 "fields."; |
| 991 |
| 992 const char kShowAutofillSignatures[] = "Show autofill signatures."; |
| 993 |
| 994 const char kShowAutofillSignaturesDescription[] = |
| 995 "Annotates web forms with Autofill signatures as HTML attributes."; |
| 996 |
| 997 const char kSuggestionsWithSubStringMatchName[] = |
| 998 "Substring matching for Autofill suggestions"; |
| 999 |
| 1000 const char kSuggestionsWithSubStringMatchDescription[] = |
| 1001 "Match Autofill suggestions based on substrings (token prefixes) rather " |
| 1002 "than just prefixes."; |
| 1003 |
| 1004 const char kAffiliationBasedMatchingName[] = |
| 1005 "Affiliation based matching in password manager"; |
| 1006 |
| 1007 const char kAffiliationBasedMatchingDescription[] = |
| 1008 "Allow credentials stored for Android applications to be filled into " |
| 1009 "corresponding websites."; |
| 1010 |
| 1011 const char kProtectSyncCredentialName[] = "Autofill sync credential"; |
| 1012 |
| 1013 const char kProtectSyncCredentialDescription[] = |
| 1014 "How the password manager handles autofill for the sync credential."; |
| 1015 |
| 1016 const char kPasswordImportExportName[] = "Password import and export"; |
| 1017 |
| 1018 const char kPasswordImportExportDescription[] = |
| 1019 "Import and Export functionality in password settings."; |
| 1020 |
| 1021 const char kProtectSyncCredentialOnReauthName[] = |
| 1022 "Autofill sync credential only for transactional reauth pages"; |
| 1023 |
| 1024 const char kProtectSyncCredentialOnReauthDescription[] = |
| 1025 "How the password manager handles autofill for the sync credential only " |
| 1026 "for transactional reauth pages."; |
| 1027 |
| 1028 const char kIconNtpName[] = "Large icons on the New Tab page"; |
| 1029 |
| 1030 const char kIconNtpDescription[] = |
| 1031 "Enable the experimental New Tab page using large icons."; |
| 1032 |
| 1033 const char kPushApiBackgroundModeName[] = "Enable Push API background mode"; |
| 1034 |
| 1035 const char kPushApiBackgroundModeDescription[] = |
| 1036 "Enable background mode for the Push API. This allows Chrome to " |
| 1037 "continue running after the last window is closed, and to launch at OS " |
| 1038 "startup, if the Push API needs it."; |
| 1039 |
| 1040 const char kEnableNavigationTracing[] = "Enable navigation tracing"; |
| 1041 |
| 1042 const char kEnableNavigationTracingDescription[] = |
| 1043 "This is to be used in conjunction with the trace-upload-url flag. " |
| 1044 "WARNING: When enabled, Chrome will record performance data for every " |
| 1045 "navigation and upload it to the URL specified by the trace-upload-url " |
| 1046 "flag. The trace may include personally identifiable information (PII) " |
| 1047 "such as the titles and URLs of websites you visit."; |
| 1048 |
| 1049 const char kTraceUploadUrl[] = "Trace label for navigation tracing"; |
| 1050 |
| 1051 const char kTraceUploadUrlDescription[] = |
| 1052 "This is to be used in conjunction with the enable-navigation-tracing " |
| 1053 "flag. Please select the label that best describes the recorded traces. " |
| 1054 "This will choose the destination the traces are uploaded to. If you " |
| 1055 "are not sure, select other. If left empty, no traces will be " |
| 1056 "uploaded."; |
| 1057 |
| 1058 const char kDisableAudioForDesktopShare[] = "Disable Audio For Desktop Share"; |
| 1059 |
| 1060 const char kDisableAudioForDesktopShareDescription[] = |
| 1061 "With this flag on, desktop share picker window will not let the user " |
| 1062 "choose whether to share audio."; |
| 1063 |
| 1064 const char kDisableTabForDesktopShare[] = |
| 1065 "Disable Desktop Share with tab source"; |
| 1066 |
| 1067 const char kDisableTabForDesktopShareDescription[] = |
| 1068 "This flag controls whether users can choose a tab for desktop share."; |
| 1069 |
| 1070 const char kTraceUploadUrlChoiceOther[] = "Other"; |
| 1071 |
| 1072 const char kTraceUploadUrlChoiceEmloading[] = "emloading"; |
| 1073 |
| 1074 const char kTraceUploadUrlChoiceQa[] = "QA"; |
| 1075 |
| 1076 const char kTraceUploadUrlChoiceTesting[] = "Testing"; |
| 1077 |
| 1078 const char kSupervisedUserManagedBookmarksFolderName[] = |
| 1079 "Managed bookmarks for supervised users"; |
| 1080 |
| 1081 const char kSupervisedUserManagedBookmarksFolderDescription[] = |
| 1082 "Enable the managed bookmarks folder for supervised users."; |
| 1083 |
| 1084 const char kSyncAppListName[] = "App Launcher sync"; |
| 1085 |
| 1086 const char kSyncAppListDescription[] = |
| 1087 "Enable App Launcher sync. This also enables Folders where available " |
| 1088 "(non OSX)."; |
| 1089 |
| 1090 const char kDriveSearchInChromeLauncher[] = |
| 1091 "Drive Search in Chrome App Launcher"; |
| 1092 |
| 1093 const char kDriveSearchInChromeLauncherDescription[] = |
| 1094 "Files from Drive will show up when searching the Chrome App Launcher."; |
| 1095 |
| 1096 const char kV8CacheOptionsName[] = "V8 caching mode."; |
| 1097 |
| 1098 const char kV8CacheOptionsDescription[] = |
| 1099 "Caching mode for the V8 JavaScript engine."; |
| 1100 |
| 1101 const char kV8CacheOptionsParse[] = "Cache V8 parser data."; |
| 1102 |
| 1103 const char kV8CacheOptionsCode[] = "Cache V8 compiler data."; |
| 1104 |
| 1105 const char kV8CacheStrategiesForCacheStorageName[] = |
| 1106 "V8 caching strategy for CacheStorage."; |
| 1107 |
| 1108 const char kV8CacheStrategiesForCacheStorageDescription[] = |
| 1109 "Caching strategy of scripts in CacheStorage for the V8 JavaScript " |
| 1110 "engine."; |
| 1111 |
| 1112 const char kV8CacheStrategiesForCacheStorageNormal[] = "Normal"; |
| 1113 |
| 1114 const char kV8CacheStrategiesForCacheStorageAggressive[] = "Aggressive"; |
| 1115 |
| 1116 const char kSpeculativeLaunchServiceWorkerName[] = |
| 1117 "Speculative launch of service workers."; |
| 1118 |
| 1119 const char kSpeculativeLaunchServiceWorkerDescription[] = |
| 1120 "Speculatively launch service workers using touch and mouse events."; |
| 1121 |
| 1122 const char kMemoryCoordinatorName[] = "Memory coordinator"; |
| 1123 |
| 1124 const char kMemoryCoordinatorDescription[] = |
| 1125 "Enable memory coordinator instead of memory pressure listeners."; |
| 1126 |
| 1127 const char kServiceWorkerNavigationPreloadName[] = |
| 1128 "Service worker navigation preload."; |
| 1129 |
| 1130 const char kServiceWorkerNavigationPreloadDescription[] = |
| 1131 "Enable web pages to use the experimental service worker navigation " |
| 1132 "preload API."; |
| 1133 |
| 1134 #if defined(OS_ANDROID) |
| 1135 |
| 1136 const char kUploadCrashReportsUsingJobSchedulerName[] = |
| 1137 "Upload crash reports using JobScheduler API."; |
| 1138 |
| 1139 const char kUploadCrashReportsUsingJobSchedulerDescription[] = |
| 1140 "Use the JobScheduler API to upload crash reports. This does not affect " |
| 1141 "whether or not crash reports will be uploaded. Rather, *if* a crash " |
| 1142 "report is going to be uploaded, this flag affects *how* it is " |
| 1143 "uploaded."; |
| 1144 |
| 1145 #endif // defined(OS_ANDROID) |
| 1146 |
| 1147 // Data Reduction Proxy |
| 1148 |
| 1149 const char kDataReductionProxyLoFiName[] = "Data Saver Lo-Fi mode"; |
| 1150 |
| 1151 const char kDataReductionProxyLoFiDescription[] = |
| 1152 "Forces Data Saver Lo-Fi mode to be always enabled, enabled only on " |
| 1153 "cellular connections, or disabled. Data Saver must be enabled for " |
| 1154 "Lo-Fi mode to be used."; |
| 1155 |
| 1156 const char kDataReductionProxyLoFiAlwaysOn[] = "Always on"; |
| 1157 |
| 1158 const char kDataReductionProxyLoFiCellularOnly[] = "Cellular only"; |
| 1159 |
| 1160 const char kDataReductionProxyLoFiDisabled[] = "Disable"; |
| 1161 |
| 1162 const char kDataReductionProxyLoFiSlowConnectionsOnly[] = |
| 1163 "Slow connections only"; |
| 1164 |
| 1165 const char kEnableDataReductionProxyLitePageName[] = |
| 1166 "Lite pages for Data Saver Lo-Fi mode"; |
| 1167 |
| 1168 const char kEnableDataReductionProxyLitePageDescription[] = |
| 1169 "Enable lite pages in Data Saver Lo-Fi mode. Previews of pages will be " |
| 1170 "shown instead of image placeholders when Lo-Fi is on. Data Saver and " |
| 1171 "Lo-Fi must be enabled for lite pages to be shown."; |
| 1172 |
| 1173 const char kDataReductionProxyCarrierTestName[] = |
| 1174 "Enable a carrier-specific Data Reduction Proxy for testing."; |
| 1175 |
| 1176 const char kDataReductionProxyCarrierTestDescription[] = |
| 1177 "Use a carrier-specific Data Reduction Proxy for testing."; |
| 1178 |
| 1179 const char kEnableDataReductionProxySavingsPromoName[] = |
| 1180 "Data Saver 1 MB Savings Promo"; |
| 1181 |
| 1182 const char kEnableDataReductionProxySavingsPromoDescription[] = |
| 1183 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has " |
| 1184 "already saved 1 MB of data, then the promo will not be shown. Data " |
| 1185 "Saver must be enabled for the promo to be shown."; |
| 1186 |
| 1187 const char kLcdTextName[] = "LCD text antialiasing"; |
| 1188 |
| 1189 const char kLcdTextDescription[] = |
| 1190 "If disabled, text is rendered with grayscale antialiasing instead of " |
| 1191 "LCD (subpixel) when doing accelerated compositing."; |
| 1192 |
| 1193 const char kDistanceFieldTextName[] = "Distance field text"; |
| 1194 |
| 1195 const char kDistanceFieldTextDescription[] = |
| 1196 "Text is rendered with signed distance fields rather than bitmap alpha " |
| 1197 "masks."; |
| 1198 |
| 1199 const char kZeroCopyName[] = "Zero-copy rasterizer"; |
| 1200 |
| 1201 const char kZeroCopyDescription[] = |
| 1202 "Raster threads write directly to GPU memory associated with tiles."; |
| 1203 |
| 1204 const char kHideInactiveStackedTabCloseButtonsName[] = |
| 1205 "Hiding close buttons on inactive tabs when stacked"; |
| 1206 |
| 1207 const char kHideInactiveStackedTabCloseButtonsDescription[] = |
| 1208 "Hides the close buttons of inactive tabs when the tabstrip is in " |
| 1209 "stacked mode."; |
| 1210 |
| 1211 const char kDefaultTileWidthName[] = "Default tile width"; |
| 1212 |
| 1213 const char kDefaultTileWidthDescription[] = "Specify the default tile width."; |
| 1214 |
| 1215 const char kDefaultTileWidthShort[] = "128"; |
| 1216 |
| 1217 const char kDefaultTileWidthTall[] = "256"; |
| 1218 |
| 1219 const char kDefaultTileWidthGrande[] = "512"; |
| 1220 |
| 1221 const char kDefaultTileWidthVenti[] = "1024"; |
| 1222 |
| 1223 const char kDefaultTileHeightName[] = "Default tile height"; |
| 1224 |
| 1225 const char kDefaultTileHeightDescription[] = "Specify the default tile height."; |
| 1226 |
| 1227 const char kDefaultTileHeightShort[] = "128"; |
| 1228 |
| 1229 const char kDefaultTileHeightTall[] = "256"; |
| 1230 |
| 1231 const char kDefaultTileHeightGrande[] = "512"; |
| 1232 |
| 1233 const char kDefaultTileHeightVenti[] = "1024"; |
| 1234 |
| 1235 const char kNumRasterThreadsName[] = "Number of raster threads"; |
| 1236 |
| 1237 const char kNumRasterThreadsDescription[] = |
| 1238 "Specify the number of raster threads."; |
| 1239 |
| 1240 const char kNumRasterThreadsOne[] = "1"; |
| 1241 |
| 1242 const char kNumRasterThreadsTwo[] = "2"; |
| 1243 |
| 1244 const char kNumRasterThreadsThree[] = "3"; |
| 1245 |
| 1246 const char kNumRasterThreadsFour[] = "4"; |
| 1247 |
| 1248 const char kResetAppListInstallStateName[] = |
| 1249 "Reset the App Launcher install state on every restart."; |
| 1250 |
| 1251 const char kResetAppListInstallStateDescription[] = |
| 1252 "Reset the App Launcher install state on every restart. While this flag " |
| 1253 "is set, Chrome will forget the launcher has been installed each time " |
| 1254 "it starts. This is used for testing the App Launcher install flow."; |
| 1255 |
| 1256 #if defined(OS_CHROMEOS) |
| 1257 |
| 1258 const char kFirstRunUiTransitionsName[] = |
| 1259 "Animated transitions in the first-run tutorial"; |
| 1260 |
| 1261 const char kFirstRunUiTransitionsDescription[] = |
| 1262 "Transitions during first-run tutorial are animated."; |
| 1263 |
| 1264 #endif // defined(OS_CHROMEOS) |
| 1265 |
| 1266 const char kNewBookmarkAppsName[] = "The new bookmark app system"; |
| 1267 |
| 1268 const char kNewBookmarkAppsDescription[] = |
| 1269 "Enables the new system for creating bookmark apps."; |
| 1270 |
| 1271 #if defined(OS_MACOSX) |
| 1272 |
| 1273 const char kHostedAppsInWindowsName[] = |
| 1274 "Allow hosted apps to be opened in windows"; |
| 1275 |
| 1276 const char kHostedAppsInWindowsDescription[] = |
| 1277 "Allows hosted apps to be opened in windows instead of being limited to " |
| 1278 "tabs."; |
| 1279 |
| 1280 const char kTabDetachingInFullscreenName[] = |
| 1281 "Allow tab detaching in fullscreen"; |
| 1282 |
| 1283 const char kTabDetachingInFullscreenDescription[] = |
| 1284 "Allow tabs to detach from the tabstrip when in fullscreen mode on " |
| 1285 "Mac."; |
| 1286 |
| 1287 const char kFullscreenToolbarRevealName[] = |
| 1288 "Enables the toolbar in fullscreen to reveal itself."; |
| 1289 |
| 1290 const char kFullscreenToolbarRevealDescription[] = |
| 1291 "Reveal the toolbar in fullscreen for a short period when the tab strip " |
| 1292 "has changed."; |
| 1293 |
| 1294 const char kTabStripKeyboardFocusName[] = "Tab Strip Keyboard Focus"; |
| 1295 |
| 1296 const char kTabStripKeyboardFocusDescription[] = |
| 1297 "Enable keyboard focus for the tabs in the tab strip."; |
| 1298 |
| 1299 #endif // defined(OS_MACOSX) |
| 1300 |
| 1301 const char kHostedAppShimCreationName[] = |
| 1302 "Creation of app shims for hosted apps on Mac"; |
| 1303 |
| 1304 const char kHostedAppShimCreationDescription[] = |
| 1305 "Create app shims on Mac when creating a hosted app."; |
| 1306 |
| 1307 const char kHostedAppQuitNotificationName[] = |
| 1308 "Quit notification for hosted apps"; |
| 1309 |
| 1310 const char kHostedAppQuitNotificationDescription[] = |
| 1311 "Display a notification when quitting Chrome if hosted apps are " |
| 1312 "currently running."; |
| 1313 |
| 1314 #if defined(OS_ANDROID) |
| 1315 |
| 1316 const char kPullToRefreshEffectName[] = "The pull-to-refresh effect"; |
| 1317 |
| 1318 const char kPullToRefreshEffectDescription[] = |
| 1319 "Page reloads triggered by vertically overscrolling content."; |
| 1320 |
| 1321 #endif // defined(OS_ANDROID) |
| 1322 |
| 1323 #if defined(OS_MACOSX) |
| 1324 |
| 1325 const char kTranslateNewUxName[] = "New Translate UX"; |
| 1326 |
| 1327 const char kTranslateNewUxDescription[] = |
| 1328 "Enable the new Translate bubble UX is offered instead of the infobar."; |
| 1329 |
| 1330 #endif // defined(OS_MACOSX) |
| 1331 |
| 1332 const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI"; |
| 1333 |
| 1334 const char kTranslate2016q2UiDescription[] = |
| 1335 "Improved triggering logic and look for Translate Bubble UI"; |
| 1336 |
| 1337 const char kTranslateLanguageByUlpName[] = "Translate Language by ULP"; |
| 1338 |
| 1339 const char kTranslateLanguageByUlpDescription[] = |
| 1340 "Improved translate target language and triggering logic by considering " |
| 1341 "information from User Language Profile (ULP)."; |
| 1342 |
| 1343 const char kViewsRectBasedTargetingName[] = "Rect-based targeting in views"; |
| 1344 |
| 1345 const char kViewsRectBasedTargetingDescription[] = |
| 1346 "Rect-based targeting uses a heuristic to determine the most probable " |
| 1347 "target of a gesture, where the touch region is represented by a " |
| 1348 "rectangle."; |
| 1349 |
| 1350 const char kPermissionActionReportingName[] = "Permission Action Reporting"; |
| 1351 |
| 1352 const char kPermissionActionReportingDescription[] = |
| 1353 "Enables permission action reporting to Safe Browsing servers for opted " |
| 1354 "in users."; |
| 1355 |
| 1356 const char kPermissionsBlacklistName[] = "Permissions Blacklist"; |
| 1357 |
| 1358 const char kPermissionsBlacklistDescription[] = |
| 1359 "Enables the Permissions Blacklist, which blocks permissions for " |
| 1360 "blacklisted sites for Safe Browsing users."; |
| 1361 |
| 1362 const char kThreadedScrollingName[] = "Threaded scrolling"; |
| 1363 |
| 1364 const char kThreadedScrollingDescription[] = |
| 1365 "Threaded handling of scroll-related input events. Disabling this will " |
| 1366 "force all such scroll events to be handled on the main thread. Note " |
| 1367 "that this can dramatically hurt scrolling performance of most websites " |
| 1368 "and is intended for testing purposes only."; |
| 1369 |
| 1370 const char kHarfbuzzRendertextName[] = "HarfBuzz for UI text"; |
| 1371 |
| 1372 const char kHarfbuzzRendertextDescription[] = |
| 1373 "Enable cross-platform HarfBuzz layout engine for UI text. Doesn't " |
| 1374 "affect web content."; |
| 1375 |
| 1376 const char kEmbeddedExtensionOptionsName[] = "Embedded extension options"; |
| 1377 |
| 1378 const char kEmbeddedExtensionOptionsDescription[] = |
| 1379 "Display extension options as an embedded element in " |
| 1380 "chrome://extensions rather than opening a new tab."; |
| 1381 |
| 1382 const char kTabAudioMutingName[] = "Tab audio muting UI control"; |
| 1383 |
| 1384 const char kTabAudioMutingDescription[] = |
| 1385 "When enabled, the audio indicators in the tab strip double as tab " |
| 1386 "audio mute controls. This also adds commands in the tab context menu " |
| 1387 "for quickly muting multiple selected tabs."; |
| 1388 |
| 1389 const char kEasyUnlockBluetoothLowEnergyDiscoveryName[] = |
| 1390 "Smart Lock Bluetooth Low Energy Discovery"; |
| 1391 |
| 1392 const char kEasyUnlockBluetoothLowEnergyDiscoveryDescription[] = |
| 1393 "Enables a Smart Lock setting that allows Chromebook to discover phones " |
| 1394 "over Bluetooth Low Energy in order to unlock the Chromebook when the " |
| 1395 "phone is in its proximity."; |
| 1396 |
| 1397 const char kEasyUnlockProximityDetectionName[] = |
| 1398 "Smart Lock proximity detection"; |
| 1399 |
| 1400 const char kEasyUnlockProximityDetectionDescription[] = |
| 1401 "Enables a Smart Lock setting that restricts unlocking to only work " |
| 1402 "when your phone is very close to (roughly, within an arm's length of) " |
| 1403 "the Chrome device."; |
| 1404 |
| 1405 const char kWifiCredentialSyncName[] = "WiFi credential sync"; |
| 1406 |
| 1407 const char kWifiCredentialSyncDescription[] = |
| 1408 "Enables synchronizing WiFi network settings across devices. When " |
| 1409 "enabled, the WiFi credential datatype is registered with Chrome Sync, " |
| 1410 "and WiFi credentials are synchronized subject to user preferences. " |
| 1411 "(See also, chrome://settings/syncSetup.)"; |
| 1412 |
| 1413 const char kSyncSandboxName[] = "Use Chrome Sync sandbox"; |
| 1414 |
| 1415 const char kSyncSandboxDescription[] = |
| 1416 "Connects to the testing server for Chrome Sync."; |
| 1417 |
| 1418 const char kDatasaverPromptName[] = "Cellular Data Saver Prompt"; |
| 1419 |
| 1420 const char kDatasaverPromptDescription[] = |
| 1421 "Enables a prompt, which appears when a cellular network connection is " |
| 1422 "detected, to take the user to the Data Saver extension page on Chrome " |
| 1423 "Web Store."; |
| 1424 |
| 1425 const char kDatasaverPromptDemoMode[] = "Demo mode"; |
| 1426 |
| 1427 const char kDisableUnifiedMediaPipelineDescription[] = |
| 1428 "Disables the unified (Android and desktop) media pipeline on Android."; |
| 1429 |
| 1430 const char kTrySupportedChannelLayoutsName[] = |
| 1431 "Causes audio output streams to check if channel layouts other than the " |
| 1432 "default hardware layout are available."; |
| 1433 |
| 1434 const char kTrySupportedChannelLayoutsDescription[] = |
| 1435 "Causes audio output streams to check if channel layouts other than the " |
| 1436 "default hardware layout are available. Turning this on will allow the " |
| 1437 "OS to do stereo to surround expansion if supported. May expose third " |
| 1438 "party driver bugs, use with caution."; |
| 1439 |
| 1440 #if defined(OS_MACOSX) |
| 1441 |
| 1442 const char kAppInfoDialogName[] = "Toolkit-Views App Info Dialog."; |
| 1443 |
| 1444 const char kAppInfoDialogDescription[] = |
| 1445 "Makes the Toolkit-Views based App Info dialog accessible from " |
| 1446 "chrome://apps or chrome://extensions in place of the native extension " |
| 1447 "permissions dialog, or the details link (which is a link to the Web " |
| 1448 "Store)."; |
| 1449 |
| 1450 const char kMacViewsNativeAppWindowsName[] = "Toolkit-Views App Windows."; |
| 1451 |
| 1452 const char kMacViewsNativeAppWindowsDescription[] = |
| 1453 "Controls whether to use Toolkit-Views based Chrome App windows."; |
| 1454 |
| 1455 const char kMacViewsTaskManagerName[] = "Toolkit-Views Task Manager."; |
| 1456 |
| 1457 const char kMacViewsTaskManagerDescription[] = |
| 1458 "Controls whether to use the Toolkit-Views based Task Manager."; |
| 1459 |
| 1460 const char kAppWindowCyclingName[] = "Custom Window Cycling for Chrome Apps."; |
| 1461 |
| 1462 const char kAppWindowCyclingDescription[] = |
| 1463 "Changes the behavior of Cmd+` when a Chrome App becomes active. When " |
| 1464 "enabled, Chrome Apps will not be cycled when Cmd+` is pressed from a " |
| 1465 "browser window, and browser windows will not be cycled when a Chrome " |
| 1466 "App is active."; |
| 1467 |
| 1468 #endif // defined(OS_MACOSX) |
| 1469 |
| 1470 #if defined(OS_CHROMEOS) |
| 1471 |
| 1472 const char kAcceleratedMjpegDecodeName[] = |
| 1473 "Hardware-accelerated mjpeg decode for captured frame"; |
| 1474 |
| 1475 const char kAcceleratedMjpegDecodeDescription[] = |
| 1476 "Enable hardware-accelerated mjpeg decode for captured frame where " |
| 1477 "available."; |
| 1478 |
| 1479 #endif // defined(OS_CHROMEOS) |
| 1480 |
| 1481 const char kSimplifiedFullscreenUiName[] = |
| 1482 "Simplified full screen / mouse lock UI."; |
| 1483 |
| 1484 const char kSimplifiedFullscreenUiDescription[] = |
| 1485 "A simplified new user experience when entering page-triggered full " |
| 1486 "screen or mouse pointer lock states."; |
| 1487 |
| 1488 const char kExperimentalKeyboardLockUiName[] = "Experimental keyboard lock UI."; |
| 1489 |
| 1490 const char kExperimentalKeyboardLockUiDescription[] = |
| 1491 "An experimental full screen with keyboard lock mode requiring users to " |
| 1492 "hold Esc to exit."; |
| 1493 |
| 1494 #if defined(OS_ANDROID) |
| 1495 |
| 1496 const char kProgressBarAnimationName[] = |
| 1497 "Android phone page loading progress bar animation"; |
| 1498 |
| 1499 const char kProgressBarAnimationDescription[] = |
| 1500 "Configures Android phone page loading progress bar animation."; |
| 1501 |
| 1502 const char kProgressBarAnimationLinear[] = "Linear"; |
| 1503 |
| 1504 const char kProgressBarAnimationSmooth[] = "Smooth"; |
| 1505 |
| 1506 const char kProgressBarAnimationSmoothIndeterminate[] = "Smooth indeterminate"; |
| 1507 |
| 1508 const char kProgressBarAnimationFastStart[] = "Fast start"; |
| 1509 |
| 1510 const char kProgressBarCompletionName[] = |
| 1511 "Android phone page load progress bar completion time."; |
| 1512 |
| 1513 const char kProgressBarCompletionDescription[] = |
| 1514 "Configures Android phone page loading progress bar completion time."; |
| 1515 |
| 1516 const char kProgressBarCompletionLoadEvent[] = |
| 1517 R"*(Top loading frame's onload event ("everything" is done in the )*" |
| 1518 R"*(page, historical behavior).)*"; |
| 1519 |
| 1520 const char kProgressBarCompletionResourcesBeforeDcl[] = |
| 1521 "Main frame's domContentLoaded and all resources loads started before " |
| 1522 "domContentLoaded (iframes ignored)."; |
| 1523 |
| 1524 const char kProgressBarCompletionDomContentLoaded[] = |
| 1525 "Main frame's domContentLoaded (iframes ignored)."; |
| 1526 |
| 1527 const char kProgressBarCompletionResourcesBeforeDclAndSameOriginIframes[] = |
| 1528 "domContentLoaded and all resources loads started before " |
| 1529 "domContentLoaded (main frame and same origin iframes)."; |
| 1530 |
| 1531 #endif // defined(OS_ANDROID) |
| 1532 |
| 1533 const char kDisallowDocWrittenScriptsUiName[] = |
| 1534 "Block scripts loaded via document.write"; |
| 1535 |
| 1536 const char kDisallowDocWrittenScriptsUiDescription[] = |
| 1537 "Disallows fetches for third-party parser-blocking scripts inserted " |
| 1538 "into the main frame via document.write."; |
| 1539 |
| 1540 #if defined(OS_WIN) |
| 1541 |
| 1542 const char kEnableAppcontainerName[] = "Enable AppContainer Lockdown."; |
| 1543 |
| 1544 const char kEnableAppcontainerDescription[] = |
| 1545 "Enables the use of an AppContainer on sandboxed processes to improve " |
| 1546 "security."; |
| 1547 |
| 1548 #endif // defined(OS_WIN) |
| 1549 |
| 1550 #if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID) |
| 1551 |
| 1552 const char kAutofillCreditCardUploadName[] = |
| 1553 "Enable offering upload of Autofilled credit cards"; |
| 1554 |
| 1555 const char kAutofillCreditCardUploadDescription[] = |
| 1556 "Enables a new option to upload credit cards to Google Payments for " |
| 1557 "sync to all Chrome devices."; |
| 1558 |
| 1559 #endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID) |
| 1560 |
| 1561 const char kForceUiDirectionName[] = "Force UI direction"; |
| 1562 |
| 1563 const char kForceUiDirectionDescription[] = |
| 1564 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) " |
| 1565 "mode, overriding the default direction of the UI language."; |
| 1566 |
| 1567 const char kForceUiDirectionLtr[] = "Left-to-right"; |
| 1568 |
| 1569 const char kForceUiDirectionRtl[] = "Right-to-left"; |
| 1570 |
| 1571 #if defined(OS_WIN) || defined(OS_LINUX) |
| 1572 |
| 1573 const char kEnableInputImeApiName[] = "Enable Input IME API"; |
| 1574 |
| 1575 const char kEnableInputImeApiDescription[] = |
| 1576 "Enable the use of chrome.input.ime API."; |
| 1577 |
| 1578 #endif // defined(OS_WIN) || defined(OS_LINUX) |
| 1579 |
| 1580 const char kEnableGroupedHistoryName[] = "Group history by domain"; |
| 1581 |
| 1582 const char kEnableGroupedHistoryDescription[] = |
| 1583 "Group history by website domain (i.e. google.com) on " |
| 1584 "chrome://history."; |
| 1585 |
| 1586 const char kSecurityChipDefault[] = "Default"; |
| 1587 |
| 1588 const char kSecurityChipShowNonsecureOnly[] = "Show non-secure only"; |
| 1589 |
| 1590 const char kSecurityChipShowAll[] = "Show all"; |
| 1591 |
| 1592 const char kSecurityChipAnimationDefault[] = "Default"; |
| 1593 |
| 1594 const char kSecurityChipAnimationNone[] = "No animation"; |
| 1595 |
| 1596 const char kSecurityChipAnimationNonsecureOnly[] = "Animate non-secure only"; |
| 1597 |
| 1598 const char kSecurityChipAnimationAll[] = "Animate all"; |
| 1599 |
| 1600 const char kSaveasMenuLabelExperimentName[] = |
| 1601 "Switch 'Save as' menu labels to 'Download'"; |
| 1602 |
| 1603 const char kSaveasMenuLabelExperimentDescription[] = |
| 1604 "Enables an experiment to switch menu labels that use 'Save as...' to " |
| 1605 "'Download'."; |
| 1606 |
| 1607 const char kEnableEnumeratingAudioDevicesName[] = |
| 1608 "Experimentally enable enumerating audio devices."; |
| 1609 |
| 1610 const char kEnableEnumeratingAudioDevicesDescription[] = |
| 1611 "Experimentally enable the use of enumerating audio devices."; |
| 1612 |
| 1613 const char kNewUsbBackendName[] = "Enable new USB backend"; |
| 1614 |
| 1615 const char kNewUsbBackendDescription[] = |
| 1616 "Enables the new experimental USB backend for Windows."; |
| 1617 |
| 1618 const char kNewOmniboxAnswerTypesName[] = |
| 1619 "New omnibox answers in suggest types"; |
| 1620 |
| 1621 const char kNewOmniboxAnswerTypesDescription[] = |
| 1622 "Enables new types of answers in the omnibox suggest drop-down: " |
| 1623 "currency conversions, dictionary definitions, sports scores, " |
| 1624 "translations, and when is."; |
| 1625 |
| 1626 const char kEnableZeroSuggestRedirectToChromeName[] = |
| 1627 "Experimental contextual omnibox suggestion"; |
| 1628 |
| 1629 const char kEnableZeroSuggestRedirectToChromeDescription[] = |
| 1630 "Change omnibox contextual suggestions to an experimental source. Note " |
| 1631 "that this is not an on/off switch for contextual omnibox and it only " |
| 1632 "applies to suggestions provided before the user starts typing a URL or " |
| 1633 "a search query (i.e. zero suggest)."; |
| 1634 |
| 1635 const char kFillOnAccountSelectName[] = "Fill passwords on account selection"; |
| 1636 |
| 1637 const char kFillOnAccountSelectDescription[] = |
| 1638 "Filling of passwords when an account is explicitly selected by the " |
| 1639 "user rather than autofilling credentials on page load."; |
| 1640 |
| 1641 const char kEnableClearBrowsingDataCountersName[] = |
| 1642 "Enable Clear browsing data counters."; |
| 1643 |
| 1644 const char kEnableClearBrowsingDataCountersDescription[] = |
| 1645 "Shows data volume counters in the Clear browsing data dialog."; |
| 1646 |
| 1647 #if defined(OS_ANDROID) |
| 1648 |
| 1649 const char kTabsInCbdName[] = "Enable tabs for the Clear Browsing Data dialog."; |
| 1650 |
| 1651 const char kTabsInCbdDescription[] = |
| 1652 "Enables a basic and an advanced tab for the Clear Browsing Data " |
| 1653 "dialog."; |
| 1654 |
| 1655 #endif // defined(OS_ANDROID) |
| 1656 |
| 1657 const char kNotificationsNativeFlag[] = "Enable native notifications."; |
| 1658 |
| 1659 const char kNotificationsNativeFlagDescription[] = |
| 1660 "Enable support for using the native notification toasts and " |
| 1661 "notification center on platforms where these are available."; |
| 1662 |
| 1663 #if defined(OS_ANDROID) |
| 1664 |
| 1665 const char kEnableAndroidSpellcheckerDescription[] = |
| 1666 "Enables use of the Android spellchecker."; |
| 1667 |
| 1668 const char kEnableAndroidSpellcheckerName[] = "Enable spell checking"; |
| 1669 |
| 1670 #endif // defined(OS_ANDROID) |
| 1671 |
| 1672 const char kEnableWebNotificationCustomLayoutsName[] = |
| 1673 "Enable custom layouts for Web Notifications."; |
| 1674 |
| 1675 const char kEnableWebNotificationCustomLayoutsDescription[] = |
| 1676 "Enable custom layouts for Web Notifications. They will have subtle " |
| 1677 "layout improvements that are otherwise not possible."; |
| 1678 |
| 1679 const char kAccountConsistencyName[] = |
| 1680 "Identity consistency between browser and cookie jar"; |
| 1681 |
| 1682 const char kAccountConsistencyDescription[] = |
| 1683 "When enabled, the browser manages signing in and out of Google " |
| 1684 "accounts."; |
| 1685 |
| 1686 const char kEnablePasswordSeparatedSigninFlowName[] = |
| 1687 "Enable new gaia password-separated sign in flow"; |
| 1688 |
| 1689 const char kEnablePasswordSeparatedSigninFlowDescription[] = |
| 1690 "When enabled, signing in to the browser will use a new gaia " |
| 1691 "password-separated sign in flow."; |
| 1692 |
| 1693 const char kGoogleProfileInfoName[] = "Google profile name and icon"; |
| 1694 |
| 1695 const char kGoogleProfileInfoDescription[] = |
| 1696 "Enables using Google information to populate the profile name and icon " |
| 1697 "in the avatar menu."; |
| 1698 |
| 1699 const char kOfferStoreUnmaskedWalletCards[] = |
| 1700 "Google Payments card saving checkbox"; |
| 1701 |
| 1702 const char kOfferStoreUnmaskedWalletCardsDescription[] = |
| 1703 "Show the checkbox to offer local saving of a credit card downloaded " |
| 1704 "from the server."; |
| 1705 |
| 1706 const char kOfflineAutoReloadName[] = "Offline Auto-Reload Mode"; |
| 1707 |
| 1708 const char kOfflineAutoReloadDescription[] = |
| 1709 "Pages that fail to load while the browser is offline will be " |
| 1710 "auto-reloaded when the browser is online again."; |
| 1711 |
| 1712 const char kOfflineAutoReloadVisibleOnlyName[] = |
| 1713 "Only Auto-Reload Visible Tabs"; |
| 1714 |
| 1715 const char kOfflineAutoReloadVisibleOnlyDescription[] = |
| 1716 "Pages that fail to load while the browser is offline will only be " |
| 1717 "auto-reloaded if their tab is visible."; |
| 1718 |
| 1719 const char kShowSavedCopyName[] = "Show Saved Copy Button"; |
| 1720 |
| 1721 const char kShowSavedCopyDescription[] = |
| 1722 "When a page fails to load, if a stale copy of the page exists in the " |
| 1723 "browser cache, a button will be presented to allow the user to load " |
| 1724 "that stale copy. The primary enabling choice puts the button in the " |
| 1725 "most salient position on the error page; the secondary enabling choice " |
| 1726 "puts it secondary to the reload button."; |
| 1727 |
| 1728 const char kEnableShowSavedCopyPrimary[] = "Enable: Primary"; |
| 1729 |
| 1730 const char kEnableShowSavedCopySecondary[] = "Enable: Secondary"; |
| 1731 |
| 1732 const char kDisableShowSavedCopy[] = "Disable"; |
| 1733 |
| 1734 #if defined(OS_CHROMEOS) |
| 1735 |
| 1736 const char kSmartVirtualKeyboardName[] = |
| 1737 "Smart Deployment of the Virtual Keyboard"; |
| 1738 |
| 1739 const char kSmartVirtualKeyboardDescription[] = |
| 1740 "Enable/Disable smart deployment of the virtual keyboard."; |
| 1741 |
| 1742 const char kVirtualKeyboardName[] = "Virtual Keyboard"; |
| 1743 |
| 1744 const char kVirtualKeyboardDescription[] = "Enable virtual keyboard support."; |
| 1745 |
| 1746 const char kVirtualKeyboardOverscrollName[] = "Virtual Keyboard Overscroll"; |
| 1747 |
| 1748 const char kVirtualKeyboardOverscrollDescription[] = |
| 1749 "Enables virtual keyboard overscroll support."; |
| 1750 |
| 1751 const char kInputViewName[] = "Input views"; |
| 1752 |
| 1753 const char kInputViewDescription[] = |
| 1754 "Enable IME extensions to supply custom views for user input such as " |
| 1755 "virtual keyboards."; |
| 1756 |
| 1757 const char kNewKoreanImeName[] = "New Korean IME"; |
| 1758 |
| 1759 const char kNewKoreanImeDescription[] = |
| 1760 "New Korean IME, which is based on Google Input Tools' HMM engine."; |
| 1761 |
| 1762 const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect"; |
| 1763 |
| 1764 const char kPhysicalKeyboardAutocorrectDescription[] = |
| 1765 "Enable physical keyboard autocorrect for US keyboard, which can " |
| 1766 "provide suggestions as typing on physical keyboard."; |
| 1767 |
| 1768 const char kVoiceInputName[] = "Voice input on virtual keyboard"; |
| 1769 |
| 1770 const char kVoiceInputDescription[] = |
| 1771 "Enables voice input on virtual keyboard."; |
| 1772 |
| 1773 const char kExperimentalInputViewFeaturesName[] = |
| 1774 "Experimental input view features"; |
| 1775 |
| 1776 const char kExperimentalInputViewFeaturesDescription[] = |
| 1777 "Enable experimental features for IME input views."; |
| 1778 |
| 1779 const char kFloatingVirtualKeyboardName[] = "Floating virtual keyboard."; |
| 1780 |
| 1781 const char kFloatingVirtualKeyboardDescription[] = |
| 1782 "Enable/Disable floating virtual keyboard."; |
| 1783 |
| 1784 const char kGestureTypingName[] = "Gesture typing for the virtual keyboard."; |
| 1785 |
| 1786 const char kGestureTypingDescription[] = |
| 1787 "Enable/Disable gesture typing option in the settings page for the " |
| 1788 "virtual keyboard."; |
| 1789 |
| 1790 const char kGestureEditingName[] = "Gesture editing for the virtual keyboard."; |
| 1791 |
| 1792 const char kGestureEditingDescription[] = |
| 1793 "Enable/Disable gesture editing option in the settings page for the " |
| 1794 "virtual keyboard."; |
| 1795 |
| 1796 const char kCaptivePortalBypassProxyName[] = |
| 1797 "Bypass proxy for Captive Portal Authorization"; |
| 1798 |
| 1799 const char kCaptivePortalBypassProxyDescription[] = |
| 1800 "If proxy is configured, it usually prevents from authorization on " |
| 1801 "different captive portals. This enables opening captive portal " |
| 1802 "authorization dialog in a separate window, which ignores proxy " |
| 1803 "settings."; |
| 1804 |
| 1805 const char kTouchscreenCalibrationName[] = |
| 1806 "Enable/disable touchscreen calibration option in material design " |
| 1807 "settings"; |
| 1808 |
| 1809 const char kTouchscreenCalibrationDescription[] = |
| 1810 "If enabled, the user can calibrate the touch screen displays in " |
| 1811 "chrome://md-settings/display."; |
| 1812 |
| 1813 #endif // defined(OS_CHROMEOS) |
| 1814 |
| 1815 // Strings for controlling credit card assist feature in about:flags. |
| 1816 |
| 1817 const char kCreditCardAssistName[] = "Credit Card Assisted Filling"; |
| 1818 |
| 1819 const char kCreditCardAssistDescription[] = |
| 1820 "Enable assisted credit card filling on certain sites."; |
| 1821 |
| 1822 // Strings for controlling credit card scanning feature in about:flags. |
| 1823 |
| 1824 // Simple Cache Backend experiment. |
| 1825 |
| 1826 const char kSimpleCacheBackendName[] = "Simple Cache for HTTP"; |
| 1827 |
| 1828 const char kSimpleCacheBackendDescription[] = |
| 1829 "The Simple Cache for HTTP is a new cache. It relies on the filesystem " |
| 1830 "for disk space allocation."; |
| 1831 |
| 1832 // Spelling feedback field trial. |
| 1833 |
| 1834 const char kSpellingFeedbackFieldTrialName[] = "Spelling Feedback Field Trial"; |
| 1835 |
| 1836 const char kSpellingFeedbackFieldTrialDescription[] = |
| 1837 "Enable the field trial for sending user feedback to spelling service."; |
| 1838 |
| 1839 // Web MIDI API. |
| 1840 |
| 1841 const char kWebMidiName[] = "Web MIDI API"; |
| 1842 |
| 1843 const char kWebMidiDescription[] = "Enable Web MIDI API experimental support."; |
| 1844 |
| 1845 // Site per process mode |
| 1846 |
| 1847 const char kSitePerProcessName[] = "Out of process iframes"; |
| 1848 |
| 1849 const char kSitePerProcessDescription[] = |
| 1850 "Highly experimental support for rendering cross-site iframes in " |
| 1851 "separate processes. In this mode, documents will share a renderer " |
| 1852 "process only if they are from the same web site."; |
| 1853 |
| 1854 // Top document isolation mode |
| 1855 |
| 1856 const char kTopDocumentIsolationName[] = "Top document isolation"; |
| 1857 |
| 1858 const char kTopDocumentIsolationDescription[] = |
| 1859 "Highly experimental performance mode where cross-site iframes are kept " |
| 1860 "in a separate process from the top document. In this mode, iframes " |
| 1861 "from different third-party sites will be allowed to share a process."; |
| 1862 |
| 1863 // Cross process guest frames isolation mode |
| 1864 |
| 1865 const char kCrossProcessGuestViewIsolationName[] = |
| 1866 "Cross process frames for guests"; |
| 1867 |
| 1868 const char kCrossProcessGuestViewIsolationDescription[] = |
| 1869 "Highly experimental where guests such as <webview> are implemented " |
| 1870 "on the out-of-process iframe infrastructure."; |
| 1871 |
| 1872 // Task Scheduler |
| 1873 |
| 1874 const char kBrowserTaskSchedulerName[] = "Task Scheduler"; |
| 1875 |
| 1876 const char kBrowserTaskSchedulerDescription[] = |
| 1877 "Enables redirection of some task posting APIs to the task scheduler."; |
| 1878 |
| 1879 // Arc authorization |
| 1880 |
| 1881 #if defined(OS_CHROMEOS) |
| 1882 |
| 1883 const char kArcUseAuthEndpointName[] = "Android apps authorization point"; |
| 1884 |
| 1885 const char kArcUseAuthEndpointDescription[] = |
| 1886 "Enable Android apps authorization point to automatic sign-in in OptIn " |
| 1887 "flow."; |
| 1888 |
| 1889 #endif // defined(OS_CHROMEOS) |
| 1890 |
| 1891 // Autofill experiment flags |
| 1892 |
| 1893 const char kSingleClickAutofillName[] = "Single-click autofill"; |
| 1894 |
| 1895 const char kSingleClickAutofillDescription[] = |
| 1896 "Make autofill suggestions on initial mouse click on a form element."; |
| 1897 |
| 1898 #if defined(OS_ANDROID) |
| 1899 |
| 1900 const char kAutofillAccessoryViewName[] = |
| 1901 "Autofill suggestions as keyboard accessory view"; |
| 1902 |
| 1903 const char kAutofillAccessoryViewDescription[] = |
| 1904 "Shows Autofill suggestions on top of the keyboard rather than in a " |
| 1905 "dropdown."; |
| 1906 |
| 1907 #endif // defined(OS_ANDROID) |
| 1908 |
| 1909 // Reader mode experiment flags |
| 1910 |
| 1911 #if defined(OS_ANDROID) |
| 1912 |
| 1913 const char kReaderModeHeuristicsName[] = "Reader Mode triggering"; |
| 1914 |
| 1915 const char kReaderModeHeuristicsDescription[] = |
| 1916 "Determines what pages the Reader Mode button is shown on."; |
| 1917 |
| 1918 const char kReaderModeHeuristicsMarkup[] = "With article structured markup"; |
| 1919 |
| 1920 const char kReaderModeHeuristicsAdaboost[] = "Appears to be an article"; |
| 1921 |
| 1922 const char kReaderModeHeuristicsAlwaysOff[] = "Never"; |
| 1923 |
| 1924 const char kReaderModeHeuristicsAlwaysOn[] = "Always"; |
| 1925 |
| 1926 #endif // defined(OS_ANDROID) |
| 1927 |
| 1928 // Chrome home flags |
| 1929 |
| 1930 #if defined(OS_ANDROID) |
| 1931 |
| 1932 const char kChromeHomeName[] = "Chrome Home"; |
| 1933 |
| 1934 const char kChromeHomeDescription[] = "Enables Chrome Home on Android."; |
| 1935 |
| 1936 #endif // defined(OS_ANDROID) |
| 1937 |
| 1938 // Settings window flags |
| 1939 |
| 1940 const char kSettingsWindowName[] = "Show settings in a window"; |
| 1941 |
| 1942 const char kSettingsWindowDescription[] = |
| 1943 "Settings will be shown in a dedicated window instead of as a browser " |
| 1944 "tab."; |
| 1945 |
| 1946 // Mixed content issue workaround flags |
| 1947 |
| 1948 #if defined(OS_ANDROID) |
| 1949 |
| 1950 // Flag strings for seccomp-bpf sandbox flag. |
| 1951 |
| 1952 const char kSeccompFilterSandboxAndroidName[] = "Seccomp-bpf renderer sandbox"; |
| 1953 |
| 1954 const char kSeccompFilterSandboxAndroidDescription[] = |
| 1955 "Renderers will have a second-layer sandbox provided by seccomp-bpf. " |
| 1956 "This requires kernel features only available on select Android " |
| 1957 "versions."; |
| 1958 |
| 1959 #endif // defined(OS_ANDROID) |
| 1960 |
| 1961 // Extension Content Verification |
| 1962 |
| 1963 const char kExtensionContentVerificationName[] = |
| 1964 "Extension Content Verification"; |
| 1965 |
| 1966 const char kExtensionContentVerificationDescription[] = |
| 1967 "This flag can be used to turn on verification that the contents of the " |
| 1968 "files on disk for extensions from the webstore match what they're " |
| 1969 "expected to be. This can be used to turn on this feature if it would " |
| 1970 "not otherwise have been turned on, but cannot be used to turn it off " |
| 1971 "(because this setting can be tampered with by malware)."; |
| 1972 |
| 1973 const char kExtensionContentVerificationBootstrap[] = |
| 1974 "Bootstrap (get expected hashes, but do not enforce them)"; |
| 1975 |
| 1976 const char kExtensionContentVerificationEnforce[] = |
| 1977 "Enforce (try to get hashes, and enforce them if successful)"; |
| 1978 |
| 1979 const char kExtensionContentVerificationEnforceStrict[] = |
| 1980 "Enforce strict (hard fail if we can't get hashes)"; |
| 1981 |
| 1982 // Built-in hotword detection display strings |
| 1983 |
| 1984 const char kExperimentalHotwordHardwareName[] = |
| 1985 "Simulated hardware 'Ok Google' features"; |
| 1986 |
| 1987 const char kExperimentalHotwordHardwareDescription[] = |
| 1988 "Enables an experimental version of 'Ok Google' hotword detection " |
| 1989 "features that have a hardware dependency."; |
| 1990 |
| 1991 // Message center strings |
| 1992 |
| 1993 const char kMessageCenterAlwaysScrollUpUponRemovalName[] = |
| 1994 "Experiments that message center always scroll up upon notification " |
| 1995 "removal"; |
| 1996 |
| 1997 const char kMessageCenterAlwaysScrollUpUponRemovalDescription[] = |
| 1998 "Enables experiment that message center always scroll up when a " |
| 1999 "notification is removed."; |
| 2000 |
| 2001 const char kCastStreamingHwEncodingName[] = |
| 2002 "Cast Streaming hardware video encoding"; |
| 2003 |
| 2004 const char kCastStreamingHwEncodingDescription[] = |
| 2005 "This option enables support in Cast Streaming for encoding video " |
| 2006 "streams using platform hardware."; |
| 2007 |
| 2008 const char kAllowInsecureLocalhost[] = |
| 2009 "Allow invalid certificates for resources loaded from localhost."; |
| 2010 |
| 2011 const char kAllowInsecureLocalhostDescription[] = |
| 2012 "Allows requests to localhost over HTTPS even when an invalid " |
| 2013 "certificate is presented."; |
| 2014 |
| 2015 #if defined(OS_WIN) || defined(OS_MACOSX) |
| 2016 |
| 2017 // Tab discarding |
| 2018 |
| 2019 const char kAutomaticTabDiscardingName[] = "Automatic tab discarding"; |
| 2020 |
| 2021 const char kAutomaticTabDiscardingDescription[] = |
| 2022 "If enabled, tabs get automatically discarded from memory when the " |
| 2023 "system memory is low. Discarded tabs are still visible on the tab " |
| 2024 "strip and get reloaded when clicked on. Info about discarded tabs can " |
| 2025 "be found at chrome://discards."; |
| 2026 |
| 2027 #endif // defined(OS_WIN) || defined(OS_MACOSX) |
| 2028 |
| 2029 #if defined(OS_ANDROID) |
| 2030 |
| 2031 const char kOfflineBookmarksName[] = "Enable offline bookmarks"; |
| 2032 |
| 2033 const char kOfflineBookmarksDescription[] = |
| 2034 "Enable saving bookmarked pages for offline viewing."; |
| 2035 |
| 2036 const char kNtpOfflinePagesName[] = "Enable NTP offline pages"; |
| 2037 |
| 2038 const char kNtpOfflinePagesDescription[] = |
| 2039 "Enables badging of offline pages on the New Tab page. Only relevant if " |
| 2040 "offline pages are enabled."; |
| 2041 |
| 2042 const char kOfflinePagesAsyncDownloadName[] = |
| 2043 R"*(Enables showing "DOWNLOAD PAGE LATER" button in error pages.)*"; |
| 2044 |
| 2045 const char kOfflinePagesAsyncDownloadDescription[] = |
| 2046 R"*(Enables showing "DOWNLOAD PAGE LATER" button in error pages such )*" |
| 2047 R"*(that the user can click on it to download the page later.)*"; |
| 2048 |
| 2049 const char kOfflinePagesSvelteConcurrentLoadingName[] = |
| 2050 "Enables concurrent background loading on svelte."; |
| 2051 |
| 2052 const char kOfflinePagesSvelteConcurrentLoadingDescription[] = |
| 2053 "Enables concurrent background loading (or downloading) of pages on " |
| 2054 "Android svelte (512MB RAM) devices. Otherwise, background loading will " |
| 2055 "happen when the svelte device is idle."; |
| 2056 |
| 2057 const char kOfflinePagesPrefetchingName[] = |
| 2058 "Enables suggested offline pages to be prefetched."; |
| 2059 |
| 2060 const char kOfflinePagesPrefetchingDescription[] = |
| 2061 "Enables suggested offline pages to be prefetched, so useful content is " |
| 2062 "available while offline."; |
| 2063 |
| 2064 const char kOfflinePagesSharingName[] = "Enables offline pages to be shared."; |
| 2065 |
| 2066 const char kOfflinePagesSharingDescription[] = |
| 2067 "Enables the saved offline pages to be shared via other applications."; |
| 2068 |
| 2069 const char kBackgroundLoaderForDownloadsName[] = |
| 2070 "Enables background downloading of pages."; |
| 2071 |
| 2072 const char kBackgroundLoaderForDownloadsDescription[] = |
| 2073 "Enables downloading pages in the background in case page is not yet " |
| 2074 "loaded in current tab."; |
| 2075 |
| 2076 const char kNewBackgroundLoaderName[] = |
| 2077 "Use background loader instead of prerenderer to load pages."; |
| 2078 |
| 2079 const char kNewBackgroundLoaderDescription[] = |
| 2080 "Use background loader instead of prerenderer to asynchronously " |
| 2081 "download pages."; |
| 2082 |
| 2083 const char kNtpPopularSitesName[] = "Show popular sites on the New Tab page"; |
| 2084 |
| 2085 const char kNtpPopularSitesDescription[] = |
| 2086 "Pre-populate the New Tab page with popular sites."; |
| 2087 |
| 2088 const char kNtpSwitchToExistingTabName[] = |
| 2089 "Switch to an existing tab for New Tab Page suggestions."; |
| 2090 |
| 2091 const char kNtpSwitchToExistingTabDescription[] = |
| 2092 "When opening a suggested webpage from the New Tab Page, if a tab is " |
| 2093 "already open for the suggestion, switch to that one instead of loading " |
| 2094 "the suggestion in the new tab."; |
| 2095 |
| 2096 const char kNtpSwitchToExistingTabMatchUrl[] = "Match by URL"; |
| 2097 |
| 2098 const char kNtpSwitchToExistingTabMatchHost[] = "Match by Hostname"; |
| 2099 |
| 2100 const char kUseAndroidMidiApiName[] = "Use Android Midi API"; |
| 2101 |
| 2102 const char kUseAndroidMidiApiDescription[] = |
| 2103 "Use Android Midi API for WebMIDI (effective only with Android M+ " |
| 2104 "devices)."; |
| 2105 |
| 2106 const char kWebPaymentsModifiersName[] = "Enable web payment modifiers"; |
| 2107 |
| 2108 const char kWebPaymentsModifiersDescription[] = |
| 2109 "If the website provides modifiers in the payment request, show the " |
| 2110 "custom total for each payment instrument, update the shopping cart " |
| 2111 "when instruments are switched, and send modified payment method " |
| 2112 "specific data to the payment app."; |
| 2113 |
| 2114 #endif // defined(OS_ANDROID) |
| 2115 |
| 2116 #if defined(OS_WIN) |
| 2117 |
| 2118 // Exporting tracing events to ETW |
| 2119 |
| 2120 const char kTraceExportEventsToEtwName[] = |
| 2121 "Enable exporting of tracing events to ETW."; |
| 2122 |
| 2123 const char kTraceExportEventsToEtwDesription[] = |
| 2124 "If enabled, trace events will be exported to the Event Tracing for " |
| 2125 "Windows (ETW) and can then be captured by tools such as UIForETW or " |
| 2126 "Xperf."; |
| 2127 |
| 2128 const char kMergeKeyCharEventsName[] = |
| 2129 "Enable or disable merging merging the key event (WM_KEY*) with char " |
| 2130 "event (WM_CHAR)."; |
| 2131 |
| 2132 const char kMergeKeyCharEventsDescription[] = |
| 2133 "If disabled, Chrome will handle WM_KEY* and WM_CHAR separatedly."; |
| 2134 |
| 2135 const char kUseWinrtMidiApiName[] = "Use Windows Runtime MIDI API"; |
| 2136 |
| 2137 const char kUseWinrtMidiApiDescription[] = |
| 2138 "Use Windows Runtime MIDI API for WebMIDI (effective only on Windows 10 " |
| 2139 "or later)."; |
| 2140 |
| 2141 #endif // defined(OS_WIN) |
| 2142 |
| 2143 #if defined(OS_ANDROID) |
| 2144 |
| 2145 // Data Use |
| 2146 |
| 2147 // Update Menu Item Flags |
| 2148 |
| 2149 const char kUpdateMenuItemName[] = "Force show update menu item"; |
| 2150 |
| 2151 const char kUpdateMenuItemDescription[] = |
| 2152 R"*(When enabled, an "Update Chrome" item will be shown in the app )*" |
| 2153 R"*(menu.)*"; |
| 2154 |
| 2155 const char kUpdateMenuItemSummaryName[] = "Update menu item summary"; |
| 2156 |
| 2157 const char kUpdateMenuItemSummaryDescription[] = |
| 2158 "When this flag and the force show update menu item flag are enabled, a " |
| 2159 "summary will be displayed below the update menu item."; |
| 2160 |
| 2161 const char kUpdateMenuItemNoSummary[] = "No summary"; |
| 2162 |
| 2163 const char kUpdateMenuItemDefaultSummary[] = "Default summary"; |
| 2164 |
| 2165 const char kUpdateMenuItemNewFeaturesSummary[] = "New features summary"; |
| 2166 |
| 2167 const char kUpdateMenuItemCustomSummary[] = "Custom summary"; |
| 2168 |
| 2169 const char kUpdateMenuBadgeName[] = "Force show update menu badge"; |
| 2170 |
| 2171 const char kUpdateMenuBadgeDescription[] = |
| 2172 "When enabled, an update badge will be shown on the app menu button."; |
| 2173 |
| 2174 const char kSetMarketUrlForTestingName[] = "Set market URL for testing"; |
| 2175 |
| 2176 const char kSetMarketUrlForTestingDescription[] = |
| 2177 "When enabled, sets the market URL for use in testing the update menu " |
| 2178 "item."; |
| 2179 |
| 2180 #endif // defined(OS_ANDROID) |
| 2181 |
| 2182 #if defined(OS_ANDROID) |
| 2183 |
| 2184 const char kHerbPrototypeChoicesName[] = "Switch preferred flavor of Herb"; |
| 2185 |
| 2186 const char kHerbPrototypeChoicesDescription[] = |
| 2187 "Switching this option changes which tab management prototype is being " |
| 2188 "tested."; |
| 2189 |
| 2190 const char kHerbPrototypeFlavorElderberry[] = |
| 2191 "ELDERBERRY: All View Intents in CCT v2"; |
| 2192 |
| 2193 const char kEnableSpecialLocaleName[] = |
| 2194 "Enable custom logic for special locales."; |
| 2195 |
| 2196 const char kEnableSpecialLocaleDescription[] = |
| 2197 "Enable custom logic for special locales. In this mode, Chrome might " |
| 2198 "behave differently in some locales."; |
| 2199 |
| 2200 // WebApks |
| 2201 |
| 2202 const char kEnableWebapk[] = "Enable improved add to Home screen"; |
| 2203 |
| 2204 const char kEnableWebapkDescription[] = |
| 2205 R"*(Packages "Progressive Web Apps" so that they can integrate more )*" |
| 2206 R"*(deeply with Android. A Chrome server is used to package sites. In )*" |
| 2207 R"*(Chrome Canary and Chrome Dev, this requires “Untrusted )*" |
| 2208 R"*(sources” to be enabled in Android security settings.)*"; |
| 2209 |
| 2210 #endif // defined(OS_ANDROID) |
| 2211 |
| 2212 const char kEnableBrotliName[] = "Brotli Content-Encoding."; |
| 2213 |
| 2214 const char kEnableBrotliDescription[] = |
| 2215 "Enable Brotli Content-Encoding support."; |
| 2216 |
| 2217 const char kEnableWebfontsInterventionName[] = |
| 2218 "New version of User Agent Intervention for WebFonts loading."; |
| 2219 |
| 2220 const char kEnableWebfontsInterventionDescription[] = |
| 2221 "Enable New version of User Agent Intervention for WebFonts loading."; |
| 2222 |
| 2223 const char kEnableWebfontsInterventionV2ChoiceDefault[] = "Default"; |
| 2224 |
| 2225 const char kEnableWebfontsInterventionV2ChoiceEnabledWith2g[] = "Enabled: 2G"; |
| 2226 |
| 2227 const char kEnableWebfontsInterventionV2ChoiceEnabledWith3g[] = "Enabled: 3G"; |
| 2228 |
| 2229 const char kEnableWebfontsInterventionV2ChoiceEnabledWithSlow2g[] = |
| 2230 "Enabled: Slow 2G"; |
| 2231 |
| 2232 const char kEnableWebfontsInterventionV2ChoiceDisabled[] = "Disabled"; |
| 2233 |
| 2234 const char kEnableWebfontsInterventionTriggerName[] = |
| 2235 "Trigger User Agent Intervention for WebFonts loading always."; |
| 2236 |
| 2237 const char kEnableWebfontsInterventionTriggerDescription[] = |
| 2238 "Enable to trigger User Agent Intervention for WebFonts loading always. " |
| 2239 "This flag affects only when the intervention is enabled."; |
| 2240 |
| 2241 const char kEnableScrollAnchoringName[] = "Scroll Anchoring"; |
| 2242 |
| 2243 const char kEnableScrollAnchoringDescription[] = |
| 2244 "Adjusts scroll position to prevent visible jumps when offscreen " |
| 2245 "content changes."; |
| 2246 |
| 2247 #if defined(OS_CHROMEOS) |
| 2248 |
| 2249 const char kEnableNativeCupsName[] = "Native CUPS"; |
| 2250 |
| 2251 const char kEnableNativeCupsDescription[] = |
| 2252 "Enables the use of the native CUPS printing backend."; |
| 2253 |
| 2254 const char kEnableAndroidWallpapersAppName[] = "Android Wallpapers App"; |
| 2255 |
| 2256 const char kEnableAndroidWallpapersAppDescription[] = |
| 2257 "Enables the Android Wallpapers App as the default Wallpaper App on " |
| 2258 "Chrome OS."; |
| 2259 |
| 2260 const char kEnableTouchSupportForScreenMagnifierName[] = |
| 2261 "Touch support for screen magnifier"; |
| 2262 |
| 2263 const char kEnableTouchSupportForScreenMagnifierDescription[] = |
| 2264 "Enables touch support for screen magnifier"; |
| 2265 |
| 2266 #endif // defined(OS_CHROMEOS) |
| 2267 |
| 2268 #if defined(OS_ANDROID) |
| 2269 |
| 2270 const char kContentSuggestionsCategoryOrderName[] = |
| 2271 "Default content suggestions category order (e.g. on NTP)"; |
| 2272 |
| 2273 const char kContentSuggestionsCategoryOrderDescription[] = |
| 2274 "Set default order of content suggestion categories (e.g. on the NTP)."; |
| 2275 |
| 2276 const char kContentSuggestionsCategoryRankerName[] = |
| 2277 "Content suggestions category ranker (e.g. on NTP)"; |
| 2278 |
| 2279 const char kContentSuggestionsCategoryRankerDescription[] = |
| 2280 "Set category ranker to order categories of content suggestions (e.g. " |
| 2281 "on the NTP)."; |
| 2282 |
| 2283 const char kEnableNtpSnippetsVisibilityName[] = |
| 2284 "Make New Tab Page Snippets more visible."; |
| 2285 |
| 2286 const char kEnableNtpSnippetsVisibilityDescription[] = |
| 2287 "If enabled, the NTP snippets will become more discoverable with a " |
| 2288 "larger portion of the first card above the fold."; |
| 2289 |
| 2290 const char kEnableNtpRemoteSuggestionsName[] = |
| 2291 "Show server-side suggestions on the New Tab page"; |
| 2292 |
| 2293 const char kEnableNtpRemoteSuggestionsDescription[] = |
| 2294 "If enabled, the list of content suggestions on the New Tab page (see " |
| 2295 "#enable-ntp-snippets) will contain server-side suggestions (e.g., " |
| 2296 "Articles for you). Furthermore, it allows to override the source used " |
| 2297 "to retrieve these server-side suggestions."; |
| 2298 |
| 2299 const char kEnableNtpRecentOfflineTabSuggestionsName[] = |
| 2300 "Show recent offline tabs on the New Tab page"; |
| 2301 |
| 2302 const char kEnableNtpRecentOfflineTabSuggestionsDescription[] = |
| 2303 "If enabled, the list of content suggestions on the New Tab page (see " |
| 2304 "#enable-ntp-snippets) will contain pages that were captured offline " |
| 2305 "during browsing (see #offlining-recent-pages)"; |
| 2306 |
| 2307 const char kEnableNtpSaveToOfflineName[] = |
| 2308 "Show option to save to offline in Snippets context menu."; |
| 2309 |
| 2310 const char kEnableNtpSaveToOfflineDescription[] = |
| 2311 "If enabled, the Snippets context menu (see #enable-ntp-snippets) will " |
| 2312 "contain the option to save linked page for offline viewing."; |
| 2313 |
| 2314 const char kEnableNtpOfflineBadgeName[] = |
| 2315 "Show offline badge for offline available snippets on the ntp."; |
| 2316 |
| 2317 const char kEnableNtpOfflineBadgeDescription[] = |
| 2318 "If enabled, Snippets that are available offline will have an offline " |
| 2319 "badge."; |
| 2320 |
| 2321 const char kEnableNtpAssetDownloadSuggestionsName[] = |
| 2322 "Show asset downloads on the New Tab page"; |
| 2323 |
| 2324 const char kEnableNtpAssetDownloadSuggestionsDescription[] = |
| 2325 "If enabled, the list of content suggestions on the New Tab page (see " |
| 2326 "#enable-ntp-snippets) will contain assets (e.g. books, pictures, " |
| 2327 "audio) that the user downloaded for later use."; |
| 2328 |
| 2329 const char kEnableNtpOfflinePageDownloadSuggestionsName[] = |
| 2330 "Show offline page downloads on the New Tab page"; |
| 2331 |
| 2332 const char kEnableNtpOfflinePageDownloadSuggestionsDescription[] = |
| 2333 "If enabled, the list of content suggestions on the New Tab page (see " |
| 2334 "#enable-ntp-snippets) will contain pages that the user downloaded for " |
| 2335 "later use."; |
| 2336 |
| 2337 const char kEnableNtpBookmarkSuggestionsName[] = |
| 2338 "Show recently visited bookmarks on the New Tab page"; |
| 2339 |
| 2340 const char kEnableNtpBookmarkSuggestionsDescription[] = |
| 2341 "If enabled, the list of content suggestions on the New Tab page (see " |
| 2342 "#enable-ntp-snippets) will contain recently visited bookmarks."; |
| 2343 |
| 2344 const char kEnableNtpPhysicalWebPageSuggestionsName[] = |
| 2345 "Show Physical Web pages on the New Tab page"; |
| 2346 |
| 2347 const char kEnableNtpPhysicalWebPageSuggestionsDescription[] = |
| 2348 "If enabled, the list of content suggestions on the New Tab page (see " |
| 2349 "#enable-ntp-snippets) will contain pages that are available through " |
| 2350 "Physical Web (see #enable-physical-web)"; |
| 2351 |
| 2352 const char kEnableNtpForeignSessionsSuggestionsName[] = |
| 2353 "Show recent foreign tabs on the New Tab page"; |
| 2354 |
| 2355 const char kEnableNtpForeignSessionsSuggestionsDescription[] = |
| 2356 "If enabled, the list of content suggestions on the New Tab page (see " |
| 2357 "#enable-ntp-snippets) will contain recent foreign tabs."; |
| 2358 |
| 2359 const char kEnableNtpSuggestionsNotificationsName[] = |
| 2360 "Notify about new content suggestions available at the New Tab page"; |
| 2361 |
| 2362 const char kEnableNtpSuggestionsNotificationsDescription[] = |
| 2363 "If enabled, notifications will inform about new content suggestions on " |
| 2364 "the New Tab page (see #enable-ntp-snippets)."; |
| 2365 |
| 2366 const char kNtpCondensedLayoutName[] = "Condensed NTP layout"; |
| 2367 |
| 2368 const char kNtpCondensedLayoutDescription[] = |
| 2369 "Show a condensed layout on the New Tab Page."; |
| 2370 |
| 2371 const char kNtpCondensedTileLayoutName[] = "Condensed NTP tile layout"; |
| 2372 |
| 2373 const char kNtpCondensedTileLayoutDescription[] = |
| 2374 "Show a condensed tile layout on the New Tab Page."; |
| 2375 |
| 2376 const char kNtpGoogleGInOmniboxName[] = "Google G in New Tab Page omnibox"; |
| 2377 |
| 2378 const char kNtpGoogleGInOmniboxDescription[] = |
| 2379 "Show a Google G in the omnibox on the New Tab Page."; |
| 2380 |
| 2381 #endif // defined(OS_ANDROID) |
| 2382 |
| 2383 #if defined(OS_ANDROID) |
| 2384 |
| 2385 const char kOffliningRecentPagesName[] = |
| 2386 "Enable offlining of recently visited pages"; |
| 2387 |
| 2388 const char kOffliningRecentPagesDescription[] = |
| 2389 "Enable storing recently visited pages locally for offline use. " |
| 2390 "Requires Offline Pages to be enabled."; |
| 2391 |
| 2392 const char kOfflinePagesCtName[] = "Enable Offline Pages CT features."; |
| 2393 |
| 2394 const char kOfflinePagesCtDescription[] = "Enable Offline Pages CT features."; |
| 2395 |
| 2396 #endif // defined(OS_ANDROID) |
| 2397 |
| 2398 #if defined(OS_ANDROID) |
| 2399 |
| 2400 const char kEnableExpandedAutofillCreditCardPopupLayout[] = |
| 2401 "Use expanded autofill credit card popup layout."; |
| 2402 |
| 2403 const char kEnableExpandedAutofillCreditCardPopupLayoutDescription[] = |
| 2404 "If enabled, displays autofill credit card popup using expanded " |
| 2405 "layout."; |
| 2406 |
| 2407 #endif // defined(OS_ANDROID) |
| 2408 |
| 2409 const char kEnableAutofillCreditCardLastUsedDateDisplay[] = |
| 2410 "Display the last used date of a credit card in autofill."; |
| 2411 |
| 2412 const char kEnableAutofillCreditCardLastUsedDateDisplayDescription[] = |
| 2413 "If enabled, display the last used date of a credit card in autofill."; |
| 2414 |
| 2415 #if !defined(OS_ANDROID) && defined(GOOGLE_CHROME_BUILD) |
| 2416 |
| 2417 const char kGoogleBrandedContextMenuName[] = |
| 2418 "Google branding in the context menu"; |
| 2419 |
| 2420 const char kGoogleBrandedContextMenuDescription[] = |
| 2421 "Shows a Google icon next to context menu items powered by Google " |
| 2422 "services."; |
| 2423 |
| 2424 #endif // !defined(OS_ANDROID) && defined(GOOGLE_CHROME_BUILD) |
| 2425 |
| 2426 const char kEnableWebUsbName[] = "WebUSB"; |
| 2427 |
| 2428 const char kEnableWebUsbDescription[] = "Enable WebUSB support."; |
| 2429 |
| 2430 const char kEnableGenericSensorName[] = "Generic Sensor"; |
| 2431 |
| 2432 const char kEnableGenericSensorDescription[] = |
| 2433 "Enable sensor APIs based on Generic Sensor API."; |
| 2434 |
| 2435 const char kFontCacheScalingName[] = "FontCache scaling"; |
| 2436 |
| 2437 const char kFontCacheScalingDescription[] = |
| 2438 "Reuse a cached font in the renderer to serve different sizes of font " |
| 2439 "for faster layout."; |
| 2440 |
| 2441 const char kFramebustingName[] = |
| 2442 "Framebusting requires same-origin or a user gesture"; |
| 2443 |
| 2444 const char kFramebustingDescription[] = |
| 2445 "Don't permit an iframe to navigate the top level browsing context " |
| 2446 "unless they are same-origin or the iframe is processing a user " |
| 2447 "gesture."; |
| 2448 |
| 2449 #if defined(OS_ANDROID) |
| 2450 |
| 2451 const char kEnableVrShellName[] = "Enable Chrome VR."; |
| 2452 |
| 2453 const char kEnableVrShellDescription[] = |
| 2454 "Allow browsing with a VR headset if available for this device."; |
| 2455 |
| 2456 #endif // defined(OS_ANDROID) |
| 2457 |
| 2458 // Web payments |
| 2459 |
| 2460 const char kWebPaymentsName[] = "Web Payments"; |
| 2461 |
| 2462 const char kWebPaymentsDescription[] = |
| 2463 "Enable Web Payments API integration, a JavaScript API for merchants."; |
| 2464 |
| 2465 #if defined(OS_ANDROID) |
| 2466 |
| 2467 const char kEnableAndroidPayIntegrationV1Name[] = "Enable Android Pay v1"; |
| 2468 |
| 2469 const char kEnableAndroidPayIntegrationV1Description[] = |
| 2470 "Enable integration with Android Pay using the first version of the " |
| 2471 "API"; |
| 2472 |
| 2473 const char kEnableAndroidPayIntegrationV2Name[] = "Enable Android Pay v2"; |
| 2474 |
| 2475 const char kEnableAndroidPayIntegrationV2Description[] = |
| 2476 "Enable integration with Android Pay using the second version of the " |
| 2477 "API"; |
| 2478 |
| 2479 const char kEnableWebPaymentsSingleAppUiSkipName[] = |
| 2480 "Enable Web Payments single app UI skip"; |
| 2481 |
| 2482 const char kEnableWebPaymentsSingleAppUiSkipDescription[] = |
| 2483 "Enable Web Payments to skip showing its UI if the developer specifies " |
| 2484 "a single app."; |
| 2485 |
| 2486 const char kAndroidPaymentAppsName[] = "Android payment apps"; |
| 2487 |
| 2488 const char kAndroidPaymentAppsDescription[] = |
| 2489 "Enable third party Android apps to integrate as payment apps"; |
| 2490 |
| 2491 const char kAndroidPaymentAppsFilterTitle[] = "Android payment apps filter"; |
| 2492 |
| 2493 const char kAndroidPaymentAppsFilterDescription[] = |
| 2494 "Enable filtering out third party Android apps that can not be shown in " |
| 2495 "settings"; |
| 2496 |
| 2497 #endif // defined(OS_ANDROID) |
| 2498 |
| 2499 const char kFeaturePolicyName[] = "Feature Policy"; |
| 2500 |
| 2501 const char kFeaturePolicyDescription[] = |
| 2502 "Enables granting and removing access to features through the " |
| 2503 "Feature-Policy HTTP header."; |
| 2504 |
| 2505 // Audio rendering mixing experiment strings. |
| 2506 |
| 2507 const char kNewAudioRenderingMixingStrategyName[] = |
| 2508 "New audio rendering mixing strategy"; |
| 2509 |
| 2510 const char kNewAudioRenderingMixingStrategyDescription[] = |
| 2511 "Use the new audio rendering mixing strategy."; |
| 2512 |
| 2513 // Background video track disabling experiment strings. |
| 2514 |
| 2515 const char kBackgroundVideoTrackOptimizationName[] = |
| 2516 "Optimize background video playback."; |
| 2517 |
| 2518 const char kBackgroundVideoTrackOptimizationDescription[] = |
| 2519 "Disable video tracks when the video is played in the background to " |
| 2520 "optimize performance."; |
| 2521 |
| 2522 // Video fullscreen with orientation lock experiment strings. |
| 2523 |
| 2524 const char kVideoFullscreenOrientationLockName[] = |
| 2525 "Lock screen orientation when playing a video fullscreen."; |
| 2526 |
| 2527 const char kVideoFullscreenOrientationLockDescription[] = |
| 2528 "Lock the screen orientation of the device to match video orientation " |
| 2529 "when a video goes fullscreen. Only on phones."; |
| 2530 |
| 2531 // Expensive background timer throttling flag |
| 2532 |
| 2533 const char kExpensiveBackgroundTimerThrottlingName[] = |
| 2534 "Throttle expensive background timers"; |
| 2535 |
| 2536 const char kExpensiveBackgroundTimerThrottlingDescription[] = |
| 2537 "Enables intervention to limit CPU usage of background timers to 1%."; |
| 2538 |
| 2539 // Enable default MediaSession flag |
| 2540 |
| 2541 #if !defined(OS_ANDROID) |
| 2542 |
| 2543 const char kEnableDefaultMediaSessionName[] = "Manage audio focus across tabs"; |
| 2544 |
| 2545 const char kEnableDefaultMediaSessionDescription[] = |
| 2546 "Manage audio focus across tabs to improve the audio mixing."; |
| 2547 |
| 2548 const char kEnableDefaultMediaSessionDisabled[] = "Disabled"; |
| 2549 |
| 2550 const char kEnableDefaultMediaSessionEnabled[] = "Enabled"; |
| 2551 |
| 2552 const char kEnableDefaultMediaSessionEnabledDuckFlash[] = |
| 2553 "Enabled (Flash lowers volume when interrupted by other sound, " |
| 2554 "experimental)"; |
| 2555 |
| 2556 #endif // !defined(OS_ANDROID) |
| 2557 |
| 2558 #if defined(OS_WIN) |
| 2559 |
| 2560 const char kGdiTextPrinting[] = "GDI Text Printing"; |
| 2561 |
| 2562 const char kGdiTextPrintingDescription[] = |
| 2563 "Use GDI to print text as simply text"; |
| 2564 |
| 2565 #endif // defined(OS_WIN) |
| 2566 |
| 2567 #if defined(OS_ANDROID) |
| 2568 |
| 2569 const char kModalPermissionPromptsName[] = "Modal Permission Prompts"; |
| 2570 |
| 2571 const char kModalPermissionPromptsDescription[] = |
| 2572 "Whether to use permission dialogs in place of permission infobars."; |
| 2573 |
| 2574 #endif // defined(OS_ANDROID) |
| 2575 |
| 2576 #if !defined(OS_MACOSX) |
| 2577 |
| 2578 const char kPermissionPromptPersistenceToggleName[] = |
| 2579 "Persistence Toggle in Permission Prompts"; |
| 2580 |
| 2581 const char kPermissionPromptPersistenceToggleDescription[] = |
| 2582 "Whether to display a persistence toggle in permission prompts."; |
| 2583 |
| 2584 #endif // !defined(OS_MACOSX) |
| 2585 |
| 2586 #if defined(OS_ANDROID) |
| 2587 |
| 2588 const char kNoCreditCardAbort[] = "No Credit Card Abort"; |
| 2589 |
| 2590 const char kNoCreditCardAbortDescription[] = |
| 2591 "Whether or not the No Credit Card Abort is enabled."; |
| 2592 |
| 2593 #endif // defined(OS_ANDROID) |
| 2594 |
| 2595 // Consistent omnibox geolocation |
| 2596 |
| 2597 #if defined(OS_ANDROID) |
| 2598 |
| 2599 const char kEnableConsistentOmniboxGeolocationName[] = |
| 2600 "Have consistent omnibox geolocation access."; |
| 2601 |
| 2602 const char kEnableConsistentOmniboxGeolocationDescription[] = |
| 2603 "Have consistent geolocation access between the omnibox and default " |
| 2604 "search engine."; |
| 2605 |
| 2606 #endif // defined(OS_ANDROID) |
| 2607 |
| 2608 // Media Remoting chrome://flags strings |
| 2609 |
| 2610 const char kMediaRemotingName[] = "Media Remoting during Cast Tab Mirroring"; |
| 2611 |
| 2612 const char kMediaRemotingDescription[] = |
| 2613 "When Casting a tab to a remote device, enabling this turns on an " |
| 2614 "optimization that forwards the content bitstream directly to the " |
| 2615 "remote device when a video is fullscreened."; |
| 2616 |
| 2617 const char kMediaRemotingEncryptedName[] = |
| 2618 "Media Remoting during Cast Tab Mirroring: Encrypted content too"; |
| 2619 |
| 2620 const char kMediaRemotingEncryptedDescription[] = |
| 2621 "When Media Remoting is enabled, this flag must be enabled to allow the " |
| 2622 "remoting of encrypted content. When disabled, only non-encrypted " |
| 2623 "content can be remoted."; |
| 2624 |
| 2625 // Chrome OS component updates chrome://flags strings |
| 2626 |
| 2627 const char kCrosCompUpdatesName[] = "Chrome OS Flash Component Updates"; |
| 2628 |
| 2629 const char kCrosCompUpdatesDescription[] = |
| 2630 "Enable Flash component updates for Chrome OS."; |
| 2631 |
| 2632 // Native Android History chrome://flags strings |
| 2633 |
| 2634 #if defined(OS_ANDROID) |
| 2635 |
| 2636 const char kNativeAndroidHistoryManager[] = "Native Android History"; |
| 2637 |
| 2638 const char kNativeAndroidHistoryManagerDescription[] = |
| 2639 "Show the native Android UI for browsing history."; |
| 2640 |
| 2641 #endif // defined(OS_ANDROID) |
| 2642 |
| 2643 // Play Services LSD permission prompt chrome://flags strings |
| 2644 |
| 2645 #if defined(OS_ANDROID) |
| 2646 |
| 2647 const char kLsdPermissionPromptName[] = |
| 2648 "Location Settings Dialog Permission Prompt"; |
| 2649 |
| 2650 const char kLsdPermissionPromptDescription[] = |
| 2651 "Whether to use the Google Play Services Location Settings Dialog " |
| 2652 "permission dialog."; |
| 2653 |
| 2654 #endif // defined(OS_ANDROID) |
| 2655 |
| 2656 #if defined(OS_WIN) |
| 2657 |
| 2658 // Custom draw the Windows 10 titlebar. crbug.com/505013 |
| 2659 |
| 2660 const char kWindows10CustomTitlebarName[] = "Custom-drawn Windows 10 Titlebar"; |
| 2661 |
| 2662 const char kWindows10CustomTitlebarDescription[] = |
| 2663 "If enabled, Chrome will draw the titlebar and caption buttons instead " |
| 2664 "of deferring to Windows."; |
| 2665 |
| 2666 #endif // defined(OS_WIN) |
| 2667 |
| 2668 #if defined(OS_WIN) |
| 2669 |
| 2670 const char kPostscriptPrinting[] = "PostScript Printing"; |
| 2671 |
| 2672 const char kPostscriptPrintingDescription[] = |
| 2673 "Enable postscript generation in place of emf generation when printing " |
| 2674 "to postscript capable printers."; |
| 2675 |
| 2676 #endif // defined(OS_WIN) |
| 2677 |
| 2678 #if defined(OS_ANDROID) |
| 2679 |
| 2680 const char kAiaFetchingName[] = "Intermediate Certificate Fetching"; |
| 2681 |
| 2682 const char kAiaFetchingDescription[] = |
| 2683 "Enable intermediate certificate fetching when a server does not " |
| 2684 "provide sufficient certificates to build a chain to a trusted root."; |
| 2685 |
| 2686 #endif // defined(OS_ANDROID) |
| 2687 |
| 2688 // Web MIDI supports MIDIManager dynamic instantiation chrome://flags strings |
| 2689 |
| 2690 const char kEnableMidiManagerDynamicInstantiationName[] = |
| 2691 "MIDIManager dynamic instantiation for Web MIDI."; |
| 2692 |
| 2693 const char kEnableMidiManagerDynamicInstantiationDescription[] = |
| 2694 "Enable MIDIManager dynamic instantiation for Web MIDI."; |
| 2695 |
| 2696 // Desktop iOS promotion chrome://flags strings |
| 2697 |
| 2698 #if defined(OS_WIN) |
| 2699 |
| 2700 const char kEnableDesktopIosPromotionsName[] = "Desktop to iOS promotions."; |
| 2701 |
| 2702 const char kEnableDesktopIosPromotionsDescription[] = |
| 2703 "Enable Desktop to iOS promotions, and allow users to see them if they " |
| 2704 "are eligible."; |
| 2705 |
| 2706 #endif // defined(OS_WIN) |
| 2707 |
| 2708 #if defined(OS_ANDROID) |
| 2709 |
| 2710 const char kEnableCustomFeedbackUiName[] = "Enable Custom Feedback UI"; |
| 2711 |
| 2712 const char kEnableCustomFeedbackUiDescription[] = |
| 2713 "Enables a custom feedback UI when submitting feedback through Google " |
| 2714 "Feedback. Works with Google Play Services v10.2+"; |
| 2715 |
| 2716 #endif // defined(OS_ANDROID) |
| 2717 |
| 2718 const char kEnableAdjustableLargeCursorName[] = |
| 2719 "Enable adjustable large cursor"; |
| 2720 |
| 2721 const char kEnableAdjustableLargeCursorDescription[] = |
| 2722 "Make size of accessibility large cursor adjustable."; |
| 2723 |
| 2724 #if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || \ |
| 2725 defined(OS_WIN) |
| 2726 |
| 2727 const char kOmniboxEntitySuggestionsName[] = "Omnibox entity suggestions"; |
| 2728 |
| 2729 const char kOmniboxEntitySuggestionsDescription[] = |
| 2730 "Enable receiving entity suggestions in Omnibox."; |
| 2731 |
| 2732 #endif // defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || |
| 2733 // defined(OS_WIN) |
| 2734 |
| 2735 #if defined(OS_CHROMEOS) |
| 2736 |
| 2737 const char kEnableChromevoxArcSupportName[] = "ChromeVox ARC support"; |
| 2738 |
| 2739 const char kEnableChromevoxArcSupportDescription[] = |
| 2740 "Enable ChromeVox screen reader features in ARC"; |
| 2741 |
| 2742 #endif // defined(OS_CHROMEOS) |
| 2743 |
| 2744 const char kMojoLoadingName[] = "Use Mojo IPC for resource loading"; |
| 2745 |
| 2746 const char kMojoLoadingDescription[] = |
| 2747 "Use Mojo IPC instead of traditional Chrome IPC for resource loading."; |
| 2748 |
| 2749 #if defined(OS_ANDROID) |
| 2750 |
| 2751 const char kUseNewDoodleApiName[] = "Use new Doodle API"; |
| 2752 |
| 2753 const char kUseNewDoodleApiDescription[] = |
| 2754 "Enables the new API to fetch Doodles for the NTP."; |
| 2755 |
| 2756 #endif // defined(OS_ANDROID) |
| 2757 |
| 2758 const char kDelayNavigationName[] = "Delay navigations"; |
| 2759 |
| 2760 const char kDelayNavigationDescription[] = |
| 2761 "Add a fixed delay to main frame navigations."; |
| 2762 |
| 2763 const char kDebugShortcutsDescription[] = |
| 2764 "Enables additional keyboard shortcuts that are useful for debugging " |
| 2765 "Ash."; |
| 2766 |
| 2767 #if defined(OS_CHROMEOS) |
| 2768 |
| 2769 // File Manager |
| 2770 |
| 2771 const char kVideoPlayerChromecastSupportName[] = |
| 2772 "Experimental Chromecast support for Video Player"; |
| 2773 |
| 2774 const char kVideoPlayerChromecastSupportDescription[] = |
| 2775 "This option enables experimental Chromecast support for Video Player " |
| 2776 "app on ChromeOS."; |
| 2777 |
| 2778 const char kNewZipUnpackerName[] = "New ZIP unpacker"; |
| 2779 |
| 2780 const char kNewZipUnpackerDescription[] = |
| 2781 "New ZIP unpacker flow, based on the File System Provider API."; |
| 2782 |
| 2783 const char kShowArcFilesAppName[] = "Show Android Files app"; |
| 2784 |
| 2785 const char kShowArcFilesAppDescription[] = |
| 2786 "Show Android Files app in Chrome OS launcher. This is only effective " |
| 2787 "on a device with access to Play Store."; |
| 2788 |
| 2789 const char kOfficeEditingComponentAppName[] = |
| 2790 "Office Editing for Docs, Sheets & Slides"; |
| 2791 |
| 2792 const char kOfficeEditingComponentAppDescription[] = |
| 2793 "Office Editing for Docs, Sheets & Slides for testing purposes."; |
| 2794 |
| 2795 const char kDisplayColorCalibrationName[] = "Color calibration of the display"; |
| 2796 |
| 2797 const char kDisplayColorCalibrationDescription[] = |
| 2798 "Allow color calibration of the display if the display supports the " |
| 2799 "feature."; |
| 2800 |
| 2801 const char kMemoryPressureThresholdName[] = |
| 2802 "Memory discard strategy for advanced pressure handling"; |
| 2803 |
| 2804 const char kMemoryPressureThresholdDescription[] = |
| 2805 "Memory discarding strategy to use"; |
| 2806 |
| 2807 const char kConservativeThresholds[] = |
| 2808 "Conservative memory pressure release strategy"; |
| 2809 |
| 2810 const char kAggressiveCacheDiscardThresholds[] = |
| 2811 "Aggressive cache release strategy"; |
| 2812 |
| 2813 const char kAggressiveTabDiscardThresholds[] = |
| 2814 "Aggressive tab release strategy"; |
| 2815 |
| 2816 const char kAggressiveThresholds[] = |
| 2817 "Aggressive tab and cache release strategy"; |
| 2818 |
| 2819 const char kWakeOnPacketsName[] = "Wake On Packets"; |
| 2820 |
| 2821 const char kWakeOnPacketsDescription[] = |
| 2822 "Enables waking the device based on the receipt of some network " |
| 2823 "packets."; |
| 2824 |
| 2825 const char kQuickUnlockPin[] = "Quick Unlock (PIN)"; |
| 2826 |
| 2827 const char kQuickUnlockPinDescription[] = |
| 2828 "Enabling PIN quick unlock allows you to use a PIN to unlock your " |
| 2829 "Chromebook on the lock screen after you have signed into your device."; |
| 2830 |
| 2831 const char kQuickUnlockFingerprint[] = "Quick Unlock (Fingerprint)"; |
| 2832 |
| 2833 const char kQuickUnlockFingerprintDescription[] = |
| 2834 "Enabling fingerprint quick unlock allows you to setup and use a " |
| 2835 "fingerprint to unlock your Chromebook on the lock screen after you " |
| 2836 "have signed into your device."; |
| 2837 |
| 2838 const char kExperimentalAccessibilityFeaturesName[] = |
| 2839 "Experimental accessibility features"; |
| 2840 |
| 2841 const char kExperimentalAccessibilityFeaturesDescription[] = |
| 2842 "Enable additional accessibility features in the Settings page."; |
| 2843 |
| 2844 const char kDisableSystemTimezoneAutomaticDetectionName[] = |
| 2845 "SystemTimezoneAutomaticDetection policy support"; |
| 2846 |
| 2847 const char kDisableSystemTimezoneAutomaticDetectionDescription[] = |
| 2848 "Disable system timezone automatic detection device policy."; |
| 2849 |
| 2850 const char kEolNotificationName[] = "Disable Device End of Life notification."; |
| 2851 |
| 2852 const char kEolNotificationDescription[] = |
| 2853 "Disable Notifcation when Device is End of Life."; |
| 2854 |
| 2855 // Stylus strings |
| 2856 |
| 2857 const char kForceEnableStylusToolsName[] = "Force enable stylus features"; |
| 2858 |
| 2859 const char kForceEnableStylusToolsDescription[] = |
| 2860 "Forces display of the stylus tools menu in the shelf and the stylus " |
| 2861 "section in settings, even if there is no attached stylus device."; |
| 2862 |
| 2863 // Network portal notification |
| 2864 |
| 2865 const char kNetworkPortalNotificationName[] = |
| 2866 "Notifications about captive portals"; |
| 2867 |
| 2868 const char kNetworkPortalNotificationDescription[] = |
| 2869 "If enabled, notification is displayed when device is connected to a " |
| 2870 "network behind captive portal."; |
| 2871 |
| 2872 const char kMtpWriteSupportName[] = "MTP write support"; |
| 2873 |
| 2874 const char kMtpWriteSupportDescription[] = |
| 2875 "MTP write support in File System API (and file manager). In-place " |
| 2876 "editing operations are not supported."; |
| 2877 |
| 2878 const char kCrosRegionsModeName[] = "Cros-regions load mode"; |
| 2879 |
| 2880 const char kCrosRegionsModeDescription[] = |
| 2881 "This flag controls cros-regions load mode"; |
| 2882 |
| 2883 const char kCrosRegionsModeDefault[] = "Default"; |
| 2884 |
| 2885 const char kCrosRegionsModeOverride[] = "Override VPD values."; |
| 2886 |
| 2887 const char kCrosRegionsModeHide[] = "Hide VPD values."; |
| 2888 |
| 2889 const char kPrinterProviderSearchAppName[] = |
| 2890 "Chrome Web Store Gallery app for printer drivers"; |
| 2891 |
| 2892 const char kPrinterProviderSearchAppDescription[] = |
| 2893 "Enables Chrome Web Store Gallery app for printer drivers. The app " |
| 2894 "searches Chrome Web Store for extensions that support printing to a " |
| 2895 "USB printer with specific USB ID."; |
| 2896 |
| 2897 const char kArcBootCompleted[] = "Load Android apps automatically"; |
| 2898 |
| 2899 const char kArcBootCompletedDescription[] = |
| 2900 "Allow Android apps to start automatically after signing in."; |
| 2901 |
| 2902 const char kEnableImeMenuName[] = "Enable opt-in IME menu"; |
| 2903 |
| 2904 const char kEnableImeMenuDescription[] = |
| 2905 "Enable access to the new IME menu in the Language Settings page."; |
| 2906 |
| 2907 const char kEnableEhvInputName[] = |
| 2908 "Emoji, handwriting and voice input on opt-in IME menu"; |
| 2909 |
| 2910 const char kEnableEhvInputDescription[] = |
| 2911 "Enable access to emoji, handwriting and voice input form opt-in IME " |
| 2912 "menu."; |
| 2913 |
| 2914 #endif // #if defined(OS_CHROMEOS) |
| 2915 |
| 2916 } // namespace flag_descriptions |
OLD | NEW |