Demonstrate the basic functionality of the File System
[chromium-blink-merge.git] / ui / views / accessibility / ax_view_obj_wrapper.h
blob6838d07243c4da78a0a5ea2390bba26d45ef91bc
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.
5 #ifndef UI_VIEWS_ACCESSIBILITY_AX_VIEW_OBJ_WRAPPER_H_
6 #define UI_VIEWS_ACCESSIBILITY_AX_VIEW_OBJ_WRAPPER_H_
8 #include "ui/views/accessibility/ax_aura_obj_wrapper.h"
10 namespace views {
11 class View;
13 // Describes a |View| for use with other AX classes.
14 class AXViewObjWrapper : public AXAuraObjWrapper {
15 public:
16 explicit AXViewObjWrapper(View* view);
17 virtual ~AXViewObjWrapper();
19 // AXAuraObjWrapper overrides.
20 virtual AXAuraObjWrapper* GetParent() OVERRIDE;
21 virtual void GetChildren(
22 std::vector<AXAuraObjWrapper*>* out_children) OVERRIDE;
23 virtual void Serialize(ui::AXNodeData* out_node_data) OVERRIDE;
24 virtual int32 GetID() OVERRIDE;
25 virtual void DoDefault() OVERRIDE;
26 virtual void Focus() OVERRIDE;
27 virtual void MakeVisible() OVERRIDE;
28 virtual void SetSelection(int32 start, int32 end) OVERRIDE;
30 private:
31 View* view_;
33 DISALLOW_COPY_AND_ASSIGN(AXViewObjWrapper);
36 } // namespace views
38 #endif // UI_VIEWS_ACCESSIBILITY_AX_VIEW_OBJ_WRAPPER_H_