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

Unified Diff: ui/base/ime/chromeos/ime_bridge.h

Issue 641243005: Support a private event - inputMethodPrivate.onCompositionBoundsChanged so that component IME exten… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits + unit test Created 6 years, 2 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: ui/base/ime/chromeos/ime_bridge.h
diff --git a/ui/base/ime/chromeos/ime_bridge.h b/ui/base/ime/chromeos/ime_bridge.h
index ff7d4fac781b7813ed7cf520418520eeb8e22196..7f432de109c0f3de3043ce20042f0b0f2a62aecd 100644
--- a/ui/base/ime/chromeos/ime_bridge.h
+++ b/ui/base/ime/chromeos/ime_bridge.h
@@ -102,6 +102,9 @@ class UI_BASE_EXPORT IMEEngineHandlerInterface {
virtual void SetSurroundingText(const std::string& text, uint32 cursor_pos,
uint32 anchor_pos) = 0;
+ // Called when the composition bounds changed.
+ virtual void SetCompositionBounds(const gfx::Rect& bounds) = 0;
+
protected:
IMEEngineHandlerInterface() {}
};
« no previous file with comments | « chrome/common/extensions/api/input_method_private.json ('k') | ui/base/ime/chromeos/mock_ime_engine_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698