Chromium Code Reviews| 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 |