| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
| 13 #include "base/strings/sys_string_conversions.h" | 13 #include "base/strings/sys_string_conversions.h" |
| 14 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
| 15 #include "content/browser/accessibility/browser_accessibility_manager.h" | 15 #include "content/browser/accessibility/browser_accessibility_manager.h" |
| 16 #include "content/browser/accessibility/browser_accessibility_manager_mac.h" | 16 #include "content/browser/accessibility/browser_accessibility_manager_mac.h" |
| 17 #include "content/public/common/content_client.h" | 17 #include "content/public/common/content_client.h" |
| 18 #include "grit/webkit_strings.h" | 18 #include "grit/content_strings.h" |
| 19 | 19 |
| 20 // See http://openradar.appspot.com/9896491. This SPI has been tested on 10.5, | 20 // See http://openradar.appspot.com/9896491. This SPI has been tested on 10.5, |
| 21 // 10.6, and 10.7. It allows accessibility clients to observe events posted on | 21 // 10.6, and 10.7. It allows accessibility clients to observe events posted on |
| 22 // this object. | 22 // this object. |
| 23 extern "C" void NSAccessibilityUnregisterUniqueIdForUIElement(id element); | 23 extern "C" void NSAccessibilityUnregisterUniqueIdForUIElement(id element); |
| 24 | 24 |
| 25 using ui::AXNodeData; | 25 using ui::AXNodeData; |
| 26 using content::BrowserAccessibility; | 26 using content::BrowserAccessibility; |
| 27 using content::BrowserAccessibilityManager; | 27 using content::BrowserAccessibilityManager; |
| 28 using content::BrowserAccessibilityManagerMac; | 28 using content::BrowserAccessibilityManagerMac; |
| (...skipping 1606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1635 return [super hash]; | 1635 return [super hash]; |
| 1636 return browserAccessibility_->GetId(); | 1636 return browserAccessibility_->GetId(); |
| 1637 } | 1637 } |
| 1638 | 1638 |
| 1639 - (BOOL)accessibilityShouldUseUniqueId { | 1639 - (BOOL)accessibilityShouldUseUniqueId { |
| 1640 return YES; | 1640 return YES; |
| 1641 } | 1641 } |
| 1642 | 1642 |
| 1643 @end | 1643 @end |
| 1644 | 1644 |
| OLD | NEW |