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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 8832002: Aura: Set focusable on textfield but not on location bar (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove empty line Created 9 years 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/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index a3bea43420ddf12798854f12671a8e5454c1553a..3673c03d7d59b745992f1515e69f107ee4cca3d4 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -875,7 +875,7 @@ void BrowserView::SetFocusToLocationBar(bool select_all) {
#endif
LocationBarView* location_bar = GetLocationBarView();
- if (location_bar->IsFocusableInRootView()) {
+ if (location_bar->IsOmniboxFocusableInRootView()) {
// Location bar got focus.
location_bar->FocusLocation(select_all);
} else {

Powered by Google App Engine
This is Rietveld 408576698