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

Unified Diff: chrome/browser/ui/aura/accessibility/automation_manager_aura.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: chrome/browser/ui/aura/accessibility/automation_manager_aura.h
diff --git a/chrome/browser/ui/aura/accessibility/automation_manager_aura.h b/chrome/browser/ui/aura/accessibility/automation_manager_aura.h
index 98cfe7f538ebca47b08d0ae66086ef875fbe9095..d7c9f85a420f0c7acd89eb501dbc9b26b11a1e17 100644
--- a/chrome/browser/ui/aura/accessibility/automation_manager_aura.h
+++ b/chrome/browser/ui/aura/accessibility/automation_manager_aura.h
@@ -51,7 +51,10 @@ class AutomationManagerAura : public extensions::AutomationActionAdapter {
void DoDefault(int32 id) override;
void Focus(int32 id) override;
void MakeVisible(int32 id) override;
- void SetSelection(int32 id, int32 start, int32 end) override;
+ void SetSelection(int32 anchor_id,
+ int32 anchor_offset,
+ int32 focus_id,
+ int32 focus_offset) override;
void ShowContextMenu(int32 id) override;
private:

Powered by Google App Engine
This is Rietveld 408576698