| Index: ui/accessibility/platform/ax_platform_node_delegate.h
|
| diff --git a/ui/accessibility/platform/ax_platform_node_delegate.h b/ui/accessibility/platform/ax_platform_node_delegate.h
|
| index 1e27f3f00a09f5d3754b07db46ada6405b934882..998168a76e7db89110101b25ad1bc67e7b84b817 100644
|
| --- a/ui/accessibility/platform/ax_platform_node_delegate.h
|
| +++ b/ui/accessibility/platform/ax_platform_node_delegate.h
|
| @@ -85,9 +85,14 @@ class AX_EXPORT AXPlatformNodeDelegate {
|
| virtual void DoDefaultAction() = 0;
|
|
|
| // Change the value of a control, such as the text content of a text field.
|
| - virtual bool SetStringValue(const base::string16& new_value) = 0;
|
| -
|
| - // Whether the string value is settable.
|
| + // If |clear_first| is true, this replaces all text with the |new_value|.
|
| + // Otherwise this inserts |new_value| at the cursor position, replacing any
|
| + // selected text. The cursor is placed at the end of |new_value|.
|
| + virtual bool SetStringValue(const base::string16& new_value,
|
| + bool clear_first) = 0;
|
| +
|
| + // Whether SetStringValue() is callable, i.e. if the string value is not read
|
| + // only and if the callback exists.
|
| virtual bool CanSetStringValue() = 0;
|
| };
|
|
|
|
|