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

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

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month 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
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_H_ 5 #ifndef UI_ACCESSIBILITY_AX_NODE_H_
6 #define UI_ACCESSIBILITY_AX_NODE_H_ 6 #define UI_ACCESSIBILITY_AX_NODE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "ui/accessibility/ax_node_data.h" 12 #include "ui/accessibility/ax_node_data.h"
13 13
14 namespace gfx {
15 class Rect;
16 }
17
18 namespace ui { 14 namespace ui {
19 15
20 // One node in an AXTree. 16 // One node in an AXTree.
21 class AX_EXPORT AXNode { 17 class AX_EXPORT AXNode {
22 public: 18 public:
23 // The constructor requires a parent, id, and index in parent, but 19 // The constructor requires a parent, id, and index in parent, but
24 // the data is not required. After initialization, only index_in_parent 20 // the data is not required. After initialization, only index_in_parent
25 // is allowed to change, the others are guaranteed to never change. 21 // is allowed to change, the others are guaranteed to never change.
26 AXNode(AXNode* parent, int32_t id, int32_t index_in_parent); 22 AXNode(AXNode* parent, int32_t id, int32_t index_in_parent);
27 virtual ~AXNode(); 23 virtual ~AXNode();
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 77
82 int index_in_parent_; 78 int index_in_parent_;
83 AXNode* parent_; 79 AXNode* parent_;
84 std::vector<AXNode*> children_; 80 std::vector<AXNode*> children_;
85 AXNodeData data_; 81 AXNodeData data_;
86 }; 82 };
87 83
88 } // namespace ui 84 } // namespace ui
89 85
90 #endif // UI_ACCESSIBILITY_AX_NODE_H_ 86 #endif // UI_ACCESSIBILITY_AX_NODE_H_
OLDNEW
« no previous file with comments | « ui/accelerated_widget_mac/accelerated_widget_mac.h ('k') | ui/android/context_provider_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698