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

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

Issue 10580039: Adds ability to render omnibox as a view above the page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 8 years, 6 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 415bb7287c51daad6b02e6c24a7f5fa98576e05d..22eaf57fa0be69d90b7b06e9164cbe41db49d9eb 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
@@ -441,7 +441,7 @@ OmniboxViewWin::OmniboxViewWin(AutocompleteEditController* controller,
views::View* location_bar)
: model_(new AutocompleteEditModel(this, controller,
parent_view->profile())),
- popup_view_(OmniboxPopupContentsView::CreateForEnvironment(
+ popup_view_(OmniboxPopupContentsView::Create(
parent_view->font(), this, model_.get(), location_bar)),
controller_(controller),
parent_view_(parent_view),

Powered by Google App Engine
This is Rietveld 408576698