| Index: ash/system/chromeos/tray_caps_lock.h
|
| diff --git a/ash/system/chromeos/tray_caps_lock.h b/ash/system/chromeos/tray_caps_lock.h
|
| index f24ad6b33fa05b4b73f8eb91f4a33c59d3c88144..5be1b5412fb8c27e14fc488a1ecfe69b0c365371 100644
|
| --- a/ash/system/chromeos/tray_caps_lock.h
|
| +++ b/ash/system/chromeos/tray_caps_lock.h
|
| @@ -6,7 +6,7 @@
|
| #define ASH_SYSTEM_CHROMEOS_TRAY_CAPS_LOCK_H_
|
|
|
| #include "ash/system/tray/tray_image_item.h"
|
| -#include "ui/events/event_handler.h"
|
| +#include "chromeos/ime/xkeyboard.h"
|
|
|
| namespace views {
|
| class ImageView;
|
| @@ -17,16 +17,14 @@ namespace ash {
|
| class CapsLockDefaultView;
|
|
|
| class TrayCapsLock : public TrayImageItem,
|
| - public ui::EventHandler {
|
| + public chromeos::input_method::XKeyboard::Observer {
|
| public:
|
| explicit TrayCapsLock(SystemTray* system_tray);
|
| virtual ~TrayCapsLock();
|
|
|
| private:
|
| - void OnCapsLockChanged(bool enabled);
|
| -
|
| - // ui::EventHandler:
|
| - virtual void OnKeyEvent(ui::KeyEvent* key) OVERRIDE;
|
| + // Overriden from chromeos::input_method::XKeyboard::Observer:
|
| + virtual void OnCapsLockChanged() OVERRIDE;
|
|
|
| // Overridden from TrayImageItem.
|
| virtual bool GetInitialVisibility() OVERRIDE;
|
|
|