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 |
index 37b8ef41922ebd092c2980e676f20572b86cbc7f..74aac2d9bb4959d200f35820c162e0821241198c 100644 |
--- a/ui/accessibility/platform/ax_platform_node.cc |
+++ b/ui/accessibility/platform/ax_platform_node.cc |
@@ -9,13 +9,24 @@ |
namespace ui { |
-#if !defined(OS_MACOSX) |
+#if !defined(OS_MACOSX) && !defined(OS_WIN) |
// static |
AXPlatformNode* AXPlatformNode::Create(AXPlatformNodeDelegate* delegate) { |
return NULL; |
} |
#endif |
+#if !defined(OS_WIN) |
+// This is the default implementation for platforms where native views |
+// accessibility is unsupported or unfinished. |
+// |
+// static |
+AXPlatformNode* AXPlatformNode::FromNativeViewAccessible( |
+ gfx::NativeViewAccessible accessible) { |
+ return NULL; |
David Tseng
2015/02/13 20:10:10
nit: nullptr
dmazzoni
2015/02/17 22:48:04
Fixed throughout.
|
+} |
+#endif |
+ |
AXPlatformNode::AXPlatformNode() { |
} |