diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-25 05:06:46 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-25 05:06:46 +0000 |
commit | 055f9bf9a6fad09b58700eaeb7148e8547e2cf45 (patch) | |
tree | fd4be3eae9a015d7ff00d0e67df7ebf9d97e003d /webkit/common | |
parent | 4d8511d4953829a81f1bf1c8db4cd1a4255da85b (diff) | |
download | chromium_src-055f9bf9a6fad09b58700eaeb7148e8547e2cf45.zip chromium_src-055f9bf9a6fad09b58700eaeb7148e8547e2cf45.tar.gz chromium_src-055f9bf9a6fad09b58700eaeb7148e8547e2cf45.tar.bz2 |
Fix activation problems seen in non AURA chrome Windows which regressed in revision r224304
We introduced a check for whether the lParam is our HWND. That is not correct in the deactivation
case where WM_ACTIVATE is sent to the window being deactivated with lParam being the handle to the
window being activated and vice versa. In the minimize case lParam is 0 with wParam containing the
value 0x200001 which indicates that the window is minimized but is active for tab preview purposes.
The window check basically meant that we never saved the view which had focus when we lost activation
and thus were unable to restore it when we got activated.
Reverted the check for the window introduced in r224304 and added a check for whether the window is
being minimized in the HWNDMessageHandler::PostProcessActivateMessage function. We treat it as inactive
and save away the last focused view and restore it when the window is restored./
BUG=297525
R=sky@chromium.org, sky
Review URL: https://codereview.chromium.org/24468003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225142 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/common')
0 files changed, 0 insertions, 0 deletions