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

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: Fix windows 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 a317a82a0c0cb503bc05642016a30480d2e766e5..f1e73bf8940769ff2b0f1c3612302897afecc01d 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
@@ -438,11 +438,13 @@ OmniboxViewWin::OmniboxViewWin(AutocompleteEditController* controller,
LocationBarView* parent_view,
CommandUpdater* command_updater,
bool popup_window_mode,
- views::View* location_bar)
+ views::View* location_bar,
+ views::View* popup_parent_view)
: model_(new AutocompleteEditModel(this, controller,
parent_view->profile())),
- popup_view_(OmniboxPopupContentsView::CreateForEnvironment(
- parent_view->font(), this, model_.get(), location_bar)),
+ popup_view_(OmniboxPopupContentsView::Create(
+ parent_view->font(), this, model_.get(), location_bar,
+ popup_parent_view)),
controller_(controller),
parent_view_(parent_view),
toolbar_model_(toolbar_model),

Powered by Google App Engine
This is Rietveld 408576698