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

Unified Diff: ui/accessibility/platform/ax_platform_node_base.h

Issue 2679313003: Implemented IA2::setSelection and related methods on text fields in Views. (Closed)
Patch Set: Made |SetTextSelection| return a value. Created 3 years, 10 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: ui/accessibility/platform/ax_platform_node_base.h
diff --git a/ui/accessibility/platform/ax_platform_node_base.h b/ui/accessibility/platform/ax_platform_node_base.h
index 45e316c44a30ce874996431a971a2a50e25f1203..78ea0fcefa2982983486978516b654a2cca6a5d6 100644
--- a/ui/accessibility/platform/ax_platform_node_base.h
+++ b/ui/accessibility/platform/ax_platform_node_base.h
@@ -75,6 +75,9 @@ class AXPlatformNodeBase : public AXPlatformNode {
virtual void Dispose();
+ // Sets the text selection in this object if possible.
+ bool SetTextSelection(int start_offset, int end_offset);
+
private:
DISALLOW_COPY_AND_ASSIGN(AXPlatformNodeBase);
};

Powered by Google App Engine
This is Rietveld 408576698