summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views')
-rw-r--r--chrome/browser/views/bookmark_manager_view.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/views/bookmark_manager_view.cc b/chrome/browser/views/bookmark_manager_view.cc
index cccf012..4cc816f 100644
--- a/chrome/browser/views/bookmark_manager_view.cc
+++ b/chrome/browser/views/bookmark_manager_view.cc
@@ -119,7 +119,7 @@ void BookmarkManagerView::Show(Profile* profile) {
return;
if (open_window != NULL) {
- open_window->MoveToFront(true);
+ open_window->Activate();
return;
}
@@ -132,6 +132,9 @@ void BookmarkManagerView::Show(Profile* profile) {
manager->PrepareForShow();
// And show it.
open_window->Show();
+
+ // Give initial focus to the search field.
+ manager->search_tf_->RequestFocus();
}
// static