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

Unified Diff: ash/system/status_area_widget.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: ash/system/status_area_widget.cc
diff --git a/ash/system/status_area_widget.cc b/ash/system/status_area_widget.cc
index 246433f31df05d9107cb9739fe681f7582556b04..13f828d48d8ef2f84c3acf8c931d93a14be50b33 100644
--- a/ash/system/status_area_widget.cc
+++ b/ash/system/status_area_widget.cc
@@ -125,14 +125,6 @@ class DummySystemTrayDelegate : public SystemTrayDelegate {
virtual void ShowHelp() OVERRIDE {
}
- virtual bool IsCapsLockOn() const OVERRIDE {
- return caps_lock_enabled_;
- }
-
- virtual void SetCapsLockEnabled(bool enabled) OVERRIDE {
- caps_lock_enabled_ = enabled;
- }
-
virtual void ShutDown() OVERRIDE {
MessageLoop::current()->Quit();
}

Powered by Google App Engine
This is Rietveld 408576698