Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 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_VIEWS_ACCESSIBILITY_AX_NODE_SOURCE_OBJ_WRAPPER_H_ | |
| 6 #define UI_VIEWS_ACCESSIBILITY_AX_NODE_SOURCE_OBJ_WRAPPER_H_ | |
| 7 | |
| 8 #include <vector> | |
| 9 | |
| 10 #include "base/compiler_specific.h" | |
| 11 #include "base/macros.h" | |
| 12 | |
| 13 namespace ui { | |
| 14 struct AXNodeData; | |
| 15 } // namespace ui | |
| 16 | |
| 17 namespace views { | |
| 18 | |
| 19 class AXNodeSourceObjWrapper { | |
|
dmazzoni
2014/04/23 05:06:44
Thinking about this some more, how about AXAuraObj
David Tseng
2014/04/23 18:20:01
Well, AXNodeSource isn't an actual class, otherwis
| |
| 20 public: | |
| 21 virtual ~AXNodeSourceObjWrapper() {} | |
| 22 | |
| 23 virtual AXNodeSourceObjWrapper* GetParent() = 0; | |
| 24 virtual void GetChildren( | |
| 25 std::vector<AXNodeSourceObjWrapper*>* out_children) = 0; | |
| 26 virtual void Serialize(ui::AXNodeData* out_node_data) = 0; | |
| 27 | |
| 28 protected: | |
| 29 AXNodeSourceObjWrapper() {} | |
| 30 }; | |
| 31 | |
| 32 } // namespace views | |
| 33 | |
| 34 #endif // UI_VIEWS_ACCESSIBILITY_AX_NODE_SOURCE_OBJ_WRAPPER_H_ | |
| OLD | NEW |