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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_win.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_win.cc
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_win.cc b/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
index ed023944c198554fa35e5c25cd15a5965fe8b0ec..935f0d501de20fc9c4b55422b2cdb38086065990 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
@@ -437,9 +437,8 @@ OmniboxViewWin::OmniboxViewWin(AutocompleteEditController* controller,
views::View* location_bar)
: model_(new AutocompleteEditModel(this, controller,
parent_view->profile())),
- popup_view_(new AutocompletePopupContentsView(parent_view->font(), this,
- model_.get(),
- location_bar)),
+ popup_view_(AutocompletePopupContentsView::CreateForEnvironment(
+ parent_view->font(), this, model_.get(), location_bar)),
controller_(controller),
parent_view_(parent_view),
toolbar_model_(toolbar_model),

Powered by Google App Engine
This is Rietveld 408576698