summaryrefslogtreecommitdiffstats
path: root/browser/base/content/unified-extensions-viewcache.inc.xhtml
blob: 6175f3effbdfff422df7dd74037e55f26eaf2b62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

<!--
  This is the template used for the `unified-extensions-item` custom element,
  defined in `browser/base/content/browser-unified-extensions.js`.
-->
<html:template id="unified-extensions-item-template">
  <toolbarbutton class="unified-extensions-item-action-button subviewbutton">
    <image class="unified-extensions-item-icon"
           role="presentation"
           src="chrome://mozapps/skin/extensions/extensionGeneric.svg" />

    <vbox class="unified-extensions-item-contents">
      <label class="unified-extensions-item-name" />
      <!--
        IMPORTANT: if you change the order of the labels in the deck,
        please update the indexes in `browser/base/content/browser-addons.js`.
      -->
      <deck class="unified-extensions-item-message-deck">
        <label class="unified-extensions-item-message unified-extensions-item-message-default">
          <!-- A message describing the current Origin Controls state -->
        </label>
        <label class="unified-extensions-item-message unified-extensions-item-message-hover">
          <!-- A message indicating what a user can do when clicking the action button -->
        </label>
        <label class="unified-extensions-item-message unified-extensions-item-message-hover-menu-button"
               data-l10n-id="unified-extensions-item-message-manage">
        </label>
      </deck>
    </vbox>
  </toolbarbutton>

  <toolbarbutton class="unified-extensions-item-menu-button subviewbutton subviewbutton-iconic"
                 closemenu="none"
                 context="unified-extensions-context-menu"
                 data-navigable-with-tab-only="true" />
</html:template>