Chrome

From CDOT Wiki
Revision as of 02:26, 6 October 2006 by Elichak (talk | contribs) (More)
Jump to: navigation, search

What is Chrome?

In a nutshell, Chrome is the user interface of Mozilla products. The user interface is composed mostly of XUL, XBL, CSS, and JS files. Extensions are (usually) chrome applets. 90% of an extension, typically is chrome.

In the XUL world, Chrome is the top level window which contains groups of UI elements of various types. Example of chrome are the browser window and dialog window. The chrome obtains its UI description from four types of providers:

  • Content provider
Provides the skeleton, i.e., the menus, command buttons
  • Skin provider
Supplies the look-and-feel of the chrome
  • Platform provider
Gives platform dependent UI description
  • Locale provider
Offers the language and culture sensitive resources


What you can do with Chrome

Here are the following examples of what you can do with Chrome:

Resources

Configurable Chrome    by Benjamin Smedberg <benjamin@smedbergs.us>

http://www.mozilla.org/support/firefox/tips

http://developer.mozilla.org/en/docs/Working_with_windows_in_chrome_code

http://developer.mozilla.org/en/docs/Chrome_Registration

http://www.xulplanet.com/tutorials/xultu/chromeurl.html