Enable icu_use_data_file_flag on Android
[chromium-blink-merge.git] / ash / caps_lock_delegate_stub.cc
blob8dc61cffef065070f7977c34feeea6eab841f444
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 #include "ash/caps_lock_delegate_stub.h"
7 namespace ash {
9 CapsLockDelegateStub::CapsLockDelegateStub()
10 : enabled_(false) {}
12 CapsLockDelegateStub::~CapsLockDelegateStub() {}
14 bool CapsLockDelegateStub::IsCapsLockEnabled() const {
15 return enabled_;
18 void CapsLockDelegateStub::SetCapsLockEnabled(bool enabled) {
19 enabled_ = enabled;
22 void CapsLockDelegateStub::ToggleCapsLock() {
23 enabled_ = !enabled_;
26 } // namespace ash