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

Unified Diff: ui/accessibility/platform/ax_platform_node_mac.mm

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_mac.mm
diff --git a/ui/accessibility/platform/ax_platform_node_mac.mm b/ui/accessibility/platform/ax_platform_node_mac.mm
index d2b27679b02cfe9e09b44a7f27f4c72a29b89070..e0b5933cb880442dde618f76c309c501c0e4a332 100644
--- a/ui/accessibility/platform/ax_platform_node_mac.mm
+++ b/ui/accessibility/platform/ax_platform_node_mac.mm
@@ -7,6 +7,7 @@
#import <Cocoa/Cocoa.h>
#include "base/strings/sys_string_conversions.h"
+#import "ui/accessibility/ax_node_data.h"
#import "ui/accessibility/platform/ax_platform_node_delegate.h"
#import "ui/gfx/mac/coordinate_conversion.h"
@@ -236,7 +237,7 @@ RoleMap BuildSubroleMap() {
- (NSString*)AXRole {
if (!node_)
return nil;
- return [[self class] nativeRoleFromAXRole:node_->GetRole()];
+ return [[self class] nativeRoleFromAXRole:node_->GetData().role];
}
- (NSValue*)AXSize {
@@ -312,4 +313,8 @@ gfx::NativeViewAccessible AXPlatformNodeMac::GetNativeViewAccessible() {
return native_node_.get();
}
+void AXPlatformNodeMac::NotifyAccessibilityEvent(ui::AXEvent event_type) {
+ // TODO(dmazzoni): implement this. http://crbug.com/396137
+}
+
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698