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

Unified Diff: content/browser/frame_host/render_frame_host_impl.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
Index: content/browser/frame_host/render_frame_host_impl.h
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
index 4562854928734f52baa365d52155bdaee66fc6e7..c8ca992868bcf4d15cc22b16633956db892739c7 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -172,9 +172,10 @@ class CONTENT_EXPORT RenderFrameHostImpl
const gfx::Point& point) override;
void AccessibilitySetScrollOffset(int acc_obj_id,
const gfx::Point& offset) override;
- void AccessibilitySetTextSelection(int acc_obj_id,
- int start_offset,
- int end_offset) override;
+ void AccessibilitySetSelection(int anchor_object_id,
+ int anchor_offset,
+ int focus_object_id,
+ int focus_offset) override;
void AccessibilitySetValue(int acc_obj_id, const base::string16& value)
override;
bool AccessibilityViewHasFocus() const override;

Powered by Google App Engine
This is Rietveld 408576698