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

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

Issue 2876693004: Implement GetTextFromRange(), GetTextRange() and GetSelectionRange() for ArcImeService. (Closed)
Patch Set: save surrounding text even if cursor rect is not changed 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
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..46faa043070886faf605a80bcf9f375a02b23131 100644
--- a/components/arc/ime/arc_ime_bridge_impl.h
+++ b/components/arc/ime/arc_ime_bridge_impl.h
@@ -46,6 +46,11 @@ class ArcImeBridgeImpl : public ArcImeBridge,
void OnCursorRectChanged(mojom::CursorRectPtr rect) override;
void OnCancelComposition() override;
void ShowImeIfNeeded() override;
+ void OnCursorRectChangedWithSurroundingText(
+ mojom::CursorRectPtr rect,
Luis Héctor Chávez 2017/05/15 15:44:27 Can you add typemappings from mojom::CursorRectPtr
yhanada 2017/05/16 10:02:12 Done.
+ mojom::TextRangePtr text_range,
+ const std::string& text_in_range,
+ mojom::TextRangePtr selection_range) override;
private:
mojo::Binding<mojom::ImeHost> binding_;

Powered by Google App Engine
This is Rietveld 408576698