summaryrefslogtreecommitdiffstats
path: root/win8/metro_driver
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-20 23:29:53 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-20 23:29:53 +0000
commita3883c3ad1379a2d0271cf85c53f6e285c2f9bd0 (patch)
tree28cb9491de9e4202a735bec8f20a11c5e8465e69 /win8/metro_driver
parent7a85532031f4ee44b0553335ed994b8ba18d6385 (diff)
downloadchromium_src-a3883c3ad1379a2d0271cf85c53f6e285c2f9bd0.zip
chromium_src-a3883c3ad1379a2d0271cf85c53f6e285c2f9bd0.tar.gz
chromium_src-a3883c3ad1379a2d0271cf85c53f6e285c2f9bd0.tar.bz2
Fixes activation problem when switching from metro
There is no need to deactivate and reactivate the window. The Focus() in particular is wrong in so far as we don't want focus to go to the rootwindow. BUG=284411 TEST=see bug R=ananta@chromium.org TBR=jschuh@chromium.org Review URL: https://codereview.chromium.org/23851042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224521 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'win8/metro_driver')
-rw-r--r--win8/metro_driver/chrome_app_view_ash.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/win8/metro_driver/chrome_app_view_ash.cc b/win8/metro_driver/chrome_app_view_ash.cc
index 7520589..43a92ad 100644
--- a/win8/metro_driver/chrome_app_view_ash.cc
+++ b/win8/metro_driver/chrome_app_view_ash.cc
@@ -896,9 +896,6 @@ HRESULT ChromeAppViewAsh::OnWindowActivated(
HRESULT hr = args->get_WindowActivationState(&state);
if (FAILED(hr))
return hr;
- DVLOG(1) << "Window activation state: " << state;
- ui_channel_->Send(new MetroViewerHostMsg_WindowActivated(
- state != winui::Core::CoreWindowActivationState_Deactivated));
return S_OK;
}