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

Side by Side Diff: chrome/common/extensions/api/app_runtime.json

Issue 10834261: Move chrome.experimental.app.onLaunched event handler to chrome.app.runtime.onLaunched. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced/merged, resolved conflicts. Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 [
6 {
7 "namespace":"app.runtime",
asargent_no_longer_on_chrome 2012/08/10 00:09:10 nit: can you put this in an IDL instead of a .json
8 "events": [
9 {
10 "name": "onLaunched",
11 "type": "function",
12 "description": "Fired when the app is launched.",
13 "parameters": [
14 {
15 "type": "object",
16 "name": "launchData",
17 "description": "Optional data for the launch.",
18 "optional": true,
19 "properties": {
20 "intent": {
21 "type": "object",
22 "description": "A WebIntents intent object.",
23 "properties": {
24 "action": {
25 "type": "string",
26 "description": "The WebIntent being invoked."
27 },
28 "type": {
29 "type": "string",
30 "description": "The MIME type of the data."
31 },
32 "data": {
33 "type": "any",
34 "description": "Data associated with the intent."
35 },
36 "postResult": {
37 "type": "function",
38 "description": "Null callback to be compatible with WebInten ts."
39 },
40 "postFailure": {
41 "type": "function",
42 "description": "Null callback to be compatible with WebInten ts."
43 }
44 }
45 }
46 }
47 }
48 ]
49 }
50 ]
51 }
52 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698