summaryrefslogtreecommitdiffstats
path: root/browser/base/content/titlebar-items.inc.xhtml
blob: 4fea3a1266d07935933c87fe51da324ed0a0781f (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
# 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/.

<hbox class="titlebar-buttonbox-container" skipintoolbarset="true">
  <hbox class="titlebar-buttonbox">
    <toolbarbutton class="titlebar-button titlebar-min"
                   oncommand="window.minimize();"
                   data-l10n-id="browser-window-minimize-button"
                   />
    <toolbarbutton class="titlebar-button titlebar-max"
                   oncommand="window.maximize();"
                   data-l10n-id="browser-window-maximize-button"
                   />
    <toolbarbutton class="titlebar-button titlebar-restore"
                   oncommand="window.fullScreen ? BrowserCommands.fullScreen() : window.restore();"
                   data-l10n-id="browser-window-restore-down-button"
                   />
    <toolbarbutton class="titlebar-button titlebar-close"
                   command="cmd_closeWindow"
                   data-l10n-id="browser-window-close-button"
                   />
  </hbox>
</hbox>