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

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

Issue 12522004: Lazily load extension API schemas (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 9 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/common/extensions/api/webstore.json ('k') | chrome/common/extensions/api/windows.json » ('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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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": "webview", 7 "namespace": "webview",
8 "nodoc": true, 8 "nodoc": true,
9 "dependencies": [ "extension", "tabs" ],
10 "types": [ 9 "types": [
11 // TODO(fsamuel): We should be usng tabs.InjectDetails. However, due to a 10 // TODO(fsamuel): We should be usng tabs.InjectDetails. However, due to a
12 // bug in the JSON compiler, we are currently copying-and-pasting this 11 // bug in the JSON compiler, we are currently copying-and-pasting this
13 // type: https://crbug.com/171726. 12 // type: https://crbug.com/171726.
14 { 13 {
15 "id": "InjectDetails", 14 "id": "InjectDetails",
16 "type": "object", 15 "type": "object",
17 "description": "Details of the script or CSS to inject. Either the code or the file property must be set, but both may not be set at the same time.", 16 "description": "Details of the script or CSS to inject. Either the code or the file property must be set, but both may not be set at the same time.",
18 "properties": { 17 "properties": {
19 "code": {"type": "string", "optional": true, "description": "JavaScrip t or CSS code to inject."}, 18 "code": {"type": "string", "optional": true, "description": "JavaScrip t or CSS code to inject."},
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 "description": "The result of the script in every injected frame ." 62 "description": "The result of the script in every injected frame ."
64 } 63 }
65 ] 64 ]
66 } 65 }
67 ] 66 ]
68 } 67 }
69 ] 68 ]
70 } 69 }
71 ] 70 ]
72 71
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/webstore.json ('k') | chrome/common/extensions/api/windows.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698