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

Unified Diff: content/common/accessibility_messages.h

Issue 1365433002: Add setSelection function to automation API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nobrailleautostartintests
Patch Set: Change setDocumentSelection to take named arguments. Created 5 years, 2 months 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/frame_host/render_frame_host_impl.cc ('k') | content/public/browser/render_frame_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/accessibility_messages.h
diff --git a/content/common/accessibility_messages.h b/content/common/accessibility_messages.h
index b9ffe909b3e29e8f2f5b2ed690e1f2418f9f4b4d..f4ef60392e590df1c4fc1cbf28cd1d0f7fdc9eeb 100644
--- a/content/common/accessibility_messages.h
+++ b/content/common/accessibility_messages.h
@@ -125,11 +125,12 @@ IPC_MESSAGE_ROUTED2(AccessibilityMsg_SetScrollOffset,
gfx::Point /* new offset */)
// Relay a request from assistive technology to set the cursor or
-// selection within an editable text element.
-IPC_MESSAGE_ROUTED3(AccessibilityMsg_SetTextSelection,
- int /* object id */,
- int /* New start offset */,
- int /* New end offset */)
+// selection within a document.
+IPC_MESSAGE_ROUTED4(AccessibilityMsg_SetSelection,
+ int /* New anchor object id */,
+ int /* New anchor offset */,
+ int /* New focus object id */,
+ int /* New focus offset */)
// Relay a request from assistive technology to set the value of an
// editable text element.
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/public/browser/render_frame_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698