aboutsummaryrefslogtreecommitdiffstats
path: root/doc/reference/tmpl/ephy-permission-manager.sgml
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-06-24 04:07:43 +0800
committerChristian Persch <chpe@src.gnome.org>2004-06-24 04:07:43 +0800
commitbf9a14796c23d31c781a6e09b92f523531285932 (patch)
tree2b176ececf168f5d06293a7397e5a8f16441b933 /doc/reference/tmpl/ephy-permission-manager.sgml
parent38b74d1e516fd674940903dbf49a48894c0bbab7 (diff)
downloadgsoc2013-epiphany-bf9a14796c23d31c781a6e09b92f523531285932.tar
gsoc2013-epiphany-bf9a14796c23d31c781a6e09b92f523531285932.tar.gz
gsoc2013-epiphany-bf9a14796c23d31c781a6e09b92f523531285932.tar.bz2
gsoc2013-epiphany-bf9a14796c23d31c781a6e09b92f523531285932.tar.lz
gsoc2013-epiphany-bf9a14796c23d31c781a6e09b92f523531285932.tar.xz
gsoc2013-epiphany-bf9a14796c23d31c781a6e09b92f523531285932.tar.zst
gsoc2013-epiphany-bf9a14796c23d31c781a6e09b92f523531285932.zip
Make the permission type a string instead of an enum, that way we can
2004-06-23 Christian Persch <chpe@cvs.gnome.org> * doc/reference/tmpl/ephy-permission-manager.sgml: * embed/ephy-permission-manager.c: (ephy_permission_info_new), (ephy_permission_info_copy), (ephy_permission_manager_add), (ephy_permission_manager_remove), (ephy_permission_manager_test), (ephy_permission_manager_list): * embed/ephy-permission-manager.h: * embed/mozilla/EphySingle.cpp: * embed/mozilla/mozilla-embed-single.cpp: Make the permission type a string instead of an enum, that way we can support more than just the hardcoded 3 types.
Diffstat (limited to 'doc/reference/tmpl/ephy-permission-manager.sgml')
-rw-r--r--doc/reference/tmpl/ephy-permission-manager.sgml16
1 files changed, 4 insertions, 12 deletions
diff --git a/doc/reference/tmpl/ephy-permission-manager.sgml b/doc/reference/tmpl/ephy-permission-manager.sgml
index f62bd4de1..93abf486c 100644
--- a/doc/reference/tmpl/ephy-permission-manager.sgml
+++ b/doc/reference/tmpl/ephy-permission-manager.sgml
@@ -28,6 +28,10 @@ network.cookie.cookieBehavior preference. For images, the default is determined
by Mozilla's network.image.imageBehavior preference.
</para>
<para>
+The predefined permission types are EPT_COOKIE ("cookie"), EPT_IMAGE ("image")
+and EPT_POPUP ("popup"). You can also make up your own type string.
+</para>
+<para>
Though the word &quot;host&quot; is used in many function descriptions, Mozilla
does not act as one would expect. Always pass a URL to any functions which
need have a &quot;host&quot; parameter. However, the &quot;host&quot; in an
@@ -48,18 +52,6 @@ Details a specific permission of a specific website.
@type: An #EphyPermissionType.
@permission: An #EphyPermission (either allow or deny).
-<!-- ##### ENUM EphyPermissionType ##### -->
-<para>
-Determines what permission we're dealing with.
-</para>
-
-@EPT_COOKIE:
- Permission for the website to store cookies on the user's computer.
-@EPT_IMAGE:
- Permission for the website to show images to the user.
-@EPT_POPUP:
- Permission for the website to open popup windows (using JavaScript).
-
<!-- ##### ENUM EphyPermission ##### -->
<para>
Determines whether the website is allowed or denied access.