Revert 268405 "Make sure that ScratchBuffer::Allocate() always r..."
[chromium-blink-merge.git] / content / browser / accessibility / accessibility_tree_formatter_utils_win.h
blob86b377a64ef5bdaf8ce9754d1aac2808f9aaf472
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 } // namespace content
27 #endif // CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_UTILS_WIN_H_