Index: chrome/browser/chromeos/input_method/accessibility.cc |
diff --git a/chrome/browser/chromeos/input_method/accessibility.cc b/chrome/browser/chromeos/input_method/accessibility.cc |
index f830d57346fca1a1e89f5eb26231a2ab80548651..af4c8a4fe8816c5b9d76bc05368c6541f5781099 100644 |
--- a/chrome/browser/chromeos/input_method/accessibility.cc |
+++ b/chrome/browser/chromeos/input_method/accessibility.cc |
@@ -4,13 +4,11 @@ |
#include "chrome/browser/chromeos/input_method/accessibility.h" |
-#include "base/command_line.h" |
#include "base/logging.h" |
#include "base/strings/utf_string_conversions.h" |
#include "chrome/browser/accessibility/accessibility_events.h" |
#include "chrome/browser/chromeos/input_method/input_method_util.h" |
#include "chrome/browser/profiles/profile_manager.h" |
-#include "chromeos/chromeos_switches.h" |
namespace chromeos { |
namespace input_method { |
@@ -32,17 +30,6 @@ void Accessibility::InputMethodChanged(InputMethodManager* imm, |
if (!show_message) |
return; |
- // When Mode indicator is disabled, the previous IME massage and its |
- // spoken feedback is used. In that case, this module does not |
- // provide a redundant spoken feedback. |
- // |
- // TODO(komatsu): When this is permanently enabled by defalut, |
- // delete command_line.h and chromeos_switches.h from the header |
- // files. |
- if (CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kDisableIMEModeIndicator)) |
- return; |
- |
// Get the medium name of the changed input method (e.g. US, INTL, etc.) |
const InputMethodDescriptor descriptor = imm_->GetCurrentInputMethod(); |
const std::string medium_name = base::UTF16ToUTF8( |