12345678910111213141516171819 |
- // Copyright 2021 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/events/test/keyboard_hook_monitor_utils.h"
- #include "ui/events/win/keyboard_hook_monitor_impl.h"
- namespace ui {
- void SimulateKeyboardHookRegistered() {
- KeyboardHookMonitorImpl::GetInstance()->NotifyHookRegistered();
- }
- void SimulateKeyboardHookUnregistered() {
- KeyboardHookMonitorImpl::GetInstance()->NotifyHookUnregistered();
- }
- } // namespace ui
|