Chromium Code Reviews| Index: ui/accessibility/ax_view_state.h |
| diff --git a/ui/accessibility/ax_view_state.h b/ui/accessibility/ax_view_state.h |
| index 2cb2152db930002fc6f6f6729d941c8da537ac0c..4c6e77fd3774aa396c71f8ffe0609aa7149751e2 100644 |
| --- a/ui/accessibility/ax_view_state.h |
| +++ b/ui/accessibility/ax_view_state.h |
| @@ -26,6 +26,10 @@ struct AX_EXPORT AXViewState { |
| AXViewState(); |
| ~AXViewState(); |
| + // Convenience functions to set or check bits in |state|. |
| + void SetStateFlag(ui::AXState state); |
|
mpichlinski
2014/03/18 08:32:34
This only adds flags, its for previous usage of |=
dmazzoni
2014/03/22 14:28:01
In typical programming and computer science jargon
mpichlinski
2014/03/24 08:43:41
Done.
|
| + bool HasStateFlag(ui::AXState state) const; |
| + |
| // The view's role, like button or list box. |
| AXRole role; |