| 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..89444bf0c6fc94c35e48945a9e872c6ee53a89c0 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 {
|
| @@ -302,7 +303,7 @@ AXPlatformNodeMac::~AXPlatformNodeMac() {
|
| void AXPlatformNodeMac::Destroy() {
|
| if (native_node_)
|
| [native_node_ detach];
|
| - delegate_ = NULL;
|
| + delegate_ = nullptr;
|
| delete this;
|
| }
|
|
|
| @@ -312,4 +313,13 @@ gfx::NativeViewAccessible AXPlatformNodeMac::GetNativeViewAccessible() {
|
| return native_node_.get();
|
| }
|
|
|
| +void AXPlatformNodeMac::NotifyAccessibilityEvent(ui::AXEvent event_type) {
|
| + // TODO(dmazzoni): implement this. http://crbug.com/396137
|
| +}
|
| +
|
| +int AXPlatformNodeMac::GetIndexInParent() {
|
| + // TODO(dmazzoni): implement this. http://crbug.com/396137
|
| + return -1;
|
| +}
|
| +
|
| } // namespace ui
|
|
|