Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/hulahop-web-view.cpp
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-06-13 12:16:03 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-06-13 12:16:03 (GMT)
commitc84af0839782820ff42a8cf08c3b76d830f77757 (patch)
tree9c4c7bbd9474dc3dfa45f2b00e65e2b839e6d0ac /src/hulahop-web-view.cpp
parentfe86acf314161823a648dd480e55915dc184e057 (diff)
Implement get_doc_shell in python.
Diffstat (limited to 'src/hulahop-web-view.cpp')
-rw-r--r--src/hulahop-web-view.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/hulahop-web-view.cpp b/src/hulahop-web-view.cpp
index bd6f14e..2eeebc6 100644
--- a/src/hulahop-web-view.cpp
+++ b/src/hulahop-web-view.cpp
@@ -27,7 +27,6 @@
#include <nsIDOMWindow2.h>
#include <nsIDOMEventTarget.h>
#include <nsIBaseWindow.h>
-#include <nsIDocShell.h>
#include <nsIInterfaceRequestorUtils.h>
#include <PyXPCOM.h>
@@ -275,18 +274,6 @@ hulahop_web_view_get_window_root(HulahopWebView *web_view)
NS_GET_IID(nsIDOMEventTarget));
}
-PyObject *
-hulahop_web_view_get_doc_shell(HulahopWebView *web_view)
-{
- nsresult rv;
-
- nsCOMPtr<nsIDocShell> docShell(do_GetInterface(web_view->browser, &rv));
- NS_ENSURE_SUCCESS (rv, NULL);
-
- return PyObject_FromNSInterface(docShell,
- NS_GET_IID(nsIDocShell));
-}
-
void
hulahop_web_view_create_window(HulahopWebView *web_view)
{