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

Side by Side Diff: ui/accessibility/ax_node_data.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 | « tools/json_schema_compiler/h_generator.py ('k') | ui/accessibility/ax_node_data.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_NODE_DATA_H_ 5 #ifndef UI_ACCESSIBILITY_AX_NODE_DATA_H_
6 #define UI_ACCESSIBILITY_AX_NODE_DATA_H_ 6 #define UI_ACCESSIBILITY_AX_NODE_DATA_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
11 #include <memory> 11 #include <memory>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/strings/string16.h" 15 #include "base/strings/string16.h"
16 #include "base/strings/string_split.h" 16 #include "base/strings/string_split.h"
17 #include "ui/accessibility/ax_enums.h"
18 #include "ui/accessibility/ax_export.h" 17 #include "ui/accessibility/ax_export.h"
19 #include "ui/gfx/geometry/rect.h" 18 #include "ui/gfx/geometry/rect.h"
20 19
21 namespace gfx { 20 namespace gfx {
22 class Transform; 21 class Transform;
23 }; 22 };
24 23
25 namespace ui { 24 namespace ui {
26 25
26 enum AXBoolAttribute : int;
27 enum AXEvent : int;
28 enum AXFloatAttribute : int;
29 enum AXIntAttribute : int;
30 enum AXIntListAttribute : int;
31 enum AXRole : int;
32 enum AXStringAttribute : int;
33
27 // A compact representation of the accessibility information for a 34 // A compact representation of the accessibility information for a
28 // single accessible object, in a form that can be serialized and sent from 35 // single accessible object, in a form that can be serialized and sent from
29 // one process to another. 36 // one process to another.
30 struct AX_EXPORT AXNodeData { 37 struct AX_EXPORT AXNodeData {
31 AXNodeData(); 38 AXNodeData();
32 virtual ~AXNodeData(); 39 virtual ~AXNodeData();
33 40
34 AXNodeData(const AXNodeData& other); 41 AXNodeData(const AXNodeData& other);
35 AXNodeData& operator=(AXNodeData other); 42 AXNodeData& operator=(AXNodeData other);
36 43
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 // NOTE: this member is a std::unique_ptr because it's rare and gfx::Transform 127 // NOTE: this member is a std::unique_ptr because it's rare and gfx::Transform
121 // takes up a fair amount of space. The assignment operator and copy 128 // takes up a fair amount of space. The assignment operator and copy
122 // constructor both make a duplicate of the owned pointer, so it acts more 129 // constructor both make a duplicate of the owned pointer, so it acts more
123 // like a member than a pointer. 130 // like a member than a pointer.
124 std::unique_ptr<gfx::Transform> transform; 131 std::unique_ptr<gfx::Transform> transform;
125 }; 132 };
126 133
127 } // namespace ui 134 } // namespace ui
128 135
129 #endif // UI_ACCESSIBILITY_AX_NODE_DATA_H_ 136 #endif // UI_ACCESSIBILITY_AX_NODE_DATA_H_
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/h_generator.py ('k') | ui/accessibility/ax_node_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698