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

Unified Diff: chrome/browser/chromeos/system/ash_system_tray_delegate.cc

Issue 10878058: Move functions for controlling Caps Lock to CapsLockDelegate from SystemTrayDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/system/ash_system_tray_delegate.cc
diff --git a/chrome/browser/chromeos/system/ash_system_tray_delegate.cc b/chrome/browser/chromeos/system/ash_system_tray_delegate.cc
index e48109e0217fe7eb4b7213dd81d147c1278f5cbf..d479b130b9e6963ca5cd025c791534467c6de927 100644
--- a/chrome/browser/chromeos/system/ash_system_tray_delegate.cc
+++ b/chrome/browser/chromeos/system/ash_system_tray_delegate.cc
@@ -341,18 +341,6 @@ class SystemTrayDelegate : public ash::SystemTrayDelegate,
chrome::ShowHelp(GetAppropriateBrowser(), chrome::HELP_SOURCE_MENU);
}
- virtual bool IsCapsLockOn() const OVERRIDE {
- input_method::InputMethodManager* ime_manager =
- input_method::InputMethodManager::GetInstance();
- return ime_manager->GetXKeyboard()->CapsLockIsEnabled();
- }
-
- virtual void SetCapsLockEnabled(bool enabled) OVERRIDE {
- input_method::InputMethodManager* ime_manager =
- input_method::InputMethodManager::GetInstance();
- return ime_manager->GetXKeyboard()->SetCapsLockEnabled(enabled);
- }
-
virtual void ShutDown() OVERRIDE {
DBusThreadManager::Get()->GetPowerManagerClient()->RequestShutdown();
if (!base::chromeos::IsRunningOnChromeOS())

Powered by Google App Engine
This is Rietveld 408576698