diff options
author | Jean-François Rameau <jframeau@cvs.gnome.org> | 2005-12-20 05:33:41 +0800 |
---|---|---|
committer | Jean-François Rameau <jframeau@src.gnome.org> | 2005-12-20 05:33:41 +0800 |
commit | 75b2ce17335253696b6e064e093af57902a7d39c (patch) | |
tree | 154e37415e375ecd7a83aa266fad30fd04c68733 /src | |
parent | 44f5c62d3fa80ae1db96104c51a3af7b44540354 (diff) | |
download | gsoc2013-epiphany-75b2ce17335253696b6e064e093af57902a7d39c.tar gsoc2013-epiphany-75b2ce17335253696b6e064e093af57902a7d39c.tar.gz gsoc2013-epiphany-75b2ce17335253696b6e064e093af57902a7d39c.tar.bz2 gsoc2013-epiphany-75b2ce17335253696b6e064e093af57902a7d39c.tar.lz gsoc2013-epiphany-75b2ce17335253696b6e064e093af57902a7d39c.tar.xz gsoc2013-epiphany-75b2ce17335253696b6e064e093af57902a7d39c.tar.zst gsoc2013-epiphany-75b2ce17335253696b6e064e093af57902a7d39c.zip |
Add some code so ad blocking should be more easy. Based on the fact that
2005-12-19 Jean-François Rameau <jframeau@cvs.gnome.org>
* embed/Makefile.am:
* embed/ephy-adblock-manager.c:
* embed/ephy-adblock-manager.h:
* embed/ephy-embed-shell.c: (ephy_embed_shell_finalize):
* embed/ephy-embed-shell.h:
* embed/mozilla/EphyContentPolicy.cpp: (EphyContentPolicy::ShouldLoad):
* lib/Makefile.am:
* lib/ephy-adblock.h:
* lib/ephy-adblock.c:
* src/ephy-shell.c: (ephy_shell_get_extensions_manager):
Add some code so ad blocking should be more easy. Based on the fact
that Epiphany already has its own content policy component (EphyContentPolicy).
The new design adds:
- an interface, EphyAdBlock
- a manager, EphyAdBlockManager, pointing to a blocker (possibly no one).
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c index c7dc315c5..7c088b452 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -81,7 +81,6 @@ struct _EphyShellPrivate GObject *prefs_dialog; GObject *print_setup_dialog; GList *del_on_exit; - gboolean embed_single_connected; }; @@ -966,6 +965,7 @@ ephy_shell_get_extensions_manager (EphyShell *es) /* FIXME */ ephy_shell_get_lockdown (es); + ephy_embed_shell_get_adblock_manager (embed_shell); } return G_OBJECT (es->priv->extensions_manager); |