OLD | NEW |
---|---|
(Empty) | |
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 #include "ash/caps_lock_delegate_stub.h" | |
6 | |
7 namespace ash { | |
8 | |
9 CapsLockDelegateStub::CapsLockDelegateStub() | |
10 : enabled_(false) {} | |
Daniel Erat
2012/08/26 22:32:47
nit: indent this two more spaces
mazda
2012/08/27 16:06:40
Done.
| |
11 | |
12 CapsLockDelegateStub::~CapsLockDelegateStub() {} | |
13 | |
14 bool CapsLockDelegateStub::IsCapsLockEnabled() { | |
15 return enabled_; | |
16 } | |
17 | |
18 void CapsLockDelegateStub::SetCapsLockEnabled(bool enabled) { | |
19 enabled_ = enabled; | |
20 } | |
21 | |
22 void CapsLockDelegateStub::ToggleCapsLock() { | |
23 enabled_ = !enabled_; | |
24 } | |
25 | |
26 } // namespace ash | |
OLD | NEW |