diff options
author | rohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-15 14:52:03 +0000 |
---|---|---|
committer | rohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-15 14:52:03 +0000 |
commit | 66fae6db2a11355ffe9efe3bdf5f3879b4c0fcad (patch) | |
tree | 2fce70ad86b6a4edeeb2aa95444660e83d6518f9 /chrome/browser/cocoa/find_bar_bridge.mm | |
parent | 2a010997e928b0295279043921201f625983db3b (diff) | |
download | chromium_src-66fae6db2a11355ffe9efe3bdf5f3879b4c0fcad.zip chromium_src-66fae6db2a11355ffe9efe3bdf5f3879b4c0fcad.tar.gz chromium_src-66fae6db2a11355ffe9efe3bdf5f3879b4c0fcad.tar.bz2 |
[Mac] Restore focus to the previously focused view when dismissing the find bar.
If a result was found, restore focus to the tab contents. This allows for
keyboard navigation using the find bar.
BUG=http://crbug.com/12657
BUG=http://crbug.com/21374
TEST=See test case in bug 21374
Review URL: http://codereview.chromium.org/201061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26214 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/find_bar_bridge.mm')
-rw-r--r-- | chrome/browser/cocoa/find_bar_bridge.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/find_bar_bridge.mm b/chrome/browser/cocoa/find_bar_bridge.mm index 4b4a4cd..ee760e5 100644 --- a/chrome/browser/cocoa/find_bar_bridge.mm +++ b/chrome/browser/cocoa/find_bar_bridge.mm @@ -67,5 +67,5 @@ void FindBarBridge::SetDialogPosition(const gfx::Rect& new_pos, } void FindBarBridge::RestoreSavedFocus() { - // http://crbug.com/12657 + [cocoa_controller_ restoreSavedFocus]; } |