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

Side by Side Diff: content/public/common/ax_node.h

Issue 67283004: First step to move common accessibility code out of content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refactored AXTreeImpl::UpdateNode Created 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_PUBLIC_COMMON_AX_NODE_H_
6 #define CONTENT_PUBLIC_COMMON_AX_NODE_H_
7
8 #include "content/public/common/ax_node_data.h"
9
10 namespace content {
11
12 class AXTree;
13
14 // One node in an AXTree. The accessibility information is all in
15 // data(); the rest of the interface is to walk the tree.
16 class CONTENT_EXPORT AXNode {
17 public:
18 // Accessors.
19 virtual int32 GetId() const = 0;
20 virtual AXNode* GetParent() const = 0;
21 virtual int GetChildCount() const = 0;
22 virtual AXNode* ChildAtIndex(int index) const = 0;
23 virtual const AXNodeData& data() const = 0;
24
25 protected:
26 AXNode();
27 virtual ~AXNode();
28 };
29
30
31 } // namespace content
32
33 #endif // CONTENT_PUBLIC_COMMON_AX_NODE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698