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

Unified Diff: chrome/browser/web_applications/web_app.h

Issue 14579006: Start app shim when app launched. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and rebase Created 7 years, 7 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/web_applications/web_app.h
diff --git a/chrome/browser/web_applications/web_app.h b/chrome/browser/web_applications/web_app.h
index 0ddf31da85b6964b81eeae94f426586ceedc6c4e..add5f87d47bf8da054db514d11cf4eab1d8cff20 100644
--- a/chrome/browser/web_applications/web_app.h
+++ b/chrome/browser/web_applications/web_app.h
@@ -21,6 +21,8 @@ namespace gfx {
class ImageFamily;
}
+class Profile;
+
namespace web_app {
// Gets the user data directory for given web app. The path for the directory is
@@ -95,6 +97,11 @@ std::string GetWMClassFromAppName(std::string app_name);
// Gets the name of the Chrome Apps menu folder in which to place app shortcuts.
string16 GetAppShortcutsSubdirName();
+
+// If necessary, launch the shortcut for an app.
+void MaybeLaunchShortcut(Profile* profile,
tapted 2013/05/29 04:20:30 Can this be moved to web_app_mac.h now? (and remov
jackhou1 2013/05/29 05:53:04 chrome/browser/web_applications/web_app_mac.h is n
tapted 2013/05/29 06:16:01 I think it makes sense to add web_app_mac.h to DEP
+ const extensions::Extension* extension);
+
namespace internals {
#if defined(OS_WIN)

Powered by Google App Engine
This is Rietveld 408576698