diff options
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); |