| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include <execinfo.h> | 5 #include <execinfo.h> |
| 6 | 6 |
| 7 #import "content/browser/accessibility/browser_accessibility_cocoa.h" | 7 #import "content/browser/accessibility/browser_accessibility_cocoa.h" |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 | 10 |
| 11 #include "base/string16.h" | 11 #include "base/string16.h" |
| 12 #include "base/sys_string_conversions.h" | 12 #include "base/sys_string_conversions.h" |
| 13 #include "base/utf_string_conversions.h" | 13 #include "base/utf_string_conversions.h" |
| 14 #include "content/browser/accessibility/browser_accessibility_manager.h" | 14 #include "content/browser/accessibility/browser_accessibility_manager.h" |
| 15 #include "content/common/content_client.h" | 15 #include "content/public/common/content_client.h" |
| 16 #include "grit/webkit_strings.h" | 16 #include "grit/webkit_strings.h" |
| 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h" |
| 18 | 18 |
| 19 // See http://openradar.appspot.com/9896491. This SPI has been tested on 10.5, | 19 // See http://openradar.appspot.com/9896491. This SPI has been tested on 10.5, |
| 20 // 10.6, and 10.7. It allows accessibility clients to observe events posted on | 20 // 10.6, and 10.7. It allows accessibility clients to observe events posted on |
| 21 // this object. | 21 // this object. |
| 22 extern "C" void NSAccessibilityUnregisterUniqueIdForUIElement(id element); | 22 extern "C" void NSAccessibilityUnregisterUniqueIdForUIElement(id element); |
| 23 | 23 |
| 24 typedef WebAccessibility::StringAttribute StringAttribute; | 24 typedef WebAccessibility::StringAttribute StringAttribute; |
| 25 | 25 |
| (...skipping 937 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 963 return [super hash]; | 963 return [super hash]; |
| 964 return browserAccessibility_->renderer_id(); | 964 return browserAccessibility_->renderer_id(); |
| 965 } | 965 } |
| 966 | 966 |
| 967 - (BOOL)accessibilityShouldUseUniqueId { | 967 - (BOOL)accessibilityShouldUseUniqueId { |
| 968 return YES; | 968 return YES; |
| 969 } | 969 } |
| 970 | 970 |
| 971 @end | 971 @end |
| 972 | 972 |
| OLD | NEW |