| 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 14 matching lines...) Expand all Loading... |
| 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 | 31 |
| 32 // WidgetObserver overrides. | 32 // WidgetObserver overrides. |
| 33 void OnWidgetDestroying(Widget* widget) override; | 33 void OnWidgetDestroying(Widget* widget) override; |
| 34 void OnWidgetClosing(Widget* widget) override; | 34 void OnWidgetClosing(Widget* widget) override; |
| 35 void OnWidgetVisibilityChanged(Widget*, bool) override; |
| 35 | 36 |
| 36 // WidgetRemovalsObserver overrides. | 37 // WidgetRemovalsObserver overrides. |
| 37 void OnWillRemoveView(Widget* widget, View* view) override; | 38 void OnWillRemoveView(Widget* widget, View* view) override; |
| 38 | 39 |
| 39 private: | 40 private: |
| 40 Widget* widget_; | 41 Widget* widget_; |
| 41 | 42 |
| 42 DISALLOW_COPY_AND_ASSIGN(AXWidgetObjWrapper); | 43 DISALLOW_COPY_AND_ASSIGN(AXWidgetObjWrapper); |
| 43 }; | 44 }; |
| 44 | 45 |
| 45 } // namespace views | 46 } // namespace views |
| 46 | 47 |
| 47 #endif // UI_VIEWS_ACCESSIBILITY_AX_WIDGET_OBJ_WRAPPER_H_ | 48 #endif // UI_VIEWS_ACCESSIBILITY_AX_WIDGET_OBJ_WRAPPER_H_ |
| OLD | NEW |