Chromium Code Reviews| 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..6431485f16624e9f85e476b9db67173a5b38e9d6 100644 |
| --- a/ui/accessibility/platform/ax_platform_node_delegate.h |
| +++ b/ui/accessibility/platform/ax_platform_node_delegate.h |
| @@ -85,9 +85,11 @@ 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. |
| + // Optionally replace it or insert at the cursor if |replace| is true. |
| + virtual bool SetStringValue(const base::string16& new_value, |
| + const bool& replace) = 0; |
|
tapted
2016/10/20 05:54:59
const bool& -> bool
Patti Lor
2016/10/24 04:31:48
Done.
|
| + // Whether SetStringValue() and ReplaceSelectedText() are callable, i.e. if |
|
tapted
2016/10/20 05:54:59
nit: blank line before
Patti Lor
2016/10/24 04:31:48
Done.
|
| + // the string value is read only and if the callback exists. |
| virtual bool CanSetStringValue() = 0; |
| }; |