blob: ce215a7b5ee4681f25494d1dcd18e859affb7496 [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 "ui/keyboard/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