| Index: content/browser/renderer_host/render_widget_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
|
| index 2b3762f9a3c8318bea87c7e8be08e2da428b8975..a4f6bd261288739a1935f34a9d0416b017e1fe55 100644
|
| --- a/content/browser/renderer_host/render_widget_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_impl.cc
|
| @@ -2086,12 +2086,17 @@ void RenderWidgetHostImpl::SetAccessibilityMode(AccessibilityMode mode) {
|
| Send(new ViewMsg_SetAccessibilityMode(GetRoutingID(), mode));
|
| }
|
|
|
| +void RenderWidgetHostImpl::AccessibilitySetFocus(int object_id) {
|
| + Send(new AccessibilityMsg_SetFocus(GetRoutingID(), object_id));
|
| + view_->OnAccessibilitySetFocus(object_id);
|
| +}
|
| +
|
| void RenderWidgetHostImpl::AccessibilityDoDefaultAction(int object_id) {
|
| Send(new AccessibilityMsg_DoDefaultAction(GetRoutingID(), object_id));
|
| }
|
|
|
| -void RenderWidgetHostImpl::AccessibilitySetFocus(int object_id) {
|
| - Send(new AccessibilityMsg_SetFocus(GetRoutingID(), object_id));
|
| +void RenderWidgetHostImpl::AccessibilityShowMenu(int object_id) {
|
| + view_->AccessibilityShowMenu(object_id);
|
| }
|
|
|
| void RenderWidgetHostImpl::AccessibilityScrollToMakeVisible(
|
| @@ -2112,8 +2117,22 @@ void RenderWidgetHostImpl::AccessibilitySetTextSelection(
|
| GetRoutingID(), object_id, start_offset, end_offset));
|
| }
|
|
|
| -void RenderWidgetHostImpl::FatalAccessibilityTreeError() {
|
| +bool RenderWidgetHostImpl::AccessibilityViewHasFocus() const {
|
| + return view_->HasFocus();
|
| +}
|
| +
|
| +gfx::Rect RenderWidgetHostImpl::AccessibilityGetViewBounds() const {
|
| + return view_->GetViewBounds();
|
| +}
|
| +
|
| +gfx::Point RenderWidgetHostImpl::AccessibilityOriginInScreen(
|
| + const gfx::Rect& bounds) const {
|
| + return view_->AccessibilityOriginInScreen(bounds);
|
| +}
|
| +
|
| +void RenderWidgetHostImpl::AccessibilityFatalError() {
|
| Send(new AccessibilityMsg_FatalError(GetRoutingID()));
|
| + view_->SetBrowserAccessibilityManager(NULL);
|
| }
|
|
|
| #if defined(OS_WIN)
|
|
|