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

Unified Diff: chrome/browser/android/banners/app_banner_infobar_delegate_android.h

Issue 1310223002: webapps: initial addition of splash screen icon downloading (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webapps-database-exp
Patch Set: Add call to webapp storage Created 5 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/android/banners/app_banner_infobar_delegate_android.h
diff --git a/chrome/browser/android/banners/app_banner_infobar_delegate_android.h b/chrome/browser/android/banners/app_banner_infobar_delegate_android.h
index 52c77c1166e29f50679ad5ce4dc132a2dfb40c56..b5e4d31ccbcdddcc588e185f23aab8559effefef 100644
--- a/chrome/browser/android/banners/app_banner_infobar_delegate_android.h
+++ b/chrome/browser/android/banners/app_banner_infobar_delegate_android.h
@@ -31,6 +31,7 @@ class AppBannerInfoBarDelegateAndroid : public ConfirmInfoBarDelegate {
AppBannerInfoBarDelegateAndroid(
int event_request_id,
const base::string16& app_title,
+ SkBitmap* splash_icon,
SkBitmap* app_icon,
const content::Manifest& web_app_data);
@@ -75,6 +76,7 @@ class AppBannerInfoBarDelegateAndroid : public ConfirmInfoBarDelegate {
base::android::ScopedJavaGlobalRef<jobject> java_delegate_;
base::string16 app_title_;
+ scoped_ptr<SkBitmap> splash_icon_;
scoped_ptr<SkBitmap> app_icon_;
int event_request_id_;

Powered by Google App Engine
This is Rietveld 408576698