diff options
author | koz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-17 04:25:32 +0000 |
---|---|---|
committer | koz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-17 04:25:32 +0000 |
commit | 352b47d799ac3ed0f7bdb817e5fc8061ac4176fb (patch) | |
tree | 1a94c2da34c535a54d6a56578ec4c006f18ba62b /chrome/common | |
parent | 9d39e17c16886632b0be01475034e7c9a201068d (diff) | |
download | chromium_src-352b47d799ac3ed0f7bdb817e5fc8061ac4176fb.zip chromium_src-352b47d799ac3ed0f7bdb817e5fc8061ac4176fb.tar.gz chromium_src-352b47d799ac3ed0f7bdb817e5fc8061ac4176fb.tar.bz2 |
Revert 156659 - Restart running apps when chrome restarts.
This adds the event chrome.app.runtime.onRestarted, which apps can use to
restore their state after a restart.
BUG=138676,149727
Review URL: https://chromiumcodereview.appspot.com/10875027
TBR=sky@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10905306
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157076 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/extensions/api/app_runtime.idl | 6 | ||||
-rw-r--r-- | chrome/common/extensions/docs/apps/app.runtime.html | 17 | ||||
-rw-r--r-- | chrome/common/extensions/docs/samples.json | 1 |
3 files changed, 0 insertions, 24 deletions
diff --git a/chrome/common/extensions/api/app_runtime.idl b/chrome/common/extensions/api/app_runtime.idl index 6e2c71a..c2d54c4 100644 --- a/chrome/common/extensions/api/app_runtime.idl +++ b/chrome/common/extensions/api/app_runtime.idl @@ -30,13 +30,7 @@ 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 { diff --git a/chrome/common/extensions/docs/apps/app.runtime.html b/chrome/common/extensions/docs/apps/app.runtime.html index 32dfa5f..c3efe8d 100644 --- a/chrome/common/extensions/docs/apps/app.runtime.html +++ b/chrome/common/extensions/docs/apps/app.runtime.html @@ -171,8 +171,6 @@ <ol> <li> <a href="#event-onLaunched">onLaunched</a> - </li><li> - <a href="#event-onRestarted">onRestarted</a> </li> </ol> </li> @@ -398,21 +396,6 @@ </dl> </div> <!-- /description --> <!-- /description --> - </div><div class="apiItem"> - <a name="event-onRestarted"></a> - <h4>onRestarted</h4> - <div class="summary"> - <!-- Note: intentionally longer 80 columns --> - <span class="subdued">chrome.app.runtime.</span><span>onRestarted</span><span class="subdued">.addListener</span>(function(<span></span>) <span class="subdued">{...}</span><span></span>); - </div> - <div class="description"> - <!-- LISTENER PARAMETERS --> - <!-- EXTRA PARAMETERS --> - <!-- LISTENER RETURN VALUE --> - <dl> - </dl> - </div> <!-- /description --> - <!-- /description --> </div> <!-- /apiItem --> </div> <!-- /apiGroup --> <!-- TYPES --> diff --git a/chrome/common/extensions/docs/samples.json b/chrome/common/extensions/docs/samples.json index 8e2e673..45cb341 100644 --- a/chrome/common/extensions/docs/samples.json +++ b/chrome/common/extensions/docs/samples.json @@ -7,7 +7,6 @@ "chrome.alarms.getAll": "alarms.html#method-getAll", "chrome.alarms.onAlarm": "alarms.html#event-onAlarm", "chrome.app.runtime.onLaunched": "app.runtime.html#event-onLaunched", - "chrome.app.runtime.onRestarted": "app.runtime.html#event-onRestarted", "chrome.app.window.create": "app.window.html#method-create", "chrome.app.window.focus": "app.window.html#method-focus", "chrome.app.window.maximize": "app.window.html#method-maximize", |