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

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

Issue 8770021: Initial implementation of IAccessible2 scrollTo and setTextSelection and (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 112482)
+++ content/browser/renderer_host/render_widget_host.cc (working copy)
@@ -1424,6 +1424,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));

Powered by Google App Engine
This is Rietveld 408576698