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