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

Unified Diff: ui/accessibility/ax_node.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_generated_tree_unittest.cc ('k') | ui/accessibility/ax_node.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/ax_node.h
diff --git a/ui/accessibility/ax_node.h b/ui/accessibility/ax_node.h
index 6fd766c52ba3caea32220d564de40156cd843d5d..98f5d28895aaf84a1a2a93a43bf860d98fe2fa7a 100644
--- a/ui/accessibility/ax_node.h
+++ b/ui/accessibility/ax_node.h
@@ -5,6 +5,8 @@
#ifndef UI_ACCESSIBILITY_AX_NODE_H_
#define UI_ACCESSIBILITY_AX_NODE_H_
+#include <stdint.h>
+
#include <vector>
#include "ui/accessibility/ax_node_data.h"
@@ -21,11 +23,11 @@ class AX_EXPORT AXNode {
// The constructor requires a parent, id, and index in parent, but
// the data is not required. After initialization, only index_in_parent
// is allowed to change, the others are guaranteed to never change.
- AXNode(AXNode* parent, int32 id, int32 index_in_parent);
+ AXNode(AXNode* parent, int32_t id, int32_t index_in_parent);
virtual ~AXNode();
// Accessors.
- int32 id() const { return data_.id; }
+ int32_t id() const { return data_.id; }
AXNode* parent() const { return parent_; }
int child_count() const { return static_cast<int>(children_.size()); }
const AXNodeData& data() const { return data_; }
« no previous file with comments | « ui/accessibility/ax_generated_tree_unittest.cc ('k') | ui/accessibility/ax_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698