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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 10787028: Converts SearchViewController to use live NTP content instead of placeholder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index 65f642d19cc9651e98901f8c62d1657ea05ee69e..715b77e040d6edafe0690673b922dcae2177f70e 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -1926,7 +1926,10 @@ void BrowserView::Init() {
// SearchViewController doesn't work on windows yet.
#if defined(USE_AURA)
if (chrome::search::IsInstantExtendedAPIEnabled(browser_->profile())) {
- search_view_controller_.reset(new SearchViewController(contents_));
+ search_view_controller_.reset(
+ new SearchViewController(browser()->search_model(),
+ browser_->profile(),
+ contents_));
omnibox_popup_view_parent =
search_view_controller_->omnibox_popup_view_parent();
}

Powered by Google App Engine
This is Rietveld 408576698