summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/location_bar
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/location_bar')
-rw-r--r--chrome/browser/views/location_bar/location_bar_view.cc2
-rw-r--r--chrome/browser/views/location_bar/page_action_image_view.cc4
-rw-r--r--chrome/browser/views/location_bar/star_view.cc4
3 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/views/location_bar/location_bar_view.cc b/chrome/browser/views/location_bar/location_bar_view.cc
index 9cf40a1..b3d1e7f 100644
--- a/chrome/browser/views/location_bar/location_bar_view.cc
+++ b/chrome/browser/views/location_bar/location_bar_view.cc
@@ -943,7 +943,7 @@ bool LocationBarView::SkipDefaultKeyEventProcessing(const views::KeyEvent& e) {
// it can be shared between Windows and Linux.
// For now, we just override back-space and tab keys, as back-space is the
// accelerator for back navigation and tab key is used by some input methods.
- if (e.GetKeyCode() == base::VKEY_BACK ||
+ if (e.GetKeyCode() == app::VKEY_BACK ||
views::FocusManager::IsTabTraversalKeyEvent(e))
return true;
return false;
diff --git a/chrome/browser/views/location_bar/page_action_image_view.cc b/chrome/browser/views/location_bar/page_action_image_view.cc
index c2d72e3..058100c 100644
--- a/chrome/browser/views/location_bar/page_action_image_view.cc
+++ b/chrome/browser/views/location_bar/page_action_image_view.cc
@@ -137,8 +137,8 @@ void PageActionImageView::OnMouseReleased(const views::MouseEvent& event,
}
bool PageActionImageView::OnKeyPressed(const views::KeyEvent& e) {
- if (e.GetKeyCode() == base::VKEY_SPACE ||
- e.GetKeyCode() == base::VKEY_RETURN) {
+ if (e.GetKeyCode() == app::VKEY_SPACE ||
+ e.GetKeyCode() == app::VKEY_RETURN) {
ExecuteAction(1, false);
return true;
}
diff --git a/chrome/browser/views/location_bar/star_view.cc b/chrome/browser/views/location_bar/star_view.cc
index 06bb843..9b4f2c5 100644
--- a/chrome/browser/views/location_bar/star_view.cc
+++ b/chrome/browser/views/location_bar/star_view.cc
@@ -59,8 +59,8 @@ void StarView::OnMouseReleased(const views::MouseEvent& event, bool canceled) {
}
bool StarView::OnKeyPressed(const views::KeyEvent& e) {
- if (e.GetKeyCode() == base::VKEY_SPACE ||
- e.GetKeyCode() == base::VKEY_RETURN) {
+ if (e.GetKeyCode() == app::VKEY_SPACE ||
+ e.GetKeyCode() == app::VKEY_RETURN) {
command_updater_->ExecuteCommand(IDC_BOOKMARK_PAGE);
return true;
}