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 12e47931b41aa571f7a0e4904815b429a373982d..88ea96f713ab704a79f213352afa07c7d1a4b5b5 100644 |
| --- a/chrome/browser/android/shortcut_helper.h |
| +++ b/chrome/browser/android/shortcut_helper.h |
| @@ -53,6 +53,13 @@ class ShortcutHelper { |
| static void StoreWebappData(const std::string& webapp_id, |
| const SkBitmap& splash_image); |
| + // Modify the given icon to matches the launcher requirements and returns the |
|
gone
2015/10/21 23:35:57
to match
requirements, then returns
mlamouri (slow - plz ping)
2015/10/22 14:37:06
Done.
|
| + // new icon. It might generate an entirely new icon, in which case, |
| + // |generated| will be set to |true|. |
| + static SkBitmap FinalizeLauncherIcon(const SkBitmap& icon, |
| + const GURL& url, |
| + bool* generated); |
| + |
| private: |
| ShortcutHelper() = delete; |
| ~ShortcutHelper() = delete; |