OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_ACCESSIBILITY_AX_ROLE_PROPERTIES_H_ | 5 #ifndef UI_ACCESSIBILITY_AX_ROLE_PROPERTIES_H_ |
6 #define UI_ACCESSIBILITY_AX_ROLE_PROPERTIES_H_ | 6 #define UI_ACCESSIBILITY_AX_ROLE_PROPERTIES_H_ |
7 | 7 |
8 #include "ui/accessibility/ax_enums.h" | 8 #include "ui/accessibility/ax_enums.h" |
9 #include "ui/accessibility/ax_export.h" | 9 #include "ui/accessibility/ax_export.h" |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 // Returns true if this node is a row container. | 26 // Returns true if this node is a row container. |
27 AX_EXPORT bool IsRowContainer(ui::AXRole role); | 27 AX_EXPORT bool IsRowContainer(ui::AXRole role); |
28 | 28 |
29 // Returns true if this node is a control. | 29 // Returns true if this node is a control. |
30 AX_EXPORT bool IsControl(ui::AXRole role); | 30 AX_EXPORT bool IsControl(ui::AXRole role); |
31 | 31 |
32 // Returns true if this node is a menu or related role. | 32 // Returns true if this node is a menu or related role. |
33 AX_EXPORT bool IsMenuRelated(ui::AXRole role); | 33 AX_EXPORT bool IsMenuRelated(ui::AXRole role); |
34 | 34 |
| 35 // Returns true if this node is a edit field. |
| 36 AX_EXPORT bool IsEditField(ui::AXRole role); |
| 37 |
35 } // namespace ui | 38 } // namespace ui |
36 | 39 |
37 #endif // UI_ACCESSIBILITY_AX_ROLE_PROPERTIES_H_ | 40 #endif // UI_ACCESSIBILITY_AX_ROLE_PROPERTIES_H_ |
OLD | NEW |