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

Unified Diff: ash/shell.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: rebase 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
« no previous file with comments | « ash/caps_lock_delegate_stub.cc ('k') | ash/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index bb712a4bfcf525a7267b622454f0c95bd97f05c5..278dc569ec1df570adac54addd760730ceab30b1 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -59,6 +59,7 @@ class Widget;
namespace ash {
class AcceleratorController;
+class CapsLockDelegate;
class DesktopBackgroundController;
class HighContrastController;
class Launcher;
@@ -286,6 +287,10 @@ class ASH_EXPORT Shell : ash::CursorDelegate {
return user_wallpaper_delegate_.get();
}
+ CapsLockDelegate* caps_lock_delegate() {
+ return caps_lock_delegate_.get();
+ }
+
HighContrastController* high_contrast_controller() {
return high_contrast_controller_.get();
}
@@ -408,6 +413,7 @@ class ASH_EXPORT Shell : ash::CursorDelegate {
scoped_ptr<ShellDelegate> delegate_;
scoped_ptr<UserWallpaperDelegate> user_wallpaper_delegate_;
+ scoped_ptr<CapsLockDelegate> caps_lock_delegate_;
scoped_ptr<Launcher> launcher_;
« no previous file with comments | « ash/caps_lock_delegate_stub.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698