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

Unified Diff: chrome/browser/ui/search/instant_page.cc

Issue 18095002: Merge 208596 "Pipe a bit down to the InstantExtended new tab pag..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1547/src/
Patch Set: Created 7 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
« no previous file with comments | « chrome/browser/ui/search/instant_page.h ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/search/instant_page.cc
===================================================================
--- chrome/browser/ui/search/instant_page.cc (revision 208940)
+++ chrome/browser/ui/search/instant_page.cc (working copy)
@@ -4,6 +4,7 @@
#include "chrome/browser/ui/search/instant_page.h"
+#include "apps/app_launcher.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/search/search.h"
#include "chrome/browser/ui/search/instant_ipc_sender.h"
@@ -57,6 +58,10 @@
omnibox_font.GetFontSize());
}
+void InstantPage::InitializePromos() {
+ sender()->SetPromoInformation(apps::IsAppLauncherEnabled());
+}
+
InstantPage::InstantPage(Delegate* delegate, const std::string& instant_url,
bool is_incognito)
: delegate_(delegate),
« no previous file with comments | « chrome/browser/ui/search/instant_page.h ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698