summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/bookmark_bubble_view.cc
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-20 04:22:44 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-20 04:22:44 +0000
commit3c3ba740c63a178807cc0c1a563080e0adbfe143 (patch)
tree78bcd84e7870d8009165df0e7a9fca87f4e91903 /chrome/browser/views/bookmark_bubble_view.cc
parent76724d00d3498f952d945d775a3f33f751624121 (diff)
downloadchromium_src-3c3ba740c63a178807cc0c1a563080e0adbfe143.zip
chromium_src-3c3ba740c63a178807cc0c1a563080e0adbfe143.tar.gz
chromium_src-3c3ba740c63a178807cc0c1a563080e0adbfe143.tar.bz2
Relanding focus manager refactoring with build fix, see:http://codereview.chromium.org/125148BUG=NoneTEST=NoneTBR=ben
Review URL: http://codereview.chromium.org/141013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18889 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/bookmark_bubble_view.cc')
-rw-r--r--chrome/browser/views/bookmark_bubble_view.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/views/bookmark_bubble_view.cc b/chrome/browser/views/bookmark_bubble_view.cc
index 9a2a8f6..b81d0ab 100644
--- a/chrome/browser/views/bookmark_bubble_view.cc
+++ b/chrome/browser/views/bookmark_bubble_view.cc
@@ -182,9 +182,7 @@ void BookmarkBubbleView::DidChangeBounds(const gfx::Rect& previous,
void BookmarkBubbleView::BubbleShown() {
DCHECK(GetWidget());
- views::FocusManager* focus_manager =
- views::FocusManager::GetFocusManager(GetWidget()->GetNativeView());
- focus_manager->RegisterAccelerator(
+ GetFocusManager()->RegisterAccelerator(
views::Accelerator(VK_RETURN, false, false, false), this);
title_tf_->RequestFocus();