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

Unified Diff: ui/accessibility/ax_view_state.h

Issue 196133012: Fix incorrect use of AXState caused when refactoring two enums into one. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add dependency Created 6 years, 9 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 | « chrome/browser/ui/views/toolbar/toolbar_button.cc ('k') | ui/accessibility/ax_view_state.cc » ('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 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;
« no previous file with comments | « chrome/browser/ui/views/toolbar/toolbar_button.cc ('k') | ui/accessibility/ax_view_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698