summaryrefslogtreecommitdiffstats
path: root/app/app.gyp
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-11 22:15:32 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-11 22:15:32 +0000
commit26012f91aa8cb47d845d68af6afdcec483e92754 (patch)
treea54f903d79ed3ddfb368eadcd6fc21a55bec4ca0 /app/app.gyp
parente32642f68ec20a267002648f335b0ca7c94dd4c3 (diff)
downloadchromium_src-26012f91aa8cb47d845d68af6afdcec483e92754.zip
chromium_src-26012f91aa8cb47d845d68af6afdcec483e92754.tar.gz
chromium_src-26012f91aa8cb47d845d68af6afdcec483e92754.tar.bz2
The shell dialog code explicitly disables the browser HWND before calling the Windows API to select a file.
When the dialog is closed, the browser HWND gets a WM_ACTIVATE but is still disabled, which messes up with the focus restoration. This patch ensures we restore the focus explicitly when the browser HWND is reenabled to work-around that issue. BUG=3380 TEST=Set the focus on a page with scroll-bars, right-click to do a 'save as'. Close the dialog. The arrow keys should let you scroll the page. Accelerators such as Ctrl-T should still work. Test 'open a file', 'print' and the font selection dialog (in the options). When closing the dialog the focus should return to the view that last had focus. Review URL: http://codereview.chromium.org/195065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26029 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/app.gyp')
0 files changed, 0 insertions, 0 deletions