// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PUBLIC_PLATFORM_USER_INPUT_MONITOR_H_ #define UI_OZONE_PUBLIC_PLATFORM_USER_INPUT_MONITOR_H_ #include "base/component_export.h" #include "base/memory/shared_memory_mapping.h" #include "base/task/single_thread_task_runner.h" namespace ui { // User input monitor for multimedia streams. // // Monitors the keyboard input events in the browser process. Can be provided // with the shared memory mapping; in such a case should call the callback // provided via StartMonitor() or StartMonitorWithMapping() every time // the user presses a key. class COMPONENT_EXPORT(OZONE_BASE) PlatformUserInputMonitor { … }; } // namespace ui #endif // UI_OZONE_PUBLIC_PLATFORM_USER_INPUT_MONITOR_H_