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

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

Issue 3337006: Revert 58388 - Revert 58215 - Revert 58186 - Move the keyboard files from bas... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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/views/bookmark_bubble_view.cc
===================================================================
--- chrome/browser/views/bookmark_bubble_view.cc (revision 58389)
+++ chrome/browser/views/bookmark_bubble_view.cc (working copy)
@@ -4,9 +4,9 @@
#include "chrome/browser/views/bookmark_bubble_view.h"
-#include "app/keyboard_codes.h"
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
+#include "base/keyboard_codes.h"
#include "base/string16.h"
#include "base/string_util.h"
#include "chrome/app/chrome_dll_resource.h"
@@ -129,7 +129,7 @@
void BookmarkBubbleView::BubbleShown() {
DCHECK(GetWidget());
GetFocusManager()->RegisterAccelerator(
- views::Accelerator(app::VKEY_RETURN, false, false, false), this);
+ views::Accelerator(base::VKEY_RETURN, false, false, false), this);
title_tf_->RequestFocus();
title_tf_->SelectAll();
@@ -137,7 +137,7 @@
bool BookmarkBubbleView::AcceleratorPressed(
const views::Accelerator& accelerator) {
- if (accelerator.GetKeyCode() != app::VKEY_RETURN)
+ if (accelerator.GetKeyCode() != base::VKEY_RETURN)
return false;
if (edit_button_->HasFocus())
« no previous file with comments | « chrome/browser/views/bookmark_bar_view_test.cc ('k') | chrome/browser/views/browser_keyboard_accessibility_test_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698