summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Piñeiro <apinheiro@igalia.com>2013-11-08 13:38:04 +0100
committerAlejandro Piñeiro <apinheiro@igalia.com>2013-11-08 16:56:11 +0100
commite911bcb85ef8cedb89a83ec44b073e37e0e3691f (patch)
treeb00f2d126117860c6fa0a11d373eb1d6975f2f25
parentd9321c2cedd37a24b2e3ad8c309f4e5ae5bce58b (diff)
downloadatk-e911bcb85ef8cedb89a83ec44b073e37e0e3691f.tar.gz
role: Add media (audio and video) roles
https://bugzilla.gnome.org/show_bug.cgi?id=711558
-rwxr-xr-xatk/atkobject.c2
-rwxr-xr-xatk/atkobject.h6
2 files changed, 7 insertions, 1 deletions
diff --git a/atk/atkobject.c b/atk/atkobject.c
index 320472c..e05eafa 100755
--- a/atk/atkobject.c
+++ b/atk/atkobject.c
@@ -205,6 +205,8 @@ enum {
N_("level bar")
N_("title bar")
N_("block quote")
+ N_("audio")
+ N_("video")
#endif /* 0 */
static void atk_object_class_init (AtkObjectClass *klass);
diff --git a/atk/atkobject.h b/atk/atkobject.h
index d9f5730..f282c41 100755
--- a/atk/atkobject.h
+++ b/atk/atkobject.h
@@ -156,7 +156,9 @@ G_BEGIN_DECLS
*@ATK_ROLE_TITLE_BAR: A bar that serves as the title of a window or a
* dialog. @Since: ATK-2.12
*@ATK_ROLE_BLOCK_QUOTE: An object which contains a text section
- * that is quoted from another source. @Since: ATK-2.12
+ * that is quoted from another source. @Since: ATK-2.12
+ *@ATK_ROLE_AUDIO: An object which represents an audio element. @Since: ATK-2.12
+ *@ATK_ROLE_VIDEO: An object which represents a video element. @Since: ATK-2.12
*@ATK_ROLE_LAST_DEFINED: not a valid role, used for finding end of the enumeration
*
* Describes the role of an object
@@ -271,6 +273,8 @@ typedef enum
ATK_ROLE_LEVEL_BAR,
ATK_ROLE_TITLE_BAR,
ATK_ROLE_BLOCK_QUOTE,
+ ATK_ROLE_AUDIO,
+ ATK_ROLE_VIDEO,
ATK_ROLE_LAST_DEFINED
} AtkRole;