| // 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 |