Lines Matching refs:switches
18 #include "cc/base/switches.h"
24 #include "extensions/common/switches.h"
31 #include "ui/gfx/switches.h"
43 #include "third_party/cros_system_api/switches/chrome_switches.h"
101 // First do the ones between --flag-switches-begin and --flag-switches-end.
104 GetSwitchString(switches::kFlagSwitchesBegin));
107 GetSwitchString(switches::kFlagSwitchesEnd));
111 // Then add those between --policy-switches-begin and --policy-switches-end.
113 GetSwitchString(chromeos::switches::kPolicySwitchesBegin));
115 GetSwitchString(chromeos::switches::kPolicySwitchesEnd));
125 switches::kEnableCompositingForFixedPosition, ""},
127 switches::kDisableCompositingForFixedPosition, ""},
129 switches::kEnableHighDpiCompositingForFixedPosition, ""}
135 switches::kEnableCompositingForTransition, ""},
137 switches::kDisableCompositingForTransition, ""},
143 switches::kEnableAcceleratedFixedRootBackground, ""},
145 switches::kDisableAcceleratedFixedRootBackground, ""},
151 switches::kDoFirstShowPresentWithGDI, ""},
153 switches::kDoAllShowPresentWithGDI, ""}
159 switches::kTouchEvents,
160 switches::kTouchEventsEnabled },
162 switches::kTouchEvents,
163 switches::kTouchEventsDisabled }
169 switches::kTouchOptimizedUI,
170 switches::kTouchOptimizedUIEnabled },
172 switches::kTouchOptimizedUI,
173 switches::kTouchOptimizedUIDisabled }
182 switches::kNaClDebugMask, "!*://*/*ssh_client.nmf" },
184 switches::kNaClDebugMask, "*://*/*debug.nmf" }
192 chromeos::switches::kEnableChromeCaptivePortalDetector, "" },
194 chromeos::switches::kDisableChromeCaptivePortalDetector, "" }
202 cc::switches::kEnableImplSidePainting, ""},
204 cc::switches::kDisableImplSidePainting, ""}
210 switches::kEnableDelegatedRenderer, ""},
212 switches::kDisableDelegatedRenderer, ""}
218 cc::switches::kMaxTilesForInterestArea, "64"},
220 cc::switches::kMaxTilesForInterestArea, "128"},
222 cc::switches::kMaxTilesForInterestArea, "256"},
224 cc::switches::kMaxTilesForInterestArea, "512"}
230 switches::kDefaultTileWidth, "128"},
232 switches::kDefaultTileWidth, "256"},
234 switches::kDefaultTileWidth, "512"},
236 switches::kDefaultTileWidth, "1024"}
242 switches::kDefaultTileHeight, "128"},
244 switches::kDefaultTileHeight, "256"},
246 switches::kDefaultTileHeight, "512"},
248 switches::kDefaultTileHeight, "1024"}
254 switches::kUseSimpleCacheBackend, "off" },
256 switches::kUseSimpleCacheBackend, "on"}
262 switches::kTabCaptureUpscaleQuality, "fast" },
264 switches::kTabCaptureUpscaleQuality, "good" },
266 switches::kTabCaptureUpscaleQuality, "best" },
272 switches::kTabCaptureDownscaleQuality, "fast" },
274 switches::kTabCaptureDownscaleQuality, "good" },
276 switches::kTabCaptureDownscaleQuality, "best" },
321 SINGLE_VALUE_TYPE(switches::kEnableExposeForTabs)
331 SINGLE_VALUE_TYPE(switches::kConflictingModulesCheck)
338 SINGLE_VALUE_TYPE(switches::kIgnoreGpuBlacklist)
345 ENABLE_DISABLE_VALUE_TYPE(switches::kForceCompositingMode,
346 switches::kDisableForceCompositingMode)
353 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableThreadedCompositing,
354 switches::kDisableThreadedCompositing)
361 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAcceleratedOverflowScroll,
362 switches::kDisableAcceleratedOverflowScroll)
376 SINGLE_VALUE_TYPE(switches::kEnableExperimentalCanvasFeatures)
383 SINGLE_VALUE_TYPE(switches::kDisableAccelerated2dCanvas)
390 SINGLE_VALUE_TYPE(cc::switches::kDisableThreadedAnimation)
397 SINGLE_VALUE_TYPE(cc::switches::kShowCompositedLayerBorders)
404 SINGLE_VALUE_TYPE(cc::switches::kShowFPSCounter)
411 SINGLE_VALUE_TYPE(switches::kEnableAcceleratedFilters)
418 SINGLE_VALUE_TYPE(switches::kDisableExperimentalWebGL)
426 SINGLE_VALUE_TYPE(switches::kDisableWebRTC)
437 SINGLE_VALUE_TYPE(switches::kEnableSCTPDataChannels)
444 SINGLE_VALUE_TYPE(switches::kDisableDeviceEnumeration)
453 SINGLE_VALUE_TYPE(switches::kDisableWebAudio)
462 switches::kEnableFixedPositionCreatesStackingContext,
463 switches::kDisableFixedPositionCreatesStackingContext)
492 SINGLE_VALUE_TYPE(switches::kEnableNaCl)
499 SINGLE_VALUE_TYPE(switches::kEnableNaClDebug)
513 SINGLE_VALUE_TYPE(switches::kEnablePnacl)
520 SINGLE_VALUE_TYPE(extensions::switches::kEnableExperimentalExtensionApis)
527 SINGLE_VALUE_TYPE(extensions::switches::kExtensionsOnChromeURLs)
534 SINGLE_VALUE_TYPE(switches::kEnableFastUnload)
541 SINGLE_VALUE_TYPE(switches::kEnableAdview)
548 SINGLE_VALUE_TYPE(switches::kEnableAdviewSrcAttribute)
555 SINGLE_VALUE_TYPE(switches::kEnableAppWindowControls)
562 SINGLE_VALUE_TYPE(switches::kScriptBadges)
569 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(switches::kScriptBubble, "1",
570 switches::kScriptBubble, "0")
577 SINGLE_VALUE_TYPE(switches::kAppsNewInstallBubble)
584 SINGLE_VALUE_TYPE(switches::kNoPings)
591 SINGLE_VALUE_TYPE(switches::kExperimentalLocationFeatures)
598 SINGLE_VALUE_TYPE(switches::kEnableTabGroupsContextMenu)
605 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableInstantExtendedAPI,
606 switches::kDisableInstantExtendedAPI)
613 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableLocalFirstLoadNTP,
614 switches::kDisableLocalFirstLoadNTP)
622 SINGLE_VALUE_TYPE(switches::kEnableNewNTP)
632 SINGLE_VALUE_TYPE(chromeos::switches::kEnableStaticIPConfig)
642 SINGLE_VALUE_TYPE(autofill::switches::kShowAutofillTypePredictions)
649 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableGestureTapHighlight,
650 switches::kDisableGestureTapHighlight)
659 SINGLE_VALUE_TYPE(switches::kEnableSmoothScrolling)
666 SINGLE_VALUE_TYPE(switches::kEnablePanels)
674 SINGLE_VALUE_TYPE(switches::kSavePageAsMHTML)
681 SINGLE_VALUE_TYPE(switches::kEnableAutologin)
688 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableQuic,
689 switches::kDisableQuic)
696 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableQuicHttps,
697 switches::kDisableQuicHttps)
704 SINGLE_VALUE_TYPE(switches::kEnableSpdy4a2)
711 SINGLE_VALUE_TYPE(switches::kEnableHttp2Draft04)
718 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAsyncDns,
719 switches::kDisableAsyncDns)
726 SINGLE_VALUE_TYPE(switches::kDisableWebKitMediaSource)
733 SINGLE_VALUE_TYPE(switches::kEnableEncryptedMedia)
740 SINGLE_VALUE_TYPE(switches::kDisableLegacyEncryptedMedia)
747 SINGLE_VALUE_TYPE(switches::kOverrideEncryptedMediaCanPlayType)
754 SINGLE_VALUE_TYPE(switches::kEnableOpusPlayback)
761 SINGLE_VALUE_TYPE(switches::kEnableVp8AlphaPlayback)
768 SINGLE_VALUE_TYPE(switches::kEnableManagedUsers)
776 SINGLE_VALUE_TYPE(ash::switches::kAshDisableAutoMaximizing)
783 SINGLE_VALUE_TYPE(ash::switches::kAshDisableAutoWindowPlacement)
790 SINGLE_VALUE_TYPE(ash::switches::kAshDisablePerAppLauncher)
798 SINGLE_VALUE_TYPE(cc::switches::kEnablePerTilePainting)
805 SINGLE_VALUE_TYPE_AND_VALUE(switches::kJavaScriptFlags, "--harmony")
812 SINGLE_VALUE_TYPE(switches::kTabBrowserDragging)
819 SINGLE_VALUE_TYPE(switches::kDisableRestoreSessionState)
830 SINGLE_VALUE_TYPE(switches::kDisableSoftwareRasterizer)
837 SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebPlatformFeatures)
844 SINGLE_VALUE_TYPE(switches::kEnableCssShaders)
851 SINGLE_VALUE_TYPE(switches::kDisableNTPOtherSessionsMenu)
859 SINGLE_VALUE_TYPE(ash::switches::kAshEnableOak),
867 SINGLE_VALUE_TYPE(switches::kEnableDevToolsExperiments)
874 SINGLE_VALUE_TYPE(switches::kRemoteDebuggingRawUSB)
881 SINGLE_VALUE_TYPE(switches::kSilentDebuggerExtensionAPI)
888 SINGLE_VALUE_TYPE(switches::kEnableSuggestionsTabPage)
895 SINGLE_VALUE_TYPE(switches::kEnableSpellingAutoCorrect)
902 SINGLE_VALUE_TYPE(switches::kEnableScrollPrediction)
923 SINGLE_VALUE_TYPE(switches::kDisableTouchAdjustment)
931 SINGLE_VALUE_TYPE(ash::switches::kAshUseAlternateShelfLayout)
938 SINGLE_VALUE_TYPE(chromeos::switches::kEnableBackgroundLoader)
945 SINGLE_VALUE_TYPE(chromeos::switches::kEnableScreensaverExtensions)
952 SINGLE_VALUE_TYPE(chromeos::switches::kNoDiscardTabs)
959 SINGLE_VALUE_TYPE(ash::switches::kAshEnableDockedWindows)
967 SINGLE_VALUE_TYPE(switches::kEnableDownloadResumption)
974 SINGLE_VALUE_TYPE_AND_VALUE(switches::kAllowNaClSocketAPI, "*")
981 SINGLE_VALUE_TYPE(switches::kEnableStackedTabStrip)
988 SINGLE_VALUE_TYPE_AND_VALUE(switches::kForceDeviceScaleFactor, "2")
996 SINGLE_VALUE_TYPE(chromeos::switches::kEnableTouchpadThreeFingerClick)
1005 SINGLE_VALUE_TYPE(switches::kShowShelfAlignmentMenu)
1012 SINGLE_VALUE_TYPE(switches::kDisableMinimizeOnSecondLauncherItemClick)
1019 SINGLE_VALUE_TYPE(ash::switches::kAshEnableOverviewMode)
1026 SINGLE_VALUE_TYPE(ash::switches::kAshTouchHud)
1033 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePinch, switches::kDisablePinch),
1040 SINGLE_VALUE_TYPE(cc::switches::kEnablePinchVirtualViewport),
1047 SINGLE_VALUE_TYPE(ash::switches::kForcedMaximizeMode),
1056 SINGLE_VALUE_TYPE(chromeos::switches::kDisableBootAnimation),
1070 SINGLE_VALUE_TYPE(ash::switches::kAshDisableNewLockAnimations),
1077 SINGLE_VALUE_TYPE(chromeos::switches::kFileManagerShowCheckboxes)
1084 SINGLE_VALUE_TYPE(chromeos::switches::kFileManagerEnableWebstoreIntegration)
1091 SINGLE_VALUE_TYPE(chromeos::switches::kDisableQuickofficeComponentApp),
1099 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableViewsTextfield,
1100 switches::kDisableViewsTextfield),
1107 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableNewDialogStyle,
1108 switches::kDisableNewDialogStyle),
1114 SINGLE_VALUE_TYPE(switches::kDisableAcceleratedVideoDecode),
1122 SINGLE_VALUE_TYPE(ash::switches::kAshDebugShortcuts),
1130 SINGLE_VALUE_TYPE(switches::kEnableContacts)
1137 SINGLE_VALUE_TYPE(ash::switches::kAshEnableAdvancedGestures),
1143 SINGLE_VALUE_TYPE(switches::kAshDisableTabScrubbing),
1149 SINGLE_VALUE_TYPE(ash::switches::kAshDisableDragAndDropAppListToLauncher),
1155 ENABLE_DISABLE_VALUE_TYPE(ash::switches::kAshEnableImmersiveFullscreen,
1156 ash::switches::kAshDisableImmersiveFullscreen),
1163 SINGLE_VALUE_TYPE(ash::switches::kAshEnableMemoryMonitor),
1172 SINGLE_VALUE_TYPE(chromeos::switches::kUseNewNetworkConfigurationHandlers),
1179 ENABLE_DISABLE_VALUE_TYPE(ash::switches::kAshEnableAudioDeviceMenu,
1180 ash::switches::kAshDisableAudioDeviceMenu)
1187 SINGLE_VALUE_TYPE(chromeos::switches::kEnableCarrierSwitching)
1194 SINGLE_VALUE_TYPE(chromeos::switches::kEnableRequestTabletSite)
1202 SINGLE_VALUE_TYPE(switches::kDebugPackedApps)
1209 SINGLE_VALUE_TYPE(switches::kEnablePasswordGeneration)
1217 switches::kEnablePasswordAutofillPublicSuffixDomainMatching,
1218 switches::kDisablePasswordAutofillPublicSuffixDomainMatching)
1225 SINGLE_VALUE_TYPE(switches::kEnableDeferredImageDecoding)
1232 SINGLE_VALUE_TYPE(switches::kPerformanceMonitorGathering)
1239 SINGLE_VALUE_TYPE(autofill::switches::kEnableExperimentalFormFilling)
1246 SINGLE_VALUE_TYPE(autofill::switches::kWalletServiceUseProd)
1254 autofill::switches::kEnableInteractiveAutocomplete,
1255 autofill::switches::kDisableInteractiveAutocomplete)
1264 switches::kOverscrollHistoryNavigation, "1",
1265 switches::kOverscrollHistoryNavigation, "0")
1274 switches::kScrollEndEffect, "1",
1275 switches::kScrollEndEffect, "0")
1283 switches::kTouchSideBezels, "1",
1284 switches::kTouchSideBezels, "0")
1291 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableTouchDragDrop,
1292 switches::kDisableTouchDragDrop)
1299 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableTouchEditing,
1300 switches::kDisableTouchEditing)
1308 message_center::switches::kEnableRichNotifications,
1309 message_center::switches::kDisableRichNotifications)
1316 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSyncSyncedNotifications,
1317 switches::kDisableSyncSyncedNotifications)
1324 SINGLE_VALUE_TYPE(switches::kHistoryDisableFullHistorySync)
1331 SINGLE_VALUE_TYPE(switches::kEnableUserMediaScreenCapturing)
1338 SINGLE_VALUE_TYPE(switches::kAppsDevtool)
1362 SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebSocket)
1376 SINGLE_VALUE_TYPE(switches::kEnableOfflineCacheAccess)
1399 SINGLE_VALUE_TYPE(switches::kTrackActiveVisitTime)
1408 SINGLE_VALUE_TYPE(switches::kDisableGestureRequirementForMediaPlayback)
1417 SINGLE_VALUE_TYPE(switches::kEnableGoogleNowIntegration)
1426 SINGLE_VALUE_TYPE(keyboard::switches::kEnableVirtualKeyboard)
1441 SINGLE_VALUE_TYPE(switches::kEnableTcpFastOpen)
1448 SINGLE_VALUE_TYPE(switches::kAppsUseNativeFrame)
1455 SINGLE_VALUE_TYPE(switches::kSyncfsEnableDirectoryOperation),
1462 SINGLE_VALUE_TYPE(switches::kEnableResetProfileSettings)
1469 SINGLE_VALUE_TYPE(switches::kEnableDeviceDiscovery)
1477 SINGLE_VALUE_TYPE(switches::kEnableAppListShim)
1484 SINGLE_VALUE_TYPE(switches::kEnableAppShims)
1491 SINGLE_VALUE_TYPE(switches::kEnableSimplifiedFullscreen)
1500 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableOmniboxAutoCompletionForIme,
1501 switches::kDisableOmniboxAutoCompletionForIme)
1525 SINGLE_VALUE_TYPE(switches::kEnableSpellingServiceFeedback)
1532 SINGLE_VALUE_TYPE(switches::kEnableWebGLDraftExtensions)
1539 SINGLE_VALUE_TYPE(switches::kEnableHTMLImports)
1546 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(switches::kHighDPISupport,"1",
1547 switches::kHighDPISupport,"0")
1555 SINGLE_VALUE_TYPE(switches::kEnableQuickofficeViewing),
1562 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableStickyKeys,
1563 switches::kDisableStickyKeys)
1571 SINGLE_VALUE_TYPE(switches::kEnableTranslateSettings)
1578 SINGLE_VALUE_TYPE(switches::kEnableWebMIDI)
1585 SINGLE_VALUE_TYPE(switches::kNewProfileManagement)
1592 SINGLE_VALUE_TYPE(switches::kGaiaProfileInfo)
1600 SINGLE_VALUE_TYPE(switches::kDisableAppList)
1608 SINGLE_VALUE_TYPE(cc::switches::kDisableCompositorTouchHitTesting),
1926 if (command_line->HasSwitch(switches::kNoExperiments))
1958 command_line->AppendSwitch(switches::kFlagSwitchesBegin);
1960 std::pair<std::string, std::string>(switches::kFlagSwitchesBegin,
1980 command_line->AppendSwitch(switches::kFlagSwitchesEnd);
1982 std::pair<std::string, std::string>(switches::kFlagSwitchesEnd,