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

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

Issue 949333002: Revert of Implement NativeViewAccessibilityWin using AXPlatformNodeWin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « ui/accessibility/platform/ax_platform_node_mac.h ('k') | ui/accessibility/platform/ax_platform_node_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 89444bf0c6fc94c35e48945a9e872c6ee53a89c0..d2b27679b02cfe9e09b44a7f27f4c72a29b89070 100644
--- a/ui/accessibility/platform/ax_platform_node_mac.mm
+++ b/ui/accessibility/platform/ax_platform_node_mac.mm
@@ -7,7 +7,6 @@
#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"
@@ -237,7 +236,7 @@
- (NSString*)AXRole {
if (!node_)
return nil;
- return [[self class] nativeRoleFromAXRole:node_->GetData().role];
+ return [[self class] nativeRoleFromAXRole:node_->GetRole()];
}
- (NSValue*)AXSize {
@@ -303,7 +302,7 @@
void AXPlatformNodeMac::Destroy() {
if (native_node_)
[native_node_ detach];
- delegate_ = nullptr;
+ delegate_ = NULL;
delete this;
}
@@ -313,13 +312,4 @@
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
« no previous file with comments | « ui/accessibility/platform/ax_platform_node_mac.h ('k') | ui/accessibility/platform/ax_platform_node_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698