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

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

Issue 2078021: First pass at experimental omnibox API. There are plenty of rough edges and (Closed)
Patch Set: no prefer_keyword Created 10 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 [ 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 2997 matching lines...) Expand 10 before | Expand all | Expand 10 after
3008 "name": "executePaste", 3008 "name": "executePaste",
3009 "type": "function", 3009 "type": "function",
3010 "description": "Triggers a paste operation in the specified tab.", 3010 "description": "Triggers a paste operation in the specified tab.",
3011 "parameters": [ 3011 "parameters": [
3012 {"type": "integer", "name": "tabId", "minimum": 0}, 3012 {"type": "integer", "name": "tabId", "minimum": 0},
3013 {"type": "function", "name": "callback", "optional": true, "parameters ": []} 3013 {"type": "function", "name": "callback", "optional": true, "parameters ": []}
3014 ] 3014 ]
3015 } 3015 }
3016 ], 3016 ],
3017 "events": [] 3017 "events": []
3018 },
3019 {
3020 "namespace": "experimental.omnibox",
3021 "types": [],
3022 "functions": [
3023 {
3024 "name": "sendSuggestions",
3025 "nodoc": true,
3026 "type": "function",
3027 "description": "",
3028 "parameters": [
3029 {"type": "integer", "name": "requestId"},
3030 {
3031 "type": "array",
3032 "description": "Array of suggest results",
3033 "items": {
3034 "type": "object",
3035 "properties": {
3036 "content": {"type": "string"},
3037 "description": {"type": "string"}
3038 }
3039 }
3040 }
3041 ]
3042 }
3043 ],
3044 "events": [
3045 {
3046 "name": "onInputChanged",
3047 "type": "function",
3048 "description": "User has changed what is typed into the omnibox.",
3049 "parameters": [
3050 {
3051 "type": "string",
3052 "name": "text"
3053 },
3054 {
3055 "type": "function",
3056 "name": "suggest",
3057 "parameters": [
3058 {
3059 "type": "array",
3060 "description": "Array of suggest results",
3061 "items": {
3062 "type": "object",
3063 "properties": {
3064 "content": {"type": "string"},
3065 "description": {"type": "string"}
3066 }
3067 }
3068 }
3069 ]
3070 }
3071 ]
3072 },
3073 {
3074 "name": "onInputEntered",
3075 "type": "function",
3076 "description": "User has accepted what is typed into the omnibox.",
3077 "parameters": [
3078 {
3079 "type": "string",
3080 "name": "text"
3081 }
3082 ]
3083 }
3084 ]
3018 } 3085 }
3019 ] 3086 ]
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/extensions/docs/examples/api/omnibox/background.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698