Index: chrome/browser/android/shortcut_info.h |
diff --git a/chrome/browser/android/shortcut_info.h b/chrome/browser/android/shortcut_info.h |
index 0766c546b3b10de86031c86d44186e188fcef948..4c0ea2281b27245a89e68577f27704eafe46a486 100644 |
--- a/chrome/browser/android/shortcut_info.h |
+++ b/chrome/browser/android/shortcut_info.h |
@@ -30,6 +30,20 @@ struct ShortcutInfo { |
SOURCE_COUNT = 6 |
}; |
+ // The shortcut type. |
+ // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser |
+ // GENERATED_JAVA_CLASS_NAME_OVERRIDE: ShortcutType |
+ enum class Type { |
+ // Dedicated APK should be created for the shortcut so that the shortcut is |
+ // present in the app list and on the home screen. Shortcut opens Chrome in |
+ // fullscreen. |
+ WEBAPK, |
+ // Shortcut is present on home screen but not in app list. Shortcut opens |
+ // Chrome in fullscreen. |
+ WEBAPP, |
+ OTHER, |
+ }; |
+ |
explicit ShortcutInfo(const GURL& shortcut_url); |
ShortcutInfo(const ShortcutInfo& other); |
~ShortcutInfo(); |
@@ -51,6 +65,7 @@ struct ShortcutInfo { |
int64_t theme_color; |
int64_t background_color; |
GURL icon_url; |
+ Type type; |
}; |
#endif // CHROME_BROWSER_ANDROID_SHORTCUT_INFO_H_ |