OLD | NEW |
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 "description": "none", | 8 "description": "none", |
9 "dependencies": ["contextMenusInternal"], | 9 "dependencies": ["contextMenusInternal"], |
10 "types": [ | 10 "types": [ |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 { "type": "integer" }, | 144 { "type": "integer" }, |
145 { "type": "string" } | 145 { "type": "string" } |
146 ], | 146 ], |
147 "optional": true, | 147 "optional": true, |
148 "description": "The ID of a parent menu item; this makes the ite
m a child of a previously added item." | 148 "description": "The ID of a parent menu item; this makes the ite
m a child of a previously added item." |
149 }, | 149 }, |
150 "documentUrlPatterns": { | 150 "documentUrlPatterns": { |
151 "type": "array", | 151 "type": "array", |
152 "items": {"type": "string"}, | 152 "items": {"type": "string"}, |
153 "optional": true, | 153 "optional": true, |
154 "description": "Lets you restrict the item to apply only to docu
ments whose URL matches one of the given patterns. (This applies to frames as we
ll.) For details on the format of a pattern, see <a href='match_patterns.html'>M
atch Patterns</a>." | 154 "description": "Lets you restrict the item to apply only to docu
ments whose URL matches one of the given patterns. (This applies to frames as we
ll.) For details on the format of a pattern, see <a href='match_patterns'>Match
Patterns</a>." |
155 }, | 155 }, |
156 "targetUrlPatterns": { | 156 "targetUrlPatterns": { |
157 "type": "array", | 157 "type": "array", |
158 "items": {"type": "string"}, | 158 "items": {"type": "string"}, |
159 "optional": true, | 159 "optional": true, |
160 "description": "Similar to documentUrlPatterns, but lets you fil
ter based on the src attribute of img/audio/video tags and the href of anchor ta
gs." | 160 "description": "Similar to documentUrlPatterns, but lets you fil
ter based on the src attribute of img/audio/video tags and the href of anchor ta
gs." |
161 }, | 161 }, |
162 "enabled": { | 162 "enabled": { |
163 "type": "boolean", | 163 "type": "boolean", |
164 "optional": true, | 164 "optional": true, |
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
693 { | 693 { |
694 "name": "onClicked", | 694 "name": "onClicked", |
695 "type": "function", | 695 "type": "function", |
696 "nodoc": true, | 696 "nodoc": true, |
697 "$ref": "contextMenusInternal.onClicked" | 697 "$ref": "contextMenusInternal.onClicked" |
698 } | 698 } |
699 ] | 699 ] |
700 } | 700 } |
701 ] | 701 ] |
702 | 702 |
OLD | NEW |