Chromium Code Reviews| Index: ui/views/accessibility/ax_node_source_obj_wrapper.h |
| diff --git a/ui/views/accessibility/ax_node_source_obj_wrapper.h b/ui/views/accessibility/ax_node_source_obj_wrapper.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..4aed726d6b9f9563d4fc8d1bd4aa664bd0e00fe2 |
| --- /dev/null |
| +++ b/ui/views/accessibility/ax_node_source_obj_wrapper.h |
| @@ -0,0 +1,34 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef UI_VIEWS_ACCESSIBILITY_AX_NODE_SOURCE_OBJ_WRAPPER_H_ |
| +#define UI_VIEWS_ACCESSIBILITY_AX_NODE_SOURCE_OBJ_WRAPPER_H_ |
| + |
| +#include <vector> |
| + |
| +#include "base/compiler_specific.h" |
| +#include "base/macros.h" |
| + |
| +namespace ui { |
| +struct AXNodeData; |
| +} // namespace ui |
| + |
| +namespace views { |
| + |
| +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
|
| + public: |
| + virtual ~AXNodeSourceObjWrapper() {} |
| + |
| + virtual AXNodeSourceObjWrapper* GetParent() = 0; |
| + virtual void GetChildren( |
| + std::vector<AXNodeSourceObjWrapper*>* out_children) = 0; |
| + virtual void Serialize(ui::AXNodeData* out_node_data) = 0; |
| + |
| + protected: |
| + AXNodeSourceObjWrapper() {} |
| +}; |
| + |
| +} // namespace views |
| + |
| +#endif // UI_VIEWS_ACCESSIBILITY_AX_NODE_SOURCE_OBJ_WRAPPER_H_ |