diff options
author | Moonchild <moonchild@palemoon.org> | 2021-05-06 09:24:03 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-05-06 09:24:03 +0000 |
commit | 6f707bde95dab6998ac204f9ee6c925ee230c740 (patch) | |
tree | 859f6cf99f2e026b76dcc40b27b211154310d16e /widget/NativeKeyToDOMCodeName.h | |
parent | aa0fd3d68c856504646e1d7eb499bc890ef44101 (diff) | |
download | uxp-6f707bde95dab6998ac204f9ee6c925ee230c740.tar.gz |
Issue #1751 -- Remove XP_MACOSX conditionals from the rest of the tree.
This also removes some PP abuse and takes file entries out of PP when no longer
needed without XP_MACOSX conditionals.
Diffstat (limited to 'widget/NativeKeyToDOMCodeName.h')
-rw-r--r-- | widget/NativeKeyToDOMCodeName.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/widget/NativeKeyToDOMCodeName.h b/widget/NativeKeyToDOMCodeName.h index 74f2ed1f47..05bcd3babb 100644 --- a/widget/NativeKeyToDOMCodeName.h +++ b/widget/NativeKeyToDOMCodeName.h @@ -27,12 +27,6 @@ #define CODE_MAP_WIN(aCPPCodeName, aNativeKey) \ NS_NATIVE_KEY_TO_DOM_CODE_NAME_INDEX(aNativeKey, \ CODE_NAME_INDEX_##aCPPCodeName) -#elif defined(XP_MACOSX) -#undef CODE_MAP_MAC -// aNativeKey is key code starting with kVK_. -#define CODE_MAP_MAC(aCPPCodeName, aNativeKey) \ - NS_NATIVE_KEY_TO_DOM_CODE_NAME_INDEX(aNativeKey, \ - CODE_NAME_INDEX_##aCPPCodeName) #elif defined(MOZ_WIDGET_GTK) #undef CODE_MAP_X11 // aNativeKey is hardware_keycode of GDKEvent or nativeScanCode of QKeyEvent. |