| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #import "ui/accessibility/platform/ax_platform_node_mac.h" | 5 #import "ui/accessibility/platform/ax_platform_node_mac.h" |
| 6 | 6 |
| 7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
| 8 #include <stddef.h> |
| 8 | 9 |
| 10 #include "base/macros.h" |
| 9 #include "base/strings/sys_string_conversions.h" | 11 #include "base/strings/sys_string_conversions.h" |
| 10 #import "ui/accessibility/ax_node_data.h" | 12 #import "ui/accessibility/ax_node_data.h" |
| 11 #import "ui/accessibility/platform/ax_platform_node_delegate.h" | 13 #import "ui/accessibility/platform/ax_platform_node_delegate.h" |
| 12 #import "ui/gfx/mac/coordinate_conversion.h" | 14 #import "ui/gfx/mac/coordinate_conversion.h" |
| 13 | 15 |
| 14 namespace { | 16 namespace { |
| 15 | 17 |
| 16 struct MapEntry { | 18 struct MapEntry { |
| 17 ui::AXRole value; | 19 ui::AXRole value; |
| 18 NSString* nativeValue; | 20 NSString* nativeValue; |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 void AXPlatformNodeMac::NotifyAccessibilityEvent(ui::AXEvent event_type) { | 336 void AXPlatformNodeMac::NotifyAccessibilityEvent(ui::AXEvent event_type) { |
| 335 // TODO(dmazzoni): implement this. http://crbug.com/396137 | 337 // TODO(dmazzoni): implement this. http://crbug.com/396137 |
| 336 } | 338 } |
| 337 | 339 |
| 338 int AXPlatformNodeMac::GetIndexInParent() { | 340 int AXPlatformNodeMac::GetIndexInParent() { |
| 339 // TODO(dmazzoni): implement this. http://crbug.com/396137 | 341 // TODO(dmazzoni): implement this. http://crbug.com/396137 |
| 340 return -1; | 342 return -1; |
| 341 } | 343 } |
| 342 | 344 |
| 343 } // namespace ui | 345 } // namespace ui |
| OLD | NEW |