diff options
author | Moonchild <moonchild@palemoon.org> | 2021-10-10 23:09:26 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-01 14:47:16 +0200 |
commit | ddaee7c1be914cc28a28cbe27e5922215b3b2e6f (patch) | |
tree | cb8930a9ba1ed0ef574b7c2be9035b1a51201902 /dom/base/nsFocusManager.cpp | |
parent | c030a50228349fa1b2c0b4fbc2e83752324dd4d7 (diff) | |
download | uxp-ddaee7c1be914cc28a28cbe27e5922215b3b2e6f.tar.gz |
Issue #1830 - Remove --disable-xul config and conditionals.
Diffstat (limited to 'dom/base/nsFocusManager.cpp')
-rw-r--r-- | dom/base/nsFocusManager.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/dom/base/nsFocusManager.cpp b/dom/base/nsFocusManager.cpp index bfd2e334ea..0c12103fba 100644 --- a/dom/base/nsFocusManager.cpp +++ b/dom/base/nsFocusManager.cpp @@ -57,10 +57,8 @@ #include "mozilla/Unused.h" #include <algorithm> -#ifdef MOZ_XUL #include "nsIDOMXULTextboxElement.h" #include "nsIDOMXULMenuListElement.h" -#endif #ifdef ACCESSIBILITY #include "nsAccessibilityService.h" @@ -328,7 +326,6 @@ nsFocusManager::GetRedirectedFocus(nsIContent* aContent) } } -#ifdef MOZ_XUL if (aContent->IsXULElement()) { nsCOMPtr<nsIDOMNode> inputField; @@ -360,7 +357,6 @@ nsFocusManager::GetRedirectedFocus(nsIContent* aContent) return retval; } } -#endif return nullptr; } @@ -2713,7 +2709,6 @@ nsFocusManager::DetermineElementToMoveFocus(nsPIDOMWindowOuter* aWindow, } } else { -#ifdef MOZ_XUL if (aType != MOVEFOCUS_CARET) { // if there is no focus, yet a panel is open, focus the first item in // the panel @@ -2721,7 +2716,6 @@ nsFocusManager::DetermineElementToMoveFocus(nsPIDOMWindowOuter* aWindow, if (pm) popupFrame = pm->GetTopPopup(ePopupTypePanel); } -#endif if (popupFrame) { // When there is a popup open, and no starting content, start the search // at the topmost popup. |