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. |