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

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

Issue 17699006: Pipe a bit down to the InstantExtended new tab page javascript API for whether or not the app launc… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comment 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
Index: chrome/browser/ui/search/instant_ipc_sender.cc
diff --git a/chrome/browser/ui/search/instant_ipc_sender.cc b/chrome/browser/ui/search/instant_ipc_sender.cc
index 62f0b3b303ff83bf2bbbd0f55b0153b017058da9..4150259e3787df4fc60d21af710d6badd7c399ca 100644
--- a/chrome/browser/ui/search/instant_ipc_sender.cc
+++ b/chrome/browser/ui/search/instant_ipc_sender.cc
@@ -46,6 +46,11 @@ class InstantIPCSenderImpl : public InstantIPCSender {
routing_id(), omnibox_font_name, omnibox_font_size));
}
+ virtual void SetPromoInformation(bool is_app_launcher_enabled) OVERRIDE {
+ Send(new ChromeViewMsg_SearchBoxPromoInformation(
+ routing_id(), is_app_launcher_enabled));
+ }
+
virtual void SendAutocompleteResults(
const std::vector<InstantAutocompleteResult>& results) OVERRIDE {
Send(new ChromeViewMsg_SearchBoxAutocompleteResults(routing_id(), results));

Powered by Google App Engine
This is Rietveld 408576698