summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/ui_controls_mac.mm
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-28 23:02:27 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-28 23:02:27 +0000
commit597ecc3d0aacc8ac895771f1478a9b04107d5df0 (patch)
tree01727379df70eda9663c278c29695c8fd9506ca3 /chrome/browser/automation/ui_controls_mac.mm
parent6a4f8154c76a16856fcdc014271cbf33b7e42643 (diff)
downloadchromium_src-597ecc3d0aacc8ac895771f1478a9b04107d5df0.zip
chromium_src-597ecc3d0aacc8ac895771f1478a9b04107d5df0.tar.gz
chromium_src-597ecc3d0aacc8ac895771f1478a9b04107d5df0.tar.bz2
Merge 53206 - Fix incorrect focus cycling issues in ChromeFrame full tab mode. This happens whenever a tab rendering a chrome frame
page receives focus by switching to it. Whenever we receive focus in ChromeFrame we send over an IPC to set the initial focus to Chrome. In this IPc we invoke the FocusThroughTabTraversal function on the TabContents which basically cycles through the focus on the page which is not correct for full tab mode. Fix is to handle the WM_SETFOCUS message in the active document and invoke the GiveFocusToChrome with false indicating that we don't want to invoke the FocusThroughTabTraversal function which cycles through the view. It is sufficient to set focus to the tab. We also handle the WM_SHOWWINDOW message in the active document and set focus to the document if it is visible. This ensures that the page gets focused correctly. Fixes bug http://code.google.com/p/chromium/issues/detail?id=48459 Fixes bug http://code.google.com/p/chromium/issues/detail?id=25890 Bug=48459, 25890 Review URL: http://codereview.chromium.org/2825061 TBR=ananta@chromium.org Review URL: http://codereview.chromium.org/3075006 git-svn-id: svn://svn.chromium.org/chrome/branches/472/src@54059 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/ui_controls_mac.mm')
0 files changed, 0 insertions, 0 deletions