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_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_BASE_H_ | 5 #ifndef UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_BASE_H_ |
6 #define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_BASE_H_ | 6 #define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_BASE_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "ui/accessibility/ax_enums.h" | 9 #include "ui/accessibility/ax_enums.h" |
10 #include "ui/accessibility/platform/ax_platform_node.h" | 10 #include "ui/accessibility/platform/ax_platform_node.h" |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 66 |
67 protected: | 67 protected: |
68 AXPlatformNodeBase(); | 68 AXPlatformNodeBase(); |
69 ~AXPlatformNodeBase() override; | 69 ~AXPlatformNodeBase() override; |
70 | 70 |
71 // Cast a gfx::NativeViewAccessible to an AXPlatformNodeBase if it is one, | 71 // Cast a gfx::NativeViewAccessible to an AXPlatformNodeBase if it is one, |
72 // or return NULL if it's not an instance of this class. | 72 // or return NULL if it's not an instance of this class. |
73 static AXPlatformNodeBase* FromNativeViewAccessible( | 73 static AXPlatformNodeBase* FromNativeViewAccessible( |
74 gfx::NativeViewAccessible accessible); | 74 gfx::NativeViewAccessible accessible); |
75 | 75 |
76 | 76 virtual void Dispose(); |
77 | 77 |
78 private: | 78 private: |
79 DISALLOW_COPY_AND_ASSIGN(AXPlatformNodeBase); | 79 DISALLOW_COPY_AND_ASSIGN(AXPlatformNodeBase); |
80 }; | 80 }; |
81 | 81 |
82 } // namespace ui | 82 } // namespace ui |
83 | 83 |
84 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_BASE_H_ | 84 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_BASE_H_ |
OLD | NEW |