| 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 139ea3b7cffd4abee947b36cc1c86c8b5e495eb4..d00a3536bffa5dd4a54506854c6bbf2cb3f13570 100644
|
| --- a/content/browser/renderer_host/render_widget_host_impl.h
|
| +++ b/content/browser/renderer_host/render_widget_host_impl.h
|
| @@ -24,7 +24,6 @@
|
| #include "base/timer/timer.h"
|
| #include "build/build_config.h"
|
| #include "cc/resources/shared_bitmap.h"
|
| -#include "content/browser/accessibility/browser_accessibility_manager.h"
|
| #include "content/browser/renderer_host/event_with_latency_info.h"
|
| #include "content/browser/renderer_host/input/input_ack_handler.h"
|
| #include "content/browser/renderer_host/input/input_router_client.h"
|
| @@ -97,8 +96,7 @@ class CONTENT_EXPORT RenderWidgetHostImpl
|
| public InputRouterClient,
|
| public InputAckHandler,
|
| public TouchEmulatorClient,
|
| - public IPC::Listener,
|
| - public BrowserAccessibilityDelegate {
|
| + public IPC::Listener {
|
| public:
|
| // routing_id can be MSG_ROUTING_NONE, in which case the next available
|
| // routing id is taken from the RenderProcessHost.
|
| @@ -143,10 +141,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl
|
| virtual void LockBackingStore() OVERRIDE;
|
| virtual void UnlockBackingStore() OVERRIDE;
|
| #endif
|
| - virtual void EnableFullAccessibilityMode() OVERRIDE;
|
| - virtual bool IsFullAccessibilityModeForTesting() OVERRIDE;
|
| - virtual void EnableTreeOnlyAccessibilityMode() OVERRIDE;
|
| - virtual bool IsTreeOnlyAccessibilityModeForTesting() OVERRIDE;
|
| virtual void ForwardMouseEvent(
|
| const blink::WebMouseEvent& mouse_event) OVERRIDE;
|
| virtual void ForwardWheelEvent(
|
| @@ -176,22 +170,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl
|
|
|
| virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE;
|
|
|
| - // BrowserAccessibilityDelegate
|
| - virtual void AccessibilitySetFocus(int acc_obj_id) OVERRIDE;
|
| - virtual void AccessibilityDoDefaultAction(int acc_obj_id) OVERRIDE;
|
| - virtual void AccessibilityShowMenu(int acc_obj_id) OVERRIDE;
|
| - virtual void AccessibilityScrollToMakeVisible(
|
| - int acc_obj_id, gfx::Rect subfocus) OVERRIDE;
|
| - virtual void AccessibilityScrollToPoint(
|
| - int acc_obj_id, gfx::Point point) OVERRIDE;
|
| - virtual void AccessibilitySetTextSelection(
|
| - int acc_obj_id, int start_offset, int end_offset) OVERRIDE;
|
| - virtual bool AccessibilityViewHasFocus() const OVERRIDE;
|
| - virtual gfx::Rect AccessibilityGetViewBounds() const OVERRIDE;
|
| - virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds)
|
| - const OVERRIDE;
|
| - virtual void AccessibilityFatalError() OVERRIDE;
|
| -
|
| const NativeWebKeyboardEvent* GetLastKeyboardEvent() const;
|
|
|
| // Notification that the screen info has changed.
|
| @@ -392,30 +370,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl
|
| void SetEditCommandsForNextKeyEvent(
|
| const std::vector<EditCommand>& commands);
|
|
|
| - // Gets the accessibility mode.
|
| - AccessibilityMode accessibility_mode() const {
|
| - return accessibility_mode_;
|
| - }
|
| -
|
| - // Adds the given accessibility mode to the current accessibility mode bitmap.
|
| - void AddAccessibilityMode(AccessibilityMode mode);
|
| -
|
| - // Removes the given accessibility mode from the current accessibility mode
|
| - // bitmap, managing the bits that are shared with other modes such that a
|
| - // bit will only be turned off when all modes that depend on it have been
|
| - // removed.
|
| - void RemoveAccessibilityMode(AccessibilityMode mode);
|
| -
|
| - // Resets the accessibility mode to the default setting in
|
| - // BrowserStateAccessibilityImpl.
|
| - void ResetAccessibilityMode();
|
| -
|
| -#if defined(OS_WIN)
|
| - void SetParentNativeViewAccessible(
|
| - gfx::NativeViewAccessible accessible_parent);
|
| - gfx::NativeViewAccessible GetParentNativeViewAccessible() const;
|
| -#endif
|
| -
|
| // Executes the edit command on the RenderView.
|
| void ExecuteEditCommand(const std::string& command,
|
| const std::string& value);
|
| @@ -712,9 +666,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl
|
|
|
| void WindowSnapshotReachedScreen(int snapshot_id);
|
|
|
| - // Send a message to the renderer process to change the accessibility mode.
|
| - void SetAccessibilityMode(AccessibilityMode AccessibilityMode);
|
| -
|
| // Our delegate, which wants to know mainly about keyboard events.
|
| // It will remain non-NULL until DetachDelegate() is called.
|
| RenderWidgetHostDelegate* delegate_;
|
| @@ -789,8 +740,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl
|
| gfx::Rect last_view_screen_rect_;
|
| gfx::Rect last_window_screen_rect_;
|
|
|
| - AccessibilityMode accessibility_mode_;
|
| -
|
| // Keyboard event listeners.
|
| std::vector<KeyPressEventCallback> key_press_event_callbacks_;
|
|
|
|
|