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

Unified Diff: chrome/views/accessibility/view_accessibility.h

Issue 93085: Removes the use of Windows-specific types for accessibility roles and states ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « chrome/common/common.vcproj ('k') | chrome/views/accessibility/view_accessibility.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/accessibility/view_accessibility.h
===================================================================
--- chrome/views/accessibility/view_accessibility.h (revision 14426)
+++ chrome/views/accessibility/view_accessibility.h (working copy)
@@ -125,8 +125,16 @@
}
// Helper function which sets applicable states of view.
- void SetState(VARIANT* state, views::View* view);
+ void SetState(VARIANT* msaa_state, views::View* view);
+ // Returns a conversion from the Role (as defined in
+ // chrome/common/accessibility_types.h) to an MSAA role.
+ long MSAARole(AccessibilityTypes::Role role);
+
+ // Returns a conversion from the State (as defined in
+ // chrome/common/accessibility_types.h) to MSAA states set.
+ long MSAAState(AccessibilityTypes::State state);
+
// Member View needed for view-specific calls.
views::View* view_;
« no previous file with comments | « chrome/common/common.vcproj ('k') | chrome/views/accessibility/view_accessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698