summaryrefslogtreecommitdiffstats
path: root/content/browser/accessibility/browser_accessibility_delegate_mac.h
diff options
context:
space:
mode:
authordmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-25 05:16:22 +0000
committerdmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-25 05:16:22 +0000
commitba1fa653e6f4137c6c4441d15e3a8e71d2f9d719 (patch)
treeb663c5d75a7d64ac73af84c82f9abe1986ae8f76 /content/browser/accessibility/browser_accessibility_delegate_mac.h
parent94f8c957011e0d1f9a28607a05066edc2989eaa2 (diff)
downloadchromium_src-ba1fa653e6f4137c6c4441d15e3a8e71d2f9d719.zip
chromium_src-ba1fa653e6f4137c6c4441d15e3a8e71d2f9d719.tar.gz
chromium_src-ba1fa653e6f4137c6c4441d15e3a8e71d2f9d719.tar.bz2
Re-land: Move browser accessibility code from chrome to content.
BUG=85932 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=90435 Review URL: http://codereview.chromium.org/7233022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90495 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/accessibility/browser_accessibility_delegate_mac.h')
-rw-r--r--content/browser/accessibility/browser_accessibility_delegate_mac.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/content/browser/accessibility/browser_accessibility_delegate_mac.h b/content/browser/accessibility/browser_accessibility_delegate_mac.h
new file mode 100644
index 0000000..680ab87
--- /dev/null
+++ b/content/browser/accessibility/browser_accessibility_delegate_mac.h
@@ -0,0 +1,24 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_DELEGATE_MAC_H_
+#define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_DELEGATE_MAC_H_
+#pragma once
+
+@class BrowserAccessibilityCocoa;
+@class NSWindow;
+
+// This protocol is used by the BrowserAccessibility objects to pass messages
+// to, or otherwise communicate with, their underlying WebAccessibility
+// objects over the IPC boundary.
+@protocol BrowserAccessibilityDelegateCocoa
+- (NSPoint)accessibilityPointInScreen:(BrowserAccessibilityCocoa*)accessibility;
+- (void)doDefaultAction:(int32)accessibilityObjectId;
+- (void)performShowMenuAction:(BrowserAccessibilityCocoa*)accessibility;
+- (void)setAccessibilityFocus:(BOOL)focus
+ accessibilityId:(int32)accessibilityObjectId;
+- (NSWindow*)window;
+@end
+
+#endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_DELEGATE_MAC_H_