Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: webkit/glue/webaccessibility.h

Issue 149265: Adds support for an initial set of WAI-ARIA roles, needed to support screen r... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/glue_accessibility_object.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webaccessibility.h
===================================================================
--- webkit/glue/webaccessibility.h (revision 20047)
+++ webkit/glue/webaccessibility.h (working copy)
@@ -59,47 +59,56 @@
DIRECTION_LASTCHILD
};
- // This defines an enumeration of the supported accessibility roles in our
- // Glue layer (used in GlueAccessibilityObject::Role). Any interface using
- // roles must provide a conversion to its own roles (see e.g.
- // BrowserAccessibility::get_accRole and BrowserAccessibility::MSAARole).
+ // This defines an enumeration (in alphabetical order) of the supported
+ // accessibility roles in our Glue layer (used in
+ // GlueAccessibilityObject::Role). Any interface using roles must provide a
+ // conversion to its own roles (see e.g. BrowserAccessibility::get_accRole and
+ // BrowserAccessibility::MSAARole).
enum Role {
+ ROLE_CELL,
+ ROLE_CHECKBUTTON,
+ ROLE_CLIENT,
+ ROLE_COLUMN,
+ ROLE_COLUMNHEADER,
+ ROLE_GRAPHIC,
+ ROLE_GROUPING,
+ ROLE_LINK,
+ ROLE_LIST,
+ ROLE_LISTBOX,
+ ROLE_MENUITEM,
+ ROLE_MENUPOPUP,
+ ROLE_OUTLINE,
+ ROLE_PAGETABLIST,
+ ROLE_PROGRESSBAR,
ROLE_PUSHBUTTON,
ROLE_RADIOBUTTON,
- ROLE_CHECKBUTTON,
+ ROLE_ROW,
+ ROLE_ROWHEADER,
ROLE_SLIDER,
- ROLE_PAGETABLIST,
- ROLE_TEXT,
ROLE_STATICTEXT,
- ROLE_OUTLINE,
- ROLE_COLUMN,
- ROLE_ROW,
- ROLE_GROUPING,
- ROLE_LIST,
ROLE_TABLE,
- ROLE_LINK,
- ROLE_GRAPHIC,
- ROLE_CLIENT
+ ROLE_TEXT
};
- // This defines an enumeration of the supported accessibility states in our
- // Glue layer (used in GlueAccessibilityObject::State). Any interface using
- // states must provide a conversion to its own states (see e.g.
- // BrowserAccessibility::get_accState and BrowserAccessibility::MSAAState).
+ // This defines an enumeration (in alphabetical order) of the supported
+ // accessibility states in our Glue layer (used in
+ // GlueAccessibilityObject::State). Any interface using states must provide a
+ // conversion to its own states (see e.g. BrowserAccessibility::get_accState
+ // and BrowserAccessibility::MSAAState).
enum State {
+ STATE_CHECKED,
+ STATE_FOCUSABLE,
+ STATE_FOCUSED,
+ STATE_HOTTRACKED,
+ STATE_INDETERMINATE,
STATE_LINKED,
- STATE_HOTTRACKED,
- STATE_UNAVAILABLE,
- STATE_READONLY,
+ STATE_MULTISELECTABLE,
STATE_OFFSCREEN,
- STATE_MULTISELECTABLE,
+ STATE_PRESSED,
STATE_PROTECTED,
- STATE_INDETERMINATE,
- STATE_CHECKED,
- STATE_PRESSED,
- STATE_FOCUSED,
+ STATE_READONLY,
STATE_TRAVERSED,
- STATE_FOCUSABLE
+ STATE_UNAVAILABLE
};
// Parameters structure to hold a union of the possible accessibility function
« no previous file with comments | « webkit/glue/glue_accessibility_object.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698