Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1294)

Unified Diff: ui/accessibility/ax_view_state.h

Issue 246433012: Extend AXTreeSourceViews to handle aura::Window and views::Widget. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move files from c/b/u/views/accessibility to c/b/u/ash/accessibility Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/accessibility/ax_enums.idl ('k') | ui/views/accessibility/ax_aura_obj_cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/ax_view_state.h
diff --git a/ui/accessibility/ax_view_state.h b/ui/accessibility/ax_view_state.h
index 5d72d47a3c3f73a823503d2caec3b2361afdffd1..2f1aab093330eadf9f6358ca2846d9810060cab3 100644
--- a/ui/accessibility/ax_view_state.h
+++ b/ui/accessibility/ax_view_state.h
@@ -30,6 +30,11 @@ 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;
@@ -68,8 +73,6 @@ 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_;
};
« no previous file with comments | « ui/accessibility/ax_enums.idl ('k') | ui/views/accessibility/ax_aura_obj_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698