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

Unified Diff: ui/accessibility/ax_tree_data.h

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/ax_tree.cc ('k') | ui/accessibility/ax_tree_serializer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/ax_tree_data.h
diff --git a/ui/accessibility/ax_tree_data.h b/ui/accessibility/ax_tree_data.h
index fa1bdb15264a8113932b1983375298b5ac6164ec..2922a18369a60c921c2c9e8b1a35c2dbfa931a0a 100644
--- a/ui/accessibility/ax_tree_data.h
+++ b/ui/accessibility/ax_tree_data.h
@@ -5,6 +5,8 @@
#ifndef UI_ACCESSIBILITY_AX_TREE_DATA_H_
#define UI_ACCESSIBILITY_AX_TREE_DATA_H_
+#include <stdint.h>
+
#include <map>
#include <string>
#include <vector>
@@ -30,10 +32,10 @@ struct AX_EXPORT AXTreeData {
// public and copyable.
// The globally unique ID of this accessibility tree.
- int32 tree_id;
+ int32_t tree_id;
// The ID of the accessibility tree that this tree is contained in, if any.
- int32 parent_tree_id;
+ int32_t parent_tree_id;
// Attributes specific to trees that are web frames.
std::string url;
@@ -46,10 +48,10 @@ struct AX_EXPORT AXTreeData {
// The current text selection within this tree, if any, expressed as the
// node ID and character offset of the anchor (selection start) and focus
// (selection end).
- int32 sel_anchor_object_id;
- int32 sel_anchor_offset;
- int32 sel_focus_object_id;
- int32 sel_focus_offset;
+ int32_t sel_anchor_object_id;
+ int32_t sel_anchor_offset;
+ int32_t sel_focus_object_id;
+ int32_t sel_focus_offset;
};
AX_EXPORT bool operator==(const AXTreeData& lhs, const AXTreeData& rhs);
« no previous file with comments | « ui/accessibility/ax_tree.cc ('k') | ui/accessibility/ax_tree_serializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698