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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_views.cc

Issue 10384007: First stab at touch optimized omnibox auto-complete per sgabriel's mocks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 8 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/ui/views/omnibox/omnibox_view_views.cc
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
index 08ac2070de83ea9a860fcb41c5954ecd7fa2438a..71037fa1cb6345a8c96529a5cf059eed30839432 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
@@ -215,7 +215,7 @@ void OmniboxViewViews::Init() {
// Create popup view using the same font as |textfield_|'s.
popup_view_.reset(
- new AutocompletePopupContentsView(
+ AutocompletePopupContentsView::CreateForEnvironment(
textfield_->font(), this, model_.get(), location_bar_view_));
const int vertical_margin = !popup_window_mode_ ?

Powered by Google App Engine
This is Rietveld 408576698