| Flutter Windows Embedder |

Public Member Functions | List of all members
flutter::ImmContext Class Reference

## Public Member Functions
| ImmContext (HWND window_handle)
| ~ImmContext ()
bool | IsValid () const
HIMC | get ()

## Detailed Description

Definition at line 17 of file text_input_manager.cc.

## Constructor & Destructor Documentation

## ◆ ImmContext()

flutter::ImmContext::ImmContext | ( | HWND | window_handle | ) |
| inline

Definition at line 19 of file text_input_manager.cc.

20 : context_(::ImmGetContext(window_handle)),
21 window_handle_(window_handle) {
22 FML_DCHECK(window_handle);
23 }

## ◆ ~ImmContext()

flutter::ImmContext::~ImmContext | ( |  | ) |
| inline

Definition at line 25 of file text_input_manager.cc.

25 {
26 if (context_ != nullptr) {
27 ::ImmReleaseContext(window_handle_, context_);
28 }
29 }

## Member Function Documentation

## ◆ get()

HIMC flutter::ImmContext::get | ( |  | ) |
| inline

Definition at line 35 of file text_input_manager.cc.

35 {
36 FML_DCHECK(context_);
37 return context_;
38 }

Referenced by flutter::TextInputManager::AbortComposing(), flutter::TextInputManager::GetComposingCursorPosition(), flutter::TextInputManager::UpdateCaretRect(), and flutter::TextInputManager::UpdateImeWindow().

## ◆ IsValid()

bool flutter::ImmContext::IsValid | ( |  | ) | const
| inline

Definition at line 32 of file text_input_manager.cc.

32 { return context_ != nullptr; }

Referenced by flutter::TextInputManager::AbortComposing(), flutter::TextInputManager::GetComposingCursorPosition(), flutter::TextInputManager::UpdateCaretRect(), and flutter::TextInputManager::UpdateImeWindow().

The documentation for this class was generated from the following file:

- shell/platform/windows/text_input_manager.cc