commit | 5e1d2bc2c4fe6b3fa3f2fc24dea90236499081bf | [log] [tgz] |
---|---|---|
author | Keith Lee <[email protected]> | Thu Jun 18 09:26:53 2020 |
committer | Commit Bot <[email protected]> | Thu Jun 18 09:26:53 2020 |
tree | 8dd43f1394d327c40cff67e0b89a9d23c9382e1a | |
parent | 7332e079f28c600f712b65c7676738925d376b34 [diff] [blame] |
Implement chrome.inputMethodPrivate.setAutocorrectRange This sends the Data to the TextInputClient, which is responsible for handling rendering. Bug: 1091088 Change-Id: I0c8669ff3d3b632e4fbc9eeeb3691f7929e069a3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2230404 Commit-Queue: Keith Lee <[email protected]> Reviewed-by: Devlin <[email protected]> Reviewed-by: Darren Shen <[email protected]> Reviewed-by: Scott Violet <[email protected]> Cr-Commit-Position: refs/heads/master@{#779733}
diff --git a/components/exo/text_input.cc b/components/exo/text_input.cc index d004a1f..370a77ee9 100644 --- a/components/exo/text_input.cc +++ b/components/exo/text_input.cc
@@ -324,6 +324,13 @@ return false; } +// TODO(crbug.com/1091088) Implement setAutocorrectRange +bool TextInput::SetAutocorrectRange(const base::string16& autocorrect_text, + const gfx::Range& range) { + NOTIMPLEMENTED_LOG_ONCE(); + return false; +} + void TextInput::OnKeyboardVisibilityChanged(bool is_visible) { delegate_->OnVirtualKeyboardVisibilityChanged(is_visible); }