Implement SetAutocorrectRange and GetAutocorrectCharacterBounds function for Textfields.

The GetAutocorrectCharacterBounds function returns the location of the autocorrect word as a gfx::Rect object.

Change-Id: I214e8eb506b9456114496b71be87dd0a61bf38e0
Bug: 1108170
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2251638
Reviewed-by: Scott Violet <[email protected]>
Reviewed-by: Mitsuru Oshima <[email protected]>
Reviewed-by: Yuichiro Hanada <[email protected]>
Reviewed-by: Darren Shen <[email protected]>
Commit-Queue: Keith Lee <[email protected]>
Cr-Commit-Position: refs/heads/master@{#792056}
diff --git a/components/exo/text_input.cc b/components/exo/text_input.cc
index 370a77ee9..50e272f 100644
--- a/components/exo/text_input.cc
+++ b/components/exo/text_input.cc
@@ -324,6 +324,12 @@
   return false;
 }
 
+gfx::Rect TextInput::GetAutocorrectCharacterBounds() const {
+  // TODO(https://crbug.com/952757): Implement this method.
+  NOTIMPLEMENTED_LOG_ONCE();
+  return gfx::Rect();
+}
+
 // TODO(crbug.com/1091088) Implement setAutocorrectRange
 bool TextInput::SetAutocorrectRange(const base::string16& autocorrect_text,
                                     const gfx::Range& range) {