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": "webRequestInternal", | 7 "namespace": "webRequestInternal", |
8 "nodoc": true, | 8 "nodoc": true, |
9 "functions": [ | 9 "functions": [ |
10 { | 10 { |
(...skipping 11 matching lines...) Expand all Loading... |
22 "type": "array", | 22 "type": "array", |
23 "optional": true, | 23 "optional": true, |
24 "name": "extraInfoSpec", | 24 "name": "extraInfoSpec", |
25 "description": "Array of extra information that should be passed to
the listener function.", | 25 "description": "Array of extra information that should be passed to
the listener function.", |
26 "items": { | 26 "items": { |
27 "type": "string", | 27 "type": "string", |
28 "enum": ["requestHeaders", "responseHeaders", "blocking", "asyncBl
ocking", "requestBody"] | 28 "enum": ["requestHeaders", "responseHeaders", "blocking", "asyncBl
ocking", "requestBody"] |
29 } | 29 } |
30 }, | 30 }, |
31 {"type": "string", "name": "eventName"}, | 31 {"type": "string", "name": "eventName"}, |
32 {"type": "string", "name": "subEventName"} | 32 {"type": "string", "name": "subEventName"}, |
| 33 {"type": "integer", "name": "webViewInstanceId"} |
33 ] | 34 ] |
34 }, | 35 }, |
35 { | 36 { |
36 "name": "eventHandled", | 37 "name": "eventHandled", |
37 "type": "function", | 38 "type": "function", |
38 "description": "Used internally to send a response for a blocked event."
, | 39 "description": "Used internally to send a response for a blocked event."
, |
39 "parameters": [ | 40 "parameters": [ |
40 {"type": "string", "name": "eventName"}, | 41 {"type": "string", "name": "eventName"}, |
41 {"type": "string", "name": "subEventName"}, | 42 {"type": "string", "name": "subEventName"}, |
42 {"type": "string", "name": "requestId"}, | 43 {"type": "string", "name": "requestId"}, |
43 { | 44 { |
44 "$ref": "webRequest.BlockingResponse", | 45 "$ref": "webRequest.BlockingResponse", |
45 "optional": true, | 46 "optional": true, |
46 "name": "response" | 47 "name": "response" |
47 } | 48 } |
48 ] | 49 ] |
49 } | 50 } |
50 ] | 51 ] |
51 } | 52 } |
52 ] | 53 ] |
OLD | NEW |