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

Unified Diff: ui/accessibility/platform/ax_platform_node_win.cc

Issue 1550483002: Switch to standard integer types in ui/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-ui-events
Patch Set: Created 5 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/accessibility/platform/ax_platform_node_mac.mm ('k') | ui/android/edge_effect.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/platform/ax_platform_node_win.cc
diff --git a/ui/accessibility/platform/ax_platform_node_win.cc b/ui/accessibility/platform/ax_platform_node_win.cc
index 37ad4462562ef34d7f568fad8dd3dad0180cdb5c..51bfed9f348ea5b43edad728a9101fcf6dc6393b 100644
--- a/ui/accessibility/platform/ax_platform_node_win.cc
+++ b/ui/accessibility/platform/ax_platform_node_win.cc
@@ -5,6 +5,7 @@
#include <atlbase.h>
#include <atlcom.h>
#include <oleacc.h>
+#include <stdint.h>
#include "base/containers/hash_tables.h"
#include "base/lazy_instance.h"
@@ -967,7 +968,7 @@ int AXPlatformNodeWin::MSAARole() {
}
int AXPlatformNodeWin::MSAAState() {
- uint32 state = GetData().state;
+ uint32_t state = GetData().state;
int msaa_state = 0;
if (state & (1 << ui::AX_STATE_CHECKED))
@@ -1103,7 +1104,7 @@ LONG AXPlatformNodeWin::FindBoundary(
ui::TextBoundaryDirection direction) {
HandleSpecialTextOffset(text, &start_offset);
ui::TextBoundaryType boundary = IA2TextBoundaryToTextBoundary(ia2_boundary);
- std::vector<int32> line_breaks;
+ std::vector<int32_t> line_breaks;
return static_cast<LONG>(ui::FindAccessibleTextBoundary(
text, line_breaks, boundary, start_offset, direction));
}
« no previous file with comments | « ui/accessibility/platform/ax_platform_node_mac.mm ('k') | ui/android/edge_effect.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698