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

Side by Side Diff: third_party/chrome/idl/web_request_internal.json

Issue 12261015: Import chrome idl into third_party (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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
(Empty)
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
3 // found in the LICENSE file.
4
5 [
6 {
7 "namespace": "webRequestInternal",
8 "dependencies": ["webRequest"],
9 "nodoc": true,
10 "internal": true,
11 "functions": [
12 {
13 "name": "addEventListener",
14 "type": "function",
15 "description": "Used internally to implement the special form of addList ener for the webRequest events.",
16 "parameters": [
17 {"type": "function", "name": "callback"},
18 {
19 "$ref": "webRequest.RequestFilter",
20 "name": "filter",
21 "description": "A set of filters that restricts the events that will be sent to this listener."
22 },
23 {
24 "type": "array",
25 "optional": true,
26 "name": "extraInfoSpec",
27 "description": "Array of extra information that should be passed to the listener function.",
28 "items": {
29 "type": "string",
30 "enum": ["requestHeaders", "responseHeaders", "blocking", "asyncBl ocking", "requestBody"]
31 }
32 },
33 {"type": "string", "name": "eventName"},
34 {"type": "string", "name": "subEventName"}
35 ]
36 },
37 {
38 "name": "eventHandled",
39 "type": "function",
40 "description": "Used internally to send a response for a blocked event." ,
41 "parameters": [
42 {"type": "string", "name": "eventName"},
43 {"type": "string", "name": "subEventName"},
44 {"type": "string", "name": "requestId"},
45 {
46 "$ref": "webRequest.BlockingResponse",
47 "optional": true,
48 "name": "response"
49 }
50 ]
51 }
52 ]
53 }
54 ]
OLDNEW
« no previous file with comments | « third_party/chrome/idl/web_request.json ('k') | third_party/chrome/idl/web_socket_proxy_private.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698