diff options
author | davidben@chromium.org <davidben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-28 16:47:21 +0000 |
---|---|---|
committer | davidben@chromium.org <davidben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-28 16:47:21 +0000 |
commit | 6c4b79604e140b0e40c28a8c8b29d67197325ead (patch) | |
tree | d83b1f0979f8431d3c1e029a6ad950366cc05178 /apps | |
parent | 48d0385f5f723b51c79be973330884a12c4c0554 (diff) | |
download | chromium_src-6c4b79604e140b0e40c28a8c8b29d67197325ead.zip chromium_src-6c4b79604e140b0e40c28a8c8b29d67197325ead.tar.gz chromium_src-6c4b79604e140b0e40c28a8c8b29d67197325ead.tar.bz2 |
Treat invisible deminiaturized windows as candidates in FocusWindowSet.
If the application was hidden (Cmd-h) with one window miniaturized and one not,
FocusWindowSet may be called before the unhide occurs. Instead of being
sensitive to this, only pay attention to miniaturized vs. deminiaturized. The
window system will unhide for us.
BUG=368238
TEST=see bug
Review URL: https://codereview.chromium.org/269113005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273268 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_shim/extension_app_shim_handler_mac.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_shim/extension_app_shim_handler_mac.cc b/apps/app_shim/extension_app_shim_handler_mac.cc index 7727d82..48f4eee 100644 --- a/apps/app_shim/extension_app_shim_handler_mac.cc +++ b/apps/app_shim/extension_app_shim_handler_mac.cc @@ -72,7 +72,7 @@ bool FocusWindows(const AppWindowList& windows) { // Allow workspace switching. For the browser process, we can reasonably rely // on OS X to switch spaces for us and honor relevant user settings. But shims // don't have windows, so we have to do it ourselves. - ui::FocusWindowSet(native_windows, true); + ui::FocusWindowSet(native_windows); return true; } |