firefox-kde.patch
changeset 784 50b18808abdc
parent 779 354c672efefa
child 807 f54c68340963
child 811 ab1f6b725947
equal deleted inserted replaced
783:449ace3f3f72 784:50b18808abdc
     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,1238 @@
     5 @@ -0,0 +1,1224 @@
     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
   672 +      -->
   672 +      -->
   673 +    <toolbar id="nav-bar" class="toolbar-primary chromeclass-toolbar"
   673 +    <toolbar id="nav-bar" class="toolbar-primary chromeclass-toolbar"
   674 +             aria-label="&navbarCmd.label;"
   674 +             aria-label="&navbarCmd.label;"
   675 +             fullscreentoolbar="true" mode="icons" customizable="true"
   675 +             fullscreentoolbar="true" mode="icons" customizable="true"
   676 +             iconsize="small"
   676 +             iconsize="small"
   677 +             defaultset="urlbar-container,search-container,bookmarks-menu-button,downloads-button,home-button,loop-call-button,social-share-button,social-toolbar-item"
   677 +             defaultset="urlbar-container,search-container,bookmarks-menu-button,downloads-button,home-button,social-share-button,social-toolbar-item"
   678 +             customizationtarget="nav-bar-customization-target"
   678 +             customizationtarget="nav-bar-customization-target"
   679 +             overflowable="true"
   679 +             overflowable="true"
   680 +             overflowbutton="nav-bar-overflow-button"
   680 +             overflowbutton="nav-bar-overflow-button"
   681 +             overflowtarget="widget-overflow-list"
   681 +             overflowtarget="widget-overflow-list"
   682 +             overflowpanel="widget-overflow"
   682 +             overflowpanel="widget-overflow"
   715 +                     oninput="gBrowser.userTypedValue = this.value;"
   715 +                     oninput="gBrowser.userTypedValue = this.value;"
   716 +                     ontextentered="this.handleCommand(param);"
   716 +                     ontextentered="this.handleCommand(param);"
   717 +                     ontextreverted="return this.handleRevert();"
   717 +                     ontextreverted="return this.handleRevert();"
   718 +                     pageproxystate="invalid"
   718 +                     pageproxystate="invalid"
   719 +                     onfocus="document.getElementById('identity-box').style.MozUserFocus= 'normal'"
   719 +                     onfocus="document.getElementById('identity-box').style.MozUserFocus= 'normal'"
   720 +                     onblur="setTimeout(function() document.getElementById('identity-box').style.MozUserFocus = '', 0);">
   720 +                     onblur="setTimeout(() => { document.getElementById('identity-box').style.MozUserFocus = ''; }, 0);">
   721 +              <box id="notification-popup-box" hidden="true" align="center">
   721 +              <box id="notification-popup-box" hidden="true" align="center">
   722 +                <image id="default-notification-icon" class="notification-anchor-icon" role="button"/>
   722 +                <image id="default-notification-icon" class="notification-anchor-icon" role="button"/>
   723 +                <image id="identity-notification-icon" class="notification-anchor-icon" role="button"/>
   723 +                <image id="identity-notification-icon" class="notification-anchor-icon" role="button"/>
   724 +                <image id="geo-notification-icon" class="notification-anchor-icon" role="button"/>
   724 +                <image id="geo-notification-icon" class="notification-anchor-icon" role="button"/>
   725 +                <image id="addons-notification-icon" class="notification-anchor-icon" role="button"/>
   725 +                <image id="addons-notification-icon" class="notification-anchor-icon" role="button"/>
   727 +                <image id="password-notification-icon" class="notification-anchor-icon" role="button"/>
   727 +                <image id="password-notification-icon" class="notification-anchor-icon" role="button"/>
   728 +                <image id="webapps-notification-icon" class="notification-anchor-icon" role="button"/>
   728 +                <image id="webapps-notification-icon" class="notification-anchor-icon" role="button"/>
   729 +                <image id="plugins-notification-icon" class="notification-anchor-icon" role="button"/>
   729 +                <image id="plugins-notification-icon" class="notification-anchor-icon" role="button"/>
   730 +                <image id="web-notifications-notification-icon" class="notification-anchor-icon" role="button"/>
   730 +                <image id="web-notifications-notification-icon" class="notification-anchor-icon" role="button"/>
   731 +                <image id="plugin-install-notification-icon" class="notification-anchor-icon" role="button"/>
   731 +                <image id="plugin-install-notification-icon" class="notification-anchor-icon" role="button"/>
   732 +                <image id="mixed-content-blocked-notification-icon" class="notification-anchor-icon" role="button"/>
   732 +                <image id="bad-content-blocked-notification-icon" class="notification-anchor-icon" role="button"/>
       
   733 +                <image id="bad-content-unblocked-notification-icon" class="notification-anchor-icon" role="button"/>
   733 +                <image id="webRTC-shareDevices-notification-icon" class="notification-anchor-icon" role="button"/>
   734 +                <image id="webRTC-shareDevices-notification-icon" class="notification-anchor-icon" role="button"/>
   734 +                <image id="webRTC-sharingDevices-notification-icon" class="notification-anchor-icon" role="button"/>
   735 +                <image id="webRTC-sharingDevices-notification-icon" class="notification-anchor-icon" role="button"/>
   735 +                <image id="webRTC-shareMicrophone-notification-icon" class="notification-anchor-icon" role="button"/>
   736 +                <image id="webRTC-shareMicrophone-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-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-shareScreen-notification-icon" class="notification-anchor-icon" role="button"/>
   920 +                       key="goHome"
   921 +                       key="goHome"
   921 +                       onclick="BrowserGoHome(event);"
   922 +                       onclick="BrowserGoHome(event);"
   922 +                       cui-areatype="toolbar"
   923 +                       cui-areatype="toolbar"
   923 +                       aboutHomeOverrideTooltip="&abouthome.pageTitle;"/>
   924 +                       aboutHomeOverrideTooltip="&abouthome.pageTitle;"/>
   924 +
   925 +
   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 +
       
   940 +
       
   941 +        <toolbarbutton id="social-share-button"
   926 +        <toolbarbutton id="social-share-button"
   942 +                       class="toolbarbutton-1 chromeclass-toolbar-additional"
   927 +                       class="toolbarbutton-1 chromeclass-toolbar-additional"
   943 +                       label="&sharePageCmd.label;"
   928 +                       label="&sharePageCmd.label;"
   944 +                       tooltiptext="&sharePageCmd.label;"
   929 +                       tooltiptext="&sharePageCmd.label;"
   945 +                       cui-areatype="toolbar"
   930 +                       cui-areatype="toolbar"
  1105 +                  style="min-width: 14em; width: 18em; max-width: 36em;"/>
  1090 +                  style="min-width: 14em; width: 18em; max-width: 36em;"/>
  1106 +      </vbox>
  1091 +      </vbox>
  1107 +
  1092 +
  1108 +      <splitter id="sidebar-splitter" class="chromeclass-extrachrome sidebar-splitter" hidden="true"/>
  1093 +      <splitter id="sidebar-splitter" class="chromeclass-extrachrome sidebar-splitter" hidden="true"/>
  1109 +      <vbox id="appcontent" flex="1">
  1094 +      <vbox id="appcontent" flex="1">
       
  1095 +        <notificationbox id="high-priority-global-notificationbox"/>
  1110 +        <tabbrowser id="content"
  1096 +        <tabbrowser id="content"
  1111 +                    flex="1" contenttooltip="aHTMLTooltip"
  1097 +                    flex="1" contenttooltip="aHTMLTooltip"
  1112 +                    tabcontainer="tabbrowser-tabs"
  1098 +                    tabcontainer="tabbrowser-tabs"
  1113 +                    contentcontextmenu="contentAreaContextMenu"
  1099 +                    contentcontextmenu="contentAreaContextMenu"
  1114 +                    autocompletepopup="PopupAutoComplete"
  1100 +                    autocompletepopup="PopupAutoComplete"