Revert "Fix broken channel icon in chrome://help on CrOS" and try again
[chromium-blink-merge.git] / ui / accessibility / platform / ax_platform_node.cc
blobec268a0b2cad69419afad76bfeeccd6da471e088
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
3 // found in the LICENSE file.
5 #include "ui/accessibility/platform/ax_platform_node.h"
7 #include "ui/accessibility/ax_node_data.h"
8 #include "ui/accessibility/platform/ax_platform_node_delegate.h"
10 namespace ui {
12 #if !defined(OS_MACOSX) && !defined(OS_WIN) && !(defined(OS_LINUX) && !defined(OS_CHROMEOS))
13 // static
14 AXPlatformNode* AXPlatformNode::Create(AXPlatformNodeDelegate* delegate) {
15 return nullptr;
17 #endif
19 #if !defined(OS_WIN)
20 // This is the default implementation for platforms where native views
21 // accessibility is unsupported or unfinished.
23 // static
24 AXPlatformNode* AXPlatformNode::FromNativeViewAccessible(
25 gfx::NativeViewAccessible accessible) {
26 return nullptr;
28 #endif
30 AXPlatformNode::AXPlatformNode() {
33 AXPlatformNode::~AXPlatformNode() {
36 } // namespace ui