Index: content/browser/renderer_host/render_widget_host_impl.h |
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h |
index 94a42ff3af2523563314c8937173dbe11ef88e3e..ac36e02cd21cca241438eb9fed23180129314f67 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.h |
+++ b/content/browser/renderer_host/render_widget_host_impl.h |
@@ -390,12 +390,17 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
const std::vector<EditCommand>& commands); |
// Gets the accessibility mode. |
- AccessibilityMode accessibility_mode() const { |
+ unsigned int accessibility_mode() const { |
return accessibility_mode_; |
} |
// Send a message to the renderer process to change the accessibility mode. |
- void SetAccessibilityMode(AccessibilityMode mode); |
+ void SetAccessibilityMode(unsigned int mode); |
+ |
+ // Set the accessibility mode to have the given value for the |
+ // AccessibilityModeRender bit, and send an IPC to update the accessibility |
+ // mode if necessary. |
+ void SetRendererAccessibilityMode(bool on); |
// Relay a request from assistive technology to perform the default action |
// on a given node. |
@@ -819,7 +824,7 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
gfx::Rect last_view_screen_rect_; |
gfx::Rect last_window_screen_rect_; |
- AccessibilityMode accessibility_mode_; |
+ unsigned int accessibility_mode_; |
// Keyboard event listeners. |
std::vector<KeyPressEventCallback> key_press_event_callbacks_; |