Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 71 } | 71 } |
| 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 }, | |
| 82 { | |
| 83 "name": "postIntentResponse", | |
| 84 "type": "function", | |
| 85 "description": "Responds to an intent previously sent to a packaged app, identified by intentId. This should be invoked at most once for any intentId.", | |
| 86 "nodoc": true, | |
| 87 "parameters": [ | |
| 88 { | |
| 89 "type": "object", | |
| 90 "name": "details", | |
| 91 "properties": { | |
| 92 "intentId": { | |
| 93 "type": "integer", | |
| 94 "optional": false | |
| 95 }, | |
| 96 "success": { | |
| 97 "type": "boolean", | |
| 98 "optional": false | |
| 99 }, | |
| 100 "data": { | |
| 101 "type": "any", | |
| 102 "optional": false | |
| 103 } | |
| 104 } | |
| 105 } | |
| 106 // TODO(koz): Add MessageChannel parameters. | |
|
benwells
2012/08/13 08:27:29
Is this meant to be TODO(koz)?
Until this is clear
thorogood
2012/08/14 02:59:08
I've removed the TODO, but I think I need to inves
| |
| 107 ] | |
| 81 } | 108 } |
| 82 ], | 109 ], |
| 83 "events": [ | 110 "events": [ |
| 84 { | 111 { |
| 85 "name": "onLaunched", | 112 "name": "onLaunched", |
| 86 "type": "function", | 113 "type": "function", |
| 87 "description": "Fired when the app is launched.", | 114 "description": "Fired when the app is launched.", |
| 88 "parameters": [ | 115 "parameters": [ |
| 89 { | 116 { |
| 90 "type": "object", | 117 "type": "object", |
| (...skipping 27 matching lines...) Expand all Loading... | |
| 118 } | 145 } |
| 119 } | 146 } |
| 120 } | 147 } |
| 121 } | 148 } |
| 122 } | 149 } |
| 123 ] | 150 ] |
| 124 } | 151 } |
| 125 ] | 152 ] |
| 126 } | 153 } |
| 127 ] | 154 ] |
| OLD | NEW |