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 #include "ui/accessibility/platform/ax_platform_node.h" | 5 #include "ui/accessibility/platform/ax_platform_node.h" |
6 | 6 |
7 #include "ui/accessibility/ax_node_data.h" | 7 #include "ui/accessibility/ax_node_data.h" |
8 #include "ui/accessibility/platform/ax_platform_node_delegate.h" | 8 #include "ui/accessibility/platform/ax_platform_node_delegate.h" |
9 | 9 |
10 namespace ui { | 10 namespace ui { |
11 | 11 |
12 #if !defined(OS_MACOSX) && !defined(OS_WIN) | 12 #if !defined(OS_MACOSX) |
13 // static | 13 // static |
14 AXPlatformNode* AXPlatformNode::Create(AXPlatformNodeDelegate* delegate) { | 14 AXPlatformNode* AXPlatformNode::Create(AXPlatformNodeDelegate* delegate) { |
15 return nullptr; | 15 return NULL; |
16 } | 16 } |
17 #endif | 17 #endif |
18 | 18 |
19 #if !defined(OS_WIN) | |
20 // This is the default implementation for platforms where native views | |
21 // accessibility is unsupported or unfinished. | |
22 // | |
23 // static | |
24 AXPlatformNode* AXPlatformNode::FromNativeViewAccessible( | |
25 gfx::NativeViewAccessible accessible) { | |
26 return nullptr; | |
27 } | |
28 #endif | |
29 | |
30 AXPlatformNode::AXPlatformNode() { | 19 AXPlatformNode::AXPlatformNode() { |
31 } | 20 } |
32 | 21 |
33 AXPlatformNode::~AXPlatformNode() { | 22 AXPlatformNode::~AXPlatformNode() { |
34 } | 23 } |
35 | 24 |
36 } // namespace ui | 25 } // namespace ui |
OLD | NEW |