diff options
author | Moonchild <moonchild@palemoon.org> | 2021-05-08 20:59:55 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-05-08 20:59:55 +0000 |
commit | ca35efb84ebae522f9ab7803d8e017f721e03207 (patch) | |
tree | 007a31b1f12259cb1940456d8b3717e71a2ddc7d /dom/xbl | |
parent | e7e63565ee4635198cc51ec3dd6f7a41e554b930 (diff) | |
download | uxp-ca35efb84ebae522f9ab7803d8e017f721e03207.tar.gz |
Issue #1751 -- Remove cocoa support code from /dom
Diffstat (limited to 'dom/xbl')
-rw-r--r-- | dom/xbl/builtin/mac/jar.mn | 6 | ||||
-rw-r--r-- | dom/xbl/builtin/mac/moz.build | 6 | ||||
-rw-r--r-- | dom/xbl/builtin/mac/platformHTMLBindings.xml | 72 | ||||
-rw-r--r-- | dom/xbl/builtin/moz.build | 2 |
4 files changed, 0 insertions, 86 deletions
diff --git a/dom/xbl/builtin/mac/jar.mn b/dom/xbl/builtin/mac/jar.mn deleted file mode 100644 index 9f05c2dd6c..0000000000 --- a/dom/xbl/builtin/mac/jar.mn +++ /dev/null @@ -1,6 +0,0 @@ -# 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/. - -toolkit.jar: -* content/global/platformHTMLBindings.xml (platformHTMLBindings.xml) diff --git a/dom/xbl/builtin/mac/moz.build b/dom/xbl/builtin/mac/moz.build deleted file mode 100644 index 635fa39c99..0000000000 --- a/dom/xbl/builtin/mac/moz.build +++ /dev/null @@ -1,6 +0,0 @@ -# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- -# 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/. - -JAR_MANIFESTS += ['jar.mn']
\ No newline at end of file diff --git a/dom/xbl/builtin/mac/platformHTMLBindings.xml b/dom/xbl/builtin/mac/platformHTMLBindings.xml deleted file mode 100644 index b705923999..0000000000 --- a/dom/xbl/builtin/mac/platformHTMLBindings.xml +++ /dev/null @@ -1,72 +0,0 @@ -<?xml version="1.0"?> -<!-- 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/. --> - - -<bindings id="htmlBindings" - xmlns="http://www.mozilla.org/xbl" - xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> - - <binding id="inputFields" bindToUntrustedContent="true"> - <handlers> - <handler event="keypress" key="c" modifiers="accel" command="cmd_copy"/> - <handler event="keypress" key="x" modifiers="accel" command="cmd_cut"/> - <handler event="keypress" key="v" modifiers="accel" command="cmd_paste"/> - <handler event="keypress" key="z" modifiers="accel" command="cmd_undo"/> - <handler event="keypress" key="z" modifiers="accel,shift" command="cmd_redo"/> - <handler event="keypress" key="a" modifiers="accel" command="cmd_selectAll"/> - </handlers> - </binding> - - <binding id="textAreas" bindToUntrustedContent="true"> - <handlers> - <handler event="keypress" key="c" modifiers="accel" command="cmd_copy"/> - <handler event="keypress" key="x" modifiers="accel" command="cmd_cut"/> - <handler event="keypress" key="v" modifiers="accel" command="cmd_paste"/> - <handler event="keypress" key="z" modifiers="accel" command="cmd_undo"/> - <handler event="keypress" key="z" modifiers="accel,shift" command="cmd_redo"/> - <handler event="keypress" key="a" modifiers="accel" command="cmd_selectAll"/> - </handlers> - </binding> - - <binding id="browser"> - <handlers> -#include ../browser-base.inc - <handler event="keypress" keycode="VK_PAGE_UP" command="cmd_scrollPageUp"/> - <handler event="keypress" keycode="VK_PAGE_DOWN" command="cmd_scrollPageDown"/> - <handler event="keypress" keycode="VK_HOME" command="cmd_scrollTop" /> - <handler event="keypress" keycode="VK_END" command="cmd_scrollBottom" /> - - <handler event="keypress" keycode="VK_LEFT" modifiers="alt" command="cmd_moveLeft2" /> - <handler event="keypress" keycode="VK_RIGHT" modifiers="alt" command="cmd_moveRight2" /> - <handler event="keypress" keycode="VK_LEFT" modifiers="alt,shift" command="cmd_selectLeft2" /> - <handler event="keypress" keycode="VK_RIGHT" modifiers="alt,shift" command="cmd_selectRight2" /> - <handler event="keypress" keycode="VK_LEFT" modifiers="shift" command="cmd_selectLeft" /> - <handler event="keypress" keycode="VK_RIGHT" modifiers="shift" command="cmd_selectRight" /> - <handler event="keypress" keycode="VK_UP" modifiers="alt,shift" command="cmd_selectUp2" /> - <handler event="keypress" keycode="VK_DOWN" modifiers="alt,shift" command="cmd_selectDown2" /> - <handler event="keypress" keycode="VK_UP" modifiers="shift" command="cmd_selectUp" /> - <handler event="keypress" keycode="VK_DOWN" modifiers="shift" command="cmd_selectDown" /> - <handler event="keypress" keycode="VK_UP" modifiers="accel" command="cmd_moveUp2"/> - <handler event="keypress" keycode="VK_DOWN" modifiers="accel" command="cmd_moveDown2"/> - </handlers> - </binding> - - <binding id="editor"> - <handlers> - <handler event="keypress" key=" " modifiers="shift" command="cmd_scrollPageUp" /> - <handler event="keypress" key=" " command="cmd_scrollPageDown" /> - - <handler event="keypress" key="z" command="cmd_undo" modifiers="accel"/> - <handler event="keypress" key="z" command="cmd_redo" modifiers="accel,shift" /> - <handler event="keypress" key="x" command="cmd_cut" modifiers="accel"/> - <handler event="keypress" key="c" command="cmd_copy" modifiers="accel"/> - <handler event="keypress" key="v" command="cmd_paste" modifiers="accel"/> - <handler event="keypress" key="v" command="cmd_pasteNoFormatting" modifiers="accel,shift"/> - <handler event="keypress" key="a" command="cmd_selectAll" modifiers="accel"/> - <handler event="keypress" key="v" command="cmd_pasteNoFormatting" modifiers="accel,alt,shift"/> - </handlers> - </binding> - -</bindings> diff --git a/dom/xbl/builtin/moz.build b/dom/xbl/builtin/moz.build index 23e3285d49..c51001b4c9 100644 --- a/dom/xbl/builtin/moz.build +++ b/dom/xbl/builtin/moz.build @@ -5,8 +5,6 @@ if CONFIG['OS_ARCH'] == 'WINNT': DIRS += ['win'] -elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': - DIRS += ['mac'] elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android': DIRS += ['android'] elif CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk2', 'gtk3'): |