Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(336)

Unified Diff: ui/accessibility/platform/ax_platform_node.cc

Issue 909143003: Re-land: Implement NativeViewAccessibilityWin using AXPlatformNodeWin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add unit tests Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {
}

Powered by Google App Engine
This is Rietveld 408576698