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

Unified Diff: ui/accessibility/ax_view_state.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_update.h ('k') | ui/accessibility/platform/ax_platform_node.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/ax_view_state.h
diff --git a/ui/accessibility/ax_view_state.h b/ui/accessibility/ax_view_state.h
index 2f1aab093330eadf9f6358ca2846d9810060cab3..6126edbac97559b0adf99c5d8f7853a626bea152 100644
--- a/ui/accessibility/ax_view_state.h
+++ b/ui/accessibility/ax_view_state.h
@@ -5,7 +5,8 @@
#ifndef UI_ACCESSIBILITY_AX_VIEW_STATE_H_
#define UI_ACCESSIBILITY_AX_VIEW_STATE_H_
-#include "base/basictypes.h"
+#include <stdint.h>
+
#include "base/callback.h"
#include "base/strings/string16.h"
#include "ui/accessibility/ax_enums.h"
@@ -33,7 +34,7 @@ struct AX_EXPORT AXViewState {
// The view's state, a bitmask containing fields such as checked
// (for a checkbox) and protected (for a password text box). This "state"
// should not be confused with the class's name.
- uint32 state() { return state_; }
+ uint32_t state() { return state_; }
// The view's role, like button or list box.
AXRole role;
@@ -73,7 +74,7 @@ struct AX_EXPORT AXViewState {
base::Callback<void(const base::string16&)> set_value_callback;
private:
- uint32 state_;
+ uint32_t state_;
};
} // namespace ui
« no previous file with comments | « ui/accessibility/ax_tree_update.h ('k') | ui/accessibility/platform/ax_platform_node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698