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

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 681503002: Add Android AX functions to set the value and selection of a text field. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@link_text_from_image
Patch Set: Add to supported actions Created 6 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
Index: content/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index 1f228805e7651e4c4876b0ca92393e503dc9ec18..8a42bc889e841ebbd4924cc9eb12710000b40158 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -457,6 +457,11 @@ void RenderFrameHostImpl::AccessibilitySetTextSelection(
routing_id_, object_id, start_offset, end_offset));
}
+void RenderFrameHostImpl::AccessibilitySetValue(
+ int object_id, const base::string16& value) {
+ Send(new AccessibilityMsg_SetValue(routing_id_, object_id, value));
+}
+
bool RenderFrameHostImpl::AccessibilityViewHasFocus() const {
RenderWidgetHostView* view = render_view_host_->GetView();
if (view)

Powered by Google App Engine
This is Rietveld 408576698