Chromium Code Reviews| Index: ui/base/accessibility/accessibility_types.h |
| =================================================================== |
| --- ui/base/accessibility/accessibility_types.h (revision 107097) |
| +++ ui/base/accessibility/accessibility_types.h (working copy) |
| @@ -22,32 +22,33 @@ |
| public: |
| // This defines states of the supported accessibility roles in our |
| - // Views (e.g. used in View::GetAccessibleState). Any interface using roles |
| - // must provide a conversion to its own roles (see e.g. |
| - // ViewAccessibility::get_accState and ViewAccessibility::MSAAState). |
| + // Views (e.g. used in View::GetAccessibleState). Any interface using states |
| + // must provide a conversion to its own states (see e.g. |
| + // NativeViewAccessibilityWin::get_accState). |
| typedef uint32 State; |
| enum StateFlag { |
| STATE_CHECKED = 1 << 0, |
| STATE_COLLAPSED = 1 << 1, |
| STATE_DEFAULT = 1 << 2, |
| - STATE_EXPANDED = 1 << 3, |
| - STATE_HASPOPUP = 1 << 4, |
| - STATE_HOTTRACKED = 1 << 5, |
| - STATE_INVISIBLE = 1 << 6, |
| - STATE_LINKED = 1 << 7, |
| - STATE_OFFSCREEN = 1 << 8, |
| - STATE_PRESSED = 1 << 9, |
| - STATE_PROTECTED = 1 << 10, |
| - STATE_READONLY = 1 << 11, |
| - STATE_SELECTED = 1 << 12, |
| - STATE_FOCUSED = 1 << 13, |
| - STATE_UNAVAILABLE = 1 << 14 |
| + STATE_EDITABLE = 1 << 3, |
| + STATE_EXPANDED = 1 << 4, |
| + STATE_HASPOPUP = 1 << 5, |
| + STATE_HOTTRACKED = 1 << 6, |
| + STATE_INVISIBLE = 1 << 7, |
| + STATE_LINKED = 1 << 8, |
| + STATE_OFFSCREEN = 1 << 9, |
| + STATE_PRESSED = 1 << 10, |
| + STATE_PROTECTED = 1 << 11, |
| + STATE_READONLY = 1 << 12, |
| + STATE_SELECTED = 1 << 13, |
| + STATE_FOCUSED = 1 << 14, |
|
David Tseng
2011/10/25 21:55:25
nit: Alphabetize now?
|
| + STATE_UNAVAILABLE = 1 << 15 |
| }; |
| // This defines an enumeration of the supported accessibility roles in our |
| // Views (e.g. used in View::GetAccessibleRole). Any interface using roles |
| // must provide a conversion to its own roles (see e.g. |
| - // ViewAccessibility::get_accRole and ViewAccessibility::MSAARole). |
| + // NativeViewAccessibilityWin::get_accRole). |
| enum Role { |
| ROLE_ALERT, |
| ROLE_APPLICATION, |