[at-spi2-core: 1/2] Add ATSPI_ROLE_CONTENT_DELETION and ATSPI_ROLE_CONTENT_INSERTION



commit 12da9f3845d1c2b429aa798d81708fe861a6a389
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Thu Jun 13 11:59:40 2019 -0400

    Add ATSPI_ROLE_CONTENT_DELETION and ATSPI_ROLE_CONTENT_INSERTION
    
    https://gitlab.gnome.org/GNOME/at-spi2-core/issues/4

 atspi/atspi-constants.h | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/atspi/atspi-constants.h b/atspi/atspi-constants.h
index ea95baf..25f1f79 100644
--- a/atspi/atspi-constants.h
+++ b/atspi/atspi-constants.h
@@ -1234,6 +1234,12 @@ typedef enum {
  * @ATSPI_ROLE_DESCRIPTION_VALUE: An object that represents the description,
  *  definition, or value of a term. @Since: 2.26.
  * @ATSPI_ROLE_FOOTNOTE: An object that contains the text of a footnote. @Since: 2.26.
+ * @ATSPI_ROLE_CONTENT_DELETION: Content previously deleted or proposed to be
+ * deleted, e.g. in revision history or a content view providing suggestions
+ * from reviewers. @Since: 2.34.
+ * @ATSPI_ROLE_CONTENT_INSERTION: Content previously inserted or proposed to be
+ * inserted, e.g. in revision history or a content view providing suggestions
+ * from reviewers. @Since: 2.34.
  *  @ATSPI_ROLE_LAST_DEFINED: Not a valid role, used for finding end of
  *  enumeration.
  *
@@ -1367,6 +1373,8 @@ typedef enum {
     ATSPI_ROLE_DESCRIPTION_TERM,
     ATSPI_ROLE_DESCRIPTION_VALUE,
     ATSPI_ROLE_FOOTNOTE,
+    ATSPI_ROLE_CONTENT_DELETION,
+    ATSPI_ROLE_CONTENT_INSERTION,
     ATSPI_ROLE_LAST_DEFINED,
 } AtspiRole;
 
@@ -1375,7 +1383,7 @@ typedef enum {
  *
  * One higher than the highest valid value of #AtspiRole.
  */
-#define ATSPI_ROLE_COUNT (125+1)
+#define ATSPI_ROLE_COUNT (127+1)
 
 typedef enum
 {


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