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

Unified Diff: chrome/common/extensions/api/extension_api.json

Issue 2807033: Add support for omnibox.onInputStarted and onInputCancelled. (Closed)
Patch Set: fix Stop 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 side-by-side diff with in-line comments
Download patch
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 ca7ed2a43490e6d9b4418990ab9889e998369767..9fe34cfd0f74d464d985c5ff543e9c402aa3345f 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -1346,6 +1346,7 @@
"events": [
{
"name": "onClicked",
+ "perExtensionEvent": true,
"type": "function",
"description": "Fired when a page action icon is clicked. This event will not fire if the page action has a popup.",
"parameters": [
@@ -1493,6 +1494,7 @@
"events": [
{
"name": "onClicked",
+ "perExtensionEvent": true,
"type": "function",
"description": "Fired when a browser action icon is clicked. This event will not fire if the browser action has a popup.",
"parameters": [
@@ -3132,7 +3134,15 @@
],
"events": [
{
+ "name": "onInputStarted",
+ "perExtensionEvent": true,
+ "type": "function",
+ "description": "User has started a keyword input session by typing the extension's keyword. This is guaranteed to be sent exactly once per input session, and before any onInputChanged events.",
+ "parameters": []
+ },
+ {
"name": "onInputChanged",
+ "perExtensionEvent": true,
"type": "function",
"description": "User has changed what is typed into the omnibox.",
"parameters": [
@@ -3159,6 +3169,7 @@
},
{
"name": "onInputEntered",
+ "perExtensionEvent": true,
"type": "function",
"description": "User has accepted what is typed into the omnibox.",
"parameters": [
@@ -3167,6 +3178,13 @@
"name": "text"
}
]
+ },
+ {
+ "name": "onInputCancelled",
+ "perExtensionEvent": true,
+ "type": "function",
+ "description": "User has ended the keyword input session without accepting the input.",
+ "parameters": []
}
]
}
« no previous file with comments | « chrome/browser/search_engines/template_url_model.cc ('k') | chrome/common/extensions/docs/experimental.omnibox.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698