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

Unified Diff: ui/base/ime/win/tsf_text_store.h

Issue 16901011: Support CancelCompositionText/ComfirmCompositionText in TSF (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix a typo Created 7 years, 6 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 | « ui/base/ime/win/tsf_bridge.cc ('k') | ui/base/ime/win/tsf_text_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/win/tsf_text_store.h
diff --git a/ui/base/ime/win/tsf_text_store.h b/ui/base/ime/win/tsf_text_store.h
index 664a2f656c39a32832b2eb359443f76204e83a00..86ceeba48045baaf44ce82a47da146cf37303b08 100644
--- a/ui/base/ime/win/tsf_text_store.h
+++ b/ui/base/ime/win/tsf_text_store.h
@@ -202,6 +202,12 @@ class UI_EXPORT TSFTextStore : public ITextStoreACP,
// Removes currently focused TextInputClient.
void RemoveFocusedTextInputClient(TextInputClient* text_input_client);
+ // Cancels the ongoing composition if exists.
+ bool CancelComposition();
+
+ // Confirms the ongoing composition if exists.
+ bool ConfirmComposition();
+
// Sends OnLayoutChange() via |text_store_acp_sink_|.
void SendOnLayoutChange();
« no previous file with comments | « ui/base/ime/win/tsf_bridge.cc ('k') | ui/base/ime/win/tsf_text_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698