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_H_ | 5 #ifndef UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_H_ |
6 #define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_H_ | 6 #define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_H_ |
7 | 7 |
| 8 #include "build/build_config.h" |
8 #include "ui/accessibility/ax_enums.h" | 9 #include "ui/accessibility/ax_enums.h" |
9 #include "ui/accessibility/ax_export.h" | 10 #include "ui/accessibility/ax_export.h" |
10 #include "ui/gfx/native_widget_types.h" | 11 #include "ui/gfx/native_widget_types.h" |
11 | 12 |
12 // Set PLATFORM_HAS_AX_PLATFORM_NODE_IMPL if this platform has a specific | 13 // Set PLATFORM_HAS_AX_PLATFORM_NODE_IMPL if this platform has a specific |
13 // implementation of AxPlatfromNode::Create(). | 14 // implementation of AxPlatfromNode::Create(). |
14 #undef PLATFORM_HAS_AX_PLATFORM_NODE_IMPL | 15 #undef PLATFORM_HAS_AX_PLATFORM_NODE_IMPL |
15 | 16 |
16 #if defined(OS_WIN) | 17 #if defined(OS_WIN) |
17 #define PLATFORM_HAS_AX_PLATFORM_NODE_IMPL 1 | 18 #define PLATFORM_HAS_AX_PLATFORM_NODE_IMPL 1 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 virtual AXPlatformNodeDelegate* GetDelegate() const = 0; | 63 virtual AXPlatformNodeDelegate* GetDelegate() const = 0; |
63 | 64 |
64 protected: | 65 protected: |
65 AXPlatformNode(); | 66 AXPlatformNode(); |
66 virtual ~AXPlatformNode(); | 67 virtual ~AXPlatformNode(); |
67 }; | 68 }; |
68 | 69 |
69 } // namespace ui | 70 } // namespace ui |
70 | 71 |
71 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_H_ | 72 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_H_ |
OLD | NEW |