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

Unified Diff: chrome/browser/chromeos/input_method/mode_indicator_controller.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
Index: chrome/browser/chromeos/input_method/mode_indicator_controller.cc
diff --git a/chrome/browser/chromeos/input_method/mode_indicator_controller.cc b/chrome/browser/chromeos/input_method/mode_indicator_controller.cc
index 4249fc4de7523d401c0daa02f1d1b20b14645662..b526a1c94fea827ba9171a42c123eec4f559a5ee 100644
--- a/chrome/browser/chromeos/input_method/mode_indicator_controller.cc
+++ b/chrome/browser/chromeos/input_method/mode_indicator_controller.cc
@@ -8,11 +8,9 @@
#include "ash/shell.h"
#include "ash/shell_window_ids.h"
#include "ash/wm/window_util.h"
-#include "base/command_line.h"
#include "base/logging.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/chromeos/input_method/input_method_util.h"
-#include "chromeos/chromeos_switches.h"
namespace chromeos {
namespace input_method {
@@ -93,13 +91,6 @@ void ModeIndicatorController::InputMethodChanged(InputMethodManager* manager,
}
void ModeIndicatorController::ShowModeIndicator() {
- // 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;
-
// TODO(komatsu): Show the mode indicator in the right bottom of the
// display when the launch bar is hidden and the focus is out. To
// implement it, we should consider to use message center or system
« no previous file with comments | « chrome/browser/chromeos/input_method/accessibility.cc ('k') | chrome/browser/ui/ash/system_tray_delegate_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698