summaryrefslogtreecommitdiffstats
path: root/ui/accessibility
diff options
context:
space:
mode:
Diffstat (limited to 'ui/accessibility')
-rw-r--r--ui/accessibility/ax_enums.idl1
-rw-r--r--ui/accessibility/ax_view_state.h7
2 files changed, 2 insertions, 6 deletions
diff --git a/ui/accessibility/ax_enums.idl b/ui/accessibility/ax_enums.idl
index ea46143..77287e3 100644
--- a/ui/accessibility/ax_enums.idl
+++ b/ui/accessibility/ax_enums.idl
@@ -65,7 +65,6 @@ namespace ui {
definition,
description_list_detail,
description_list_term,
- desktop,
dialog,
directory,
disclosure_triangle,
diff --git a/ui/accessibility/ax_view_state.h b/ui/accessibility/ax_view_state.h
index 2f1aab09..5d72d47 100644
--- a/ui/accessibility/ax_view_state.h
+++ b/ui/accessibility/ax_view_state.h
@@ -30,11 +30,6 @@ struct AX_EXPORT AXViewState {
void AddStateFlag(ui::AXState state);
bool HasStateFlag(ui::AXState state) const;
- // The view's state, a bitmask containing fields such as checked
- // (for a checkbox) and protected (for a password text box). This "state"
- // should not be confused with the class's name.
- uint32 state() { return state_; }
-
// The view's role, like button or list box.
AXRole role;
@@ -73,6 +68,8 @@ struct AX_EXPORT AXViewState {
base::Callback<void(const base::string16&)> set_value_callback;
private:
+ // The view's state, a bitmask containing fields such as checked
+ // (for a checkbox) and protected (for a password text box).
uint32 state_;
};