diff options
Diffstat (limited to 'chrome/browser/ui/views/bookmark_bubble_view.cc')
-rw-r--r-- | chrome/browser/ui/views/bookmark_bubble_view.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/ui/views/bookmark_bubble_view.cc b/chrome/browser/ui/views/bookmark_bubble_view.cc index 2f33f1f..1a6e3b6 100644 --- a/chrome/browser/ui/views/bookmark_bubble_view.cc +++ b/chrome/browser/ui/views/bookmark_bubble_view.cc @@ -4,7 +4,6 @@ #include "chrome/browser/ui/views/bookmark_bubble_view.h" -#include "app/keyboard_codes.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "base/string16.h" @@ -22,6 +21,7 @@ #include "gfx/color_utils.h" #include "grit/generated_resources.h" #include "grit/theme_resources.h" +#include "ui/base/keycodes/keyboard_codes.h" #include "views/event.h" #include "views/standard_layout.h" #include "views/controls/button/native_button.h" @@ -138,7 +138,7 @@ void BookmarkBubbleView::DidChangeBounds(const gfx::Rect& previous, void BookmarkBubbleView::BubbleShown() { DCHECK(GetWidget()); GetFocusManager()->RegisterAccelerator( - views::Accelerator(app::VKEY_RETURN, false, false, false), this); + views::Accelerator(ui::VKEY_RETURN, false, false, false), this); title_tf_->RequestFocus(); title_tf_->SelectAll(); @@ -146,7 +146,7 @@ void BookmarkBubbleView::BubbleShown() { bool BookmarkBubbleView::AcceleratorPressed( const views::Accelerator& accelerator) { - if (accelerator.GetKeyCode() != app::VKEY_RETURN) + if (accelerator.GetKeyCode() != ui::VKEY_RETURN) return false; if (edit_button_->HasFocus()) |