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

Unified Diff: chrome/common/extensions/api/app_runtime.idl

Issue 10875027: Restart running apps when chrome restarts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 2 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/common/extensions/api/app_runtime.idl
diff --git a/chrome/common/extensions/api/app_runtime.idl b/chrome/common/extensions/api/app_runtime.idl
index c2d54c4353ba52f0151b4440f62bf7ab69dd19ff..6e2c71ac4b09083d7b2a59572ad46054ff4459c5 100644
--- a/chrome/common/extensions/api/app_runtime.idl
+++ b/chrome/common/extensions/api/app_runtime.idl
@@ -30,7 +30,13 @@ namespace app.runtime {
};
interface Events {
+ // Fired when an app is launched from the launcher or in response to a web
+ // intent.
static void onLaunched(optional LaunchData launchData);
+
+ // Fired at Chrome startup to apps that were running when Chrome last shut
+ // down.
+ static void onRestarted();
};
dictionary IntentResponse {
« no previous file with comments | « chrome/chrome_browser_extensions.gypi ('k') | chrome/test/data/extensions/platform_apps/restart_test/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698