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 bceb702cfeb4c991d2501f2ec1ad72a6458b355d..ff803a21ae8abbee53d9749079136bd60986ee7e 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,14 @@ void RenderWidgetHostImpl::SetEditCommandsForNextKeyEvent( |
Send(new ViewMsg_SetEditCommandsForNextKeyEvent(GetRoutingID(), commands)); |
} |
+void RenderWidgetHostImpl::EnableFullAccessibilityMode() { |
+ SetAccessibilityMode(AccessibilityModeComplete); |
+} |
+ |
+AccessibilityMode RenderWidgetHostImpl::GetAccessibilityMode() const { |
+ return accessibility_mode_; |
+} |
+ |
void RenderWidgetHostImpl::SetAccessibilityMode(AccessibilityMode mode) { |
Send(new ViewMsg_SetAccessibilityMode(routing_id_, mode)); |
} |