| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 "parameters": [] | 76 "parameters": [] |
| 77 } | 77 } |
| 78 ] | 78 ] |
| 79 } | 79 } |
| 80 ], | 80 ], |
| 81 "events": [ | 81 "events": [ |
| 82 { | 82 { |
| 83 "nodoc": true, | 83 "nodoc": true, |
| 84 "name": "onLaunched", | 84 "name": "onLaunched", |
| 85 "type": "function", | 85 "type": "function", |
| 86 "description": "Fired when the app is launched." | 86 "description": "Fired when the app is launched.", |
| 87 "parameters": [ |
| 88 { |
| 89 "type": "object", |
| 90 "name": "launchData", |
| 91 "description": "Optional data for the launch.", |
| 92 "optional": true, |
| 93 "properties": { |
| 94 "intent": { |
| 95 "type": "object", |
| 96 "description": "File being opened in the form of a WebIntents in
tent object.", |
| 97 "properties": { |
| 98 "action": { |
| 99 "type": "string", |
| 100 "description": "The WebIntent being invoked." |
| 101 }, |
| 102 "type": { |
| 103 "type": "string", |
| 104 "description": "The MIME type of the file being opened." |
| 105 }, |
| 106 "data": { |
| 107 "type": "object", |
| 108 "isInstanceOf": "FileEntry", |
| 109 "description": "A FileEntry for the file being opened.", |
| 110 "additionalProperties": { |
| 111 "type": "any" |
| 112 } |
| 113 }, |
| 114 "postResult": { |
| 115 "type": "function", |
| 116 "description": "Null callback to be compatible with WebInten
ts." |
| 117 }, |
| 118 "postFailure": { |
| 119 "type": "function", |
| 120 "description": "Null callback to be compatible with WebInten
ts." |
| 121 } |
| 122 } |
| 123 } |
| 124 } |
| 125 } |
| 126 ] |
| 87 } | 127 } |
| 88 ] | 128 ] |
| 89 } | 129 } |
| 90 ] | 130 ] |
| OLD | NEW |