OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #include "ui/accessibility/platform/ax_platform_node.h" |
| 6 |
| 7 #include "ui/accessibility/ax_node_data.h" |
| 8 #include "ui/accessibility/platform/ax_platform_node_delegate.h" |
| 9 |
| 10 namespace ui { |
| 11 |
| 12 #if !defined(OS_MACOSX) |
| 13 // static |
| 14 AXPlatformNode* AXPlatformNode::Create(AXPlatformNodeDelegate* delegate) { |
| 15 AXPlatformNode* node = new AXPlatformNode(); |
| 16 node->Init(delegate); |
| 17 return node; |
| 18 } |
| 19 #endif |
| 20 |
| 21 AXPlatformNode::AXPlatformNode() { |
| 22 } |
| 23 |
| 24 AXPlatformNode::~AXPlatformNode() { |
| 25 } |
| 26 |
| 27 void AXPlatformNode::Destroy() { |
| 28 delegate_ = NULL; |
| 29 delete this; |
| 30 } |
| 31 |
| 32 gfx::NativeViewAccessible AXPlatformNode::GetNativeViewAccessible() { |
| 33 return NULL; |
| 34 } |
| 35 |
| 36 } // namespace ui |
OLD | NEW |