summaryrefslogtreecommitdiffstats
path: root/ash/system/tray/system_tray_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'ash/system/tray/system_tray_delegate.h')
-rw-r--r--ash/system/tray/system_tray_delegate.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ash/system/tray/system_tray_delegate.h b/ash/system/tray/system_tray_delegate.h
index 3ecc9d8..c253387 100644
--- a/ash/system/tray/system_tray_delegate.h
+++ b/ash/system/tray/system_tray_delegate.h
@@ -77,6 +77,12 @@ class SystemTrayDelegate {
// Sets the volume level.
virtual void SetVolumeLevel(float level) = 0;
+ // Gets whether the caps lock is on.
+ virtual bool IsCapsLockOn() const = 0;
+
+ // Gets whether accessibility mode is turned on.
+ virtual bool IsInAccessibilityMode() const = 0;
+
// Attempts to shut down the system.
virtual void ShutDown() = 0;