OLD | NEW |
1 <style> | 1 <style> |
2 #active-tab-images { | 2 #active-tab-images { |
3 margin-top: 1em; | 3 margin-top: 1em; |
4 } | 4 } |
5 #active-tab-images tr { | 5 #active-tab-images tr { |
6 vertical-align: top; | 6 vertical-align: top; |
7 } | 7 } |
8 #active-tab-images .spacing { | 8 #active-tab-images .spacing { |
9 width: 1em; | 9 width: 1em; |
10 } | 10 } |
(...skipping 24 matching lines...) Expand all Loading... |
35 <tr> | 35 <tr> |
36 <td><img id="active-tab-before" src="{{static}}/images/active-tab-before.png
"></td> | 36 <td><img id="active-tab-before" src="{{static}}/images/active-tab-before.png
"></td> |
37 <td class="spacing"></td> | 37 <td class="spacing"></td> |
38 <td><img id="active-tab-after" src="{{static}}/images/active-tab-after.png">
</td> | 38 <td><img id="active-tab-after" src="{{static}}/images/active-tab-after.png">
</td> |
39 </tr> | 39 </tr> |
40 </table> | 40 </table> |
41 | 41 |
42 <h2 id="example">Example</h2> | 42 <h2 id="example">Example</h2> |
43 | 43 |
44 <p> | 44 <p> |
45 See the <a href="samples.html#cb771f28a910d79a2fcfeb1c5be6983b">Page Redder</a>
sample extension: | 45 See the <a href="samples.html#page-redder">Page Redder</a> sample extension: |
46 </p> | 46 </p> |
47 | 47 |
48 <h3 id="manifest.json">manifest.json</h3> | 48 <h3 id="manifest.json">manifest.json</h3> |
49 <p> | 49 <p> |
50 <pre> | 50 <pre> |
51 { | 51 { |
52 "name": "Page Redder", | 52 "name": "Page Redder", |
53 "version": "2.0", | 53 "version": "2.0", |
54 <b>"permissions": [ | 54 <b>"permissions": [ |
55 "activeTab" | 55 "activeTab" |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 <p> | 110 <p> |
111 The following user gestures enable <code>activeTab</code>: | 111 The following user gestures enable <code>activeTab</code>: |
112 <ul> | 112 <ul> |
113 <li>Executing a <a href="browserAction.html">browser action</a> | 113 <li>Executing a <a href="browserAction.html">browser action</a> |
114 <li>Executing a <a href="pageAction.html">page action</a> | 114 <li>Executing a <a href="pageAction.html">page action</a> |
115 <li>Executing a <a href="contextMenus.html">context menu item</a> | 115 <li>Executing a <a href="contextMenus.html">context menu item</a> |
116 <li>Executing a keyboard shortcut from the <a href="commands.html">commands AP
I</a> | 116 <li>Executing a keyboard shortcut from the <a href="commands.html">commands AP
I</a> |
117 <li>Accepting a suggestion from the <a href="omnibox.html">omnibox API</a> | 117 <li>Accepting a suggestion from the <a href="omnibox.html">omnibox API</a> |
118 </ul> | 118 </ul> |
119 </p> | 119 </p> |
OLD | NEW |