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 72d461fa6a3788c518d76b8009ff310822b6c9a8..f3b09f181ad6a54f65eabbc051158289b7cbff95 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -42,6 +42,7 @@ |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/notification_types.h" |
#include "content/public/browser/user_metrics.h" |
+#include "content/public/common/accessibility_mode.h" |
#include "content/public/common/content_constants.h" |
#include "content/public/common/content_switches.h" |
#include "content/public/common/result_codes.h" |
@@ -803,10 +804,6 @@ void RenderWidgetHostImpl::StopHangMonitorTimeout() { |
// started again shortly, which happens to be the common use case. |
} |
-void RenderWidgetHostImpl::EnableFullAccessibilityMode() { |
- SetAccessibilityMode(AccessibilityModeComplete); |
-} |
- |
static WebGestureEvent MakeGestureEvent(WebInputEvent::Type type, |
double timestamp_seconds, |
int x, |
@@ -2190,6 +2187,10 @@ void RenderWidgetHostImpl::SetEditCommandsForNextKeyEvent( |
Send(new ViewMsg_SetEditCommandsForNextKeyEvent(GetRoutingID(), commands)); |
} |
+AccessibilityMode RenderWidgetHostImpl::GetAccessibilityMode() const { |
+ return accessibility_mode_; |
+} |
+ |
void RenderWidgetHostImpl::SetAccessibilityMode(AccessibilityMode mode) { |
Send(new ViewMsg_SetAccessibilityMode(routing_id_, mode)); |
} |