diff options
author | mazda@chromium.org <mazda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-28 00:59:59 +0000 |
---|---|---|
committer | mazda@chromium.org <mazda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-28 00:59:59 +0000 |
commit | f4c92b381a0aaba5f36c6f5afdac572bee389b39 (patch) | |
tree | 90d68de6efd62ade78148dfa5b8af5f46a00be32 /ash/shell_delegate.h | |
parent | 76ab62b1527261a8547c59b7c81cf53a2af4b387 (diff) | |
download | chromium_src-f4c92b381a0aaba5f36c6f5afdac572bee389b39.zip chromium_src-f4c92b381a0aaba5f36c6f5afdac572bee389b39.tar.gz chromium_src-f4c92b381a0aaba5f36c6f5afdac572bee389b39.tar.bz2 |
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
Diffstat (limited to 'ash/shell_delegate.h')
-rw-r--r-- | ash/shell_delegate.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h index 7b7d097..00dc544 100644 --- a/ash/shell_delegate.h +++ b/ash/shell_delegate.h @@ -29,6 +29,7 @@ class Widget; namespace ash { +class CapsLockDelegate; class LauncherDelegate; class LauncherModel; struct LauncherItem; @@ -129,6 +130,9 @@ class ASH_EXPORT ShellDelegate { // Creates a user wallpaper delegate. Shell takes ownership of the delegate. virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() = 0; + // Creates a caps lock delegate. Shell takes ownership of the delegate. + virtual CapsLockDelegate* CreateCapsLockDelegate() = 0; + // Creates a user action client. Shell takes ownership of the object. virtual aura::client::UserActionClient* CreateUserActionClient() = 0; |