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