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 /embed/ephy-embed-shell.h | |
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 'embed/ephy-embed-shell.h')
-rw-r--r-- | embed/ephy-embed-shell.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/embed/ephy-embed-shell.h b/embed/ephy-embed-shell.h index 3e10d1b5d..5f5a1b7df 100644 --- a/embed/ephy-embed-shell.h +++ b/embed/ephy-embed-shell.h @@ -71,6 +71,8 @@ GObject *ephy_embed_shell_get_encodings (EphyEmbedShell *shell); GObject *ephy_embed_shell_get_embed_single (EphyEmbedShell *shell); +GObject *ephy_embed_shell_get_adblock_manager (EphyEmbedShell *shell); + void ephy_embed_shell_prepare_close (EphyEmbedShell *shell); G_END_DECLS |