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

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

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.h
===================================================================
--- content/browser/renderer_host/render_widget_host.h (revision 112482)
+++ content/browser/renderer_host/render_widget_host.h (working copy)
@@ -414,6 +414,14 @@
// Relay a request from assistive technology to set focus to a given node.
void AccessibilitySetFocus(int object_id);
+ // Relay a request from assistive technology to scroll.
+ void AccessibilityChangeScrollPosition(
+ int acc_obj_id, int scroll_x, int scroll_y);
+
+ // Relay a request from assistive technology to set text selection.
+ void AccessibilitySetTextSelection(
+ int acc_obj_id, int start_offset, int end_offset);
+
// Executes the edit command on the RenderView.
void ExecuteEditCommand(const std::string& command,
const std::string& value);

Powered by Google App Engine
This is Rietveld 408576698