diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:29 +0000 |
commit | 59203c63bb777a3bacec32fb8830fba33540e809 (patch) | |
tree | 58298e711c0ff0575818c30485b44a2f21bf28a0 /docshell/base/nsDocShell.cpp | |
parent | Adding upstream version 126.0.1. (diff) | |
download | firefox-59203c63bb777a3bacec32fb8830fba33540e809.tar.xz firefox-59203c63bb777a3bacec32fb8830fba33540e809.zip |
Adding upstream version 127.0.upstream/127.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'docshell/base/nsDocShell.cpp')
-rw-r--r-- | docshell/base/nsDocShell.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/docshell/base/nsDocShell.cpp b/docshell/base/nsDocShell.cpp index 87a34cf5b2..65caf8a231 100644 --- a/docshell/base/nsDocShell.cpp +++ b/docshell/base/nsDocShell.cpp @@ -167,7 +167,6 @@ #include "nsIURILoader.h" #include "nsIViewSourceChannel.h" #include "nsIWebBrowserChrome.h" -#include "nsIWebBrowserChromeFocus.h" #include "nsIWebBrowserFind.h" #include "nsIWebProgress.h" #include "nsIWidget.h" @@ -2099,27 +2098,6 @@ nsDocShell::GetBusyFlags(BusyFlags* aBusyFlags) { } NS_IMETHODIMP -nsDocShell::TabToTreeOwner(bool aForward, bool aForDocumentNavigation, - bool* aTookFocus) { - NS_ENSURE_ARG_POINTER(aTookFocus); - - nsCOMPtr<nsIWebBrowserChromeFocus> chromeFocus = do_GetInterface(mTreeOwner); - if (chromeFocus) { - if (aForward) { - *aTookFocus = - NS_SUCCEEDED(chromeFocus->FocusNextElement(aForDocumentNavigation)); - } else { - *aTookFocus = - NS_SUCCEEDED(chromeFocus->FocusPrevElement(aForDocumentNavigation)); - } - } else { - *aTookFocus = false; - } - - return NS_OK; -} - -NS_IMETHODIMP nsDocShell::GetLoadURIDelegate(nsILoadURIDelegate** aLoadURIDelegate) { nsCOMPtr<nsILoadURIDelegate> delegate = GetLoadURIDelegate(); delegate.forget(aLoadURIDelegate); |