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

Side by Side Diff: content/browser/accessibility/accessibility_tree_formatter_utils_win.h

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 12 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 unified diff | Download patch
OLDNEW
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698