| Index: ui/base/ime/input_method_chromeos.cc
|
| diff --git a/ui/base/ime/input_method_chromeos.cc b/ui/base/ime/input_method_chromeos.cc
|
| index 8d9e2944d131f163c2d30e2d97907103abd5189d..159768ad1730ea46cae51e7d3c312a858648a2c2 100644
|
| --- a/ui/base/ime/input_method_chromeos.cc
|
| +++ b/ui/base/ime/input_method_chromeos.cc
|
| @@ -37,6 +37,7 @@ InputMethodChromeOS::InputMethodChromeOS(
|
| internal::InputMethodDelegate* delegate)
|
| : composing_text_(false),
|
| composition_changed_(false),
|
| + on_screen_keyboard_supported_(false),
|
| current_keyevent_id_(0),
|
| weak_ptr_factory_(this) {
|
| SetDelegate(delegate);
|
| @@ -284,6 +285,14 @@ void InputMethodChromeOS::OnDidChangeFocusedClient(
|
| }
|
| }
|
|
|
| +void InputMethodChromeOS::SetSupportsOnScreenKeyboard(bool supported) {
|
| + on_screen_keyboard_supported_ = supported;
|
| +}
|
| +
|
| +bool InputMethodChromeOS::SupportsOnScreenKeyboard() const {
|
| + return on_screen_keyboard_supported_;
|
| +}
|
| +
|
| void InputMethodChromeOS::ConfirmCompositionText() {
|
| TextInputClient* client = GetTextInputClient();
|
| if (client && client->HasCompositionText())
|
|
|