1 # HG changeset patch |
1 # HG changeset patch |
2 # Parent 07e419c2bbc63c486d25fd8ce117abd10e9ebdba |
2 # Parent 2704257a50b4ff60fa43eca8d4a547c6d70bb30e |
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,1174 @@ |
8 @@ -0,0 +1,1179 @@ |
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 |
14 +# License, v. 2.0. If a copy of the MPL was not distributed with this |
14 +# License, v. 2.0. If a copy of the MPL was not distributed with this |
15 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. |
15 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. |
16 + |
16 + |
17 +<?xml-stylesheet href="chrome://browser/content/browser.css" type="text/css"?> |
17 +<?xml-stylesheet href="chrome://browser/content/browser.css" type="text/css"?> |
18 +<?xml-stylesheet href="chrome://browser/content/places/places.css" type="text/css"?> |
18 +<?xml-stylesheet href="chrome://browser/content/places/places.css" type="text/css"?> |
|
19 +<?xml-stylesheet href="chrome://browser/content/usercontext/usercontext.css" type="text/css"?> |
19 +<?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"?> |
20 +<?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"?> |
21 +<?xml-stylesheet href="chrome://browser/skin/customizableui/panelUIOverlay.css" type="text/css"?> |
22 +<?xml-stylesheet href="chrome://browser/skin/customizableui/panelUIOverlay.css" type="text/css"?> |
22 +<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?> |
23 +<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?> |
23 +<?xml-stylesheet href="chrome://browser/skin/browser-lightweightTheme.css" type="text/css"?> |
24 +<?xml-stylesheet href="chrome://browser/skin/browser-lightweightTheme.css" type="text/css"?> |
386 + gContextMenu = null; |
375 + gContextMenu = null; |
387 + updateEditUIVisibility();"> |
376 + updateEditUIVisibility();"> |
388 +#include browser-context.inc |
377 +#include browser-context.inc |
389 + </menupopup> |
378 + </menupopup> |
390 + |
379 + |
391 + <menupopup id="placesContext"/> |
380 + <menupopup id="placesContext"> |
|
381 + <menuseparator id="placesContext_recentlyBookmarkedSeparator" |
|
382 + ignoreitem="true" |
|
383 + ordinal="2" |
|
384 + hidden="true"/> |
|
385 + <menuitem id="placesContext_hideRecentlyBookmarked" |
|
386 + label="&hideRecentlyBookmarked.label;" |
|
387 + accesskey="&hideRecentlyBookmarked.accesskey;" |
|
388 + oncommand="BookmarkingUI.hideRecentlyBookmarked();" |
|
389 + closemenu="single" |
|
390 + ignoreitem="true" |
|
391 + ordinal="2" |
|
392 + hidden="true"/> |
|
393 + <menuitem id="placesContext_showRecentlyBookmarked" |
|
394 + label="&showRecentlyBookmarked.label;" |
|
395 + accesskey="&showRecentlyBookmarked.accesskey;" |
|
396 + oncommand="BookmarkingUI.showRecentlyBookmarked();" |
|
397 + closemenu="single" |
|
398 + ignoreitem="true" |
|
399 + ordinal="2" |
|
400 + hidden="true"/> |
|
401 + </menupopup> |
392 + |
402 + |
393 + <panel id="ctrlTab-panel" class="KUI-panel" hidden="true" norestorefocus="true" level="top"> |
403 + <panel id="ctrlTab-panel" class="KUI-panel" hidden="true" norestorefocus="true" level="top"> |
394 + <hbox> |
404 + <hbox> |
395 + <button class="ctrlTab-preview" flex="1"/> |
405 + <button class="ctrlTab-preview" flex="1"/> |
396 + <button class="ctrlTab-preview" flex="1"/> |
406 + <button class="ctrlTab-preview" flex="1"/> |
399 + <button class="ctrlTab-preview" flex="1"/> |
409 + <button class="ctrlTab-preview" flex="1"/> |
400 + <button class="ctrlTab-preview" flex="1"/> |
410 + <button class="ctrlTab-preview" flex="1"/> |
401 + </hbox> |
411 + </hbox> |
402 + <hbox pack="center"> |
412 + <hbox pack="center"> |
403 + <button id="ctrlTab-showAll" class="ctrlTab-preview" noicon="true"/> |
413 + <button id="ctrlTab-showAll" class="ctrlTab-preview" noicon="true"/> |
404 + </hbox> |
|
405 + </panel> |
|
406 + |
|
407 + <!-- Sync Panel --> |
|
408 + <panel id="sync-start-panel" class="sync-panel" type="arrow" hidden="true" |
|
409 + noautofocus="true" onclick="this.hidePopup();" |
|
410 + flip="slide"> |
|
411 + <hbox class="sync-panel-outer"> |
|
412 + <image class="sync-panel-icon"/> |
|
413 + <vbox class="sync-panel-inner"> |
|
414 + <description id="sync-start-panel-title" |
|
415 + value="&syncStartPanel2.heading;"/> |
|
416 + <description id="sync-start-panel-subtitle" |
|
417 + value="&syncStartPanel2.subTitle;"/> |
|
418 + </vbox> |
|
419 + </hbox> |
414 + </hbox> |
420 + </panel> |
415 + </panel> |
421 + |
416 + |
422 + <!-- Bookmarks and history tooltip --> |
417 + <!-- Bookmarks and history tooltip --> |
423 + <tooltip id="bhTooltip"/> |
418 + <tooltip id="bhTooltip"/> |
716 + onfocus="document.getElementById('identity-box').style.MozUserFocus= 'normal'" |
716 + onfocus="document.getElementById('identity-box').style.MozUserFocus= 'normal'" |
717 + onblur="setTimeout(() => { document.getElementById('identity-box').style.MozUserFocus = ''; }, 0);"> |
717 + onblur="setTimeout(() => { document.getElementById('identity-box').style.MozUserFocus = ''; }, 0);"> |
718 + <box id="notification-popup-box" hidden="true" align="center"> |
718 + <box id="notification-popup-box" hidden="true" align="center"> |
719 + <image id="default-notification-icon" class="notification-anchor-icon" role="button" |
719 + <image id="default-notification-icon" class="notification-anchor-icon" role="button" |
720 + aria-label="&urlbar.defaultNotificationAnchor.label;"/> |
720 + aria-label="&urlbar.defaultNotificationAnchor.label;"/> |
721 + <image id="geo-notification-icon" class="notification-anchor-icon" role="button" |
721 + <image id="geo-notification-icon" class="notification-anchor-icon geo-icon" role="button" |
722 + aria-label="&urlbar.geolocationNotificationAnchor.label;"/> |
722 + aria-label="&urlbar.geolocationNotificationAnchor.label;"/> |
723 + <image id="addons-notification-icon" class="notification-anchor-icon" role="button" |
723 + <image id="addons-notification-icon" class="notification-anchor-icon install-icon" role="button" |
724 + aria-label="&urlbar.addonsNotificationAnchor.label;"/> |
724 + aria-label="&urlbar.addonsNotificationAnchor.label;"/> |
725 + <image id="indexedDB-notification-icon" class="notification-anchor-icon" role="button" |
725 + <image id="indexedDB-notification-icon" class="notification-anchor-icon indexedDB-icon" role="button" |
726 + aria-label="&urlbar.indexedDBNotificationAnchor.label;"/> |
726 + aria-label="&urlbar.indexedDBNotificationAnchor.label;"/> |
727 + <image id="login-fill-notification-icon" class="notification-anchor-icon" role="button" |
727 + <image id="login-fill-notification-icon" class="notification-anchor-icon login-icon" role="button" |
728 + aria-label="&urlbar.loginFillNotificationAnchor.label;"/> |
728 + aria-label="&urlbar.loginFillNotificationAnchor.label;"/> |
729 + <image id="password-notification-icon" class="notification-anchor-icon" role="button" |
729 + <image id="password-notification-icon" class="notification-anchor-icon login-icon" role="button" |
730 + aria-label="&urlbar.passwordNotificationAnchor.label;"/> |
730 + aria-label="&urlbar.passwordNotificationAnchor.label;"/> |
731 + <image id="plugins-notification-icon" class="notification-anchor-icon" role="button" |
731 + <image id="plugins-notification-icon" class="notification-anchor-icon plugin-icon" role="button" |
732 + aria-label="&urlbar.pluginsNotificationAnchor.label;"/> |
732 + aria-label="&urlbar.pluginsNotificationAnchor.label;"/> |
733 + <image id="web-notifications-notification-icon" class="notification-anchor-icon" role="button" |
733 + <image id="web-notifications-notification-icon" class="notification-anchor-icon web-notifications-icon" role="button" |
734 + aria-label="&urlbar.webNotsNotificationAnchor3.label;"/> |
734 + aria-label="&urlbar.webNotsNotificationAnchor3.label;"/> |
735 + <image id="webRTC-shareDevices-notification-icon" class="notification-anchor-icon" role="button" |
735 + <image id="webRTC-shareDevices-notification-icon" class="notification-anchor-icon camera-icon" role="button" |
736 + aria-label="&urlbar.webRTCShareDevicesNotificationAnchor.label;"/> |
736 + aria-label="&urlbar.webRTCShareDevicesNotificationAnchor.label;"/> |
737 + <image id="webRTC-sharingDevices-notification-icon" class="notification-anchor-icon" role="button" |
737 + <image id="webRTC-sharingDevices-notification-icon" class="notification-anchor-icon camera-icon in-use" role="button" |
738 + aria-label="&urlbar.webRTCSharingDevicesNotificationAnchor.label;"/> |
738 + aria-label="&urlbar.webRTCSharingDevicesNotificationAnchor.label;"/> |
739 + <image id="webRTC-shareMicrophone-notification-icon" class="notification-anchor-icon" role="button" |
739 + <image id="webRTC-shareMicrophone-notification-icon" class="notification-anchor-icon microphone-icon" role="button" |
740 + aria-label="&urlbar.webRTCShareMicrophoneNotificationAnchor.label;"/> |
740 + aria-label="&urlbar.webRTCShareMicrophoneNotificationAnchor.label;"/> |
741 + <image id="webRTC-sharingMicrophone-notification-icon" class="notification-anchor-icon" role="button" |
741 + <image id="webRTC-sharingMicrophone-notification-icon" class="notification-anchor-icon microphone-icon in-use" role="button" |
742 + aria-label="&urlbar.webRTCSharingMicrophoneNotificationAnchor.label;"/> |
742 + aria-label="&urlbar.webRTCSharingMicrophoneNotificationAnchor.label;"/> |
743 + <image id="webRTC-shareScreen-notification-icon" class="notification-anchor-icon" role="button" |
743 + <image id="webRTC-shareScreen-notification-icon" class="notification-anchor-icon screen-icon" role="button" |
744 + aria-label="&urlbar.webRTCShareScreenNotificationAnchor.label;"/> |
744 + aria-label="&urlbar.webRTCShareScreenNotificationAnchor.label;"/> |
745 + <image id="webRTC-sharingScreen-notification-icon" class="notification-anchor-icon" role="button" |
745 + <image id="webRTC-sharingScreen-notification-icon" class="notification-anchor-icon screen-icon in-use" role="button" |
746 + aria-label="&urlbar.webRTCSharingScreenNotificationAnchor.label;"/> |
746 + aria-label="&urlbar.webRTCSharingScreenNotificationAnchor.label;"/> |
747 + <image id="pointerLock-notification-icon" class="notification-anchor-icon" role="button" |
747 + <image id="pointerLock-notification-icon" class="notification-anchor-icon pointer-icon" role="button" |
748 + aria-label="&urlbar.pointerLockNotificationAnchor.label;"/> |
748 + aria-label="&urlbar.pointerLockNotificationAnchor.label;"/> |
749 + <image id="servicesInstall-notification-icon" class="notification-anchor-icon" role="button" |
749 + <image id="servicesInstall-notification-icon" class="notification-anchor-icon service-icon" role="button" |
750 + aria-label="&urlbar.servicesNotificationAnchor.label;"/> |
750 + aria-label="&urlbar.servicesNotificationAnchor.label;"/> |
751 + <image id="translate-notification-icon" class="notification-anchor-icon" role="button" |
751 + <image id="translate-notification-icon" class="notification-anchor-icon translation-icon" role="button" |
752 + aria-label="&urlbar.translateNotificationAnchor.label;"/> |
752 + aria-label="&urlbar.translateNotificationAnchor.label;"/> |
753 + <image id="translated-notification-icon" class="notification-anchor-icon" role="button" |
753 + <image id="translated-notification-icon" class="notification-anchor-icon translation-icon in-use" role="button" |
754 + aria-label="&urlbar.translatedNotificationAnchor.label;"/> |
754 + aria-label="&urlbar.translatedNotificationAnchor.label;"/> |
755 + <image id="eme-notification-icon" class="notification-anchor-icon" role="button" |
755 + <image id="eme-notification-icon" class="notification-anchor-icon drm-icon" role="button" |
756 + aria-label="&urlbar.emeNotificationAnchor.label;"/> |
756 + aria-label="&urlbar.emeNotificationAnchor.label;"/> |
757 + </box> |
757 + </box> |
758 + <!-- Use onclick instead of normal popup= syntax since the popup |
758 + <!-- Use onclick instead of normal popup= syntax since the popup |
759 + code fires onmousedown, and hence eats our favicon drag events. |
759 + code fires onmousedown, and hence eats our favicon drag events. |
760 + We only add the identity-box button to the tab order when the location bar |
760 + We only add the identity-box button to the tab order when the location bar |