aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyContentPolicy.h
diff options
context:
space:
mode:
authorJean-François Rameau <jframeau@cvs.gnome.org>2006-01-09 06:28:09 +0800
committerJean-François Rameau <jframeau@src.gnome.org>2006-01-09 06:28:09 +0800
commitc682e0acc7c7ff2e9c194d7db1a5b756ac6beb69 (patch)
tree42bd9a664c00471209c04abed19ae83197c0a340 /embed/mozilla/EphyContentPolicy.h
parent02aa0ad6720d78042850f3b8cd92d020aad47881 (diff)
downloadgsoc2013-epiphany-c682e0acc7c7ff2e9c194d7db1a5b756ac6beb69.tar
gsoc2013-epiphany-c682e0acc7c7ff2e9c194d7db1a5b756ac6beb69.tar.gz
gsoc2013-epiphany-c682e0acc7c7ff2e9c194d7db1a5b756ac6beb69.tar.bz2
gsoc2013-epiphany-c682e0acc7c7ff2e9c194d7db1a5b756ac6beb69.tar.lz
gsoc2013-epiphany-c682e0acc7c7ff2e9c194d7db1a5b756ac6beb69.tar.xz
gsoc2013-epiphany-c682e0acc7c7ff2e9c194d7db1a5b756ac6beb69.tar.zst
gsoc2013-epiphany-c682e0acc7c7ff2e9c194d7db1a5b756ac6beb69.zip
EphyContentPolicy now emits a signal when a content is blocked.
2006-01-08 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/EphyContentPolicy.h: * embed/mozilla/EphyContentPolicy.cpp: (ShouldLoad): * embed/ephy-embed.h: * embed/ephy-embed.c: (ephy_embed_base_init): EphyContentPolicy now emits a signal when a content is blocked.
Diffstat (limited to 'embed/mozilla/EphyContentPolicy.h')
-rw-r--r--embed/mozilla/EphyContentPolicy.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/mozilla/EphyContentPolicy.h b/embed/mozilla/EphyContentPolicy.h
index 11e0ce9bd..3c4813a17 100644
--- a/embed/mozilla/EphyContentPolicy.h
+++ b/embed/mozilla/EphyContentPolicy.h
@@ -25,6 +25,8 @@
#include <glib.h>
#include <glib-object.h>
+#include "ephy-embed.h"
+
#include <nsISupports.h>
#include <nsIContentPolicy.h>
@@ -48,6 +50,8 @@ public:
EphyContentPolicy();
virtual ~EphyContentPolicy();
private:
+ GtkWidget *GetEmbedFromContext (nsISupports *aContext);
+
GObject *mEmbedSingle;
gboolean mLocked;
GSList *mSafeProtocols;