| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "namespace": "extension", | 3 "namespace": "extension", |
| 4 "unprivileged": true, | 4 "unprivileged": true, |
| 5 "types": [ | 5 "types": [ |
| 6 { | 6 { |
| 7 "id": "MessageSender", | 7 "id": "MessageSender", |
| 8 "type": "object", | 8 "type": "object", |
| 9 "description": "An object containing information about the script contex
t that sent a message or request.", | 9 "description": "An object containing information about the script contex
t that sent a message or request.", |
| 10 "properties": { | 10 "properties": { |
| (...skipping 1328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1339 "description": "The html file to show in a popup. If set to the
empty string (''), no popup is shown." | 1339 "description": "The html file to show in a popup. If set to the
empty string (''), no popup is shown." |
| 1340 } | 1340 } |
| 1341 } | 1341 } |
| 1342 } | 1342 } |
| 1343 ] | 1343 ] |
| 1344 } | 1344 } |
| 1345 ], | 1345 ], |
| 1346 "events": [ | 1346 "events": [ |
| 1347 { | 1347 { |
| 1348 "name": "onClicked", | 1348 "name": "onClicked", |
| 1349 "perExtensionEvent": true, |
| 1349 "type": "function", | 1350 "type": "function", |
| 1350 "description": "Fired when a page action icon is clicked. This event wi
ll not fire if the page action has a popup.", | 1351 "description": "Fired when a page action icon is clicked. This event wi
ll not fire if the page action has a popup.", |
| 1351 "parameters": [ | 1352 "parameters": [ |
| 1352 { | 1353 { |
| 1353 "name": "tab", | 1354 "name": "tab", |
| 1354 "$ref": "Tab" | 1355 "$ref": "Tab" |
| 1355 } | 1356 } |
| 1356 ] | 1357 ] |
| 1357 } | 1358 } |
| 1358 ] | 1359 ] |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1486 "description": "Limits the change to when a particular tab is se
lected. Automatically resets when the tab is closed." | 1487 "description": "Limits the change to when a particular tab is se
lected. Automatically resets when the tab is closed." |
| 1487 } | 1488 } |
| 1488 } | 1489 } |
| 1489 } | 1490 } |
| 1490 ] | 1491 ] |
| 1491 } | 1492 } |
| 1492 ], | 1493 ], |
| 1493 "events": [ | 1494 "events": [ |
| 1494 { | 1495 { |
| 1495 "name": "onClicked", | 1496 "name": "onClicked", |
| 1497 "perExtensionEvent": true, |
| 1496 "type": "function", | 1498 "type": "function", |
| 1497 "description": "Fired when a browser action icon is clicked. This event
will not fire if the browser action has a popup.", | 1499 "description": "Fired when a browser action icon is clicked. This event
will not fire if the browser action has a popup.", |
| 1498 "parameters": [ | 1500 "parameters": [ |
| 1499 { | 1501 { |
| 1500 "name": "tab", | 1502 "name": "tab", |
| 1501 "$ref": "Tab" | 1503 "$ref": "Tab" |
| 1502 } | 1504 } |
| 1503 ] | 1505 ] |
| 1504 } | 1506 } |
| 1505 ] | 1507 ] |
| (...skipping 1619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3125 }, | 3127 }, |
| 3126 { | 3128 { |
| 3127 "name": "styleDim", | 3129 "name": "styleDim", |
| 3128 "type": "function", | 3130 "type": "function", |
| 3129 "description": "Constructor for the descriptionStyles parameter of the s
uggest callback. This style designates a region of dim helper text.", | 3131 "description": "Constructor for the descriptionStyles parameter of the s
uggest callback. This style designates a region of dim helper text.", |
| 3130 "parameters": [ {"type": "integer", "name": "offset", "minimum": 0} ] | 3132 "parameters": [ {"type": "integer", "name": "offset", "minimum": 0} ] |
| 3131 } | 3133 } |
| 3132 ], | 3134 ], |
| 3133 "events": [ | 3135 "events": [ |
| 3134 { | 3136 { |
| 3137 "name": "onInputStarted", |
| 3138 "perExtensionEvent": true, |
| 3139 "type": "function", |
| 3140 "description": "User has started a keyword input session by typing the e
xtension's keyword. This is guaranteed to be sent exactly once per input session
, and before any onInputChanged events.", |
| 3141 "parameters": [] |
| 3142 }, |
| 3143 { |
| 3135 "name": "onInputChanged", | 3144 "name": "onInputChanged", |
| 3145 "perExtensionEvent": true, |
| 3136 "type": "function", | 3146 "type": "function", |
| 3137 "description": "User has changed what is typed into the omnibox.", | 3147 "description": "User has changed what is typed into the omnibox.", |
| 3138 "parameters": [ | 3148 "parameters": [ |
| 3139 { | 3149 { |
| 3140 "type": "string", | 3150 "type": "string", |
| 3141 "name": "text" | 3151 "name": "text" |
| 3142 }, | 3152 }, |
| 3143 { | 3153 { |
| 3144 "name": "suggest", | 3154 "name": "suggest", |
| 3145 "type": "function", | 3155 "type": "function", |
| 3146 "description": "A callback passed to the onInputChanged event used f
or sending suggestions back to the browser.", | 3156 "description": "A callback passed to the onInputChanged event used f
or sending suggestions back to the browser.", |
| 3147 "parameters": [ | 3157 "parameters": [ |
| 3148 {"type": "integer", "name": "requestId"}, | 3158 {"type": "integer", "name": "requestId"}, |
| 3149 { | 3159 { |
| 3150 "type": "array", | 3160 "type": "array", |
| 3151 "description": "Array of suggest results", | 3161 "description": "Array of suggest results", |
| 3152 "items": { | 3162 "items": { |
| 3153 "$ref": "SuggestResult" | 3163 "$ref": "SuggestResult" |
| 3154 } | 3164 } |
| 3155 } | 3165 } |
| 3156 ] | 3166 ] |
| 3157 } | 3167 } |
| 3158 ] | 3168 ] |
| 3159 }, | 3169 }, |
| 3160 { | 3170 { |
| 3161 "name": "onInputEntered", | 3171 "name": "onInputEntered", |
| 3172 "perExtensionEvent": true, |
| 3162 "type": "function", | 3173 "type": "function", |
| 3163 "description": "User has accepted what is typed into the omnibox.", | 3174 "description": "User has accepted what is typed into the omnibox.", |
| 3164 "parameters": [ | 3175 "parameters": [ |
| 3165 { | 3176 { |
| 3166 "type": "string", | 3177 "type": "string", |
| 3167 "name": "text" | 3178 "name": "text" |
| 3168 } | 3179 } |
| 3169 ] | 3180 ] |
| 3181 }, |
| 3182 { |
| 3183 "name": "onInputCancelled", |
| 3184 "perExtensionEvent": true, |
| 3185 "type": "function", |
| 3186 "description": "User has ended the keyword input session without accepti
ng the input.", |
| 3187 "parameters": [] |
| 3170 } | 3188 } |
| 3171 ] | 3189 ] |
| 3172 } | 3190 } |
| 3173 ] | 3191 ] |
| OLD | NEW |