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

Side by Side Diff: ui/accessibility/ax_view_state.h

Issue 2000403003: [forbots] IWYU for ax_enums.h Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months 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 unified diff | Download patch
« no previous file with comments | « ui/accessibility/ax_tree_unittest.cc ('k') | ui/accessibility/ax_view_state.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_ACCESSIBILITY_AX_VIEW_STATE_H_ 5 #ifndef UI_ACCESSIBILITY_AX_VIEW_STATE_H_
6 #define UI_ACCESSIBILITY_AX_VIEW_STATE_H_ 6 #define UI_ACCESSIBILITY_AX_VIEW_STATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "ui/accessibility/ax_enums.h"
13 #include "ui/accessibility/ax_export.h" 12 #include "ui/accessibility/ax_export.h"
14 13
15 namespace ui { 14 namespace ui {
16 15
16 enum AXRole : int;
17 enum AXState : int;
18
17 //////////////////////////////////////////////////////////////////////////////// 19 ////////////////////////////////////////////////////////////////////////////////
18 // 20 //
19 // AXViewState 21 // AXViewState
20 // 22 //
21 // A cross-platform struct for storing the core accessibility information 23 // A cross-platform struct for storing the core accessibility information
22 // that should be provided about any UI view to assistive technology (AT). 24 // that should be provided about any UI view to assistive technology (AT).
23 // 25 //
24 //////////////////////////////////////////////////////////////////////////////// 26 ////////////////////////////////////////////////////////////////////////////////
25 struct AX_EXPORT AXViewState { 27 struct AX_EXPORT AXViewState {
26 public: 28 public:
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // should use a WeakPtr when binding the callback. 75 // should use a WeakPtr when binding the callback.
74 base::Callback<void(const base::string16&)> set_value_callback; 76 base::Callback<void(const base::string16&)> set_value_callback;
75 77
76 private: 78 private:
77 uint32_t state_; 79 uint32_t state_;
78 }; 80 };
79 81
80 } // namespace ui 82 } // namespace ui
81 83
82 #endif // UI_ACCESSIBILITY_AX_VIEW_STATE_H_ 84 #endif // UI_ACCESSIBILITY_AX_VIEW_STATE_H_
OLDNEW
« no previous file with comments | « ui/accessibility/ax_tree_unittest.cc ('k') | ui/accessibility/ax_view_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698