summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webview_delegate.h
diff options
context:
space:
mode:
authorklink@chromium.org <klink@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-20 00:53:06 +0000
committerklink@chromium.org <klink@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-20 00:53:06 +0000
commite846d0dba2bf9506a929c9e16294997e37014039 (patch)
tree5ac70d2216fd450b3d4f164a26f752504c8cb220 /webkit/glue/webview_delegate.h
parentfabd89f6aa700cb0e59b04e92ce54e729cbd0c66 (diff)
downloadchromium_src-e846d0dba2bf9506a929c9e16294997e37014039.zip
chromium_src-e846d0dba2bf9506a929c9e16294997e37014039.tar.gz
chromium_src-e846d0dba2bf9506a929c9e16294997e37014039.tar.bz2
Adds propagation and handling of render-side focus events, for the benefit of assistive technologies (accessibility). Also cleans up the handling of WM_GETOBJECT in RenderWidgetHostViewWin and WidgetWin, as well as in BrowserAccessibilityManager.
Review URL: http://codereview.chromium.org/115374 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16449 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webview_delegate.h')
-rw-r--r--webkit/glue/webview_delegate.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/webkit/glue/webview_delegate.h b/webkit/glue/webview_delegate.h
index 525f745..7d503ad 100644
--- a/webkit/glue/webview_delegate.h
+++ b/webkit/glue/webview_delegate.h
@@ -37,6 +37,10 @@ namespace webkit_glue {
class WebMediaPlayerDelegate;
}
+namespace WebCore {
+class AccessibilityObject;
+}
+
namespace WebKit {
class WebDragData;
class WebWorker;
@@ -169,6 +173,13 @@ class WebViewDelegate : virtual public WebWidgetDelegate {
return true;
}
+ // Called by ChromeClientImpl::focus() if accessibility on the renderer side
+ // is enabled, and a focus change has occurred. Will retrieve the id of the
+ // input AccessibilityObject and send it through IPC for handling on the
+ // browser side.
+ virtual void FocusAccessibilityObject(WebCore::AccessibilityObject* acc_obj) {
+ }
+
// FrameLoaderClient -------------------------------------------------------
// Notifies the delegate that a load has begun.