Move functions for controlling Caps Lock to CapsLockDelegate from SystemTrayDelegate.
commitf4c92b381a0aaba5f36c6f5afdac572bee389b39
authormazda@chromium.org <mazda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 28 Aug 2012 00:59:59 +0000 (28 00:59 +0000)
committermazda@chromium.org <mazda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 28 Aug 2012 00:59:59 +0000 (28 00:59 +0000)
tree90d68de6efd62ade78148dfa5b8af5f46a00be32
parent76ab62b1527261a8547c59b7c81cf53a2af4b387
Move functions for controlling Caps Lock to CapsLockDelegate from SystemTrayDelegate.

- Add functions for controlling Caps Lock to CapsLockDelegate
- Move the ownership of CapsLockDelegate to Shell from AcceleratorController
- Add ShellDelegate::CreateCapsLockDelegate

BUG=144474

Review URL: https://chromiumcodereview.appspot.com/10878058

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153597 0039d316-1c4b-4281-b951-d872f2087c98
24 files changed:
ash/accelerators/accelerator_controller.cc
ash/accelerators/accelerator_controller.h
ash/accelerators/accelerator_controller_unittest.cc
ash/ash.gyp
ash/caps_lock_delegate.h
ash/caps_lock_delegate_stub.cc [new file with mode: 0644]
ash/caps_lock_delegate_stub.h [new file with mode: 0644]
ash/shell.cc
ash/shell.h
ash/shell/shell_delegate_impl.cc
ash/shell/shell_delegate_impl.h
ash/shell_delegate.h
ash/system/status_area_widget.cc
ash/system/tray/system_tray_delegate.h
ash/system/tray_caps_lock.cc
ash/test/test_shell_delegate.cc
ash/test/test_shell_delegate.h
chrome/browser/chromeos/system/ash_system_tray_delegate.cc
chrome/browser/ui/ash/ash_init.cc
chrome/browser/ui/ash/caps_lock_handler.cc
chrome/browser/ui/ash/caps_lock_handler.h
chrome/browser/ui/ash/caps_lock_handler_browsertest.cc
chrome/browser/ui/ash/chrome_shell_delegate.cc
chrome/browser/ui/ash/chrome_shell_delegate.h