Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Unified Diff: components/arc/ime/arc_ime_bridge_impl.h

Issue 2876693004: Implement GetTextFromRange(), GetTextRange() and GetSelectionRange() for ArcImeService. (Closed)
Patch Set: add TODOs in ime.mojom Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/arc/ime/arc_ime_bridge.h ('k') | components/arc/ime/arc_ime_bridge_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/ime/arc_ime_bridge_impl.h
diff --git a/components/arc/ime/arc_ime_bridge_impl.h b/components/arc/ime/arc_ime_bridge_impl.h
index 548a8dacf09ccda4932d58f90ec7769cb8eea373..8ae063211e50eb92d49fa1c5fc58116f9b14b49f 100644
--- a/components/arc/ime/arc_ime_bridge_impl.h
+++ b/components/arc/ime/arc_ime_bridge_impl.h
@@ -43,9 +43,14 @@ class ArcImeBridgeImpl : public ArcImeBridge,
// mojom::ImeHost overrides:
void OnTextInputTypeChanged(mojom::TextInputType type) override;
- void OnCursorRectChanged(mojom::CursorRectPtr rect) override;
+ void OnCursorRectChanged(gfx::Rect rect) override;
void OnCancelComposition() override;
void ShowImeIfNeeded() override;
+ void OnCursorRectChangedWithSurroundingText(
+ gfx::Rect rect,
+ gfx::Range text_range,
+ const std::string& text_in_range,
+ gfx::Range selection_range) override;
private:
mojo::Binding<mojom::ImeHost> binding_;
« no previous file with comments | « components/arc/ime/arc_ime_bridge.h ('k') | components/arc/ime/arc_ime_bridge_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698