Index: ui/accessibility/platform/ax_platform_node.cc |
diff --git a/ui/accessibility/platform/ax_platform_node.cc b/ui/accessibility/platform/ax_platform_node.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3fa5a845db1d99235cbb923d9baece735c9d9fd7 |
--- /dev/null |
+++ b/ui/accessibility/platform/ax_platform_node.cc |
@@ -0,0 +1,36 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "ui/accessibility/platform/ax_platform_node.h" |
+ |
+#include "ui/accessibility/ax_node_data.h" |
+#include "ui/accessibility/platform/ax_platform_node_delegate.h" |
+ |
+namespace ui { |
+ |
+#if !defined(OS_MACOSX) |
+// static |
+AXPlatformNode* AXPlatformNode::Create(AXPlatformNodeDelegate* delegate) { |
+ AXPlatformNode* node = new AXPlatformNode(); |
+ node->Init(delegate); |
+ return node; |
+} |
+#endif |
+ |
+AXPlatformNode::AXPlatformNode() { |
+} |
+ |
+AXPlatformNode::~AXPlatformNode() { |
+} |
+ |
+void AXPlatformNode::Destroy() { |
+ delegate_ = NULL; |
+ delete this; |
+} |
+ |
+gfx::NativeViewAccessible AXPlatformNode::GetNativeViewAccessible() { |
+ return NULL; |
+} |
+ |
+} // namespace ui |