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_
10 #include "base/basictypes.h"
11 #include "base/strings/string16.h"
12 #include "content/common/content_export.h"
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_