firefox-kde.patch
branchfirefox54
changeset 982 53443ffb496a
parent 979 f82a374a310d
child 985 038d048a3940
equal deleted inserted replaced
981:593707d5c013 982:53443ffb496a
     1 # HG changeset patch
     1 # HG changeset patch
     2 # Parent  f17aea11a99a3ea5fee78bc53bdecb8d851660f0
     2 # Parent  2d666d6d44b2c1f6bc3e033c7e0ac94652af9fee
     3 
     3 
     4 diff --git a/browser/base/content/browser-kde.xul b/browser/base/content/browser-kde.xul
     4 diff --git a/browser/base/content/browser-kde.xul b/browser/base/content/browser-kde.xul
     5 new file mode 100644
     5 new file mode 100644
     6 --- /dev/null
     6 --- /dev/null
     7 +++ b/browser/base/content/browser-kde.xul
     7 +++ b/browser/base/content/browser-kde.xul
     8 @@ -0,0 +1,1136 @@
     8 @@ -0,0 +1,1149 @@
     9 +#filter substitution
     9 +#filter substitution
    10 +<?xml version="1.0"?>
    10 +<?xml version="1.0"?>
    11 +# -*- Mode: HTML -*-
    11 +# -*- Mode: HTML -*-
    12 +#
    12 +#
    13 +# This Source Code Form is subject to the terms of the Mozilla Public
    13 +# This Source Code Form is subject to the terms of the Mozilla Public
    19 +<?xml-stylesheet href="chrome://browser/content/usercontext/usercontext.css" type="text/css"?>
    19 +<?xml-stylesheet href="chrome://browser/content/usercontext/usercontext.css" type="text/css"?>
    20 +<?xml-stylesheet href="chrome://devtools/skin/devtools-browser.css" type="text/css"?>
    20 +<?xml-stylesheet href="chrome://devtools/skin/devtools-browser.css" type="text/css"?>
    21 +<?xml-stylesheet href="chrome://browser/skin/controlcenter/panel.css" type="text/css"?>
    21 +<?xml-stylesheet href="chrome://browser/skin/controlcenter/panel.css" type="text/css"?>
    22 +<?xml-stylesheet href="chrome://browser/skin/customizableui/panelUI.css" type="text/css"?>
    22 +<?xml-stylesheet href="chrome://browser/skin/customizableui/panelUI.css" type="text/css"?>
    23 +<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
    23 +<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
    24 +<?xml-stylesheet href="chrome://browser/skin/browser-lightweightTheme.css" type="text/css"?>
       
    25 +
    24 +
    26 +<?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?>
    25 +<?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?>
    27 +<?xul-overlay href="chrome://browser/content/baseMenuOverlay.xul"?>
    26 +<?xul-overlay href="chrome://browser/content/baseMenuOverlay.xul"?>
    28 +<?xul-overlay href="chrome://browser/content/places/placesOverlay.xul"?>
    27 +<?xul-overlay href="chrome://browser/content/places/placesOverlay.xul"?>
    29 +
    28 +
    59 +#endif
    58 +#endif
    60 +        tabsintitlebar="true"
    59 +        tabsintitlebar="true"
    61 +#endif
    60 +#endif
    62 +        titlemenuseparator="&mainWindow.titlemodifiermenuseparator;"
    61 +        titlemenuseparator="&mainWindow.titlemodifiermenuseparator;"
    63 +        lightweightthemes="true"
    62 +        lightweightthemes="true"
    64 +        lightweightthemesfooter="browser-bottombox"
       
    65 +        windowtype="navigator:browser"
    63 +        windowtype="navigator:browser"
    66 +        macanimationtype="document"
    64 +        macanimationtype="document"
    67 +        screenX="4" screenY="4"
    65 +        screenX="4" screenY="4"
    68 +        fullscreenbutton="true"
    66 +        fullscreenbutton="true"
    69 +        sizemode="normal"
    67 +        sizemode="normal"
   153 +    <panel type="autocomplete-richlistbox"
   151 +    <panel type="autocomplete-richlistbox"
   154 +           id="PopupAutoComplete"
   152 +           id="PopupAutoComplete"
   155 +           noautofocus="true"
   153 +           noautofocus="true"
   156 +           hidden="true"
   154 +           hidden="true"
   157 +           overflowpadding="4"
   155 +           overflowpadding="4"
   158 +           norolluponanchor="true" />
   156 +           norolluponanchor="true"
       
   157 +           nomaxresults="true" />
   159 +
   158 +
   160 +    <!-- for search with one-off buttons -->
   159 +    <!-- for search with one-off buttons -->
   161 +    <panel type="autocomplete" id="PopupSearchAutoComplete" noautofocus="true" hidden="true"/>
   160 +    <panel type="autocomplete" id="PopupSearchAutoComplete" noautofocus="true" hidden="true"/>
   162 +
   161 +
   163 +    <!-- for url bar autocomplete -->
   162 +    <!-- for url bar autocomplete -->
   173 +           type="arrow"
   172 +           type="arrow"
   174 +           hidden="true"
   173 +           hidden="true"
   175 +           orient="vertical"
   174 +           orient="vertical"
   176 +           noautofocus="true"
   175 +           noautofocus="true"
   177 +           consumeoutsideclicks="false"
   176 +           consumeoutsideclicks="false"
   178 +           level="parent">
   177 +           level="parent"
       
   178 +           tabspecific="true">
   179 +      <iframe id="dateTimePopupFrame"/>
   179 +      <iframe id="dateTimePopupFrame"/>
   180 +    </panel>
   180 +    </panel>
   181 +
   181 +
   182 +    <!-- for select dropdowns. The menupopup is what shows the list of options,
   182 +    <!-- for select dropdowns. The menupopup is what shows the list of options,
   183 +         and the popuponly menulist makes things like the menuactive attributes
   183 +         and the popuponly menulist makes things like the menuactive attributes
   709 +                   ondragstart="gIdentityHandler.onDragStart(event);">
   709 +                   ondragstart="gIdentityHandler.onDragStart(event);">
   710 +                <image id="identity-icon"
   710 +                <image id="identity-icon"
   711 +                       consumeanchor="identity-box"
   711 +                       consumeanchor="identity-box"
   712 +                       onclick="PageProxyClickHandler(event);"/>
   712 +                       onclick="PageProxyClickHandler(event);"/>
   713 +                <image id="sharing-icon" mousethrough="always"/>
   713 +                <image id="sharing-icon" mousethrough="always"/>
       
   714 +                <image id="tracking-protection-icon"/>
   714 +                <box id="blocked-permissions-container" align="center">
   715 +                <box id="blocked-permissions-container" align="center">
   715 +                  <image data-permission-id="geo" class="blocked-permission-icon geo-icon" role="button"
   716 +                  <image data-permission-id="geo" class="blocked-permission-icon geo-icon" role="button"
   716 +                         tooltiptext="&urlbar.geolocationBlocked.tooltip;"/>
   717 +                         tooltiptext="&urlbar.geolocationBlocked.tooltip;"/>
   717 +                  <image data-permission-id="desktop-notification" class="blocked-permission-icon desktop-notification-icon" role="button"
   718 +                  <image data-permission-id="desktop-notification" class="blocked-permission-icon desktop-notification-icon" role="button"
   718 +                         tooltiptext="&urlbar.webNotificationsBlocked.tooltip;"/>
   719 +                         tooltiptext="&urlbar.webNotificationsBlocked.tooltip;"/>
   757 +                  <image id="translated-notification-icon" class="notification-anchor-icon translation-icon in-use" role="button"
   758 +                  <image id="translated-notification-icon" class="notification-anchor-icon translation-icon in-use" role="button"
   758 +                         tooltiptext="&urlbar.translatedNotificationAnchor.tooltip;"/>
   759 +                         tooltiptext="&urlbar.translatedNotificationAnchor.tooltip;"/>
   759 +                  <image id="eme-notification-icon" class="notification-anchor-icon drm-icon" role="button"
   760 +                  <image id="eme-notification-icon" class="notification-anchor-icon drm-icon" role="button"
   760 +                         tooltiptext="&urlbar.emeNotificationAnchor.tooltip;"/>
   761 +                         tooltiptext="&urlbar.emeNotificationAnchor.tooltip;"/>
   761 +                </box>
   762 +                </box>
   762 +                <image id="tracking-protection-icon"/>
       
   763 +                <image id="connection-icon"/>
   763 +                <image id="connection-icon"/>
   764 +                <hbox id="identity-icon-labels">
   764 +                <hbox id="identity-icon-labels">
   765 +                  <label id="identity-icon-label" class="plain" flex="1"/>
   765 +                  <label id="identity-icon-label" class="plain" flex="1"/>
   766 +                  <label id="identity-icon-country-label" class="plain"/>
   766 +                  <label id="identity-icon-country-label" class="plain"/>
   767 +                </hbox>
   767 +                </hbox>
   886 +                         context="placesContext"
   886 +                         context="placesContext"
   887 +                         onpopupshowing="if (!this.parentNode._placesView)
   887 +                         onpopupshowing="if (!this.parentNode._placesView)
   888 +                                           new PlacesMenu(event, 'place:folder=UNFILED_BOOKMARKS',
   888 +                                           new PlacesMenu(event, 'place:folder=UNFILED_BOOKMARKS',
   889 +                                                          PlacesUIUtils.getViewForNode(this.parentNode.parentNode).options);"/>
   889 +                                                          PlacesUIUtils.getViewForNode(this.parentNode.parentNode).options);"/>
   890 +            </menu>
   890 +            </menu>
       
   891 +            <menu id="BMB_mobileBookmarks"
       
   892 +                  class="menu-iconic bookmark-item subviewbutton"
       
   893 +                  label="&bookmarksMenuButton.mobile.label;"
       
   894 +                  hidden="true"
       
   895 +                  container="true">
       
   896 +              <menupopup id="BMB_mobileBookmarksPopup"
       
   897 +                         placespopup="true"
       
   898 +                         context="placesContext"
       
   899 +                         onpopupshowing="if (!this.parentNode._placesView)
       
   900 +                                           new PlacesMenu(event, 'place:folder=MOBILE_BOOKMARKS',
       
   901 +                                                          PlacesUIUtils.getViewForNode(this.parentNode.parentNode).options);"/>
       
   902 +            </menu>
       
   903 +
   891 +            <menuseparator/>
   904 +            <menuseparator/>
   892 +            <!-- Bookmarks menu items will go here -->
   905 +            <!-- Bookmarks menu items will go here -->
   893 +            <menuitem id="BMB_bookmarksShowAll"
   906 +            <menuitem id="BMB_bookmarksShowAll"
   894 +                      class="subviewbutton panel-subview-footer"
   907 +                      class="subviewbutton panel-subview-footer"
   895 +                      label="&showAllBookmarks2.label;"
   908 +                      label="&showAllBookmarks2.label;"