| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #ifndef CHROME_BROWSER_COCOA_BROWSER_ACCESSIBILITY_DELEGATE_H | 5 #ifndef CHROME_BROWSER_COCOA_BROWSER_ACCESSIBILITY_DELEGATE_H |
| 6 #define CHROME_BROWSER_COCOA_BROWSER_ACCESSIBILITY_DELEGATE_H | 6 #define CHROME_BROWSER_COCOA_BROWSER_ACCESSIBILITY_DELEGATE_H |
| 7 | 7 |
| 8 @class BrowserAccessibility; | 8 @class BrowserAccessibility; |
| 9 @class NSWindow; | 9 @class NSWindow; |
| 10 | 10 |
| 11 // This protocol is used by the BrowserAccessibility objects to pass messages |
| 12 // to, or otherwise communicate with, their underlying WebAccessibility |
| 13 // objects over the IPC boundary. |
| 11 @protocol BrowserAccessibilityDelegate | 14 @protocol BrowserAccessibilityDelegate |
| 12 - (NSPoint)accessibilityPointInScreen:(BrowserAccessibility*)accessibility; | 15 - (NSPoint)accessibilityPointInScreen:(BrowserAccessibility*)accessibility; |
| 13 - (void)doDefaultAction:(int32)accessibilityObjectId; | 16 - (void)doDefaultAction:(int32)accessibilityObjectId; |
| 14 - (void)setAccessibilityFocus:(BOOL)focus | 17 - (void)setAccessibilityFocus:(BOOL)focus |
| 15 accessibilityId:(int32)accessibilityObjectId; | 18 accessibilityId:(int32)accessibilityObjectId; |
| 16 - (NSWindow*)window; | 19 - (NSWindow*)window; |
| 17 @end | 20 @end |
| 18 | 21 |
| 19 #endif // CHROME_BROWSER_COCOA_BROWSER_ACCESSIBILITY_DELEGATE_H | 22 #endif // CHROME_BROWSER_COCOA_BROWSER_ACCESSIBILITY_DELEGATE_H |
| OLD | NEW |