firefox-kde.patch
changeset 766 e0b23b7851e9
parent 753 f3bf114c6639
child 779 354c672efefa
equal deleted inserted replaced
765:0955f22b3f4f 766:e0b23b7851e9
     1 diff --git a/browser/base/content/browser-kde.xul b/browser/base/content/browser-kde.xul
     1 diff --git a/browser/base/content/browser-kde.xul b/browser/base/content/browser-kde.xul
     2 new file mode 100644
     2 new file mode 100644
     3 --- /dev/null
     3 --- /dev/null
     4 +++ b/browser/base/content/browser-kde.xul
     4 +++ b/browser/base/content/browser-kde.xul
     5 @@ -0,0 +1,1206 @@
     5 @@ -0,0 +1,1238 @@
     6 +#filter substitution
     6 +#filter substitution
     7 +<?xml version="1.0"?>
     7 +<?xml version="1.0"?>
     8 +# -*- Mode: HTML -*-
     8 +# -*- Mode: HTML -*-
     9 +#
     9 +#
    10 +# This Source Code Form is subject to the terms of the Mozilla Public
    10 +# This Source Code Form is subject to the terms of the Mozilla Public
   179 +          </hbox>
   179 +          </hbox>
   180 +        </vbox>
   180 +        </vbox>
   181 +      </row>
   181 +      </row>
   182 +      <vbox id="editBookmarkPanelContent" flex="1" hidden="true"/>
   182 +      <vbox id="editBookmarkPanelContent" flex="1" hidden="true"/>
   183 +      <hbox id="editBookmarkPanelBottomButtons" pack="end">
   183 +      <hbox id="editBookmarkPanelBottomButtons" pack="end">
   184 +#ifdef XP_UNIX
   184 +#ifndef XP_UNIX
   185 +        <button id="editBookmarkPanelDoneButton"
   185 +        <button id="editBookmarkPanelDoneButton"
   186 +                class="editBookmarkPanelBottomButton"
   186 +                class="editBookmarkPanelBottomButton"
   187 +                label="&editBookmark.done.label;"
   187 +                label="&editBookmark.done.label;"
   188 +                default="true"
   188 +                default="true"
   189 +                oncommand="StarUI.panel.hidePopup();"/>
   189 +                oncommand="StarUI.panel.hidePopup();"/>
   229 +        </vbox>
   229 +        </vbox>
   230 +      </hbox>
   230 +      </hbox>
   231 +      <hbox id="UITourTooltipButtons" flex="1" align="center"/>
   231 +      <hbox id="UITourTooltipButtons" flex="1" align="center"/>
   232 +     </vbox>
   232 +     </vbox>
   233 +    </panel>
   233 +    </panel>
   234 +    <!-- type="default" forces frames to be created so that the panel's size can be determined --> 
   234 +    <!-- type="default" forces frames to be created so that the panel's size can be determined -->
   235 +    <panel id="UITourHighlightContainer"
   235 +    <panel id="UITourHighlightContainer"
   236 +           type="default"
   236 +           type="default"
   237 +           hidden="true"
   237 +           hidden="true"
   238 +           noautofocus="true"
   238 +           noautofocus="true"
   239 +           noautohide="true"
   239 +           noautohide="true"
   270 +           flip="slide"
   270 +           flip="slide"
   271 +           rolluponmousewheel="true"
   271 +           rolluponmousewheel="true"
   272 +           noautofocus="true"
   272 +           noautofocus="true"
   273 +           position="topcenter topright"/>
   273 +           position="topcenter topright"/>
   274 +
   274 +
       
   275 +    <panel id="loop-notification-panel"
       
   276 +           class="loop-panel social-panel"
       
   277 +           type="arrow"
       
   278 +           hidden="true"
       
   279 +           noautofocus="true"/>
       
   280 +
       
   281 +    <panel id="loop-panel"
       
   282 +           class="loop-panel social-panel"
       
   283 +           type="arrow"
       
   284 +           orient="horizontal"
       
   285 +           hidden="true"/>
       
   286 +
   275 +    <menupopup id="toolbar-context-menu"
   287 +    <menupopup id="toolbar-context-menu"
   276 +               onpopupshowing="onViewToolbarsPopupShowing(event, document.getElementById('viewToolbarsMenuSeparator'));">
   288 +               onpopupshowing="onViewToolbarsPopupShowing(event, document.getElementById('viewToolbarsMenuSeparator'));">
   277 +      <menuitem oncommand="gCustomizeMode.addToPanel(document.popupNode)"
   289 +      <menuitem oncommand="gCustomizeMode.addToPanel(document.popupNode)"
   278 +                accesskey="&customizeMenu.moveToPanel.accesskey;"
   290 +                accesskey="&customizeMenu.moveToPanel.accesskey;"
   279 +                label="&customizeMenu.moveToPanel.label;"
   291 +                label="&customizeMenu.moveToPanel.label;"
       
   292 +                contexttype="toolbaritem"
   280 +                class="customize-context-moveToPanel"/>
   293 +                class="customize-context-moveToPanel"/>
   281 +      <menuitem oncommand="gCustomizeMode.removeFromArea(document.popupNode)"
   294 +      <menuitem oncommand="gCustomizeMode.removeFromArea(document.popupNode)"
   282 +                accesskey="&customizeMenu.removeFromToolbar.accesskey;"
   295 +                accesskey="&customizeMenu.removeFromToolbar.accesskey;"
   283 +                label="&customizeMenu.removeFromToolbar.label;"
   296 +                label="&customizeMenu.removeFromToolbar.label;"
       
   297 +                contexttype="toolbaritem"
   284 +                class="customize-context-removeFromToolbar"/>
   298 +                class="customize-context-removeFromToolbar"/>
       
   299 +      <menuitem id="toolbar-context-reloadAllTabs"
       
   300 +                class="toolbaritem-tabsmenu"
       
   301 +                contexttype="tabbar"
       
   302 +                oncommand="gBrowser.reloadAllTabs();"
       
   303 +                label="&toolbarContextMenu.reloadAllTabs.label;"
       
   304 +                accesskey="&toolbarContextMenu.reloadAllTabs.accesskey;"/>
       
   305 +      <menuitem id="toolbar-context-bookmarkAllTabs"
       
   306 +                class="toolbaritem-tabsmenu"
       
   307 +                contexttype="tabbar"
       
   308 +                command="Browser:BookmarkAllTabs"
       
   309 +                label="&toolbarContextMenu.bookmarkAllTabs.label;"
       
   310 +                accesskey="&toolbarContextMenu.bookmarkAllTabs.accesskey;"/>
       
   311 +      <menuitem id="toolbar-context-undoCloseTab"
       
   312 +                class="toolbaritem-tabsmenu"
       
   313 +                contexttype="tabbar"
       
   314 +                label="&toolbarContextMenu.undoCloseTab.label;"
       
   315 +                accesskey="&toolbarContextMenu.undoCloseTab.accesskey;"
       
   316 +                observes="History:UndoCloseTab"/>
   285 +      <menuseparator/>
   317 +      <menuseparator/>
   286 +      <menuseparator id="viewToolbarsMenuSeparator"/>
   318 +      <menuseparator id="viewToolbarsMenuSeparator"/>
   287 +      <!-- XXXgijs: we're using oncommand handler here to avoid the event being
   319 +      <!-- XXXgijs: we're using oncommand handler here to avoid the event being
   288 +                    redirected to the command element, thus preventing
   320 +                    redirected to the command element, thus preventing
   289 +                    listeners on the menupopup or further up the tree from
   321 +                    listeners on the menupopup or further up the tree from
   534 +#if defined(MOZ_WIDGET_GTK) || defined(MOZ_WIDGET_QT)
   566 +#if defined(MOZ_WIDGET_GTK) || defined(MOZ_WIDGET_QT)
   535 +             autohide="true"
   567 +             autohide="true"
   536 +#endif
   568 +#endif
   537 +#endif
   569 +#endif
   538 +             context="toolbar-context-menu">
   570 +             context="toolbar-context-menu">
   539 +      <toolbaritem id="menubar-items" align="center"
   571 +      <toolbaritem id="menubar-items" align="center">
   540 +                   cui-areatype="toolbar">
       
   541 +# The entire main menubar is placed into browser-menubar.inc, so that it can be shared by
   572 +# The entire main menubar is placed into browser-menubar.inc, so that it can be shared by
   542 +# hiddenWindow.xul.
   573 +# hiddenWindow.xul.
   543 +#include browser-menubar.inc
   574 +#include browser-menubar.inc
   544 +      </toolbaritem>
   575 +      </toolbaritem>
   545 +
   576 +
   572 +            class="tabbrowser-tabs"
   603 +            class="tabbrowser-tabs"
   573 +            tabbrowser="content"
   604 +            tabbrowser="content"
   574 +            flex="1"
   605 +            flex="1"
   575 +            setfocus="false"
   606 +            setfocus="false"
   576 +            tooltip="tabbrowser-tab-tooltip"
   607 +            tooltip="tabbrowser-tab-tooltip"
   577 +            cui-areatype="toolbar"
       
   578 +            stopwatchid="FX_TAB_CLICK_MS">
   608 +            stopwatchid="FX_TAB_CLICK_MS">
   579 +        <tab class="tabbrowser-tab" selected="true" fadein="true"/>
   609 +        <tab class="tabbrowser-tab" selected="true" fadein="true"/>
   580 +      </tabs>
   610 +      </tabs>
   581 +
   611 +
   582 +      <toolbarbutton id="new-tab-button"
   612 +      <toolbarbutton id="new-tab-button"
   603 +          <menuitem id="menu_tabview"
   633 +          <menuitem id="menu_tabview"
   604 +                    class="menuitem-iconic"
   634 +                    class="menuitem-iconic"
   605 +                    key="key_tabview"
   635 +                    key="key_tabview"
   606 +                    label="&viewTabGroups.label;"
   636 +                    label="&viewTabGroups.label;"
   607 +                    command="Browser:ToggleTabView"
   637 +                    command="Browser:ToggleTabView"
   608 +                    cui-areatype="toolbar"
       
   609 +                    observes="tabviewGroupsNumber"/>
   638 +                    observes="tabviewGroupsNumber"/>
       
   639 +          <menuitem id="alltabs_undoCloseTab"
       
   640 +                    class="menuitem-iconic"
       
   641 +                    key="key_undoCloseTab"
       
   642 +                    label="&undoCloseTab.label;"
       
   643 +                    observes="History:UndoCloseTab"/>
   610 +          <menuseparator id="alltabs-popup-separator"/>
   644 +          <menuseparator id="alltabs-popup-separator"/>
   611 +        </menupopup>
   645 +        </menupopup>
   612 +      </toolbarbutton>
   646 +      </toolbarbutton>
   613 +
   647 +
   614 +#if !defined(MOZ_WIDGET_GTK) && !defined(MOZ_WIDGET_QT)
   648 +#if !defined(MOZ_WIDGET_GTK) && !defined(MOZ_WIDGET_QT)
   638 +      -->
   672 +      -->
   639 +    <toolbar id="nav-bar" class="toolbar-primary chromeclass-toolbar"
   673 +    <toolbar id="nav-bar" class="toolbar-primary chromeclass-toolbar"
   640 +             aria-label="&navbarCmd.label;"
   674 +             aria-label="&navbarCmd.label;"
   641 +             fullscreentoolbar="true" mode="icons" customizable="true"
   675 +             fullscreentoolbar="true" mode="icons" customizable="true"
   642 +             iconsize="small"
   676 +             iconsize="small"
   643 +             defaultset="urlbar-container,search-container,webrtc-status-button,bookmarks-menu-button,downloads-button,home-button,social-share-button,social-toolbar-item"
   677 +             defaultset="urlbar-container,search-container,bookmarks-menu-button,downloads-button,home-button,loop-call-button,social-share-button,social-toolbar-item"
   644 +             customizationtarget="nav-bar-customization-target"
   678 +             customizationtarget="nav-bar-customization-target"
   645 +             overflowable="true"
   679 +             overflowable="true"
   646 +             overflowbutton="nav-bar-overflow-button"
   680 +             overflowbutton="nav-bar-overflow-button"
   647 +             overflowtarget="widget-overflow-list"
   681 +             overflowtarget="widget-overflow-list"
   648 +             overflowpanel="widget-overflow"
   682 +             overflowpanel="widget-overflow"
   649 +             context="toolbar-context-menu">
   683 +             context="toolbar-context-menu">
   650 +
   684 +
   651 +      <hbox id="nav-bar-customization-target" flex="1">
   685 +      <hbox id="nav-bar-customization-target" flex="1">
   652 +        <toolbaritem id="urlbar-container" flex="400" persist="width"
   686 +        <toolbaritem id="urlbar-container" flex="400" persist="width"
   653 +                     title="&locationItem.title;" removable="false"
   687 +                     title="&locationItem.title;" removable="false"
   654 +                     cui-areatype="toolbar"
       
   655 +                     class="chromeclass-location" overflows="false">
   688 +                     class="chromeclass-location" overflows="false">
   656 +          <toolbarbutton id="back-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
   689 +          <toolbarbutton id="back-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
   657 +                         label="&backCmd.label;"
   690 +                         label="&backCmd.label;"
   658 +                         command="Browser:BackOrBackDuplicate"
   691 +                         command="Browser:BackOrBackDuplicate"
   659 +                         cui-areatype="toolbar"
       
   660 +                         onclick="checkForMiddleClick(this, event);"
   692 +                         onclick="checkForMiddleClick(this, event);"
   661 +                         tooltip="back-button-tooltip"
   693 +                         tooltip="back-button-tooltip"
   662 +                         context="backForwardMenu"/>
   694 +                         context="backForwardMenu"/>
   663 +          <hbox id="urlbar-wrapper" flex="1">
   695 +          <hbox id="urlbar-wrapper" flex="1">
   664 +            <toolbarbutton id="forward-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
   696 +            <toolbarbutton id="forward-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
   665 +                           label="&forwardCmd.label;"
   697 +                           label="&forwardCmd.label;"
   666 +                           command="Browser:ForwardOrForwardDuplicate"
   698 +                           command="Browser:ForwardOrForwardDuplicate"
   667 +                           cui-areatype="toolbar"
       
   668 +                           onclick="checkForMiddleClick(this, event);"
   699 +                           onclick="checkForMiddleClick(this, event);"
   669 +                           tooltip="forward-button-tooltip"
   700 +                           tooltip="forward-button-tooltip"
   670 +                           context="backForwardMenu"/>
   701 +                           context="backForwardMenu"/>
   671 +            <textbox id="urlbar" flex="1"
   702 +            <textbox id="urlbar" flex="1"
   672 +                     placeholder="&urlbar.placeholder2;"
   703 +                     placeholder="&urlbar.placeholder2;"
   701 +                <image id="mixed-content-blocked-notification-icon" class="notification-anchor-icon" role="button"/>
   732 +                <image id="mixed-content-blocked-notification-icon" class="notification-anchor-icon" role="button"/>
   702 +                <image id="webRTC-shareDevices-notification-icon" class="notification-anchor-icon" role="button"/>
   733 +                <image id="webRTC-shareDevices-notification-icon" class="notification-anchor-icon" role="button"/>
   703 +                <image id="webRTC-sharingDevices-notification-icon" class="notification-anchor-icon" role="button"/>
   734 +                <image id="webRTC-sharingDevices-notification-icon" class="notification-anchor-icon" role="button"/>
   704 +                <image id="webRTC-shareMicrophone-notification-icon" class="notification-anchor-icon" role="button"/>
   735 +                <image id="webRTC-shareMicrophone-notification-icon" class="notification-anchor-icon" role="button"/>
   705 +                <image id="webRTC-sharingMicrophone-notification-icon" class="notification-anchor-icon" role="button"/>
   736 +                <image id="webRTC-sharingMicrophone-notification-icon" class="notification-anchor-icon" role="button"/>
       
   737 +                <image id="webRTC-shareScreen-notification-icon" class="notification-anchor-icon" role="button"/>
       
   738 +                <image id="webRTC-sharingScreen-notification-icon" class="notification-anchor-icon" role="button"/>
   706 +                <image id="pointerLock-notification-icon" class="notification-anchor-icon" role="button"/>
   739 +                <image id="pointerLock-notification-icon" class="notification-anchor-icon" role="button"/>
   707 +                <image id="servicesInstall-notification-icon" class="notification-anchor-icon" role="button"/>
   740 +                <image id="servicesInstall-notification-icon" class="notification-anchor-icon" role="button"/>
   708 +                <image id="translate-notification-icon" class="notification-anchor-icon" role="button"/>
   741 +                <image id="translate-notification-icon" class="notification-anchor-icon" role="button"/>
   709 +                <image id="translated-notification-icon" class="notification-anchor-icon" role="button"/>
   742 +                <image id="translated-notification-icon" class="notification-anchor-icon" role="button"/>
   710 +              </box>
   743 +              </box>
   716 +                   align="center"
   749 +                   align="center"
   717 +                   onclick="gIdentityHandler.handleIdentityButtonEvent(event);"
   750 +                   onclick="gIdentityHandler.handleIdentityButtonEvent(event);"
   718 +                   onkeypress="gIdentityHandler.handleIdentityButtonEvent(event);"
   751 +                   onkeypress="gIdentityHandler.handleIdentityButtonEvent(event);"
   719 +                   ondragstart="gIdentityHandler.onDragStart(event);">
   752 +                   ondragstart="gIdentityHandler.onDragStart(event);">
   720 +                <image id="page-proxy-favicon"
   753 +                <image id="page-proxy-favicon"
       
   754 +                       consumeanchor="identity-box"
   721 +                       onclick="PageProxyClickHandler(event);"
   755 +                       onclick="PageProxyClickHandler(event);"
   722 +                       pageproxystate="invalid"/>
   756 +                       pageproxystate="invalid"/>
   723 +                <hbox id="identity-icon-labels">
   757 +                <hbox id="identity-icon-labels">
   724 +                  <label id="identity-icon-label" class="plain" flex="1"/>
   758 +                  <label id="identity-icon-label" class="plain" flex="1"/>
   725 +                  <label id="identity-icon-country-label" class="plain"/>
   759 +                  <label id="identity-icon-country-label" class="plain"/>
   756 +                     align="center" class="chromeclass-toolbar-additional panel-wide-item"
   790 +                     align="center" class="chromeclass-toolbar-additional panel-wide-item"
   757 +                     cui-areatype="toolbar"
   791 +                     cui-areatype="toolbar"
   758 +                     flex="100" persist="width" removable="true">
   792 +                     flex="100" persist="width" removable="true">
   759 +          <searchbar id="searchbar" flex="1"/>
   793 +          <searchbar id="searchbar" flex="1"/>
   760 +        </toolbaritem>
   794 +        </toolbaritem>
   761 +
       
   762 +        <toolbarbutton id="webrtc-status-button"
       
   763 +                       class="toolbarbutton-1 chromeclass-toolbar-additional"
       
   764 +                       type="menu"
       
   765 +                       hidden="true"
       
   766 +                       orient="horizontal"
       
   767 +                       label="&webrtcIndicatorButton.label;"
       
   768 +                       tooltiptext="&webrtcIndicatorButton.tooltip;"
       
   769 +                       cui-areatype="toolbar"
       
   770 +                       overflows="false">
       
   771 +          <menupopup onpopupshowing="WebrtcIndicator.fillPopup(this);"
       
   772 +                     onpopuphiding="WebrtcIndicator.clearPopup(this);"
       
   773 +                     oncommand="WebrtcIndicator.menuCommand(event.target);"/>
       
   774 +        </toolbarbutton>
       
   775 +
   795 +
   776 +        <toolbarbutton id="bookmarks-menu-button"
   796 +        <toolbarbutton id="bookmarks-menu-button"
   777 +                       class="toolbarbutton-1 chromeclass-toolbar-additional"
   797 +                       class="toolbarbutton-1 chromeclass-toolbar-additional"
   778 +                       persist="class"
   798 +                       persist="class"
   779 +                       removable="true"
   799 +                       removable="true"
   900 +                       key="goHome"
   920 +                       key="goHome"
   901 +                       onclick="BrowserGoHome(event);"
   921 +                       onclick="BrowserGoHome(event);"
   902 +                       cui-areatype="toolbar"
   922 +                       cui-areatype="toolbar"
   903 +                       aboutHomeOverrideTooltip="&abouthome.pageTitle;"/>
   923 +                       aboutHomeOverrideTooltip="&abouthome.pageTitle;"/>
   904 +
   924 +
       
   925 +        <!-- XXX Bug 1013989 will provide a label for the button -->
       
   926 +        <!-- This uses badged to be compatible with the social api code it shares.
       
   927 +             We may also want it to be badged in the future, for notification
       
   928 +             purposes. -->
       
   929 +        <toolbarbutton id="loop-call-button"
       
   930 +                       class="toolbarbutton-1 chromeclass-toolbar-additional"
       
   931 +                       persist="class"
       
   932 +                       type="badged"
       
   933 +                       removable="true"
       
   934 +                       tooltiptext="&loopCallButton.tooltip;"
       
   935 +                       oncommand="LoopUI.openCallPanel(event);"
       
   936 +                       cui-areatype="toolbar"
       
   937 +                       >
       
   938 +        </toolbarbutton>
       
   939 +
   905 +
   940 +
   906 +        <toolbarbutton id="social-share-button"
   941 +        <toolbarbutton id="social-share-button"
   907 +                       class="toolbarbutton-1 chromeclass-toolbar-additional"
   942 +                       class="toolbarbutton-1 chromeclass-toolbar-additional"
   908 +                       label="&sharePageCmd.label;"
   943 +                       label="&sharePageCmd.label;"
   909 +                       tooltiptext="&sharePageCmd.label;"
   944 +                       tooltiptext="&sharePageCmd.label;"
   913 +                       command="Social:SharePage"/>
   948 +                       command="Social:SharePage"/>
   914 +      </hbox>
   949 +      </hbox>
   915 +
   950 +
   916 +      <toolbarbutton id="nav-bar-overflow-button"
   951 +      <toolbarbutton id="nav-bar-overflow-button"
   917 +                     class="toolbarbutton-1 chromeclass-toolbar-additional overflow-button"
   952 +                     class="toolbarbutton-1 chromeclass-toolbar-additional overflow-button"
   918 +                     cui-areatype="toolbar"
       
   919 +                     skipintoolbarset="true"
   953 +                     skipintoolbarset="true"
   920 +                     tooltiptext="&navbarOverflow.label;"/>
   954 +                     tooltiptext="&navbarOverflow.label;"/>
   921 +
   955 +
   922 +      <toolbaritem id="PanelUI-button"
   956 +      <toolbaritem id="PanelUI-button"
   923 +                   class="chromeclass-toolbar-additional"
   957 +                   class="chromeclass-toolbar-additional"
   924 +                   cui-areatype="toolbar"
       
   925 +                   removable="false">
   958 +                   removable="false">
   926 +        <toolbarbutton id="PanelUI-menu-button"
   959 +        <toolbarbutton id="PanelUI-menu-button"
   927 +                       class="toolbarbutton-1"
   960 +                       class="toolbarbutton-1"
   928 +                       cui-areatype="toolbar"
   961 +                       consumeanchor="PanelUI-button"
   929 +                       label="&brandShortName;"
   962 +                       label="&brandShortName;"
   930 +                       tooltiptext="&appmenu.tooltip;"/>
   963 +                       tooltiptext="&appmenu.tooltip;"/>
   931 +      </toolbaritem>
   964 +      </toolbaritem>
   932 +
   965 +
   933 +      <hbox id="window-controls" hidden="true" pack="end" skipintoolbarset="true"
   966 +      <hbox id="window-controls" hidden="true" pack="end" skipintoolbarset="true"
   939 +        <toolbarbutton id="restore-button"
   972 +        <toolbarbutton id="restore-button"
   940 +#ifdef XP_MACOSX
   973 +#ifdef XP_MACOSX
   941 +# Prior to 10.7 there wasn't a native fullscreen button so we use #restore-button
   974 +# Prior to 10.7 there wasn't a native fullscreen button so we use #restore-button
   942 +# to exit fullscreen and want it to behave like other toolbar buttons.
   975 +# to exit fullscreen and want it to behave like other toolbar buttons.
   943 +                       class="toolbarbutton-1"
   976 +                       class="toolbarbutton-1"
   944 +                       cui-areatype="toolbar"
       
   945 +#endif
   977 +#endif
   946 +                       tooltiptext="&fullScreenRestore.tooltip;"
   978 +                       tooltiptext="&fullScreenRestore.tooltip;"
   947 +                       oncommand="BrowserFullScreen();"/>
   979 +                       oncommand="BrowserFullScreen();"/>
   948 +
   980 +
   949 +        <toolbarbutton id="close-button"
   981 +        <toolbarbutton id="close-button"
  1140 +      <vbox id="full-screen-warning-message" align="center">
  1172 +      <vbox id="full-screen-warning-message" align="center">
  1141 +        <description id="full-screen-domain-text"/>
  1173 +        <description id="full-screen-domain-text"/>
  1142 +        <description class="full-screen-description" value="&fullscreenExitHint2.value;"/>
  1174 +        <description class="full-screen-description" value="&fullscreenExitHint2.value;"/>
  1143 +        <vbox id="full-screen-approval-pane" align="center">
  1175 +        <vbox id="full-screen-approval-pane" align="center">
  1144 +          <hbox>
  1176 +          <hbox>
  1145 +#ifndef XP_UNIX
  1177 +#ifdef XP_UNIX
  1146 +            <button label="&fullscreenExitButton.label;"
  1178 +            <button label="&fullscreenExitButton.label;"
  1147 +                    oncommand="FullScreen.setFullscreenAllowed(false);"
  1179 +                    oncommand="FullScreen.setFullscreenAllowed(false);"
  1148 +                    class="full-screen-approval-button"/>
  1180 +                    class="full-screen-approval-button"/>
  1149 +            <button label="&fullscreenAllowButton.label;"
  1181 +            <button label="&fullscreenAllowButton.label;"
  1150 +                    oncommand="FullScreen.setFullscreenAllowed(true);"
  1182 +                    oncommand="FullScreen.setFullscreenAllowed(true);"
  1207 +#     Introducing the iframe dynamically, as needed, was found to be better than
  1239 +#     Introducing the iframe dynamically, as needed, was found to be better than
  1208 +#     starting with an empty iframe here in browser.xul from a Ts standpoint.
  1240 +#     starting with an empty iframe here in browser.xul from a Ts standpoint.
  1209 +</deck>
  1241 +</deck>
  1210 +
  1242 +
  1211 +</window>
  1243 +</window>
       
  1244 diff --git a/browser/base/content/browser.xul b/browser/base/content/browser.xul
       
  1245 --- a/browser/base/content/browser.xul
       
  1246 +++ b/browser/base/content/browser.xul
       
  1247 @@ -171,17 +171,17 @@
       
  1248                      class="editBookmarkPanelHeaderButton"
       
  1249                      oncommand="StarUI.removeBookmarkButtonCommand();"
       
  1250                      accesskey="&editBookmark.removeBookmark.accessKey;"/>
       
  1251            </hbox>
       
  1252          </vbox>
       
  1253        </row>
       
  1254        <vbox id="editBookmarkPanelContent" flex="1" hidden="true"/>
       
  1255        <hbox id="editBookmarkPanelBottomButtons" pack="end">
       
  1256 -#ifndef XP_UNIX
       
  1257 +#ifdef XP_UNIX
       
  1258          <button id="editBookmarkPanelDoneButton"
       
  1259                  class="editBookmarkPanelBottomButton"
       
  1260                  label="&editBookmark.done.label;"
       
  1261                  default="true"
       
  1262                  oncommand="StarUI.panel.hidePopup();"/>
       
  1263          <button id="editBookmarkPanelDeleteButton"
       
  1264                  class="editBookmarkPanelBottomButton"
       
  1265                  label="&editBookmark.cancel.label;"
       
  1266 @@ -1164,17 +1164,17 @@
       
  1267  
       
  1268    <hbox id="full-screen-warning-container" hidden="true" fadeout="true">
       
  1269      <hbox style="width: 100%;" pack="center"> <!-- Inner hbox needed due to bug 579776. -->
       
  1270        <vbox id="full-screen-warning-message" align="center">
       
  1271          <description id="full-screen-domain-text"/>
       
  1272          <description class="full-screen-description" value="&fullscreenExitHint2.value;"/>
       
  1273          <vbox id="full-screen-approval-pane" align="center">
       
  1274            <hbox>
       
  1275 -#ifdef XP_UNIX
       
  1276 +#ifndef XP_UNIX
       
  1277              <button label="&fullscreenExitButton.label;"
       
  1278                      oncommand="FullScreen.setFullscreenAllowed(false);"
       
  1279                      class="full-screen-approval-button"/>
       
  1280              <button label="&fullscreenAllowButton.label;"
       
  1281                      oncommand="FullScreen.setFullscreenAllowed(true);"
       
  1282                      class="full-screen-approval-button"/>
       
  1283  #else
       
  1284              <button label="&fullscreenAllowButton.label;"
  1212 diff --git a/browser/base/jar.mn b/browser/base/jar.mn
  1285 diff --git a/browser/base/jar.mn b/browser/base/jar.mn
  1213 --- a/browser/base/jar.mn
  1286 --- a/browser/base/jar.mn
  1214 +++ b/browser/base/jar.mn
  1287 +++ b/browser/base/jar.mn
  1215 @@ -70,16 +70,18 @@ browser.jar:
  1288 @@ -70,16 +70,18 @@ browser.jar:
  1216          content/browser/aboutRobots-icon.png          (content/aboutRobots-icon.png)
  1289          content/browser/aboutRobots-icon.png          (content/aboutRobots-icon.png)
  1315      // In Windows 8 we launch the control panel since it's the only
  1388      // In Windows 8 we launch the control panel since it's the only
  1316      // way to get all file type association prefs. So we don't know
  1389      // way to get all file type association prefs. So we don't know
  1317      // when the user will select the default.  We refresh here periodically
  1390      // when the user will select the default.  We refresh here periodically
  1318      // in case the default changes.  On other Windows OS's defaults can also
  1391      // in case the default changes.  On other Windows OS's defaults can also
  1319      // be set while the prefs are open.
  1392      // be set while the prefs are open.
  1320 @@ -875,14 +881,25 @@ var gAdvancedPane = {
  1393 @@ -889,14 +895,25 @@ var gAdvancedPane = {
  1321     * Set browser as the operating system default browser.
  1394     * Set browser as the operating system default browser.
  1322     */
  1395     */
  1323    setDefaultBrowser: function()
  1396    setDefaultBrowser: function()
  1324    {
  1397    {
  1325      let shellSvc = getShellService();
  1398      let shellSvc = getShellService();
  1797 +
  1870 +
  1798 +#endif // nsunixshellservice_h____
  1871 +#endif // nsunixshellservice_h____
  1799 diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in
  1872 diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in
  1800 --- a/browser/installer/package-manifest.in
  1873 --- a/browser/installer/package-manifest.in
  1801 +++ b/browser/installer/package-manifest.in
  1874 +++ b/browser/installer/package-manifest.in
  1802 @@ -666,19 +666,21 @@
  1875 @@ -658,19 +658,21 @@
  1803  @BINPATH@/defaults/autoconfig/prefcalls.js
  1876  @BINPATH@/defaults/autoconfig/prefcalls.js
  1804  @BINPATH@/browser/defaults/profile/prefs.js
  1877  @BINPATH@/browser/defaults/profile/prefs.js
  1805  
  1878  
  1806  #ifndef LIBXUL_SDK
  1879  #ifndef LIBXUL_SDK
  1807  ; Warning: changing the path to channel-prefs.js can cause bugs (Bug 756325)
  1880  ; Warning: changing the path to channel-prefs.js can cause bugs (Bug 756325)