Chromium Code Reviews| Index: chrome/browser/android/shortcut_helper.h |
| diff --git a/chrome/browser/android/shortcut_helper.h b/chrome/browser/android/shortcut_helper.h |
| index bd7f0c4cdbb51ebf8fe97c7b3101f0af88aee0d4..590a4bec1d980ea31665c1ee60a64c3c0a3078b1 100644 |
| --- a/chrome/browser/android/shortcut_helper.h |
| +++ b/chrome/browser/android/shortcut_helper.h |
| @@ -73,6 +73,12 @@ class ShortcutHelper { |
| // screen. |
| static int GetMinimumSplashImageSizeInDp(); |
| + // Called when the homescreen image fetch initiated in FetchHomescreenImage() |
| + // completes. |
| + static void OnFetchedHomescreenImage( |
| + const base::android::ScopedJavaGlobalRef<jobject> j_callback, |
|
Xi Han
2016/08/10 15:49:19
java_callback?
pkotwicz
2016/08/10 19:03:47
Done.
|
| + const SkBitmap& image); |
| + |
| // Fetches the splash screen image and stores it inside the WebappDataStorage |
| // of the webapp. The WebappDataStorage object *must* have been previously |
| // created by |AddShortcutInBackgroundWithSkBitmap|; this method should be |