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

Side by Side Diff: chrome/common/extensions/api/experimental.runtime.json

Issue 9969087: Switch platform apps from a declarative launch container to handling an onLaunched event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for review Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace": "experimental.runtime", 7 "namespace": "experimental.runtime",
8 "events": [ 8 "events": [
9 { 9 {
10 "name": "onInstalled", 10 "name": "onInstalled",
11 "type": "function", 11 "type": "function",
12 "description": "Fired when the extension is first installed." 12 "description": "Fired when the extension is first installed."
13 }, 13 },
14 { 14 {
15 "name": "onBackgroundPageUnloadingSoon", 15 "name": "onBackgroundPageUnloadingSoon",
16 "type": "function", 16 "type": "function",
17 "description": "Sent to the transient background page just before it is unloaded. This gives the extension opportunity to do some clean up. Note that si nce the page is unloading, any asynchronous operations started while handling th is event are not guaranteed to complete." 17 "description": "Sent to the transient background page just before it is unloaded. This gives the extension opportunity to do some clean up. Note that si nce the page is unloading, any asynchronous operations started while handling th is event are not guaranteed to complete."
18 },
19 {
20 "nodoc": true,
21 "name": "onLaunched",
22 "type": "function",
23 "description": "Fired when the app is launched."
18 } 24 }
19 ] 25 ]
20 } 26 }
21 ] 27 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698