From e911bcb85ef8cedb89a83ec44b073e37e0e3691f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alejandro=20Pi=C3=B1eiro?= Date: Fri, 8 Nov 2013 13:38:04 +0100 Subject: [PATCH] role: Add media (audio and video) roles https://bugzilla.gnome.org/show_bug.cgi?id=711558 --- atk/atkobject.c | 2 ++ atk/atkobject.h | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) 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; -- 2.7.4