Index: ui/base/ime/text_input_client.h |
diff --git a/ui/base/ime/text_input_client.h b/ui/base/ime/text_input_client.h |
index 82d0585f5f2050587e26ec3eac22fbb22a7f718d..85845922c2c96fd4cb19f3bf7938ff3d11f1d3cd 100644 |
--- a/ui/base/ime/text_input_client.h |
+++ b/ui/base/ime/text_input_client.h |
@@ -9,6 +9,7 @@ |
#include "base/i18n/rtl.h" |
#include "base/strings/string16.h" |
#include "ui/base/ime/composition_text.h" |
+#include "ui/base/ime/text_input_mode.h" |
#include "ui/base/ime/text_input_type.h" |
#include "ui/base/range/range.h" |
#include "ui/base/ui_export.h" |
@@ -66,6 +67,10 @@ class UI_EXPORT TextInputClient { |
// Returns if the client supports inline composition currently. |
virtual bool CanComposeInline() const = 0; |
+ // Returns current text input mode. It could be changed and even becomes |
Yohei Yukawa
2013/08/07 04:03:29
Please move this definition next to GetTextInputTy
yoichio
2013/08/07 06:13:15
Done.
|
+ // TEXT_INPUT_MODE_DEFAULT at runtime. |
+ virtual ui::TextInputMode GetTextInputMode() const = 0; |
+ |
// Returns current caret (insertion point) bounds relative to the screen |
// coordinates. If there is selection, then the selection bounds will be |
// returned. |