diff options
Diffstat (limited to 'embed/mozilla/EphyBrowser.cpp')
-rw-r--r-- | embed/mozilla/EphyBrowser.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/embed/mozilla/EphyBrowser.cpp b/embed/mozilla/EphyBrowser.cpp index 066532790..2ca36a9bb 100644 --- a/embed/mozilla/EphyBrowser.cpp +++ b/embed/mozilla/EphyBrowser.cpp @@ -548,6 +548,15 @@ nsresult EphyBrowser::GetPageDescriptor(nsISupports **aPageDescriptor) return NS_OK; } +nsresult EphyBrowser::GetDOMWindow (nsIDOMWindow **aDOMWindow) +{ + NS_ENSURE_TRUE (mWebBrowser, NS_ERROR_FAILURE); + + NS_IF_ADDREF (*aDOMWindow = mDOMWindow); + + return NS_OK; +} + nsresult EphyBrowser::GetDocumentUrl (nsACString &url) { nsresult rv; |