Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Side by Side Diff: chrome/common/extensions/api/webview.json

Issue 299753011: Move allocate instance id to chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: refactor one method, Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 642 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 "parameters": [ 653 "parameters": [
654 { 654 {
655 "name": "allowed", 655 "name": "allowed",
656 "type": "boolean" 656 "type": "boolean"
657 } 657 }
658 ] 658 ]
659 } 659 }
660 ] 660 ]
661 }, 661 },
662 { 662 {
663 "name": "navigate",
664 "type": "function",
665 "parameters": [
666 {
667 "type": "integer",
668 "name": "instanceId"
669 },
670 {
671 "type": "string",
672 "name": "src"
673 }
674 ]
675 },
676 {
677 "name": "allocateInstanceId",
678 "type": "function",
679 "parameters": [
680 {
681 "name": "api",
682 "type": "string"
683 },
684 {
685 "name": "viewInstanceId",
686 "type": "integer"
687 },
688 {
689 "type": "function",
690 "name": "callback",
691 "parameters": [
692 {
693 "type": "integer",
694 "name": "instanceId"
695 }
696 ]
697 }
698 ]
699 },
700 {
663 "name": "showContextMenu", 701 "name": "showContextMenu",
664 "type": "function", 702 "type": "function",
665 "parameters": [ 703 "parameters": [
666 { 704 {
667 "type": "integer", 705 "type": "integer",
668 "name": "instanceId", 706 "name": "instanceId",
669 "description": "The instance ID of the guest <webview> process . This not exposed to developers through the API." 707 "description": "The instance ID of the guest <webview> process . This not exposed to developers through the API."
670 }, 708 },
671 { 709 {
672 "type": "integer", 710 "type": "integer",
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
707 { 745 {
708 "name": "onClicked", 746 "name": "onClicked",
709 "type": "function", 747 "type": "function",
710 "nodoc": true, 748 "nodoc": true,
711 "$ref": "contextMenusInternal.onClicked" 749 "$ref": "contextMenusInternal.onClicked"
712 } 750 }
713 ] 751 ]
714 } 752 }
715 ] 753 ]
716 754
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698