summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/browserAction.html
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions/docs/browserAction.html')
-rw-r--r--chrome/common/extensions/docs/browserAction.html13
1 files changed, 9 insertions, 4 deletions
diff --git a/chrome/common/extensions/docs/browserAction.html b/chrome/common/extensions/docs/browserAction.html
index 6401dfc..0cbbf75 100644
--- a/chrome/common/extensions/docs/browserAction.html
+++ b/chrome/common/extensions/docs/browserAction.html
@@ -319,10 +319,15 @@ Register your browser action in the
like this:
</p>
-<pre>"browser_action": {
- "default_icon": "images/icon19.png", <em>// <b>required</b></em>
- "default_title": "Google Mail", <em>// optional; shown in tooltip</em>
- "popup": "popup.html" <em>// optional</em>
+<pre>{
+ "name": "My extension",
+ ...
+ <b>"browser_action": {
+ "default_icon": "images/icon19.png", <em>// <b>required</b></em>
+ "default_title": "Google Mail", <em>// optional; shown in tooltip</em>
+ "popup": "popup.html" <em>// optional</em>
+ }</b>,
+ ...
}</pre>
<h2 id="ui">Parts of the UI</h2>