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

Unified Diff: apps/launcher.h

Issue 2212303003: Implement app launch changes for app runtime extension proposal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tool-screenshot
Patch Set: Rebase Created 4 years, 4 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
« no previous file with comments | « no previous file | apps/launcher.cc » ('j') | apps/launcher.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/launcher.h
diff --git a/apps/launcher.h b/apps/launcher.h
index fa6ea1582d27dee47fee5d9b51d3a946f83c2931..66211214955db01454d8002499f8b641a2e1e068 100644
--- a/apps/launcher.h
+++ b/apps/launcher.h
@@ -41,6 +41,14 @@ void LaunchPlatformAppWithPath(Profile* profile,
const extensions::Extension* extension,
const base::FilePath& file_path);
+// Launches the platform app |extension| with the specific |action_data|.
+// |file_path| is an optional argument and if present contains the file that the
+// app should open w.r.t. the given action.
+void LaunchPlatformAppWithAction(Profile* profile,
+ const extensions::Extension* extension,
Devlin 2016/08/11 20:51:20 let's use |app| instead of |extension| (I know the
jdufault 2016/08/12 18:56:55 Done.
+ const extensions::ActionData& action_data,
+ const base::FilePath& file_path);
+
// Launches the platform app |extension|. |source| tells us how the app is
// launched.
void LaunchPlatformApp(Profile* profile,
« no previous file with comments | « no previous file | apps/launcher.cc » ('j') | apps/launcher.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698