diff options
Diffstat (limited to 'chrome/common/extensions/docs/examples/api/omnibox/simple-example/background.html')
-rw-r--r-- | chrome/common/extensions/docs/examples/api/omnibox/simple-example/background.html | 4 |
1 files changed, 2 insertions, 2 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 + '"'); |