diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2003-10-29 08:08:01 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-10-29 08:08:01 +0800 |
commit | 33f74133e5d7626a2aabaa25c50ab2e9d4425505 (patch) | |
tree | d843be8bbb930d6f6e81113a41a11b97c648cd99 /embed/mozilla/EphyBrowser.h | |
parent | ec20564f0a61b4f1dc58d9ec490d4b66a6543ae0 (diff) | |
download | gsoc2013-epiphany-33f74133e5d7626a2aabaa25c50ab2e9d4425505.tar gsoc2013-epiphany-33f74133e5d7626a2aabaa25c50ab2e9d4425505.tar.gz gsoc2013-epiphany-33f74133e5d7626a2aabaa25c50ab2e9d4425505.tar.bz2 gsoc2013-epiphany-33f74133e5d7626a2aabaa25c50ab2e9d4425505.tar.lz gsoc2013-epiphany-33f74133e5d7626a2aabaa25c50ab2e9d4425505.tar.xz gsoc2013-epiphany-33f74133e5d7626a2aabaa25c50ab2e9d4425505.tar.zst gsoc2013-epiphany-33f74133e5d7626a2aabaa25c50ab2e9d4425505.zip |
We cant cache mDOMDocument, it changes for every document loaded. Remove
2003-10-29 Marco Pesenti Gritti <marco@gnome.org>
* embed/mozilla/EphyBrowser.cpp:
* embed/mozilla/EphyBrowser.h:
* embed/mozilla/EventContext.cpp:
We cant cache mDOMDocument, it changes for
every document loaded.
Remove some unused methods from definition.
Diffstat (limited to 'embed/mozilla/EphyBrowser.h')
-rw-r--r-- | embed/mozilla/EphyBrowser.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/embed/mozilla/EphyBrowser.h b/embed/mozilla/EphyBrowser.h index 6cd0b5d57..00d49cce2 100644 --- a/embed/mozilla/EphyBrowser.h +++ b/embed/mozilla/EphyBrowser.h @@ -80,7 +80,6 @@ public: nsresult PushTargetDocument (nsIDOMDocument *domDoc); nsresult PopTargetDocument (); - nsresult GetContentViewer (nsIContentViewer **aViewer); nsresult GetDocument (nsIDOMDocument **aDOMDocument); nsresult GetTargetDocument (nsIDOMDocument **aDOMDocument); nsresult GetDocumentUrl (nsCString &url); @@ -93,18 +92,14 @@ private: nsCOMPtr<nsIWebProgressListener> mProgress; nsCOMPtr<nsIDOMEventReceiver> mEventReceiver; nsCOMPtr<nsIDOMWindow> mDOMWindow; - nsCOMPtr<nsIDOMDocument> mDOMDocument; EphyEventListener *mEventListener; nsresult GetListener (void); nsresult AttachListeners (void); nsresult DetachListeners (void); nsresult SetZoomOnDocshell (float aZoom, nsIDocShell *DocShell); - nsresult GetDocShell (nsIDocShell **aDocShell); - nsresult GetCSSBackground (nsIDOMNode *node, nsAutoString& url); nsresult GetSHistory (nsISHistory **aSHistory); - nsresult GetPIDOMWindow(nsPIDOMWindow **aPIWin); - nsresult GetWebNavigation(nsIWebNavigation **aWebNavigation); + nsresult GetContentViewer (nsIContentViewer **aViewer); }; #endif |