| Index: chrome/browser/android/shortcut_helper.h
|
| diff --git a/chrome/browser/android/shortcut_helper.h b/chrome/browser/android/shortcut_helper.h
|
| index b4a7bf633a162d3c8d35a37bcd4a75c7e6cb79dc..d6cb5506e3a093374a1f7da8a428e7a985a66e96 100644
|
| --- a/chrome/browser/android/shortcut_helper.h
|
| +++ b/chrome/browser/android/shortcut_helper.h
|
| @@ -27,11 +27,26 @@ class ShortcutHelper {
|
| const std::string& webapp_id,
|
| const SkBitmap& icon_bitmap);
|
|
|
| + // Returns the ideal size for an icon representing a web app.
|
| + static int GetIdealIconSizeInDp();
|
| +
|
| + // Returns the minimum size for an icon representing a web app.
|
| + static int GetMinimumIconSizeInDp();
|
| +
|
| + // Returns the ideal size for an image displayed on a web app's splash
|
| + // screen.
|
| + static int GetIdealSplashImageSizeInDp();
|
| +
|
| + // Returns the minimum size for an image displayed on a web app's splash
|
| + // screen.
|
| + static int GetMinimumSplashImageSizeInDp();
|
| +
|
| // Fetches the splash screen image and stores it inside the WebappDataStorage
|
| // of the webapp.
|
| static void FetchSplashScreenImage(content::WebContents* web_contents,
|
| const GURL& image_url,
|
| const int ideal_splash_image_size_in_dp,
|
| + const int minimum_splash_image_size_in_dp,
|
| const std::string& webapp_id);
|
|
|
| // Stores the data of the webapp which is not placed inside the shortcut.
|
|
|