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

Unified Diff: chrome/browser/views/location_bar/location_bar_view.cc

Issue 3354005: Re-lands 58186: (Closed)
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/location_bar/location_bar_view.cc
diff --git a/chrome/browser/views/location_bar/location_bar_view.cc b/chrome/browser/views/location_bar/location_bar_view.cc
index 9cf40a1231c8b1e1d4afcc685baef3941b8479c0..b3d1e7f14ca2ef43bd3c106e9d1b3ebde790caee 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;
« no previous file with comments | « chrome/browser/views/keyword_editor_view.cc ('k') | chrome/browser/views/location_bar/page_action_image_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698