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

Unified Diff: chrome/browser/ui/webui/app_launcher_handler.h

Issue 6825052: Update the web store promo to be clearer and configurable at run-time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporate Aaron's feedback. Created 9 years, 8 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/resources/ntp/apps.js ('k') | chrome/browser/ui/webui/app_launcher_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/app_launcher_handler.h
diff --git a/chrome/browser/ui/webui/app_launcher_handler.h b/chrome/browser/ui/webui/app_launcher_handler.h
index f25b555fa7582fdc2a88bb29e5409c7b386a9783..2d0e328d4cdeb0ccfff6a17e8a004c9882dd966a 100644
--- a/chrome/browser/ui/webui/app_launcher_handler.h
+++ b/chrome/browser/ui/webui/app_launcher_handler.h
@@ -55,6 +55,9 @@ class AppLauncherHandler : public WebUIMessageHandler,
// Populate the given dictionary with all installed app info.
void FillAppDictionary(DictionaryValue* value);
+ // Populate the given dictionary with the web store promo content.
+ void FillPromoDictionary(DictionaryValue* value);
+
// Callback for the "getApps" message.
void HandleGetApps(const ListValue* args);
@@ -79,6 +82,9 @@ class AppLauncherHandler : public WebUIMessageHandler,
// Callback for the "setPageIndex" message.
void HandleSetPageIndex(const ListValue* args);
+ // Callback for the "promoSeen" message.
+ void HandlePromoSeen(const ListValue* args);
+
private:
// Records a web store launch in the appropriate histograms. |promo_active|
// specifies if the web store promotion was active.
« no previous file with comments | « chrome/browser/resources/ntp/apps.js ('k') | chrome/browser/ui/webui/app_launcher_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698