Disable TabDragController tests that fail with a real compositor.
[chromium-blink-merge.git] / chrome / browser / ui / ash / caps_lock_delegate_views.h
blob839527ce8fd5ff60b029d29a8e134e80511a4c15
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
13 // is pressed.
14 class CapsLockDelegate : public ash::CapsLockDelegate {
15 public:
16 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 {}
24 private:
25 DISALLOW_COPY_AND_ASSIGN(CapsLockDelegate);
28 #endif // CHROME_BROWSER_UI_ASH_CAPS_LOCK_DELEGATE_VIEWS_H_