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..348d8df98b33b8a8da561ef4ef8a9e51d706f8ce 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" |
@@ -118,7 +119,11 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
virtual bool CopyFromBackingStoreToCGContext(const CGRect& dest_rect, |
CGContextRef target) OVERRIDE; |
#endif |
- virtual void EnableFullAccessibilityMode() OVERRIDE; |
+ 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 +332,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 +729,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_; |