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_VIEW_OBJ_WRAPPER_H_ |
| 6 #define UI_VIEWS_ACCESSIBILITY_AX_VIEW_OBJ_WRAPPER_H_ |
| 7 |
| 8 #include "ui/views/accessibility/ax_node_source_obj_wrapper.h" |
| 9 |
| 10 namespace views { |
| 11 |
| 12 class View; |
| 13 |
| 14 class AXViewObjWrapper : public AXNodeSourceObjWrapper { |
| 15 public: |
| 16 explicit AXViewObjWrapper(View* view) : view_(view) {} |
| 17 virtual ~AXViewObjWrapper() {} |
| 18 |
| 19 virtual AXNodeSourceObjWrapper* GetParent() OVERRIDE; |
| 20 virtual void GetChildren( |
| 21 std::vector<AXNodeSourceObjWrapper*>* out_children) OVERRIDE; |
| 22 virtual void Serialize(ui::AXNodeData* out_node_data) OVERRIDE; |
| 23 |
| 24 private: |
| 25 View* view_; |
| 26 |
| 27 DISALLOW_COPY_AND_ASSIGN(AXViewObjWrapper); |
| 28 }; |
| 29 |
| 30 } // namespace views |
| 31 |
| 32 #endif // UI_VIEWS_ACCESSIBILITY_AX_VIEW_OBJ_WRAPPER_H_ |
OLD | NEW |