Browse Source

match nsIWebBrowserChromeFocus platform API changes (as of NM27 rev 3b1d2cdd8)

master
roytam1 1 year ago
parent
commit
52f2e3f1f8
  1. 4
      k-meleon/app/BrowserImpl.cpp
  2. 4
      k-meleon/winEmbed/WebBrowserChrome.cpp

4
k-meleon/app/BrowserImpl.cpp

@ -365,7 +365,7 @@ CBrowserImpl::GetPersistence(PRBool* aPersistX, PRBool* aPersistY,
// CBrowserImpl::nsIWebBrowserChromeFocus
//*****************************************************************************
NS_IMETHODIMP CBrowserImpl::FocusNextElement()
NS_IMETHODIMP CBrowserImpl::FocusNextElement(bool aForDocumentNavigation)
{
NS_ENSURE_TRUE(m_pBrowserFrameGlue, NS_ERROR_FAILURE);
@ -374,7 +374,7 @@ NS_IMETHODIMP CBrowserImpl::FocusNextElement()
return NS_OK;
}
NS_IMETHODIMP CBrowserImpl::FocusPrevElement()
NS_IMETHODIMP CBrowserImpl::FocusPrevElement(bool aForDocumentNavigation)
{
NS_ENSURE_TRUE(m_pBrowserFrameGlue, NS_ERROR_FAILURE);

4
k-meleon/winEmbed/WebBrowserChrome.cpp

@ -236,12 +236,12 @@ NS_IMETHODIMP WebBrowserChrome::ExitModalEventLoop(nsresult aStatus)
// WebBrowserChrome::nsIWebBrowserChromeFocus
//*****************************************************************************
NS_IMETHODIMP WebBrowserChrome::FocusNextElement()
NS_IMETHODIMP WebBrowserChrome::FocusNextElement(bool aForDocumentNavigation)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP WebBrowserChrome::FocusPrevElement()
NS_IMETHODIMP WebBrowserChrome::FocusPrevElement(bool aForDocumentNavigation)
{
return NS_ERROR_NOT_IMPLEMENTED;
}

Loading…
Cancel
Save