Remove WebImeTextSpan
This class duplicated ui::ImeTextSpan. blink/public already depended
on a number of parts of base/ime so this is just another one.
BUG=1073560
Change-Id: I042d613d6f7fa2490f507193a2b1611054bbe511
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2225240
Reviewed-by: Avi Drissman <[email protected]>
Reviewed-by: Ken Buchanan <[email protected]>
Reviewed-by: Jeremy Roman <[email protected]>
Commit-Queue: Dave Tapuska <[email protected]>
Cr-Commit-Position: refs/heads/master@{#775162}
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index 3a04a45b..a781fe8 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -130,7 +130,6 @@
class WebURL;
struct FramePolicy;
struct WebContextMenuData;
-struct WebImeTextSpan;
} // namespace blink
namespace gfx {
@@ -397,21 +396,19 @@
// Simulates IME events for testing purpose.
void SimulateImeSetComposition(
const base::string16& text,
- const std::vector<blink::WebImeTextSpan>& ime_text_spans,
+ const std::vector<ui::ImeTextSpan>& ime_text_spans,
int selection_start,
int selection_end);
- void SimulateImeCommitText(
- const base::string16& text,
- const std::vector<blink::WebImeTextSpan>& ime_text_spans,
- const gfx::Range& replacement_range);
+ void SimulateImeCommitText(const base::string16& text,
+ const std::vector<ui::ImeTextSpan>& ime_text_spans,
+ const gfx::Range& replacement_range);
// TODO(jam): remove these once the IPC handler moves from RenderView to
// RenderFrame.
- void OnImeSetComposition(
- const base::string16& text,
- const std::vector<blink::WebImeTextSpan>& ime_text_spans,
- int selection_start,
- int selection_end);
+ void OnImeSetComposition(const base::string16& text,
+ const std::vector<ui::ImeTextSpan>& ime_text_spans,
+ int selection_start,
+ int selection_end);
void OnImeCommitText(const base::string16& text,
const gfx::Range& replacement_range,
int relative_cursor_pos);