What does 'chrome' mean?

前端 未结 4 1355
难免孤独
难免孤独 2021-02-02 09:29

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

相关标签:
4条回答
  • 2021-02-02 09:56

    The chrome is the window around your application. It is the browser window itself (borders, navigation, address bar, etc).

    0 讨论(0)
  • 2021-02-02 10:01

    A chrome is a replicatable part of a layout, or a design that surrounds a piece of content.

    For example, facebook apps are displayed in the facebook chrome (all the blue stuff).

    0 讨论(0)
  • 2021-02-02 10:03

    The chrome is the browser frame, including all of the code and UI in the browser itself.

    0 讨论(0)
  • 2021-02-02 10:08

    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.

    0 讨论(0)
提交回复
热议问题