Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 UI_ACCESSIBILITY_AX_SERIALIZABLE_TREE_H_ | |
| 6 #define UI_ACCESSIBILITY_AX_SERIALIZABLE_TREE_H_ | |
| 7 | |
| 8 #include "ui/accessibility/ax_tree.h" | |
| 9 #include "ui/accessibility/ax_tree_source.h" | |
| 10 | |
| 11 namespace ui { | |
| 12 | |
| 13 class AX_EXPORT AXSerializableTree : public AXTree { | |
| 14 public: | |
| 15 AXSerializableTree(); | |
| 16 explicit AXSerializableTree(const AXTreeUpdate& initial_state); | |
| 17 virtual ~AXSerializableTree(); | |
| 18 | |
| 19 // Get a TreeSource interface for this tree. The client gets ownership | |
|
aboxhall
2013/11/18 21:57:10
I was momentarily confused by 'Get' here. Even tho
dmazzoni
2013/11/19 17:13:54
Changed to "Create a TreeSource adapter".
| |
| 20 // of the return value and should delete it when done. | |
| 21 virtual AXTreeSource<AXNode>* CreateTreeSource(); | |
| 22 }; | |
| 23 | |
| 24 } // namespace ui | |
| 25 | |
| 26 #endif // UI_ACCESSIBILITY_AX_TREE_H_ | |
| OLD | NEW |