OLD | NEW |
1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: | 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: |
2 1) The <head> information in this page is significant, should be uniform | 2 1) The <head> information in this page is significant, should be uniform |
3 across api docs and should be edited only with knowledge of the | 3 across api docs and should be edited only with knowledge of the |
4 templating mechanism. | 4 templating mechanism. |
5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a | 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a |
6 browser, it will be re-generated from the template, json schema and | 6 browser, it will be re-generated from the template, json schema and |
7 authored overview content. | 7 authored overview content. |
8 4) The <body>.innerHTML is also generated by an offline step so that this | 8 4) The <body>.innerHTML is also generated by an offline step so that this |
9 page may easily be indexed by search engines. | 9 page may easily be indexed by search engines. |
10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> | 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 but they don't contain JavaScript or HTML code. | 227 but they don't contain JavaScript or HTML code. |
228 </p> | 228 </p> |
229 | 229 |
230 <p> | 230 <p> |
231 You can find and try a bunch of themes at the | 231 You can find and try a bunch of themes at the |
232 <a href="https://tools.google.com/chrome/intl/en/themes/">themes gallery</a>. | 232 <a href="https://tools.google.com/chrome/intl/en/themes/">themes gallery</a>. |
233 </p> | 233 </p> |
234 | 234 |
235 <a name="H2-0"></a><h2> Manifest </h2> | 235 <a name="H2-0"></a><h2> Manifest </h2> |
236 <p> | 236 <p> |
237 Here is an example <code>manifest.json</code> file for a theme: | 237 Here is an example |
| 238 <a href="manifest.html"><code>manifest.json</code></a> |
| 239 file for a theme: |
| 240 </p> |
| 241 |
| 242 <p class="comment"> |
| 243 [PENDING: This page should eventually be (or point to) something |
| 244 that's very friendly to artists. |
| 245 You should only have to look at one page to create a theme.] |
238 </p> | 246 </p> |
239 | 247 |
240 <pre>{ | 248 <pre>{ |
241 "version": "2.6", | 249 "version": "2.6", |
242 "name": "camo theme", | 250 "name": "camo theme", |
243 <b> "theme": { | 251 <b> "theme": { |
244 "<a href="#images">images</a>" : { | 252 "<a href="#images">images</a>" : { |
245 "theme_frame" : "images/theme_frame_camo.png", | 253 "theme_frame" : "images/theme_frame_camo.png", |
246 "theme_frame_overlay" : "images/theme_frame_stripe.png
", | 254 "theme_frame_overlay" : "images/theme_frame_stripe.png
", |
247 "theme_toolbar" : "images/theme_toolbar_camo.png", | 255 "theme_toolbar" : "images/theme_toolbar_camo.png", |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 urchinTracker(); | 528 urchinTracker(); |
521 } | 529 } |
522 catch(e) {/* urchinTracker not available. */} | 530 catch(e) {/* urchinTracker not available. */} |
523 </script> | 531 </script> |
524 <!-- end analytics --> | 532 <!-- end analytics --> |
525 | 533 |
526 </div> <!-- /pageFooter --> | 534 </div> <!-- /pageFooter --> |
527 </div> <!-- /container --> | 535 </div> <!-- /container --> |
528 </body></html> | 536 </body></html> |
529 | 537 |
OLD | NEW |