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 6126edbac97559b0adf99c5d8f7853a626bea152..8c17785baf37975a7f5f9fc24b3292fc4fe70b55 100644 |
| --- a/ui/accessibility/ax_view_state.h |
| +++ b/ui/accessibility/ax_view_state.h |
| @@ -27,9 +27,12 @@ struct AX_EXPORT AXViewState { |
| AXViewState(); |
| ~AXViewState(); |
| + // Like HasStateFlag(), but static. |
|
tapted
2016/06/17 03:32:49
HasStateFlag's is a bit "light" so it doesn't make
Patti Lor
2016/06/17 05:57:35
Done.
|
| + static bool IsFlagSet(uint32_t state, ui::AXState state_flag); |
| + |
| // Set or check bits in |state_|. |
| - void AddStateFlag(ui::AXState state); |
| - bool HasStateFlag(ui::AXState state) const; |
| + void AddStateFlag(ui::AXState state_flag); |
| + bool HasStateFlag(ui::AXState state_flag) const; |
| // The view's state, a bitmask containing fields such as checked |
| // (for a checkbox) and protected (for a password text box). This "state" |