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 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
645 "parameters": [ | 645 "parameters": [ |
646 { | 646 { |
647 "name": "allowed", | 647 "name": "allowed", |
648 "type": "boolean" | 648 "type": "boolean" |
649 } | 649 } |
650 ] | 650 ] |
651 } | 651 } |
652 ] | 652 ] |
653 }, | 653 }, |
654 { | 654 { |
| 655 "name": "navigate", |
| 656 "type": "function", |
| 657 "parameters": [ |
| 658 { |
| 659 "type": "integer", |
| 660 "name": "instanceId" |
| 661 }, |
| 662 { |
| 663 "type": "string", |
| 664 "name": "src" |
| 665 } |
| 666 ] |
| 667 }, |
| 668 { |
655 "name": "showContextMenu", | 669 "name": "showContextMenu", |
656 "type": "function", | 670 "type": "function", |
657 "parameters": [ | 671 "parameters": [ |
658 { | 672 { |
659 "type": "integer", | 673 "type": "integer", |
660 "name": "instanceId", | 674 "name": "instanceId", |
661 "description": "The instance ID of the guest <webview> process
. This not exposed to developers through the API." | 675 "description": "The instance ID of the guest <webview> process
. This not exposed to developers through the API." |
662 }, | 676 }, |
663 { | 677 { |
664 "type": "integer", | 678 "type": "integer", |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
698 "events": [ | 712 "events": [ |
699 { | 713 { |
700 "name": "onClicked", | 714 "name": "onClicked", |
701 "type": "function", | 715 "type": "function", |
702 "nodoc": true, | 716 "nodoc": true, |
703 "$ref": "contextMenusInternal.onClicked" | 717 "$ref": "contextMenusInternal.onClicked" |
704 } | 718 } |
705 ] | 719 ] |
706 } | 720 } |
707 ] | 721 ] |
OLD | NEW |