Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: chrome/browser/ui/views/bookmark_bubble_view.cc

Issue 6246001: Move app/key* to ui/base/keycodes/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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())
« no previous file with comments | « chrome/browser/ui/views/bookmark_bar_view_test.cc ('k') | chrome/browser/ui/views/browser_keyboard_accessibility_test_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698