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

Unified Diff: chrome/browser/ui/views/frame/browser_view_layout.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_layout.cc
diff --git a/chrome/browser/ui/views/frame/browser_view_layout.cc b/chrome/browser/ui/views/frame/browser_view_layout.cc
index d9e2d2b1330e76d8d7d4d49d87eaff181b292449..c55c85418202a849c81d24393a54b8103429e138 100644
--- a/chrome/browser/ui/views/frame/browser_view_layout.cc
+++ b/chrome/browser/ui/views/frame/browser_view_layout.cc
@@ -323,7 +323,7 @@ int BrowserViewLayout::LayoutTabStripRegion() {
int BrowserViewLayout::LayoutToolbar(int top) {
int browser_view_width = vertical_layout_rect_.width();
bool toolbar_visible = browser_view_->IsToolbarVisible();
- toolbar_->location_bar()->set_focusable(toolbar_visible);
+ toolbar_->location_bar()->SetOmniboxFocusable(toolbar_visible);
int y = top;
y -= (toolbar_visible && browser_view_->IsTabStripVisible()) ?
kToolbarTabStripVerticalOverlap : 0;

Powered by Google App Engine
This is Rietveld 408576698