| Index: chrome/browser/chromeos/input_method/mock_input_method_engine.cc
|
| diff --git a/chrome/browser/chromeos/input_method/mock_input_method_engine.cc b/chrome/browser/chromeos/input_method/mock_input_method_engine.cc
|
| index 2c3228a9faea7e33cde720dd8425203fe6511bfc..37c12eddf03aed8c6c87f664c9771e7062c6cd59 100644
|
| --- a/chrome/browser/chromeos/input_method/mock_input_method_engine.cc
|
| +++ b/chrome/browser/chromeos/input_method/mock_input_method_engine.cc
|
| @@ -8,18 +8,12 @@
|
|
|
| namespace chromeos {
|
|
|
| -MockInputMethodEngine::MockInputMethodEngine(
|
| - const input_method::InputMethodDescriptor& descriptor)
|
| - : descriptor_(descriptor) {}
|
| +MockInputMethodEngine::MockInputMethodEngine() {}
|
|
|
| MockInputMethodEngine::~MockInputMethodEngine() {}
|
|
|
| -const input_method::InputMethodDescriptor&
|
| -MockInputMethodEngine::GetDescriptor() const {
|
| - return descriptor_;
|
| -}
|
| -
|
| -void MockInputMethodEngine::NotifyImeReady() {
|
| +const std::string& MockInputMethodEngine::GetActiveComponentId() const {
|
| + return active_component_id_;
|
| }
|
|
|
| bool MockInputMethodEngine::SetComposition(
|
| @@ -107,10 +101,12 @@ void MockInputMethodEngine::FocusIn(
|
| void MockInputMethodEngine::FocusOut() {
|
| }
|
|
|
| -void MockInputMethodEngine::Enable() {
|
| +void MockInputMethodEngine::Enable(const std::string& component_id) {
|
| + active_component_id_ = component_id;
|
| }
|
|
|
| void MockInputMethodEngine::Disable() {
|
| + active_component_id_.clear();
|
| }
|
|
|
| void MockInputMethodEngine::PropertyActivate(const std::string& property_name) {
|
|
|