Searched refs:HasSwitch (Results 1 - 25 of 897) sorted by relevance

1234567891011>>

/external/chromium_org/apps/app_shim/
H A Dapp_shim_mac.cc15 CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableAppShims);
/external/chromium_org/components/autofill/core/common/
H A Dpassword_autofill_util.cc15 return CommandLine::ForCurrentProcess()->HasSwitch(
/external/chromium_org/ui/app_list/
H A Dapp_list_switches.cc16 return CommandLine::ForCurrentProcess()->HasSwitch(kEnableFolderUI);
/external/chromium_org/ui/base/
H A Dui_base_switches_util.cc14 return !CommandLine::ForCurrentProcess()->HasSwitch(
17 return CommandLine::ForCurrentProcess()->HasSwitch(
24 return !CommandLine::ForCurrentProcess()->HasSwitch(
27 return CommandLine::ForCurrentProcess()->HasSwitch(
H A Ddevice_form_factor_android.cc13 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kTabletUI))
/external/chromium_org/content/child/
H A Druntime_features.cc52 if (command_line.HasSwitch(switches::kEnableExperimentalWebPlatformFeatures))
57 if (command_line.HasSwitch(switches::kDisableDatabases))
60 if (command_line.HasSwitch(switches::kDisableApplicationCache))
63 if (command_line.HasSwitch(switches::kDisableDesktopNotifications))
66 if (command_line.HasSwitch(switches::kDisableNavigatorContentUtils))
69 if (command_line.HasSwitch(switches::kDisableLocalStorage))
72 if (command_line.HasSwitch(switches::kDisableSessionStorage))
75 if (command_line.HasSwitch(switches::kDisableGeolocation))
78 if (command_line.HasSwitch(switches::kDisableWebKitMediaSource))
81 if (command_line.HasSwitch(switche
[all...]
/external/chromium_org/chrome/browser/extensions/api/command_line_private/
H A Dcommand_line_private_api.cc25 scoped_ptr<command_line_private::HasSwitch::Params> params(
26 command_line_private::HasSwitch::Params::Create(*args_));
34 results_ = command_line_private::HasSwitch::Results::Create(
35 CommandLine::ForCurrentProcess()->HasSwitch(params->name));
/external/chromium_org/ui/views/
H A Dviews_switches.cc22 HasSwitch(kDisableViewsRectBasedTargeting);
/external/chromium_org/ui/message_center/
H A Dmessage_center_util.cc22 if (CommandLine::ForCurrentProcess()->HasSwitch(
26 if (CommandLine::ForCurrentProcess()->HasSwitch(
35 return CommandLine::ForCurrentProcess()->HasSwitch(
/external/chromium_org/ash/
H A Dash_switches.cc210 return command_line->HasSwitch(kAshEnableAlternateFrameCaptionButtonStyle) &&
211 !command_line->HasSwitch(kAshMultipleSnapWindowWidths);
216 HasSwitch(kAshDisableAlternateShelfLayout);
221 HasSwitch(kAshDisableDragOffShelf);
226 HasSwitch(kHideShelfAlignmentMenu);
233 HasSwitch(kAshEnableFullMultiProfileMode);
243 return CommandLine::ForCurrentProcess()->HasSwitch(kAshEnableMultiUserTray);
250 return !CommandLine::ForCurrentProcess()->HasSwitch(kAshDisableOverviewMode);
254 return CommandLine::ForCurrentProcess()->HasSwitch(kAshEnableDockedWindows);
260 HasSwitch(kAshDisableAudioDeviceMen
[all...]
/external/chromium_org/ui/compositor/
H A Dcompositor_switches.cc37 enabled |= command_line.HasSwitch(switches::kUIEnableDeadlineScheduling);
38 enabled &= !command_line.HasSwitch(switches::kUIDisableDeadlineScheduling);
/external/chromium_org/cc/base/
H A Dswitches.cc156 if (command_line->HasSwitch(switches::kDisableLCDText))
158 else if (command_line->HasSwitch(switches::kEnableLCDText))
172 if (command_line.HasSwitch(switches::kDisableImplSidePainting))
174 else if (command_line.HasSwitch(switches::kEnableImplSidePainting))
186 return command_line.HasSwitch(switches::kEnableGPURasterization);
204 if (command_line.HasSwitch(switches::kDisableMapImage))
206 else if (command_line.HasSwitch(switches::kEnableMapImage))
/external/chromium_org/content/browser/gpu/
H A Dcompositor_util.cc41 command_line.HasSwitch(switches::kDisableAccelerated2dCanvas) ||
52 command_line.HasSwitch(switches::kDisableAcceleratedCompositing),
63 command_line.HasSwitch(switches::kDisableAcceleratedLayers),
72 command_line.HasSwitch(cc::switches::kDisableThreadedAnimation) ||
73 command_line.HasSwitch(switches::kDisableAcceleratedCompositing) ||
74 command_line.HasSwitch(switches::kDisableAcceleratedLayers),
81 command_line.HasSwitch(switches::kDisableExperimentalWebGL),
88 command_line.HasSwitch(switches::kDisableGLMultisampling),
96 command_line.HasSwitch(switches::kDisableFlash3d),
104 command_line.HasSwitch(switche
[all...]
/external/chromium_org/chrome/browser/app_mode/
H A Dapp_mode_utils.cc43 return command_line->HasSwitch(switches::kKioskMode) ||
49 return command_line->HasSwitch(switches::kForceAppMode) &&
50 command_line->HasSwitch(switches::kAppId);
/external/chromium_org/content/common/
H A Dsandbox_init_win.cc27 if (!command_line.HasSwitch(switches::kNoSandbox)) {
28 bool use_winsta = !command_line.HasSwitch(
39 if (command_line.HasSwitch(switches::kNoSandbox))
/external/chromium_org/chrome/browser/invalidation/
H A Dinvalidation_service_util.cc19 if (command_line.HasSwitch(switches::kSyncNotificationHostPort)) {
29 command_line.HasSwitch(switches::kSyncTrySsltcpFirstForXmpp);
34 command_line.HasSwitch(switches::kSyncInvalidateXmppLogin);
39 command_line.HasSwitch(switches::kSyncAllowInsecureXmppConnection);
/external/chromium_org/chrome/installer/setup/
H A Drun_all_unittests.cc15 if (CommandLine::ForCurrentProcess()->HasSwitch(kAdjustProcessPriority))
/external/chromium_org/net/tools/quic/
H A Dquic_server_bin.cc25 if (line->HasSwitch("h") || line->HasSwitch("help")) {
38 if (line->HasSwitch("quic_in_memory_cache_dir")) {
43 if (line->HasSwitch("port")) {
H A Dquic_client_bin.cc29 if (line->HasSwitch("h") || line->HasSwitch("help")) {
41 if (line->HasSwitch("port")) {
47 if (line->HasSwitch("address")) {
50 if (line->HasSwitch("hostname")) {
/external/chromium/chrome/browser/prefs/
H A Dcommand_line_pref_store.cc50 if (command_line_->HasSwitch(string_switch_map_[i].switch_name)) {
58 if (command_line_->HasSwitch(boolean_switch_map_[i].switch_name)) {
67 if (command_line_->HasSwitch(switches::kNoProxyServer) &&
68 (command_line_->HasSwitch(switches::kProxyAutoDetect) ||
69 command_line_->HasSwitch(switches::kProxyServer) ||
70 command_line_->HasSwitch(switches::kProxyPacUrl) ||
71 command_line_->HasSwitch(switches::kProxyBypassList))) {
80 if (command_line_->HasSwitch(switches::kNoProxyServer)) {
83 } else if (command_line_->HasSwitch(switches::kProxyPacUrl)) {
88 } else if (command_line_->HasSwitch(switche
[all...]
/external/chromium/base/
H A Dcommand_line_unittest.cc44 EXPECT_FALSE(cl.HasSwitch("cruller"));
45 EXPECT_FALSE(cl.HasSwitch("flim"));
46 EXPECT_FALSE(cl.HasSwitch("program"));
47 EXPECT_FALSE(cl.HasSwitch("dog"));
48 EXPECT_FALSE(cl.HasSwitch("cat"));
49 EXPECT_FALSE(cl.HasSwitch("output-rotation"));
50 EXPECT_FALSE(cl.HasSwitch("not-a-switch"));
51 EXPECT_FALSE(cl.HasSwitch("--"));
56 EXPECT_TRUE(cl.HasSwitch("foo"));
57 EXPECT_TRUE(cl.HasSwitch("ba
[all...]
/external/chromium_org/base/
H A Dcommand_line_unittest.cc50 EXPECT_FALSE(cl.HasSwitch("cruller"));
51 EXPECT_FALSE(cl.HasSwitch("flim"));
52 EXPECT_FALSE(cl.HasSwitch("program"));
53 EXPECT_FALSE(cl.HasSwitch("dog"));
54 EXPECT_FALSE(cl.HasSwitch("cat"));
55 EXPECT_FALSE(cl.HasSwitch("output-rotation"));
56 EXPECT_FALSE(cl.HasSwitch("not-a-switch"));
57 EXPECT_FALSE(cl.HasSwitch("--"));
62 EXPECT_TRUE(cl.HasSwitch("foo"));
63 EXPECT_TRUE(cl.HasSwitch("bA
[all...]
/external/chromium_org/tools/android/common/
H A Ddaemon.cc37 return command_line.HasSwitch("h") || command_line.HasSwitch("help");
41 return command_line.HasSwitch(kNoSpawnDaemon);
/external/chromium/chrome/common/
H A Dcommon_glue.cc40 (!parsed_command_line.HasSwitch(switches::kRendererProcess) &&
41 !parsed_command_line.HasSwitch(switches::kPluginProcess)));
H A Dswitch_utils_unittest.cc44 EXPECT_TRUE(cmd_line.HasSwitch("foo"));
45 EXPECT_TRUE(cmd_line.HasSwitch("bar"));

Completed in 779 milliseconds

1234567891011>>