1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_ASH_CAPS_LOCK_DELEGATE_VIEWS_H_
6 #define CHROME_BROWSER_UI_ASH_CAPS_LOCK_DELEGATE_VIEWS_H_
8 #include "ash/caps_lock_delegate.h"
9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h"
12 // A class which toggles Caps Lock state when the hotkey for Caps Lock
14 class CapsLockDelegate
: public ash::CapsLockDelegate
{
17 virtual ~CapsLockDelegate() {}
19 // Overridden from ash::CapsLockDelegate:
20 virtual bool IsCapsLockEnabled() const OVERRIDE
;
21 virtual void SetCapsLockEnabled(bool enabled
) OVERRIDE
{}
22 virtual void ToggleCapsLock() OVERRIDE
{}
25 DISALLOW_COPY_AND_ASSIGN(CapsLockDelegate
);
28 #endif // CHROME_BROWSER_UI_ASH_CAPS_LOCK_DELEGATE_VIEWS_H_