[atk] role: Add media (audio and video) roles



commit e911bcb85ef8cedb89a83ec44b073e37e0e3691f
Author: Alejandro Piñeiro <apinheiro igalia com>
Date:   Fri Nov 8 13:38:04 2013 +0100

    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 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;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]