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 ASH_CAPS_LOCK_DELEGATE_STUB_H_
6 #define ASH_CAPS_LOCK_DELEGATE_STUB_H_
8 #include "ash/ash_export.h"
9 #include "ash/caps_lock_delegate.h"
10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h"
15 // Stub implementation of CapsLockDelegate mainly for testing.
16 class ASH_EXPORT CapsLockDelegateStub
: public CapsLockDelegate
{
18 CapsLockDelegateStub();
19 virtual ~CapsLockDelegateStub();
21 // Overridden from CapsLockDelegate:
22 virtual bool IsCapsLockEnabled() const OVERRIDE
;
23 virtual void SetCapsLockEnabled(bool enabled
) OVERRIDE
;
24 virtual void ToggleCapsLock() OVERRIDE
;
29 DISALLOW_COPY_AND_ASSIGN(CapsLockDelegateStub
);
34 #endif // ASH_CAPS_LOCK_DELEGATE_STUB