Bug 1478568 part 1: Update IAccessible2 so we can use new roles (IA2_ROLE_BLOCK_QUOTE, etc.). r=MarcoZ

MozReview-Commit-ID: GctgcmwrzMc

--HG--
extra : rebase_source : 24898e1facd454170807006b4b05010fdd9b7cdd
This commit is contained in:
James Teh 2018-07-27 10:27:44 +10:00
parent d31555e033
commit 90fcc27f34

View File

@ -4,7 +4,7 @@
* *
* IAccessible2 IDL Specification * IAccessible2 IDL Specification
* *
* Copyright (c) 2007, 2013 Linux Foundation * Copyright (c) 2007-2018 Linux Foundation
* Copyright (c) 2006 IBM Corporation * Copyright (c) 2006 IBM Corporation
* Copyright (c) 2000, 2006 Sun Microsystems, Inc. * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
* All rights reserved. * All rights reserved.
@ -293,9 +293,27 @@ enum IA2Role {
IA2_ROLE_COMPLEMENTARY_CONTENT, IA2_ROLE_COMPLEMENTARY_CONTENT,
/** An object representing a navigational landmark, a region on a page to /** An object representing a navigational landmark, a region on a page to
which the user may want quick access, such as navigating, searching, which the user may want quick access, such as a navigation area, a search
perusing the primary content. facility or the main content of a page.
*/ */
IA2_ROLE_LANDMARK IA2_ROLE_LANDMARK,
/**
* A bar that serves as a level indicator to, for instance, show
* the strength of a password or the charge of a battery.
*/
IA2_ROLE_LEVEL_BAR,
/** Content previously deleted or proposed for deletion, e.g. in revision
history or a content view providing suggestions from reviewers.
*/
IA2_ROLE_CONTENT_DELETION,
/** Content previously inserted or proposed for insertion, e.g. in revision
history or a content view providing suggestions from reviewers.
*/
IA2_ROLE_CONTENT_INSERTION,
/// A section of content that is quoted from another source.
IA2_ROLE_BLOCK_QUOTE
}; };