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

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

Issue 11953021: Don't show the apps page on the NTP if the app launcher is installed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: pref -> app_launcher Created 7 years, 11 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/webui/ntp/app_launcher_handler.h
diff --git a/chrome/browser/ui/webui/ntp/app_launcher_handler.h b/chrome/browser/ui/webui/ntp/app_launcher_handler.h
index c68a176ecace1cfc5b772f8c320638ef6c33546c..51fcbccc2e1ee35f7a9b49e1a5ed454c6fda60af 100644
--- a/chrome/browser/ui/webui/ntp/app_launcher_handler.h
+++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.h
@@ -66,6 +66,9 @@ class AppLauncherHandler : public content::WebUIMessageHandler,
// Populate the given dictionary with the web store promo content.
void FillPromoDictionary(base::DictionaryValue* value);
+ // Callback for the "getShouldShowApps" message.
+ void HandleGetShouldShowApps(const base::ListValue* args);
+
// Callback for the "getApps" message.
void HandleGetApps(const base::ListValue* args);
@@ -121,6 +124,9 @@ class AppLauncherHandler : public content::WebUIMessageHandler,
syncer::StringOrdinal page_ordinal;
};
+ // Callback for extensions::GetIsAppLauncherEnabled().
+ void GotIsAppLauncherEnabled(bool is_enabled);
+
// Reset some instance flags we use to track the currently uninstalling app.
void CleanupAfterUninstall();

Powered by Google App Engine
This is Rietveld 408576698