| Index: ui/views/accessibility/ax_widget_obj_wrapper.h
|
| diff --git a/ui/views/accessibility/ax_widget_obj_wrapper.h b/ui/views/accessibility/ax_widget_obj_wrapper.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bed5dfa8fbc65d47e02b8daa7abae00b387bce2d
|
| --- /dev/null
|
| +++ b/ui/views/accessibility/ax_widget_obj_wrapper.h
|
| @@ -0,0 +1,32 @@
|
| +// 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_WIDGET_OBJ_WRAPPER_H_
|
| +#define UI_VIEWS_ACCESSIBILITY_AX_WIDGET_OBJ_WRAPPER_H_
|
| +
|
| +#include "ui/views/accessibility/ax_node_source_obj_wrapper.h"
|
| +
|
| +namespace views {
|
| +
|
| +class Widget;
|
| +
|
| +class AXWidgetObjWrapper : public AXNodeSourceObjWrapper {
|
| + public:
|
| + explicit AXWidgetObjWrapper(Widget* widget) : widget_(widget) {}
|
| + virtual ~AXWidgetObjWrapper() {}
|
| +
|
| + virtual AXNodeSourceObjWrapper* GetParent() OVERRIDE;
|
| + virtual void GetChildren(
|
| + std::vector<AXNodeSourceObjWrapper*>* out_children) OVERRIDE;
|
| + virtual void Serialize(ui::AXNodeData* out_node_data) OVERRIDE;
|
| +
|
| + private:
|
| +Widget* widget_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(AXWidgetObjWrapper);
|
| +};
|
| +
|
| +} // namespace views
|
| +
|
| +#endif // UI_VIEWS_ACCESSIBILITY_AX_WIDGET_OBJ_WRAPPER_H_
|
|
|