MozillaZine

Downloadable Chrome Spec Updated

Thursday April 8th, 1999

David Hyatt has updated the downloadable chrome spec.

The spec reflects functionality as of M4. Of importance to web application developers is the new information on altering chrome via signed javascript. This could allow for adding and subtracting, disabling and enabling of buttons in the application's toolbar. This can allow the application toolbar too keep in synch with the content in the browser window.

Revisions have been made to the spec, so please check it out.


#11 Re:Downloadable Chrome Spec Updated

by James Henstridge

Saturday April 10th, 1999 4:43 AM

You are replying to this message

Again to CPT --

If you look at the XUL files that describe the UI, you will see that they are much more than just skins. You can rearrange the elements as you please, and add new functionality via javascript snippets (which may make use of extra functionality exported via XPIDL interfaces).

I fail to see how this method of implementing the UI is worse than writing the complete UI once for each platform. This minimises the amount of platform specific code, which most people would consider a good thing (even if they didn't allow `downloadable chrome', I would consider this approach a good one).