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

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

Issue 10854173: Use a placeholder logo image/label in SearchViewController. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and rebase. Created 8 years, 4 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/app/theme/theme_resources.grd ('k') | chrome/browser/ui/views/search_view_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6e1eff4feb73e1decabfc448df1db1f5710716ea..78e1e0b8a4b657d796b3cd18e0293a6ed10014de 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -1935,8 +1935,9 @@ void BrowserView::Init() {
views::View* omnibox_popup_view_parent = NULL;
// SearchViewController doesn't work on windows yet.
#if defined(USE_AURA)
- if (chrome::search::IsInstantExtendedAPIEnabled(browser_->profile())) {
- search_view_controller_.reset(new SearchViewController(contents_));
+ Profile* profile = browser_->profile();
+ if (chrome::search::IsInstantExtendedAPIEnabled(profile)) {
+ search_view_controller_.reset(new SearchViewController(profile, contents_));
omnibox_popup_view_parent =
search_view_controller_->omnibox_popup_view_parent();
}
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/ui/views/search_view_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698