| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_DELEGATE_MAC_H_ | |
| 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_DELEGATE_MAC_H_ | |
| 7 | |
| 8 @class BrowserAccessibilityCocoa; | |
| 9 @class NSWindow; | |
| 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. | |
| 14 @protocol BrowserAccessibilityDelegateCocoa | |
| 15 - (NSPoint)accessibilityPointInScreen:(NSPoint)origin | |
| 16 size:(NSSize)size; | |
| 17 - (void)doDefaultAction:(int32)accessibilityObjectId; | |
| 18 - (void)accessibilitySetTextSelection:(int32)accId | |
| 19 startOffset:(int32)startOffset | |
| 20 endOffset:(int32)endOffset; | |
| 21 - (void)performShowMenuAction:(BrowserAccessibilityCocoa*)accessibility; | |
| 22 - (void)setAccessibilityFocus:(BOOL)focus | |
| 23 accessibilityId:(int32)accessibilityObjectId; | |
| 24 - (NSWindow*)window; | |
| 25 @end | |
| 26 | |
| 27 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_DELEGATE_MAC_H_ | |
| OLD | NEW |