OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_VIEWS_ACCESSIBILITY_AX_WIDGET_OBJ_WRAPPER_H_ | 5 #ifndef UI_VIEWS_ACCESSIBILITY_AX_WIDGET_OBJ_WRAPPER_H_ |
6 #define UI_VIEWS_ACCESSIBILITY_AX_WIDGET_OBJ_WRAPPER_H_ | 6 #define UI_VIEWS_ACCESSIBILITY_AX_WIDGET_OBJ_WRAPPER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 public WidgetRemovalsObserver { | 21 public WidgetRemovalsObserver { |
22 public: | 22 public: |
23 explicit AXWidgetObjWrapper(Widget* widget); | 23 explicit AXWidgetObjWrapper(Widget* widget); |
24 ~AXWidgetObjWrapper() override; | 24 ~AXWidgetObjWrapper() override; |
25 | 25 |
26 // AXAuraObjWrapper overrides. | 26 // AXAuraObjWrapper overrides. |
27 AXAuraObjWrapper* GetParent() override; | 27 AXAuraObjWrapper* GetParent() override; |
28 void GetChildren(std::vector<AXAuraObjWrapper*>* out_children) override; | 28 void GetChildren(std::vector<AXAuraObjWrapper*>* out_children) override; |
29 void Serialize(ui::AXNodeData* out_node_data) override; | 29 void Serialize(ui::AXNodeData* out_node_data) override; |
30 int32_t GetID() override; | 30 int32_t GetID() override; |
| 31 bool HandleAccessibleAction(const ui::AXActionData& action) override; |
31 | 32 |
32 // WidgetObserver overrides. | 33 // WidgetObserver overrides. |
33 void OnWidgetDestroying(Widget* widget) override; | 34 void OnWidgetDestroying(Widget* widget) override; |
34 void OnWidgetClosing(Widget* widget) override; | 35 void OnWidgetClosing(Widget* widget) override; |
35 void OnWidgetVisibilityChanged(Widget*, bool) override; | 36 void OnWidgetVisibilityChanged(Widget*, bool) override; |
36 | 37 |
37 // WidgetRemovalsObserver overrides. | 38 // WidgetRemovalsObserver overrides. |
38 void OnWillRemoveView(Widget* widget, View* view) override; | 39 void OnWillRemoveView(Widget* widget, View* view) override; |
39 | 40 |
40 private: | 41 private: |
41 Widget* widget_; | 42 Widget* widget_; |
42 | 43 |
43 DISALLOW_COPY_AND_ASSIGN(AXWidgetObjWrapper); | 44 DISALLOW_COPY_AND_ASSIGN(AXWidgetObjWrapper); |
44 }; | 45 }; |
45 | 46 |
46 } // namespace views | 47 } // namespace views |
47 | 48 |
48 #endif // UI_VIEWS_ACCESSIBILITY_AX_WIDGET_OBJ_WRAPPER_H_ | 49 #endif // UI_VIEWS_ACCESSIBILITY_AX_WIDGET_OBJ_WRAPPER_H_ |
OLD | NEW |