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

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

Issue 2527983003: Omnibox: Fix unnecessary inside border (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/location_bar/location_bar_view.cc
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
index 722eb03c6ff782945f3092c26d7e26c010f24278..1278b5d48cc8ef7787f49cf0c44988e528c2a663 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
@@ -248,6 +248,7 @@ void LocationBarView::Init() {
this, profile(), command_updater(), is_popup_mode_, this, font_list);
omnibox_view_->Init();
omnibox_view_->SetFocusBehavior(FocusBehavior::ALWAYS);
+ omnibox_view_->SetBorder(views::CreateEmptyBorder(0, 0, 0, 0));
Marc Treib 2016/11/25 10:25:41 Turns out that SetBorder call did something after
Peter Kasting 2016/11/26 06:15:35 So what does this do? It's not at all apparent to
Marc Treib 2016/11/28 10:46:48 views::Textfield has a FocusableBorder by default:
Peter Kasting 2016/11/28 20:00:13 Interesting. So I guess the comment on all this s
Marc Treib 2016/11/29 14:10:06 Done.
AddChildView(omnibox_view_);
// Initialize the inline autocomplete view which is visible only when IME is
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698