diff options
Diffstat (limited to 'chrome/common/extensions/docs/examples/api/omnibox/simple-example')
-rw-r--r-- | chrome/common/extensions/docs/examples/api/omnibox/simple-example/background.html | 4 | ||||
-rw-r--r-- | chrome/common/extensions/docs/examples/api/omnibox/simple-example/manifest.json | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/chrome/common/extensions/docs/examples/api/omnibox/simple-example/background.html b/chrome/common/extensions/docs/examples/api/omnibox/simple-example/background.html index ff83ff2..77868d6 100644 --- a/chrome/common/extensions/docs/examples/api/omnibox/simple-example/background.html +++ b/chrome/common/extensions/docs/examples/api/omnibox/simple-example/background.html @@ -1,7 +1,7 @@ <script> // This event is fired each time the user updates the text in the omnibox, // as long as the extension's keyword mode is still active. -chrome.experimental.omnibox.onInputChanged.addListener( +chrome.omnibox.onInputChanged.addListener( function(text, suggest) { console.log('inputChanged: ' + text); suggest([ @@ -11,7 +11,7 @@ chrome.experimental.omnibox.onInputChanged.addListener( }); // This event is fired with the user accepts the input in the omnibox. -chrome.experimental.omnibox.onInputEntered.addListener( +chrome.omnibox.onInputEntered.addListener( function(text) { console.log('inputEntered: ' + text); alert('You just typed "' + text + '"'); diff --git a/chrome/common/extensions/docs/examples/api/omnibox/simple-example/manifest.json b/chrome/common/extensions/docs/examples/api/omnibox/simple-example/manifest.json index 41fdcb5..8f9c8a5 100644 --- a/chrome/common/extensions/docs/examples/api/omnibox/simple-example/manifest.json +++ b/chrome/common/extensions/docs/examples/api/omnibox/simple-example/manifest.json @@ -2,7 +2,6 @@ "name": "Omnibox Example", "description" : "To use, type 'omnix' plus a search term into the Omnibox.", "version": "1.0", - "permissions": [ "experimental" ], "background_page": "background.html", "omnibox": { "keyword" : "omnix" } } |