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

Unified Diff: components/arc/ime/arc_ime_bridge.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/OWNERS ('k') | components/arc/ime/arc_ime_bridge_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/ime/arc_ime_bridge.h
diff --git a/components/arc/ime/arc_ime_bridge.h b/components/arc/ime/arc_ime_bridge.h
index 1ed11869fcdd3afc9c42aa1e16f96ffd29295bfb..cb8f220bd6fa5b6a6d0f1653a458d60a655a8bf6 100644
--- a/components/arc/ime/arc_ime_bridge.h
+++ b/components/arc/ime/arc_ime_bridge.h
@@ -10,6 +10,7 @@
#include "ui/base/ime/text_input_type.h"
namespace gfx {
+class Range;
class Rect;
} // namespace gfx
@@ -32,6 +33,11 @@ class ArcImeBridge {
virtual void OnCursorRectChanged(const gfx::Rect& rect) = 0;
virtual void OnCancelComposition() = 0;
virtual void ShowImeIfNeeded() = 0;
+ virtual void OnCursorRectChangedWithSurroundingText(
+ const gfx::Rect& rect,
+ const gfx::Range& text_range,
+ const base::string16& text_in_range,
+ const gfx::Range& selection_range) = 0;
};
// Serializes and sends IME related requests through IPCs.
« no previous file with comments | « components/arc/ime/OWNERS ('k') | components/arc/ime/arc_ime_bridge_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698