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

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: Address review comments. Created 8 years, 7 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
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_views.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b68b2751e42c5a739161ff7e3b0cc3fe24d888ad..17ad8af091b8842c6eeb7867ae14670ba6543543 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),
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_views.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698