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

Unified Diff: content/browser/renderer_host/render_widget_host_view_win.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
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_win.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_win.cc
===================================================================
--- content/browser/renderer_host/render_widget_host_view_win.cc (revision 112764)
+++ content/browser/renderer_host/render_widget_host_view_win.cc (working copy)
@@ -2118,6 +2118,24 @@
render_widget_host_->AccessibilityDoDefaultAction(acc_obj_id);
}
+void RenderWidgetHostViewWin::AccessibilityChangeScrollPosition(
+ int acc_obj_id, int scroll_x, int scroll_y) {
+ if (!render_widget_host_)
+ return;
+
+ render_widget_host_->AccessibilityChangeScrollPosition(
+ acc_obj_id, scroll_x, scroll_y);
+}
+
+void RenderWidgetHostViewWin::AccessibilitySetTextSelection(
+ int acc_obj_id, int start_offset, int end_offset) {
+ if (!render_widget_host_)
+ return;
+
+ render_widget_host_->AccessibilitySetTextSelection(
+ acc_obj_id, start_offset, end_offset);
+}
+
IAccessible* RenderWidgetHostViewWin::GetIAccessible() {
if (render_widget_host_ && !render_widget_host_->renderer_accessible()) {
// Attempt to detect screen readers by sending an event with our custom id.
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_win.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698