Index: chrome/browser/ui/views/bookmark_bubble_view.cc |
=================================================================== |
--- chrome/browser/ui/views/bookmark_bubble_view.cc (revision 71220) |
+++ chrome/browser/ui/views/bookmark_bubble_view.cc (working copy) |
@@ -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::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 @@ |
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()) |