summaryrefslogtreecommitdiffstats
path: root/content/common
diff options
context:
space:
mode:
authordmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-02 23:35:40 +0000
committerdmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-02 23:35:40 +0000
commit49dc8639c4bdcfc9accf1335ff0d1510352570aa (patch)
tree36d9d8aa99e19cc1b17db2600dadf512f3a04429 /content/common
parent9f01504e3a13c800a5008de5ef49defbddf592a0 (diff)
downloadchromium_src-49dc8639c4bdcfc9accf1335ff0d1510352570aa.zip
chromium_src-49dc8639c4bdcfc9accf1335ff0d1510352570aa.tar.gz
chromium_src-49dc8639c4bdcfc9accf1335ff0d1510352570aa.tar.bz2
Add IPCs to allow assistive technology to scroll the page
or select text. BUG=104468,104469 TEST=none Review URL: http://codereview.chromium.org/8776030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112817 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common')
-rw-r--r--content/common/view_messages.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 59aab0c..45aa69e 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1100,6 +1100,20 @@ IPC_MESSAGE_ROUTED1(ViewMsg_SetAccessibilityFocus,
IPC_MESSAGE_ROUTED1(ViewMsg_AccessibilityDoDefaultAction,
int /* object id */)
+// Relay a request from assistive technology to change the scroll position
+// of a scrollable container (like the whole page, an iframe, etc.).
+IPC_MESSAGE_ROUTED3(ViewMsg_AccessibilityChangeScrollPosition,
+ int /* object id */,
+ int /* New x scroll position */,
+ int /* New y scroll position */)
+
+// Relay a request from assistive technology to set the cursor or
+// selection within an editable text element.
+IPC_MESSAGE_ROUTED3(ViewMsg_AccessibilitySetTextSelection,
+ int /* object id */,
+ int /* New start offset */,
+ int /* New end offset */)
+
// Tells the render view that a ViewHostMsg_AccessibilityNotifications
// message was processed and it can send addition notifications.
IPC_MESSAGE_ROUTED0(ViewMsg_AccessibilityNotifications_ACK)