Chromium Code Reviews
DescriptionMerge 26029 - 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 workaround that issue.
BUG=3380
TEST=Set the focus on a page with scrollbars, rightclick to do a 'save as'. Close the dialog. The arrow keys should let you scroll the page. Accelerators such as CtrlT 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
TBR=jcampan@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=26034
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|
|||||||||||||||||||