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 #include <stddef.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/strings/sys_string_conversions.h" | 11 #include "base/strings/sys_string_conversions.h" |
| 12 #include "ui/accessibility/ax_enums.h" |
12 #import "ui/accessibility/ax_node_data.h" | 13 #import "ui/accessibility/ax_node_data.h" |
13 #import "ui/accessibility/platform/ax_platform_node_delegate.h" | 14 #import "ui/accessibility/platform/ax_platform_node_delegate.h" |
14 #import "ui/gfx/mac/coordinate_conversion.h" | 15 #import "ui/gfx/mac/coordinate_conversion.h" |
15 | 16 |
16 namespace { | 17 namespace { |
17 | 18 |
18 struct MapEntry { | 19 struct MapEntry { |
19 ui::AXRole value; | 20 ui::AXRole value; |
20 NSString* nativeValue; | 21 NSString* nativeValue; |
21 }; | 22 }; |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 void AXPlatformNodeMac::NotifyAccessibilityEvent(ui::AXEvent event_type) { | 338 void AXPlatformNodeMac::NotifyAccessibilityEvent(ui::AXEvent event_type) { |
338 // TODO(dmazzoni): implement this. http://crbug.com/396137 | 339 // TODO(dmazzoni): implement this. http://crbug.com/396137 |
339 } | 340 } |
340 | 341 |
341 int AXPlatformNodeMac::GetIndexInParent() { | 342 int AXPlatformNodeMac::GetIndexInParent() { |
342 // TODO(dmazzoni): implement this. http://crbug.com/396137 | 343 // TODO(dmazzoni): implement this. http://crbug.com/396137 |
343 return -1; | 344 return -1; |
344 } | 345 } |
345 | 346 |
346 } // namespace ui | 347 } // namespace ui |
OLD | NEW |