Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(454)

Unified Diff: chrome/browser/chromeos/input_method/accessibility.cc

Issue 167793002: Removes --disable-ime-mode-indicator flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/chromeos/input_method/mode_indicator_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/chromeos/input_method/mode_indicator_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698