Re-subimission of https://codereview.chromium.org/1041213003/
[chromium-blink-merge.git] / content / browser / accessibility / accessibility_tree_formatter_utils_win.h
blob37d93b5095be57f6bb53de0931b91f20997c4fee
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_UTILS_WIN_H_
6 #define CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_UTILS_WIN_H_
8 #include <vector>
10 #include "base/basictypes.h"
11 #include "base/strings/string16.h"
12 #include "content/common/content_export.h"
14 namespace content {
16 CONTENT_EXPORT base::string16 IAccessibleRoleToString(int32 ia_role);
17 CONTENT_EXPORT base::string16 IAccessible2RoleToString(int32 ia_role);
18 CONTENT_EXPORT base::string16 IAccessibleStateToString(int32 ia_state);
19 CONTENT_EXPORT void IAccessibleStateToStringVector(
20 int32 ia_state, std::vector<base::string16>* result);
21 CONTENT_EXPORT base::string16 IAccessible2StateToString(int32 ia2_state);
22 CONTENT_EXPORT void IAccessible2StateToStringVector(
23 int32 ia_state, std::vector<base::string16>* result);
25 // Handles both IAccessible/MSAA events and IAccessible2 events.
26 CONTENT_EXPORT base::string16 AccessibilityEventToString(int32 event_id);
28 } // namespace content
30 #endif // CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_UTILS_WIN_H_