Home | History | Annotate | Download | only in browser

Lines Matching refs:switches

19 #include "cc/base/switches.h"
27 #include "extensions/common/switches.h"
36 #include "ui/gfx/switches.h"
49 #include "third_party/cros_system_api/switches/chrome_switches.h"
111 // First do the ones between --flag-switches-begin and --flag-switches-end.
114 GetSwitchString(switches::kFlagSwitchesBegin));
117 GetSwitchString(switches::kFlagSwitchesEnd));
121 // Then add those between --policy-switches-begin and --policy-switches-end.
123 GetSwitchString(chromeos::switches::kPolicySwitchesBegin));
125 GetSwitchString(chromeos::switches::kPolicySwitchesEnd));
135 switches::kEnableCompositingForFixedPosition, ""},
137 switches::kDisableCompositingForFixedPosition, ""},
139 switches::kEnableHighDpiCompositingForFixedPosition, ""}
145 switches::kEnableCompositingForTransition, ""},
147 switches::kDisableCompositingForTransition, ""},
153 switches::kEnableAcceleratedFixedRootBackground, ""},
155 switches::kDisableAcceleratedFixedRootBackground, ""},
161 switches::kTouchEvents,
162 switches::kTouchEventsEnabled },
164 switches::kTouchEvents,
165 switches::kTouchEventsDisabled }
171 switches::kTouchOptimizedUI,
172 switches::kTouchOptimizedUIEnabled },
174 switches::kTouchOptimizedUI,
175 switches::kTouchOptimizedUIDisabled }
184 switches::kNaClDebugMask, "!*://*/*ssh_client.nmf" },
186 switches::kNaClDebugMask, "*://*/*debug.nmf" }
192 cc::switches::kEnableImplSidePainting, ""},
194 cc::switches::kDisableImplSidePainting, ""}
200 switches::kEnableDeadlineScheduling, ""},
202 switches::kDisableDeadlineScheduling, ""}
208 switches::kUIEnableDeadlineScheduling, ""},
210 switches::kUIDisableDeadlineScheduling, ""}
215 { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED, cc::switches::kEnableLCDText, ""},
216 { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED, cc::switches::kDisableLCDText, ""}
222 switches::kEnableDelegatedRenderer, ""},
224 switches::kDisableDelegatedRenderer, ""}
230 cc::switches::kMaxTilesForInterestArea, "64"},
232 cc::switches::kMaxTilesForInterestArea, "128"},
234 cc::switches::kMaxTilesForInterestArea, "256"},
236 cc::switches::kMaxTilesForInterestArea, "512"}
242 switches::kDefaultTileWidth, "128"},
244 switches::kDefaultTileWidth, "256"},
246 switches::kDefaultTileWidth, "512"},
248 switches::kDefaultTileWidth, "1024"}
255 ash::switches::kAshOverviewDelayOnAltTab, "0" },
257 ash::switches::kAshOverviewDelayOnAltTab, "100" },
259 ash::switches::kAshOverviewDelayOnAltTab, "500" },
261 ash::switches::kAshOverviewDelayOnAltTab, "10000" },
268 switches::kDefaultTileHeight, "128"},
270 switches::kDefaultTileHeight, "256"},
272 switches::kDefaultTileHeight, "512"},
274 switches::kDefaultTileHeight, "1024"}
280 switches::kUseSimpleCacheBackend, "off" },
282 switches::kUseSimpleCacheBackend, "on"}
289 switches::kTabCaptureUpscaleQuality, "fast" },
291 switches::kTabCaptureUpscaleQuality, "good" },
293 switches::kTabCaptureUpscaleQuality, "best" },
299 switches::kTabCaptureDownscaleQuality, "fast" },
301 switches::kTabCaptureDownscaleQuality, "good" },
303 switches::kTabCaptureDownscaleQuality, "best" },
310 cc::switches::kEnableMapImage, ""},
312 cc::switches::kDisableMapImage, ""}
319 switches::kEnableZeroSuggestMostVisited, ""},
321 switches::kEnableZeroSuggestEtherSerp, ""},
323 switches::kEnableZeroSuggestEtherNoSerp, ""},
325 switches::kDisableZeroSuggest, ""}
331 { IDS_FLAGS_NUM_RASTER_THREADS_ONE, cc::switches::kNumRasterThreads, "1" },
332 { IDS_FLAGS_NUM_RASTER_THREADS_TWO, cc::switches::kNumRasterThreads, "2" },
333 { IDS_FLAGS_NUM_RASTER_THREADS_THREE, cc::switches::kNumRasterThreads, "3" },
334 { IDS_FLAGS_NUM_RASTER_THREADS_FOUR, cc::switches::kNumRasterThreads, "4" }
345 switches::kDisableSearchButtonInOmnibox, ""},
347 switches::kEnableSearchButtonInOmniboxForStr, ""},
349 switches::kEnableSearchButtonInOmniboxForStrOrIip, ""},
351 switches::kEnableSearchButtonInOmniboxAlways, ""}
396 SINGLE_VALUE_TYPE(switches::kEnableExposeForTabs)
406 SINGLE_VALUE_TYPE(switches
413 SINGLE_VALUE_TYPE(switches::kIgnoreGpuBlacklist)
420 ENABLE_DISABLE_VALUE_TYPE(switches::kForceCompositingMode,
421 switches::kDisableForceCompositingMode)
428 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableThreadedCompositing,
429 switches::kDisableThreadedCompositing)
436 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAcceleratedOverflowScroll,
437 switches::kDisableAcceleratedOverflowScroll)
445 switches::kEnableUniversalAcceleratedOverflowScroll,
446 switches::kDisableUniversalAcceleratedOverflowScroll)
454 SINGLE_VALUE_TYPE(switches::kEnableDirectWrite)
462 SINGLE_VALUE_TYPE(switches::kEnableExperimentalCanvasFeatures)
469 SINGLE_VALUE_TYPE(switches::kDisableAccelerated2dCanvas)
476 SINGLE_VALUE_TYPE(cc::switches::kShowCompositedLayerBorders)
483 SINGLE_VALUE_TYPE(cc::switches::kShowFPSCounter)
490 SINGLE_VALUE_TYPE(switches::kEnableAcceleratedFilters)
497 SINGLE_VALUE_TYPE(switches::kDisableExperimentalWebGL)
504 SINGLE_VALUE_TYPE(switches::kEnableD3D11)
512 SINGLE_VALUE_TYPE(switches::kDisableWebRTC)
523 SINGLE_VALUE_TYPE(switches::kDisableDeviceEnumeration)
530 SINGLE_VALUE_TYPE(switches::kDisableSCTPDataChannels)
537 SINGLE_VALUE_TYPE(switches::kDisableWebRtcHWDecoding)
544 SINGLE_VALUE_TYPE(switches::kDisableWebRtcHWEncoding)
554 SINGLE_VALUE_TYPE(switches::kEnableWebAudio)
562 SINGLE_VALUE_TYPE(switches::kDisableWebAudio)
572 switches::kEnableFixedPositionCreatesStackingContext,
573 switches::kDisableFixedPositionCreatesStackingContext)
602 SINGLE_VALUE_TYPE(switches::kEnableNaCl)
609 SINGLE_VALUE_TYPE(switches::kEnableNaClDebug)
616 SINGLE_VALUE_TYPE(switches::kDisablePnacl)
630 SINGLE_VALUE_TYPE(extensions::switches::kEnableExperimentalExtensionApis)
637 SINGLE_VALUE_TYPE(extensions::switches::kExtensionsOnChromeURLs)
644 SINGLE_VALUE_TYPE(switches::kEnableFastUnload)
651 SINGLE_VALUE_TYPE(switches::kEnableAdview)
658 SINGLE_VALUE_TYPE(switches::kEnableAdviewSrcAttribute)
665 SINGLE_VALUE_TYPE(switches::kEnableAppWindowControls)
672 SINGLE_VALUE_TYPE(extensions::switches::kScriptBadges)
680 extensions::switches::kScriptBubble, "1",
681 extensions::switches::kScriptBubble, "0")
688 SINGLE_VALUE_TYPE(switches::kAppsNewInstallBubble)
695 SINGLE_VALUE_TYPE(switches::kNoPings)
702 SINGLE_VALUE_TYPE(switches::kEnableTabGroupsContextMenu)
710 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableNewNTP,
711 switches::kDisableNewNTP)
719 SINGLE_VALUE_TYPE(autofill::switches::kShowAutofillTypePredictions)
726 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableGestureTapHighlight,
727 switches::kDisableGestureTapHighlight)
736 SINGLE_VALUE_TYPE(switches::kEnableSmoothScrolling)
745 SINGLE_VALUE_TYPE(switches::kEnableOverlayScrollbars)
752 SINGLE_VALUE_TYPE(switches::kEnablePanels)
760 SINGLE_VALUE_TYPE(switches::kSavePageAsMHTML)
767 SINGLE_VALUE_TYPE(switches::kEnableAutologin)
774 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableQuic,
775 switches::kDisableQuic)
782 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableQuicHttps,
783 switches::kDisableQuicHttps)
790 SINGLE_VALUE_TYPE(switches::kEnableSpdy4a2)
797 SINGLE_VALUE_TYPE(switches::kEnableHttp2Draft04)
804 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAsyncDns,
805 switches::kDisableAsyncDns)
812 SINGLE_VALUE_TYPE(switches::kDisableWebKitMediaSource)
819 SINGLE_VALUE_TYPE(switches::kDisableUnprefixedMediaSource)
826 SINGLE_VALUE_TYPE(switches::kEnableEncryptedMedia)
833 SINGLE_VALUE_TYPE(switches::kDisablePrefixedEncryptedMedia)
841 SINGLE_VALUE_TYPE(switches::kDisableInfobarForProtectedMediaIdentifier)
848 SINGLE_VALUE_TYPE(switches::kMediaDrmEnableNonCompositing)
856 SINGLE_VALUE_TYPE(switches::kDisableOpusPlayback)
863 SINGLE_VALUE_TYPE(switches::kDisableVp8AlphaPlayback)
870 SINGLE_VALUE_TYPE(cc::switches::kEnablePerTilePainting)
877 SINGLE_VALUE_TYPE_AND_VALUE(switches::kJavaScriptFlags, "--harmony")
884 SINGLE_VALUE_TYPE(switches::kTabBrowserDragging)
891 SINGLE_VALUE_TYPE(switches::kDisableRestoreSessionState)
902 SINGLE_VALUE_TYPE(switches::kDisableSoftwareRasterizer)
909 SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebPlatformFeatures)
916 SINGLE_VALUE_TYPE(switches::kDisableNTPOtherSessionsMenu)
924 SINGLE_VALUE_TYPE(ash::switches::kAshEnableOak),
932 SINGLE_VALUE_TYPE(switches::kEnableDevToolsExperiments)
939 SINGLE_VALUE_TYPE(switches::kSilentDebuggerExtensionAPI)
946 SINGLE_VALUE_TYPE(switches::kEnableSuggestionsTabPage)
953 SINGLE_VALUE_TYPE(switches::kEnableSpellingAutoCorrect)
960 SINGLE_VALUE_TYPE(switches::kEnableScrollPrediction)
981 SINGLE_VALUE_TYPE(switches::kDisableTouchAdjustment)
989 ENABLE_DISABLE_VALUE_TYPE(ash::switches::kAshUseAlternateShelfLayout,
990 ash::switches::kAshDisableAlternateShelfLayout)
997 SINGLE_VALUE_TYPE(ash::switches::kAshDisableDragOffShelf)
1004 SINGLE_VALUE_TYPE(chromeos::switches::kEnableBackgroundLoader)
1011 SINGLE_VALUE_TYPE(ash::switches::kAshEnableDockedWindows)
1018 SINGLE_VALUE_TYPE(ash::switches::kAshEnableImmersiveFullscreenForAllWindows)
1026 SINGLE_VALUE_TYPE(switches::kEnableDownloadResumption)
1033 SINGLE_VALUE_TYPE_AND_VALUE(switches::kAllowNaClSocketAPI, "*")
1040 SINGLE_VALUE_TYPE(switches::kEnableStackedTabStrip)
1047 SINGLE_VALUE_TYPE_AND_VALUE(switches::kForceDeviceScaleFactor, "2")
1055 SINGLE_VALUE_TYPE(chromeos::switches::kEnableTouchpadThreeFingerClick)
1065 ash::switches::kShowShelfAlignmentMenu,
1066 ash::switches::kHideShelfAlignmentMenu)
1073 SINGLE_VALUE_TYPE(switches::kDisableMinimizeOnSecondLauncherItemClick)
1080 SINGLE_VALUE_TYPE(ash::switches::kAshMultipleSnapWindowWidths)
1087 SINGLE_VALUE_TYPE(ash::switches::kAshDisableOverviewMode)
1101 SINGLE_VALUE_TYPE(ash::switches::kAshTouchHud)
1108 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePinch, switches::kDisablePinch),
1115 SINGLE_VALUE_TYPE(cc::switches::kEnablePinchVirtualViewport),
1124 SINGLE_VALUE_TYPE(chromeos::switches::kDisableBootAnimation),
1131 SINGLE_VALUE_TYPE(chromeos::switches::kFileManagerShowCheckboxes)
1138 SINGLE_VALUE_TYPE(chromeos::switches::kFileManagerEnableWebstoreIntegration)
1145 SINGLE_VALUE_TYPE(chromeos::switches::kDisableQuickofficeComponentApp),
1152 SINGLE_VALUE_TYPE(chromeos::switches::kEnableSamlSignin),
1159 SINGLE_VALUE_TYPE(switches::kMultiProfiles),
1166 SINGLE_VALUE_TYPE(switches::kDisableAcceleratedVideoDecode),
1173 SINGLE_VALUE_TYPE(switches::kEnableContacts)
1181 SINGLE_VALUE_TYPE(ash::switches::kAshDebugShortcuts),
1187 SINGLE_VALUE_TYPE(ash::switches::kAshEnableAdvancedGestures),
1194 ash::switches::kAshEnableAlternateFrameCaptionButtonStyle,
1195 ash::switches::kAshDisableAlternateFrameCaptionButtonStyle),
1202 SINGLE_VALUE_TYPE(ash::switches::kAshDisableAutoMaximizing)
1208 SINGLE_VALUE_TYPE(ash::switches::kAshDisableDragAndDropAppListToLauncher),
1215 SINGLE_VALUE_TYPE(ash::switches::kAshEnableMemoryMonitor),
1223 SINGLE_VALUE_TYPE(ash::switches::kAshEnableFullMultiProfileMode),
1229 SINGLE_VALUE_TYPE(ash::switches::kAshEnableMultiUserTray),
1239 ENABLE_DISABLE_VALUE_TYPE(ash::switches::kAshEnableAudioDeviceMenu,
1240 ash::switches::kAshDisableAudioDeviceMenu)
1247 SINGLE_VALUE_TYPE(chromeos::switches::kEnableCarrierSwitching)
1254 SINGLE_VALUE_TYPE(chromeos::switches::kEnableRequestTabletSite)
1262 SINGLE_VALUE_TYPE(switches::kDebugPackedApps)
1269 ENABLE_DISABLE_VALUE_TYPE(autofill::switches::kEnablePasswordGeneration,
1270 autofill::switches::kDisablePasswordGeneration)
1277 SINGLE_VALUE_TYPE(switches::kDisablePasswordManagerReauthentication)
1285 switches::kEnablePasswordAutofillPublicSuffixDomainMatching,
1286 switches::kDisablePasswordAutofillPublicSuffixDomainMatching)
1293 SINGLE_VALUE_TYPE(switches::kEnableDeferredImageDecoding)
1300 SINGLE_VALUE_TYPE(switches::kPerformanceMonitorGathering)
1308 autofill::switches::kWalletServiceUseSandbox, "1",
1309 autofill::switches::kWalletServiceUseSandbox, "0")
1317 autofill::switches::kEnableInteractiveAutocomplete,
1318 autofill::switches::kDisableInteractiveAutocomplete)
1327 switches::kOverscrollHistoryNavigation, "1",
1328 switches::kOverscrollHistoryNavigation, "0")
1337 switches::kScrollEndEffect, "1",
1338 switches::kScrollEndEffect, "0")
1346 switches::kTouchSideBezels, "1",
1347 switches::kTouchSideBezels, "0")
1354 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableTouchDragDrop,
1355 switches::kDisableTouchDragDrop)
1362 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableTouchEditing,
1363 switches::kDisableTouchEditing)
1371 message_center::switches::kEnableRichNotifications,
1372 message_center::switches::kDisableRichNotifications)
1380 message_center::switches::kEnableExperimentalNotificationUI)
1387 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSyncSyncedNotifications,
1388 switches::kDisableSyncSyncedNotifications)
1395 SINGLE_VALUE_TYPE(switches::kHistoryDisableFullHistorySync)
1402 SINGLE_VALUE_TYPE(switches::kEnableUserMediaScreenCapturing)
1409 SINGLE_VALUE_TYPE(switches::kAppsDevtool)
1457 switches::kEnableExperimentalWebSocket)
1471 SINGLE_VALUE_TYPE(switches::kEnableOfflineCacheAccess)
1494 SINGLE_VALUE_TYPE(switches::kTrackActiveVisitTime)
1503 SINGLE_VALUE_TYPE(switches::kDisableGestureRequirementForMediaPlayback)
1513 switches::kEnableGoogleNowIntegration,
1514 switches::kDisableGoogleNowIntegration)
1523 SINGLE_VALUE_TYPE(keyboard::switches::kEnableVirtualKeyboard)
1530 SINGLE_VALUE_TYPE(keyboard::switches::kEnableSwipeSelection)
1545 SINGLE_VALUE_TYPE(switches::kEnableTcpFastOpen)
1552 SINGLE_VALUE_TYPE(switches::kAppsUseNativeFrame)
1559 SINGLE_VALUE_TYPE(switches::kSyncfsEnableDirectoryOperation),
1567 SINGLE_VALUE_TYPE(switches::kDisableDeviceDiscovery)
1574 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableDeviceDiscoveryNotifications,
1575 switches::kDisableDeviceDiscoveryNotifications)
1582 SINGLE_VALUE_TYPE(switches::kDisablePrivetLocalPrinting)
1589 SINGLE_VALUE_TYPE(switches::kEnablePrintPreviewRegisterPromos)
1598 SINGLE_VALUE_TYPE(switches::kEnableAppShims)
1605 SINGLE_VALUE_TYPE(switches::kEnableSimplifiedFullscreen)
1614 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableOmniboxAutoCompletionForIme,
1615 switches::kDisableOmniboxAutoCompletionForIme)
1639 SINGLE_VALUE_TYPE(switches::kEnableSpellingFeedbackFieldTrial)
1646 SINGLE_VALUE_TYPE(switches::kEnableWebGLDraftExtensions)
1653 SINGLE_VALUE_TYPE(switches::kEnableHTMLImports)
1660 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(switches::kHighDPISupport, "1",
1661 switches::kHighDPISupport, "0")
1669 SINGLE_VALUE_TYPE(switches::kEnableQuickofficeViewing),
1676 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableStickyKeys,
1677 switches::kDisableStickyKeys)
1685 SINGLE_VALUE_TYPE(switches::kEnableWebMIDI)
1692 SINGLE_VALUE_TYPE(switches::kNewProfileManagement)
1699 SINGLE_VALUE_TYPE(switches::kEnableInlineSignin)
1706 SINGLE_VALUE_TYPE(switches::kGoogleProfileInfo)
1713 SINGLE_VALUE_TYPE(switches::kResetAppListInstallState)
1721 SINGLE_VALUE_TYPE(switches::kShowAppListStartPage)
1728 SINGLE_VALUE_TYPE(app_list::switches::kEnableFolderUI)
1737 SINGLE_VALUE_TYPE(chromeos::switches::kDisableUserImageSync)
1746 SINGLE_VALUE_TYPE(switches::kEnableAccessibilityTabSwitcher)
1770 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAddToHomescreen,
1771 switches::kDisableAddToHomescreen),
1782 SINGLE_VALUE_TYPE(chromeos::switches::kDisableFirstRunUI)
1789 SINGLE_VALUE_TYPE(chromeos::switches::kEnableFirstRunUITransitions)
1797 SINGLE_VALUE_TYPE(cc::switches::kDisableCompositorTouchHitTesting),
1804 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAcceleratedScrollableFrames,
1805 switches::kDisableAcceleratedScrollableFrames)
1812 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableCompositedScrollingForFrames,
1813 switches::kDisableCompositedScrollingForFrames)
1820 SINGLE_VALUE_TYPE(switches::kEnableStreamlinedHostedApps)
1827 SINGLE_VALUE_TYPE(switches::kEnableEphemeralApps)
1834 SINGLE_VALUE_TYPE(switches::kEnableServiceWorker)
1852 SINGLE_VALUE_TYPE(chromeos::switches::kDisableIMEModeIndicator)
1860 SINGLE_VALUE_TYPE(switches::kEnableTranslateNewUX)
1868 SINGLE_VALUE_TYPE(views::switches::kDisableViewsRectBasedTargeting)
1876 SINGLE_VALUE_TYPE(switches::kEnableAppsShowOnFirstPaint)
1883 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(switches::kEnableEnhancedBookmarks, "1",
1884 switches::kEnableEnhancedBookmarks, "0")
1907 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableOriginChip,
1908 switches::kDisableOriginChip)
1922 SINGLE_VALUE_TYPE(autofill::switches::kEnableIgnoreAutocompleteOff)
2254 if (command_line->HasSwitch(switches::kNoExperiments))
2287 command_line->AppendSwitch(switches::kFlagSwitchesBegin);
2289 std::pair<std::string, std::string>(switches::kFlagSwitchesBegin,
2312 command_line->AppendSwitch(switches::kFlagSwitchesEnd);
2314 std::pair<std::string, std::string>(switches::kFlagSwitchesEnd,