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

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

Issue 7677032: ntp4: make app-install-via-drag less janky (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more test fixes Created 9 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
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 0b2c395b5ee2daeb450d227304c68aa32b58f772..1559d24bf5270cd7f0aa862c6d24ef7ec4a9a7ef 100644
--- a/chrome/browser/ui/webui/ntp/app_launcher_handler.h
+++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.h
@@ -115,6 +115,13 @@ class AppLauncherHandler : public WebUIMessageHandler,
static void RegisterUserPrefs(PrefService* pref_service);
private:
+ struct AppInstallInfo {
+ bool is_bookmark_app;
+ string16 title;
+ GURL app_url;
+ int page_index;
+ };
+
// Records a web store launch in the appropriate histograms. |promo_active|
// specifies if the web store promotion was active.
static void RecordWebStoreLaunch(bool promo_active);
@@ -184,7 +191,7 @@ class AppLauncherHandler : public WebUIMessageHandler,
bool ignore_changes_;
// Hold state for favicon requests.
- CancelableRequestConsumerTSimple<WebApplicationInfo*> favicon_consumer_;
+ CancelableRequestConsumerTSimple<AppInstallInfo*> favicon_consumer_;
DISALLOW_COPY_AND_ASSIGN(AppLauncherHandler);
};

Powered by Google App Engine
This is Rietveld 408576698