Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7821)

Unified Diff: chrome/browser/ui/apps/app_info_dialog.h

Issue 899173002: Replace Webstore link with app info dialog link in chrome://apps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
tapted 2015/02/13 08:11:59 ooh. I think you'l need to "implement" these in ch
+
+// 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,

Powered by Google App Engine
This is Rietveld 408576698