| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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": "webViewInternal", | 7 "namespace": "webViewInternal", |
| 8 "description": "none", | 8 "description": "none", |
| 9 "compiler_options": { | 9 "compiler_options": { |
| 10 "implemented_in": "chrome/browser/extensions/api/web_view/web_view_interna
l_api.h" | 10 "implemented_in": "chrome/browser/extensions/api/web_view/web_view_interna
l_api.h" |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 "checked": { | 117 "checked": { |
| 118 "type": "boolean", | 118 "type": "boolean", |
| 119 "optional": true, | 119 "optional": true, |
| 120 "description": "The initial state of a checkbox or radio item: t
rue for selected and false for unselected. Only one radio item can be selected a
t a time in a given group of radio items." | 120 "description": "The initial state of a checkbox or radio item: t
rue for selected and false for unselected. Only one radio item can be selected a
t a time in a given group of radio items." |
| 121 }, | 121 }, |
| 122 "contexts": { | 122 "contexts": { |
| 123 "type": "array", | 123 "type": "array", |
| 124 "items": { | 124 "items": { |
| 125 "type": "string", | 125 "type": "string", |
| 126 // |launcher| isn't actually supported, this is listed here so
that we can build |contexts| using the same code from chrome.contextMenus API. | 126 // |launcher| isn't actually supported, this is listed here so
that we can build |contexts| using the same code from chrome.contextMenus API. |
| 127 "enum": ["all", "page", "frame", "selection", "link", "editabl
e", "image", "video", "audio", "launcher", "browser_action", "page_action"] | 127 "enum": ["all", "page", "frame", "selection", "link", "editabl
e", "image", "video", "audio", "launcher"] |
| 128 }, | 128 }, |
| 129 "minItems": 1, | 129 "minItems": 1, |
| 130 "optional": true, | 130 "optional": true, |
| 131 "description": "List of contexts this menu item will appear in.
Defaults to ['page'] if not specified. Specifying ['all'] is equivalent to the c
ombination of all other contexts except for 'launcher'. The 'launcher' context i
s not supported for <webview>." | 131 "description": "List of contexts this menu item will appear in.
Defaults to ['page'] if not specified. Specifying ['all'] is equivalent to the c
ombination of all other contexts except for 'launcher'. The 'launcher' context i
s not supported for <webview>." |
| 132 }, | 132 }, |
| 133 "onclick": { | 133 "onclick": { |
| 134 "type": "function", | 134 "type": "function", |
| 135 "optional": true, | 135 "optional": true, |
| 136 "description": "A function that will be called back when the men
u item is clicked.", | 136 "description": "A function that will be called back when the men
u item is clicked.", |
| 137 "parameters": [ | 137 "parameters": [ |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 }, | 211 }, |
| 212 "checked": { | 212 "checked": { |
| 213 "type": "boolean", | 213 "type": "boolean", |
| 214 "optional": true | 214 "optional": true |
| 215 }, | 215 }, |
| 216 "contexts": { | 216 "contexts": { |
| 217 "type": "array", | 217 "type": "array", |
| 218 "items": { | 218 "items": { |
| 219 "type": "string", | 219 "type": "string", |
| 220 // |launcher| isn't actually supported, this is listed here so
that we can build |contexts| using the same code from chrome.contextMenus API. | 220 // |launcher| isn't actually supported, this is listed here so
that we can build |contexts| using the same code from chrome.contextMenus API. |
| 221 "enum": ["all", "page", "frame", "selection", "link", "editabl
e", "image", "video", "audio", "launcher", "browser_action", "page_action"] | 221 "enum": ["all", "page", "frame", "selection", "link", "editabl
e", "image", "video", "audio", "launcher"] |
| 222 }, | 222 }, |
| 223 "minItems": 1, | 223 "minItems": 1, |
| 224 "optional": true, | 224 "optional": true, |
| 225 "description": "List of contexts this menu item will appear in.
Defaults to ['page'] if not specified. Specifying ['all'] is equivalent to the c
ombination of all other contexts except for 'launcher'. The 'launcher' context i
s not supported for <webview>." | 225 "description": "List of contexts this menu item will appear in.
Defaults to ['page'] if not specified. Specifying ['all'] is equivalent to the c
ombination of all other contexts except for 'launcher'. The 'launcher' context i
s not supported for <webview>." |
| 226 }, | 226 }, |
| 227 "onclick": { | 227 "onclick": { |
| 228 "type": "function", | 228 "type": "function", |
| 229 "optional": true | 229 "optional": true |
| 230 }, | 230 }, |
| 231 "parentId": { | 231 "parentId": { |
| (...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 715 "events": [ | 715 "events": [ |
| 716 { | 716 { |
| 717 "name": "onClicked", | 717 "name": "onClicked", |
| 718 "type": "function", | 718 "type": "function", |
| 719 "nodoc": true, | 719 "nodoc": true, |
| 720 "$ref": "contextMenusInternal.onClicked" | 720 "$ref": "contextMenusInternal.onClicked" |
| 721 } | 721 } |
| 722 ] | 722 ] |
| 723 } | 723 } |
| 724 ] | 724 ] |
| OLD | NEW |