Index: chrome/browser/ui/apps/app_info_dialog.h |
diff --git a/chrome/browser/ui/apps/app_info_dialog.h b/chrome/browser/ui/apps/app_info_dialog.h |
index 35989485281d5affe94a9b4534f359d2a86dfef7..70bce0cc08a323fee708e0c51151b1af5b02ff43 100644 |
--- a/chrome/browser/ui/apps/app_info_dialog.h |
+++ b/chrome/browser/ui/apps/app_info_dialog.h |
@@ -23,9 +23,16 @@ class Size; |
enum AppInfoLaunchSource { |
FROM_APP_LIST, // Launched from the app list context menu. |
FROM_EXTENSIONS_PAGE, // Launched from the chrome://extensions page. |
+ FROM_APPS_PAGE, // Launched from chrome://apps context menu. |
NUM_LAUNCH_SOURCES, |
}; |
+// Returns true if the app info dialog is available on the current platform. |
+bool CanShowAppInfoDialog(); |
+ |
+// Returns the size of the native window container for the app info dialog. |
+gfx::Size GetAppInfoNativeDialogSize(); |
+ |
// Shows the chrome app information as a frameless window for the given |app| |
// and |profile| at the given |app_list_bounds|. Appears 'inside' the app list. |
void ShowAppInfoInAppList(gfx::NativeWindow parent, |