diff options
Diffstat (limited to 'content/public/browser/render_frame_host.h')
-rw-r--r-- | content/public/browser/render_frame_host.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h index 31f4d8d..dde20fe 100644 --- a/content/public/browser/render_frame_host.h +++ b/content/public/browser/render_frame_host.h @@ -12,6 +12,7 @@ #include "ipc/ipc_listener.h" #include "ipc/ipc_sender.h" #include "ui/gfx/native_widget_types.h" +#include "ui/gfx/rect.h" #include "url/gurl.h" namespace base { @@ -72,6 +73,14 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener, virtual void ExecuteJavaScript(const base::string16& javascript, const JavaScriptResultCallback& callback) = 0; + // Accessibility actions. + virtual void AccessibilitySetFocus(int acc_obj_id) = 0; + virtual void AccessibilityDoDefaultAction(int acc_obj_id) = 0; + virtual void AccessibilityScrollToMakeVisible( + int acc_obj_id, const gfx::Rect& subfocus) = 0; + virtual void AccessibilitySetTextSelection( + int acc_obj_id, int start_offset, int end_offset) = 0; + // Temporary until we get rid of RenderViewHost. virtual RenderViewHost* GetRenderViewHost() = 0; |