content: A browser for content. The content that is loaded inside the browser is not allowed to access the chrome above it.
This sentence is seen on the Mozilla documentation for XUL. What does the word chrome mean in this context?
Definition of chrome (Entry 1 of 3) 1a : chromium. b : a chromium pigment. 2 : something plated with an alloy of chromium. chrome.
The form –chrome comes from the Greek chrôma, meaning “color” and is the source of the words chroma and chrome, among many others. The chemical element chromium is so named for colorful compounds the metal can form. The form -chrome is a variant of chrom- used at the end of words or word elements.
The definition of chrome is a grayish-white, very hard, metallic chemical element that doesn't erode easily. An example of chrome is the shiny metal plating over the bumper of a car. To treat with a salt of chromium, as in dyeing. A pigment containing chromium.
The word chrome comes from the element chromium, which is rooted in the Greek khroma, "color."
It is a euphemism for the graphical framework and elements surrounding the content, and thus means different things depending on the context.
In the context of a web browser it is the navigation, toolbar etc.
In the context of a website it is navigation, ad-space and other fixed aspects of the design.
The term "user interface chrome" is synonymous with "graphical user interface" or GUI for short, a term you are probably more familiar with.
In the context your are referring to in the browser.type
documentation, it is actually just a way for the XUL framework to load privileged content via a URI. The name here may seem a little misused, but for the most part, this is the way the XUL framework loads all graphcis used to build the browser chrome, and as such it goes well with the first context i described.
The chrome is the window around your application. It is the browser window itself (borders, navigation, address bar, etc).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With