2 <img src="{{static}}/images/omnibox.png" width="300" height="150"
3 alt="A screenshot showing suggestions related to the keyword 'Chromium Search'"/>
7 When the user enters your extension's
8 keyword, the user starts
9 interacting solely with your extension.
10 Each keystroke is sent to your
11 extension, and you can provide suggestions
16 The suggestions can be richly formatted
20 a suggestion, your extension is notified
24 <h2 id="manifest">Manifest</h2>
27 You must include an <code>omnibox</code> <code>keyword</code> field
28 in the <a href="manifest.html">manifest</a>
29 to use the omnibox API.
31 specify a 16x16-pixel icon, which will be
32 displayed in the address bar when suggesting that users
40 <pre data-filename="manifest.json">
42 "name": "Aaron's omnibox extension",
44 <b>"omnibox": { "keyword" : "aaron" },</b>
46 <b>"16": "16-full-color.png"</b>
50 "scripts": ["background.js"]
56 <strong>Note:</strong>
57 Chrome automatically creates a grayscale version of
58 your 16x16-pixel icon. You should provide
59 a full-color version so that it can also be
60 used in other situations that require color.
61 For example, the <a href="contextMenus.html"
62 >context menus API</a> also uses a 16x16-pixel
63 icon, but it is displayed in color.
67 <h2 id="examples">Examples</h2>
70 You can find samples of this API on the
71 <a href="samples.html#omnibox">sample page</a>.