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

Unified Diff: ui/accessibility/ax_tree_source.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_serializer_unittest.cc ('k') | ui/accessibility/ax_tree_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/ax_tree_source.h
diff --git a/ui/accessibility/ax_tree_source.h b/ui/accessibility/ax_tree_source.h
index ae9f8cab2071457e7213b19df05e3262ef197f02..e87787be1a83c30189ead8a19da70dad58c2c1f1 100644
--- a/ui/accessibility/ax_tree_source.h
+++ b/ui/accessibility/ax_tree_source.h
@@ -5,6 +5,8 @@
#ifndef UI_ACCESSIBILITY_AX_TREE_SOURCE_H_
#define UI_ACCESSIBILITY_AX_TREE_SOURCE_H_
+#include <stdint.h>
+
#include <vector>
namespace ui {
@@ -30,10 +32,10 @@ class AXTreeSource {
// Get a node by its id. If no node by that id exists in the tree, return a
// null node, i.e. one that will return false if you call IsValid on it.
- virtual AXNodeSource GetFromId(int32 id) const = 0;
+ virtual AXNodeSource GetFromId(int32_t id) const = 0;
// Return the id of a node. All ids must be positive integers.
- virtual int32 GetId(AXNodeSource node) const = 0;
+ virtual int32_t GetId(AXNodeSource node) const = 0;
// Append all children of |node| to |out_children|.
virtual void GetChildren(AXNodeSource node,
« no previous file with comments | « ui/accessibility/ax_tree_serializer_unittest.cc ('k') | ui/accessibility/ax_tree_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698