aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-single.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-11-19 03:24:16 +0800
committerChristian Persch <chpe@src.gnome.org>2005-11-19 03:24:16 +0800
commit2fc8ea94dc040a9854718593571b48345d6b22f2 (patch)
tree03616c4e1d09b436113c871aa33ad043d04c6429 /embed/ephy-embed-single.h
parent9c59c6bc168115ba34387b2777f6898289c37e3a (diff)
downloadgsoc2013-epiphany-2fc8ea94dc040a9854718593571b48345d6b22f2.tar
gsoc2013-epiphany-2fc8ea94dc040a9854718593571b48345d6b22f2.tar.gz
gsoc2013-epiphany-2fc8ea94dc040a9854718593571b48345d6b22f2.tar.bz2
gsoc2013-epiphany-2fc8ea94dc040a9854718593571b48345d6b22f2.tar.lz
gsoc2013-epiphany-2fc8ea94dc040a9854718593571b48345d6b22f2.tar.xz
gsoc2013-epiphany-2fc8ea94dc040a9854718593571b48345d6b22f2.tar.zst
gsoc2013-epiphany-2fc8ea94dc040a9854718593571b48345d6b22f2.zip
Add chrome: and resource: to the safe list; otherwise forms and scrollbars
2005-11-18 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyContentPolicy.cpp: * embed/ephy-embed-single.c: * embed/ephy-embed-single.h: Add chrome: and resource: to the safe list; otherwise forms and scrollbars break. Fixes bug #316498.
Diffstat (limited to 'embed/ephy-embed-single.h')
-rw-r--r--embed/ephy-embed-single.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/embed/ephy-embed-single.h b/embed/ephy-embed-single.h
index a89399b2b..916773d7f 100644
--- a/embed/ephy-embed-single.h
+++ b/embed/ephy-embed-single.h
@@ -35,18 +35,6 @@ G_BEGIN_DECLS
typedef struct _EphyEmbedSingle EphyEmbedSingle;
typedef struct _EphyEmbedSingleIface EphyEmbedSingleIface;
-typedef enum
-{
- EPHY_CONTENT_CHECK_TYPE_OTHER = 1U,
- EPHY_CONTENT_CHECK_TYPE_SCRIPT = 2U, /* Indicates an executable script (such as JavaScript) */
- EPHY_CONTENT_CHECK_TYPE_IMAGE = 3U, /* Indicates an image (e.g., IMG elements) */
- EPHY_CONTENT_CHECK_TYPE_STYLESHEET = 4U, /* Indicates a stylesheet (e.g., STYLE elements) */
- EPHY_CONTENT_CHECK_TYPE_OBJECT = 5U, /* Indicates a generic object (plugin-handled content typically falls under this category) */
- EPHY_CONTENT_CHECK_TYPE_DOCUMENT = 6U, /* Indicates a document at the top-level (i.e., in a browser) */
- EPHY_CONTENT_CHECK_TYPE_SUBDOCUMENT = 7U, /* Indicates a document contained within another document (e.g., IFRAMEs, FRAMES, and OBJECTs) */
- EPHY_CONTENT_CHECK_TYPE_REFRESH = 8U /* Indicates a timed refresh */
-} EphyContentCheckType;
-
struct _EphyEmbedSingleIface
{
GTypeInterface base_iface;
@@ -70,11 +58,6 @@ struct _EphyEmbedSingleIface
const char *icon_url,
const char *title);
- gboolean (* check_content) (EphyEmbedSingle *single,
- EphyContentCheckType type,
- const char *address,
- const char *requesting_address,
- const char *mime_type_guess);
/* Methods */
GtkWidget * (* open_window) (EphyEmbedSingle *single,