• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #ifndef CHROME_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_DELEGATE_MAC_H_
6 #define CHROME_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_DELEGATE_MAC_H_
7 #pragma once
8 
9 @class BrowserAccessibilityCocoa;
10 @class NSWindow;
11 
12 // This protocol is used by the BrowserAccessibility objects to pass messages
13 // to, or otherwise communicate with, their underlying WebAccessibility
14 // objects over the IPC boundary.
15 @protocol BrowserAccessibilityDelegateCocoa
16 - (NSPoint)accessibilityPointInScreen:(BrowserAccessibilityCocoa*)accessibility;
17 - (void)doDefaultAction:(int32)accessibilityObjectId;
18 - (void)setAccessibilityFocus:(BOOL)focus
19               accessibilityId:(int32)accessibilityObjectId;
20 - (NSWindow*)window;
21 @end
22 
23 #endif // CHROME_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_DELEGATE_MAC_H_
24