diff options
author | shrikant@chromium.org <shrikant@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-04 22:51:47 +0000 |
---|---|---|
committer | shrikant@chromium.org <shrikant@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-04 22:51:47 +0000 |
commit | 7e4626974529127d25ac95a65be5a4ee3f9d6749 (patch) | |
tree | 733481d419dbb0a50c7d4e8bbf022bdd1b6e0a28 /win8/delegate_execute/command_execute_impl.cc | |
parent | 355c3aa01183c964798ef2f14e4b2edded91c4af (diff) | |
download | chromium_src-7e4626974529127d25ac95a65be5a4ee3f9d6749.zip chromium_src-7e4626974529127d25ac95a65be5a4ee3f9d6749.tar.gz chromium_src-7e4626974529127d25ac95a65be5a4ee3f9d6749.tar.bz2 |
Fixing issue of default launch mode when registry key is not present.
Removed launch mode decision based on touch screen capability.
BUG=314818
R=ananta@chromium.org, ananta, cpu
TESTS=Please see bug description for steps.
Review URL: https://codereview.chromium.org/50883005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232828 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'win8/delegate_execute/command_execute_impl.cc')
-rw-r--r-- | win8/delegate_execute/command_execute_impl.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/win8/delegate_execute/command_execute_impl.cc b/win8/delegate_execute/command_execute_impl.cc index 0a9fbcc..6e1b9be 100644 --- a/win8/delegate_execute/command_execute_impl.cc +++ b/win8/delegate_execute/command_execute_impl.cc @@ -554,8 +554,7 @@ EC_HOST_UI_MODE CommandExecuteImpl::GetLaunchMode() { DWORD reg_value; if (reg_key.ReadValueDW(chrome::kLaunchModeValue, ®_value) != ERROR_SUCCESS) { - launch_mode = base::win::IsTouchEnabledDevice() ? - ECHUIM_IMMERSIVE : ECHUIM_DESKTOP; + launch_mode = ECHUIM_DESKTOP; AtlTrace("Launch mode forced by heuristics to %s\n", modes[launch_mode]); } else if (reg_value >= ECHUIM_SYSTEM_LAUNCHER) { AtlTrace("Invalid registry launch mode value %u\n", reg_value); |