| 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..bca907e8f95935daf3c22f23c57d27b0da151248 100644
|
| --- a/content/browser/renderer_host/render_widget_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_impl.cc
|
| @@ -807,6 +807,17 @@ void RenderWidgetHostImpl::EnableFullAccessibilityMode() {
|
| SetAccessibilityMode(AccessibilityModeComplete);
|
| }
|
|
|
| +void RenderWidgetHostImpl::SetAccessibilityEnabled(bool enabled) {
|
| + if (enabled)
|
| + SetAccessibilityMode(AccessibilityModeComplete);
|
| + else
|
| + SetAccessibilityMode(AccessibilityModeOff);
|
| +}
|
| +
|
| +bool RenderWidgetHostImpl::GetAccessibilityEnabled() const {
|
| + return accessibility_mode_ == AccessibilityModeComplete;
|
| +}
|
| +
|
| static WebGestureEvent MakeGestureEvent(WebInputEvent::Type type,
|
| double timestamp_seconds,
|
| int x,
|
|
|