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

Unified Diff: ash/shell_delegate.h

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/shell_delegate.h
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h
index 8029e1b9686ac0581fd26bf3e987d3b88a893a50..31b39173a725bf1384f136e80a507834729fd66a 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;

Powered by Google App Engine
This is Rietveld 408576698