Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1641)

Unified Diff: content/browser/renderer_host/render_widget_host.cc

Issue 8776030: Add IPCs to allow assistive technology to scroll the page (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_host.cc
===================================================================
--- content/browser/renderer_host/render_widget_host.cc (revision 112764)
+++ content/browser/renderer_host/render_widget_host.cc (working copy)
@@ -1445,6 +1445,18 @@
Send(new ViewMsg_SetAccessibilityFocus(routing_id(), object_id));
}
+void RenderWidgetHost::AccessibilityChangeScrollPosition(
+ int object_id, int scroll_x, int scroll_y) {
+ Send(new ViewMsg_AccessibilityChangeScrollPosition(
+ routing_id(), object_id, scroll_x, scroll_y));
+}
+
+void RenderWidgetHost::AccessibilitySetTextSelection(
+ int object_id, int start_offset, int end_offset) {
+ Send(new ViewMsg_AccessibilitySetTextSelection(
+ routing_id(), object_id, start_offset, end_offset));
+}
+
void RenderWidgetHost::ExecuteEditCommand(const std::string& command,
const std::string& value) {
Send(new ViewMsg_ExecuteEditCommand(routing_id(), command, value));
« no previous file with comments | « content/browser/renderer_host/render_widget_host.h ('k') | content/browser/renderer_host/render_widget_host_view_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698