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

Side by Side Diff: chrome/common/extensions/api/experimental_app.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: Another merge before retrying commit. 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
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.app", 7 "namespace":"experimental.app",
8 "functions": [ 8 "functions": [
9 { 9 {
10 "name": "notify", 10 "name": "notify",
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 }, 72 },
73 { 73 {
74 "type": "function", 74 "type": "function",
75 "name": "callback", 75 "name": "callback",
76 "optional": true, 76 "optional": true,
77 "description": "A callback when the function is complete. Any errors will be reported in <a href='extension.html#property-lastError'>chrome.extensio n.lastError</a>.", 77 "description": "A callback when the function is complete. Any errors will be reported in <a href='extension.html#property-lastError'>chrome.extensio n.lastError</a>.",
78 "parameters": [] 78 "parameters": []
79 } 79 }
80 ] 80 ]
81 } 81 }
82 ],
83 "events": [
84 {
85 "name": "onLaunched",
86 "type": "function",
87 "description": "Fired when the app is launched.",
88 "parameters": [
89 {
90 "type": "object",
91 "name": "launchData",
92 "description": "Optional data for the launch.",
93 "optional": true,
94 "properties": {
95 "intent": {
96 "type": "object",
97 "description": "A WebIntents intent object.",
98 "properties": {
99 "action": {
100 "type": "string",
101 "description": "The WebIntent being invoked."
102 },
103 "type": {
104 "type": "string",
105 "description": "The MIME type of the data."
106 },
107 "data": {
108 "type": "any",
109 "description": "Data associated with the intent."
110 },
111 "postResult": {
112 "type": "function",
113 "description": "Null callback to be compatible with WebInten ts."
114 },
115 "postFailure": {
116 "type": "function",
117 "description": "Null callback to be compatible with WebInten ts."
118 }
119 }
120 }
121 }
122 }
123 ]
124 }
125 ] 82 ]
126 } 83 }
127 ] 84 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/app_runtime.idl ('k') | chrome/common/extensions/docs/apps/api_index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698