| Index: ui/base/ime/input_method.h
|
| diff --git a/ui/base/ime/input_method.h b/ui/base/ime/input_method.h
|
| index 575cbcdb3057c98cbe6b4677fa0f7507bcce2377..5cc16b7439cd1f64db89776e68f18276de02890e 100644
|
| --- a/ui/base/ime/input_method.h
|
| +++ b/ui/base/ime/input_method.h
|
| @@ -10,6 +10,7 @@
|
| #include "base/basictypes.h"
|
| #include "base/event_types.h"
|
| #include "base/i18n/rtl.h"
|
| +#include "ui/base/ime/text_input_mode.h"
|
| #include "ui/base/ime/text_input_type.h"
|
| #include "ui/base/keycodes/keyboard_codes.h"
|
| #include "ui/base/ui_export.h"
|
| @@ -144,6 +145,10 @@ class InputMethod {
|
| // ui::TEXT_INPUT_TYPE_NONE if there is no focused client.
|
| virtual TextInputType GetTextInputType() const = 0;
|
|
|
| + // Gets the text input mode of the focused text input client. Returns
|
| + // ui::TEXT_INPUT_TYPE_DEFAULT if there is no focused client.
|
| + virtual TextInputMode GetTextInputMode() const = 0;
|
| +
|
| // Checks if the focused text input client supports inline composition.
|
| virtual bool CanComposeInline() const = 0;
|
|
|
|
|