Index: chrome/common/extensions/api/extension_api.json |
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json |
index c387aaaf51ae5f598c491b1b83f81b48c6826d11..c6094b6020d96b554ced8403e8dab57df1347fc2 100644 |
--- a/chrome/common/extensions/api/extension_api.json |
+++ b/chrome/common/extensions/api/extension_api.json |
@@ -3015,5 +3015,72 @@ |
} |
], |
"events": [] |
+ }, |
+ { |
+ "namespace": "experimental.omnibox", |
+ "types": [], |
+ "functions": [ |
+ { |
+ "name": "sendSuggestions", |
+ "nodoc": true, |
+ "type": "function", |
+ "description": "", |
+ "parameters": [ |
+ {"type": "integer", "name": "requestId"}, |
+ { |
+ "type": "array", |
+ "description": "Array of suggest results", |
+ "items": { |
+ "type": "object", |
+ "properties": { |
+ "content": {"type": "string"}, |
+ "description": {"type": "string"} |
+ } |
+ } |
+ } |
+ ] |
+ } |
+ ], |
+ "events": [ |
+ { |
+ "name": "onInputChanged", |
+ "type": "function", |
+ "description": "User has changed what is typed into the omnibox.", |
+ "parameters": [ |
+ { |
+ "type": "string", |
+ "name": "text" |
+ }, |
+ { |
+ "type": "function", |
+ "name": "suggest", |
+ "parameters": [ |
+ { |
+ "type": "array", |
+ "description": "Array of suggest results", |
+ "items": { |
+ "type": "object", |
+ "properties": { |
+ "content": {"type": "string"}, |
+ "description": {"type": "string"} |
+ } |
+ } |
+ } |
+ ] |
+ } |
+ ] |
+ }, |
+ { |
+ "name": "onInputEntered", |
+ "type": "function", |
+ "description": "User has accepted what is typed into the omnibox.", |
+ "parameters": [ |
+ { |
+ "type": "string", |
+ "name": "text" |
+ } |
+ ] |
+ } |
+ ] |
} |
] |