OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ui/base/ime/fake_input_method.h" | 5 #include "ui/base/ime/fake_input_method.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
9 #include "ui/base/glib/glib_integers.h" | 9 #include "ui/base/glib/glib_integers.h" |
10 #include "ui/base/ime/input_method_delegate.h" | 10 #include "ui/base/ime/input_method_delegate.h" |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 } | 186 } |
187 | 187 |
188 TextInputMode FakeInputMethod::GetTextInputMode() const { | 188 TextInputMode FakeInputMethod::GetTextInputMode() const { |
189 return TEXT_INPUT_MODE_DEFAULT; | 189 return TEXT_INPUT_MODE_DEFAULT; |
190 } | 190 } |
191 | 191 |
192 bool FakeInputMethod::CanComposeInline() const { | 192 bool FakeInputMethod::CanComposeInline() const { |
193 return true; | 193 return true; |
194 } | 194 } |
195 | 195 |
| 196 void FakeInputMethod::ShowVirtualKeyboard() { |
| 197 } |
| 198 |
196 void FakeInputMethod::AddObserver(InputMethodObserver* observer) { | 199 void FakeInputMethod::AddObserver(InputMethodObserver* observer) { |
197 observers_.AddObserver(observer); | 200 observers_.AddObserver(observer); |
198 } | 201 } |
199 | 202 |
200 void FakeInputMethod::RemoveObserver(InputMethodObserver* observer) { | 203 void FakeInputMethod::RemoveObserver(InputMethodObserver* observer) { |
201 observers_.RemoveObserver(observer); | 204 observers_.RemoveObserver(observer); |
202 } | 205 } |
203 | 206 |
204 } // namespace ui | 207 } // namespace ui |
OLD | NEW |