OLD | NEW |
1 PK /}4@Æ% % | 1 PK /}4@Æ% % |
2 simple-example/background.js// Copyright (c) 2012 The Chromium Authors. All r
ights reserved. | 2 simple-example/background.js// Copyright (c) 2012 The Chromium Authors. All r
ights reserved. |
3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
5 | 5 |
6 // This event is fired each time the user updates the text in the omnibox, | 6 // This event is fired each time the user updates the text in the omnibox, |
7 // as long as the extension's keyword mode is still active. | 7 // as long as the extension's keyword mode is still active. |
8 chrome.omnibox.onInputChanged.addListener( | 8 chrome.omnibox.onInputChanged.addListener( |
9 function(text, suggest) { | 9 function(text, suggest) { |
10 console.log('inputChanged: ' + text); | 10 console.log('inputChanged: ' + text); |
(...skipping 16 matching lines...) Expand all Loading... |
27 "version": "1.1", | 27 "version": "1.1", |
28 "background": { | 28 "background": { |
29 "scripts": ["background.html"] | 29 "scripts": ["background.html"] |
30 }, | 30 }, |
31 "omnibox": { "keyword" : "omnix" }, | 31 "omnibox": { "keyword" : "omnix" }, |
32 "manifest_version": 2 | 32 "manifest_version": 2 |
33 } | 33 } |
34 PK /}4@Æ% % | 34 PK /}4@Æ% % |
35 simple-example/background.jsPK K?@³Rd»ü ü | 35 simple-example/background.jsPK K?@³Rd»ü ü |
36 ( _ simple-example/manifest.json9ade0d5265e48a28b9b3a4bcd8e3a956e90
a5d1fPK ¼ | 36 ( _ simple-example/manifest.json9ade0d5265e48a28b9b3a4bcd8e3a956e90
a5d1fPK ¼ |
OLD | NEW |