Index: chrome/browser/chromeos/input_method/input_method_manager_impl.cc |
diff --git a/chrome/browser/chromeos/input_method/input_method_manager_impl.cc b/chrome/browser/chromeos/input_method/input_method_manager_impl.cc |
index f8e8ed1439d3ea171cb39f24803240f34ee9f12c..769f569f2ac83970e29e52fe8bd4e79d76eb193d 100644 |
--- a/chrome/browser/chromeos/input_method/input_method_manager_impl.cc |
+++ b/chrome/browser/chromeos/input_method/input_method_manager_impl.cc |
@@ -25,7 +25,6 @@ |
#include "chrome/browser/chromeos/ash_config.h" |
#include "chrome/browser/chromeos/input_method/candidate_window_controller.h" |
#include "chrome/browser/chromeos/input_method/component_extension_ime_manager_impl.h" |
-#include "chrome/browser/chromeos/input_method/input_method_switch_recorder.h" |
#include "chrome/browser/chromeos/language_preferences.h" |
#include "chrome/browser/chromeos/login/session/user_session_manager.h" |
#include "chrome/browser/chromeos/profiles/profile_helper.h" |
@@ -742,7 +741,6 @@ void InputMethodManagerImpl::StateImpl::SwitchToNextInputMethod() { |
// Find the next input method and switch to it. |
SwitchToNextInputMethodInternal(active_input_method_ids, |
current_input_method.id()); |
- InputMethodSwitchRecorder::Get()->RecordSwitch(false /* by_tray_menu*/); |
} |
void InputMethodManagerImpl::StateImpl::SwitchToPreviousInputMethod() { |
@@ -766,7 +764,6 @@ void InputMethodManagerImpl::StateImpl::SwitchToPreviousInputMethod() { |
return; |
} |
ChangeInputMethod(*iter, true); |
- InputMethodSwitchRecorder::Get()->RecordSwitch(false /* by_tray_menu*/); |
} |
bool InputMethodManagerImpl::StateImpl::CanSwitchInputMethod( |
@@ -784,10 +781,8 @@ void InputMethodManagerImpl::StateImpl::SwitchInputMethod( |
std::vector<std::string> candidate_ids; |
GetCandidateInputMethodsForAccelerator(accelerator, &candidate_ids); |
DCHECK(!candidate_ids.empty()); |
- if (!candidate_ids.empty()) { |
+ if (!candidate_ids.empty()) |
SwitchToNextInputMethodInternal(candidate_ids, current_input_method.id()); |
- InputMethodSwitchRecorder::Get()->RecordSwitch(false /* by_tray_menu*/); |
- } |
} |
void InputMethodManagerImpl::StateImpl::SwitchToNextInputMethodInternal( |