| 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 12 matching lines...) Expand all Loading... |
| 352 "name": "insertCSS", | 357 "name": "insertCSS", |
| 353 "type": "function", | 358 "type": "function", |
| 354 "description": "Injects JavaScript code into a <webview> page.", | 359 "description": "Injects JavaScript code into a <webview> page.", |
| 355 "parameters": [ | 360 "parameters": [ |
| 356 { | 361 { |
| 357 "type": "integer", | 362 "type": "integer", |
| 358 "name": "instanceId", | 363 "name": "instanceId", |
| 359 "description": "The instance ID of the guest <webview> process." | 364 "description": "The instance ID of the guest <webview> process." |
| 360 }, | 365 }, |
| 361 { | 366 { |
| 367 "type": "string", |
| 368 "name": "src", |
| 369 "description": "The src of the guest <webview> process." |
| 370 }, |
| 371 { |
| 362 "$ref": "tabs.InjectDetails", | 372 "$ref": "tabs.InjectDetails", |
| 363 "name": "details", | 373 "name": "details", |
| 364 "description": "Details of the script to run." | 374 "description": "Details of the script to run." |
| 365 }, | 375 }, |
| 366 { | 376 { |
| 367 "type": "function", | 377 "type": "function", |
| 368 "name": "callback", | 378 "name": "callback", |
| 369 "optional": true, | 379 "optional": true, |
| 370 "description": "Called after all the JavaScript has been executed.", | 380 "description": "Called after all the JavaScript has been executed.", |
| 371 "parameters": [ | 381 "parameters": [ |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 { | 654 { |
| 645 "name": "onClicked", | 655 "name": "onClicked", |
| 646 "type": "function", | 656 "type": "function", |
| 647 "nodoc": true, | 657 "nodoc": true, |
| 648 "$ref": "contextMenusInternal.onClicked" | 658 "$ref": "contextMenusInternal.onClicked" |
| 649 } | 659 } |
| 650 ] | 660 ] |
| 651 } | 661 } |
| 652 ] | 662 ] |
| 653 | 663 |
| OLD | NEW |