blob: 240c7b354449acaedac4fedd04553d02a1aea8d2 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/keyboard/ui/test/test_keyboard_controller_observer.h"
namespace keyboard {
TestKeyboardControllerObserver::TestKeyboardControllerObserver() = default;
TestKeyboardControllerObserver::~TestKeyboardControllerObserver() = default;
void TestKeyboardControllerObserver::OnKeyboardEnabledChanged(bool is_enabled) {
if (is_enabled) {
enabled_count++;
} else {
disabled_count++;
}
}
} // namespace keyboard