| Index: ui/base/ime/win/tsf_bridge.h
|
| diff --git a/ui/base/ime/win/tsf_bridge.h b/ui/base/ime/win/tsf_bridge.h
|
| index cfebcaf5ef004206b129cf8dba8b834569606e01..6256fac166adcf81093bd6cd25f32eb012090380 100644
|
| --- a/ui/base/ime/win/tsf_bridge.h
|
| +++ b/ui/base/ime/win/tsf_bridge.h
|
| @@ -55,9 +55,17 @@ class UI_EXPORT TSFBridge {
|
| virtual void OnTextLayoutChanged() = 0;
|
|
|
| // Cancels the ongoing composition if exists.
|
| + // Returns true if there is no composition.
|
| + // Returns false if an edit session is on-going.
|
| // Returns false if an error occures.
|
| virtual bool CancelComposition() = 0;
|
|
|
| + // Confirms the ongoing composition if exists.
|
| + // Returns true if there is no composition.
|
| + // Returns false if an edit session is on-going.
|
| + // Returns false if an error occures.
|
| + virtual bool ConfirmComposition() = 0;
|
| +
|
| // Sets currently focused TextInputClient.
|
| // Caller must free |client|.
|
| virtual void SetFocusedClient(HWND focused_window,
|
|
|