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

Side by Side Diff: chrome/common/extensions/api/web_request_internal.json

Issue 12189018: <webview>: Implement WebRequest API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Profile* => void* Created 7 years, 7 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
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/common/extensions/permissions/permission_set.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 ]
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/common/extensions/permissions/permission_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698