ChildAccountService[Java] delegates everything to native side.
[chromium-blink-merge.git] / ui / accessibility / ax_serializable_tree.h
blob42b746f559d5d88b931c03decc48a58794e41c7a
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
3 // found in the LICENSE file.
5 #ifndef UI_ACCESSIBILITY_AX_SERIALIZABLE_TREE_H_
6 #define UI_ACCESSIBILITY_AX_SERIALIZABLE_TREE_H_
8 #include "ui/accessibility/ax_tree.h"
9 #include "ui/accessibility/ax_tree_source.h"
11 namespace ui {
13 class AX_EXPORT AXSerializableTree : public AXTree {
14 public:
15 AXSerializableTree();
16 explicit AXSerializableTree(const AXTreeUpdate<AXNodeData>& initial_state);
17 ~AXSerializableTree() override;
19 // Create a TreeSource adapter for this tree. The client gets ownership
20 // of the return value and should delete it when done.
21 virtual AXTreeSource<const AXNode*, AXNodeData>* CreateTreeSource();
24 } // namespace ui
26 #endif // UI_ACCESSIBILITY_AX_TREE_H_