| 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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 "name": "executeScript", | 320 "name": "executeScript", |
| 321 "type": "function", | 321 "type": "function", |
| 322 "description": "Injects JavaScript code into a <webview> page.", | 322 "description": "Injects JavaScript code into a <webview> page.", |
| 323 "parameters": [ | 323 "parameters": [ |
| 324 { | 324 { |
| 325 "type": "integer", | 325 "type": "integer", |
| 326 "name": "instanceId", | 326 "name": "instanceId", |
| 327 "description": "The instance ID of the guest <webview> process." | 327 "description": "The instance ID of the guest <webview> process." |
| 328 }, | 328 }, |
| 329 { | 329 { |
| 330 "type": "string", |
| 331 "name": "src", |
| 332 "description": "The src of the guest <webview> process." |
| 333 }, |
| 334 { |
| 330 "$ref": "tabs.InjectDetails", | 335 "$ref": "tabs.InjectDetails", |
| 331 "name": "details", | 336 "name": "details", |
| 332 "description": "Details of the script to run." | 337 "description": "Details of the script to run." |
| 333 }, | 338 }, |
| 334 { | 339 { |
| 335 "type": "function", | 340 "type": "function", |
| 336 "name": "callback", | 341 "name": "callback", |
| 337 "optional": true, | 342 "optional": true, |
| 338 "description": "Called after all the JavaScript has been executed.", | 343 "description": "Called after all the JavaScript has been executed.", |
| 339 "parameters": [ | 344 "parameters": [ |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 { | 649 { |
| 645 "name": "onClicked", | 650 "name": "onClicked", |
| 646 "type": "function", | 651 "type": "function", |
| 647 "nodoc": true, | 652 "nodoc": true, |
| 648 "$ref": "contextMenusInternal.onClicked" | 653 "$ref": "contextMenusInternal.onClicked" |
| 649 } | 654 } |
| 650 ] | 655 ] |
| 651 } | 656 } |
| 652 ] | 657 ] |
| 653 | 658 |
| OLD | NEW |