From a3883c3ad1379a2d0271cf85c53f6e285c2f9bd0 Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Fri, 20 Sep 2013 23:29:53 +0000 Subject: 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 --- win8/metro_driver/chrome_app_view_ash.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'win8') 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; } -- cgit v1.1