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

Unified Diff: content/renderer/accessibility/renderer_accessibility.h

Issue 1365433002: Add setSelection function to automation API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nobrailleautostartintests
Patch Set: rebase Created 5 years, 3 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/renderer/accessibility/renderer_accessibility.h
diff --git a/content/renderer/accessibility/renderer_accessibility.h b/content/renderer/accessibility/renderer_accessibility.h
index 6605aa8d7adcff06ac024eed7f77e06557ca857a..0dcb021bdd9d70280049359aaea53164c5f2a4b1 100644
--- a/content/renderer/accessibility/renderer_accessibility.h
+++ b/content/renderer/accessibility/renderer_accessibility.h
@@ -110,7 +110,8 @@ class CONTENT_EXPORT RendererAccessibility : public RenderFrameObserver {
void OnScrollToPoint(int acc_obj_id, gfx::Point point);
void OnSetScrollOffset(int acc_obj_id, gfx::Point offset);
void OnSetFocus(int acc_obj_id);
- void OnSetTextSelection(int acc_obj_id, int start_offset, int end_offset);
+ void OnSetSelection(int anchor_acc_obj_id, int anchor_offset,
nasko 2015/09/23 16:08:34 Each parameter should be on a new line. Running "g
+ int focus_acc_obj_id, int focus_offset);
void OnSetValue(int acc_obj_id, base::string16 value);
void OnShowContextMenu(int acc_obj_id);

Powered by Google App Engine
This is Rietveld 408576698