Chromium Code Reviews| 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 c088309b4d4fe916e858b61a716b4e176a852328..a68fed36aeb097f8260c20c4d663165cfc36f21f 100644 |
| --- a/content/browser/renderer_host/render_widget_host_impl.h |
| +++ b/content/browser/renderer_host/render_widget_host_impl.h |
| @@ -24,6 +24,7 @@ |
| #include "content/common/view_message_enums.h" |
| #include "content/port/common/input_event_ack_state.h" |
| #include "content/public/browser/render_widget_host.h" |
| +#include "content/public/common/accessibility_mode.h" |
| #include "content/public/common/page_zoom.h" |
| #include "ipc/ipc_listener.h" |
| #include "ui/base/ime/text_input_type.h" |
| @@ -119,6 +120,11 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
| CGContextRef target) OVERRIDE; |
| #endif |
| virtual void EnableFullAccessibilityMode() OVERRIDE; |
|
dmazzoni
2013/02/27 16:41:01
Get rid of this variant now that we have SetAccess
aboxhall
2013/02/27 18:58:50
Done.
|
| + virtual AccessibilityMode GetAccessibilityMode() const OVERRIDE; |
| + |
| + // Send a message to the renderer process to change the accessibility mode. |
| + virtual void SetAccessibilityMode(AccessibilityMode mode) OVERRIDE; |
| + |
| virtual void ForwardMouseEvent( |
| const WebKit::WebMouseEvent& mouse_event) OVERRIDE; |
| virtual void ForwardWheelEvent( |
| @@ -327,9 +333,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
| void SetEditCommandsForNextKeyEvent( |
| const std::vector<EditCommand>& commands); |
| - // Send a message to the renderer process to change the accessibility mode. |
| - void SetAccessibilityMode(AccessibilityMode mode); |
| - |
| // Relay a request from assistive technology to perform the default action |
| // on a given node. |
| void AccessibilityDoDefaultAction(int object_id); |
| @@ -727,6 +730,8 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
| // would be queued) results in very slow scrolling. |
| WheelEventQueue coalesced_mouse_wheel_events_; |
| + enum AccessibilityMode accessibility_mode_; |
| + |
| // (Similar to |mouse_move_pending_|.) True while waiting for SelectRange_ACK. |
| bool select_range_pending_; |