OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_UTILS_WIN_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_UTILS_WIN_H_ |
6 #define CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_UTILS_WIN_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_UTILS_WIN_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/basictypes.h" | |
11 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
12 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
13 | 14 |
14 namespace content { | 15 namespace content { |
15 | 16 |
16 CONTENT_EXPORT base::string16 IAccessibleRoleToString(int32 ia_role); | 17 CONTENT_EXPORT base::string16 IAccessibleRoleToString(int32_t ia_role); |
17 CONTENT_EXPORT base::string16 IAccessible2RoleToString(int32 ia_role); | 18 CONTENT_EXPORT base::string16 IAccessible2RoleToString(int32_t ia_role); |
18 CONTENT_EXPORT base::string16 IAccessibleStateToString(int32 ia_state); | 19 CONTENT_EXPORT base::string16 IAccessibleStateToString(int32_t ia_state); |
19 CONTENT_EXPORT void IAccessibleStateToStringVector( | 20 CONTENT_EXPORT void IAccessibleStateToStringVector( |
20 int32 ia_state, std::vector<base::string16>* result); | 21 int32_t ia_state, |
21 CONTENT_EXPORT base::string16 IAccessible2StateToString(int32 ia2_state); | 22 std::vector<base::string16>* result); |
| 23 CONTENT_EXPORT base::string16 IAccessible2StateToString(int32_t ia2_state); |
22 CONTENT_EXPORT void IAccessible2StateToStringVector( | 24 CONTENT_EXPORT void IAccessible2StateToStringVector( |
23 int32 ia_state, std::vector<base::string16>* result); | 25 int32_t ia_state, |
| 26 std::vector<base::string16>* result); |
24 | 27 |
25 // Handles both IAccessible/MSAA events and IAccessible2 events. | 28 // Handles both IAccessible/MSAA events and IAccessible2 events. |
26 CONTENT_EXPORT base::string16 AccessibilityEventToString(int32 event_id); | 29 CONTENT_EXPORT base::string16 AccessibilityEventToString(int32_t event_id); |
27 | 30 |
28 } // namespace content | 31 } // namespace content |
29 | 32 |
30 #endif // CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_UTILS_WIN_
H_ | 33 #endif // CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_UTILS_WIN_
H_ |
OLD | NEW |