| 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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 372 }</b> | 372 }</b> |
| 373 } | 373 } |
| 374 </pre> | 374 </pre> |
| 375 | 375 |
| 376 <h3 id="colors">colors</h3> | 376 <h3 id="colors">colors</h3> |
| 377 | 377 |
| 378 <p> | 378 <p> |
| 379 Colors are in RGB format. | 379 Colors are in RGB format. |
| 380 To find the strings you can use within the "colors" field, | 380 To find the strings you can use within the "colors" field, |
| 381 look for kColor* strings in | 381 look for kColor* strings in |
| 382 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/browser_
theme_provider.cc"><code>browser_theme_provider.cc</code></a>. | 382 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/themes/b
rowser_theme_provider.cc"><code>browser_theme_provider.cc</code></a>. |
| 383 </p> | 383 </p> |
| 384 | 384 |
| 385 <h3 id="images">images</h3> | 385 <h3 id="images">images</h3> |
| 386 | 386 |
| 387 <p> | 387 <p> |
| 388 Image resources use paths relative to the root of the extension. | 388 Image resources use paths relative to the root of the extension. |
| 389 You can override any of the images that are specified by | 389 You can override any of the images that are specified by |
| 390 <code>kThemeableImages</code> in | 390 <code>kThemeableImages</code> in |
| 391 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/browser_
theme_provider.cc"><code>browser_theme_provider.cc</code></a>. | 391 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/themes/b
rowser_theme_provider.cc"><code>browser_theme_provider.cc</code></a>. |
| 392 Just remove the "IDR_" | 392 Just remove the "IDR_" |
| 393 and convert the remaining characters to lowercase. | 393 and convert the remaining characters to lowercase. |
| 394 For example, <code>IDR_THEME_NTP_BACKGROUND</code> | 394 For example, <code>IDR_THEME_NTP_BACKGROUND</code> |
| 395 (which <code>kThemeableImages</code> uses | 395 (which <code>kThemeableImages</code> uses |
| 396 to specify the background of the new tab pane) | 396 to specify the background of the new tab pane) |
| 397 corresponds to "theme_ntp_background". | 397 corresponds to "theme_ntp_background". |
| 398 </p> | 398 </p> |
| 399 | 399 |
| 400 <h3 id="properties">properties</h3> | 400 <h3 id="properties">properties</h3> |
| 401 | 401 |
| 402 <p> | 402 <p> |
| 403 This field lets you specify | 403 This field lets you specify |
| 404 properties such as background alignment, | 404 properties such as background alignment, |
| 405 background repeat, | 405 background repeat, |
| 406 and an alternate logo. | 406 and an alternate logo. |
| 407 To see the properties and the values they can have, see | 407 To see the properties and the values they can have, see |
| 408 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/browser_
theme_provider.cc"><code>browser_theme_provider.cc</code></a>. | 408 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/themes/b
rowser_theme_provider.cc"><code>browser_theme_provider.cc</code></a>. |
| 409 <!-- [PENDING: We should flesh this out.] --> | 409 <!-- [PENDING: We should flesh this out.] --> |
| 410 </p> | 410 </p> |
| 411 | 411 |
| 412 <h3 id="tints">tints</h3> | 412 <h3 id="tints">tints</h3> |
| 413 | 413 |
| 414 <p> | 414 <p> |
| 415 You can specify tints to be applied to parts of the UI | 415 You can specify tints to be applied to parts of the UI |
| 416 such as buttons, the frame, and the background tab. | 416 such as buttons, the frame, and the background tab. |
| 417 Google Chrome supports tints, not images, | 417 Google Chrome supports tints, not images, |
| 418 because images don't work across platforms | 418 because images don't work across platforms |
| 419 and are brittle in the case of adding new buttons. | 419 and are brittle in the case of adding new buttons. |
| 420 To find the strings you can use within the "tints" field, | 420 To find the strings you can use within the "tints" field, |
| 421 look for kTint* strings in | 421 look for kTint* strings in |
| 422 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/browser_
theme_provider.cc"><code>browser_theme_provider.cc</code></a>. | 422 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/themes/b
rowser_theme_provider.cc"><code>browser_theme_provider.cc</code></a>. |
| 423 </p> | 423 </p> |
| 424 | 424 |
| 425 <p> | 425 <p> |
| 426 Tints are in Hue-Saturation-Lightness (HSL) format, | 426 Tints are in Hue-Saturation-Lightness (HSL) format, |
| 427 using floating-point numbers in the range 0 - 1.0: | 427 using floating-point numbers in the range 0 - 1.0: |
| 428 </p> | 428 </p> |
| 429 | 429 |
| 430 <ul> | 430 <ul> |
| 431 <li> | 431 <li> |
| 432 <b>Hue</b> is an absolute value, with 0 and 1 being red. | 432 <b>Hue</b> is an absolute value, with 0 and 1 being red. |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 648 _uff=0; | 648 _uff=0; |
| 649 urchinTracker(); | 649 urchinTracker(); |
| 650 } | 650 } |
| 651 catch(e) {/* urchinTracker not available. */} | 651 catch(e) {/* urchinTracker not available. */} |
| 652 </script> | 652 </script> |
| 653 <!-- end analytics --> | 653 <!-- end analytics --> |
| 654 </div> | 654 </div> |
| 655 </div> <!-- /gc-footer --> | 655 </div> <!-- /gc-footer --> |
| 656 </div> <!-- /gc-container --> | 656 </div> <!-- /gc-container --> |
| 657 </body></html> | 657 </body></html> |
| OLD | NEW |