OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "extension", | 3 "namespace": "extension", |
4 "unprivileged": true, | 4 "unprivileged": true, |
5 "types": [ | 5 "types": [ |
6 { | 6 { |
7 "id": "MessageSender", | 7 "id": "MessageSender", |
8 "type": "object", | 8 "type": "object", |
9 "description": "An object containing information about the script contex
t that sent a message or request.", | 9 "description": "An object containing information about the script contex
t that sent a message or request.", |
10 "properties": { | 10 "properties": { |
(...skipping 3013 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3024 {"type": "string", "name": "message"} | 3024 {"type": "string", "name": "message"} |
3025 ] | 3025 ] |
3026 }, | 3026 }, |
3027 { | 3027 { |
3028 "name": "createIncognitoTab", | 3028 "name": "createIncognitoTab", |
3029 "type": "function", | 3029 "type": "function", |
3030 "description": "Creates an incognito tab during internal testing. Succee
ds even if the extension is not enabled in incognito mode.", | 3030 "description": "Creates an incognito tab during internal testing. Succee
ds even if the extension is not enabled in incognito mode.", |
3031 "parameters": [ | 3031 "parameters": [ |
3032 {"type": "string", "name": "url"} | 3032 {"type": "string", "name": "url"} |
3033 ] | 3033 ] |
| 3034 }, |
| 3035 { |
| 3036 "name": "sendMessage", |
| 3037 "type": "function", |
| 3038 "description": "Sends a string message to the browser process, generatin
g a Notification that C++ test code can wait for.", |
| 3039 "parameters": [ |
| 3040 {"type": "string", "name": "message"} |
| 3041 ] |
3034 } | 3042 } |
3035 ], | 3043 ], |
3036 "events": [ | 3044 "events": [ |
3037 { | 3045 { |
3038 "name": "onMessage", | 3046 "name": "onMessage", |
3039 "type": "function", | 3047 "type": "function", |
3040 "unprivileged": true, | 3048 "unprivileged": true, |
3041 "description": "Used to test sending messages to extensions.", | 3049 "description": "Used to test sending messages to extensions.", |
3042 "parameters": [ | 3050 "parameters": [ |
3043 { | 3051 { |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3211 { | 3219 { |
3212 "name": "onInputCancelled", | 3220 "name": "onInputCancelled", |
3213 "perExtensionEvent": true, | 3221 "perExtensionEvent": true, |
3214 "type": "function", | 3222 "type": "function", |
3215 "description": "User has ended the keyword input session without accepti
ng the input.", | 3223 "description": "User has ended the keyword input session without accepti
ng the input.", |
3216 "parameters": [] | 3224 "parameters": [] |
3217 } | 3225 } |
3218 ] | 3226 ] |
3219 } | 3227 } |
3220 ] | 3228 ] |
OLD | NEW |