- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / ash / caps_lock_delegate_views.h
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.
4
5 #ifndef CHROME_BROWSER_UI_ASH_CAPS_LOCK_DELEGATE_VIEWS_H_
6 #define CHROME_BROWSER_UI_ASH_CAPS_LOCK_DELEGATE_VIEWS_H_
7
8 #include "ash/caps_lock_delegate.h"
9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h"
11
12 // A class which toggles Caps Lock state when the hotkey for Caps Lock
13 // is pressed.
14 class CapsLockDelegate : public ash::CapsLockDelegate {
15  public:
16   CapsLockDelegate() {}
17   virtual ~CapsLockDelegate() {}
18
19   // Overridden from ash::CapsLockDelegate:
20   virtual bool IsCapsLockEnabled() const OVERRIDE;
21   virtual void SetCapsLockEnabled(bool enabled) OVERRIDE {}
22   virtual void ToggleCapsLock() OVERRIDE {}
23
24  private:
25   DISALLOW_COPY_AND_ASSIGN(CapsLockDelegate);
26 };
27
28 #endif  // CHROME_BROWSER_UI_ASH_CAPS_LOCK_DELEGATE_VIEWS_H_