chromium/ui/views/windows_stationarity_monitor.h

// Copyright 2023 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_VIEWS_WINDOWS_STATIONARITY_MONITOR_H_
#define UI_VIEWS_WINDOWS_STATIONARITY_MONITOR_H_

#include "base/observer_list.h"
#include "ui/views/views_export.h"

namespace views {

// A singleton class used to track the stationary state of a list Windows and
// notify registered `InputEventActivationProtector` whenever a tracked window
// has changed its bound or has been closed. Consequently, the input event
// protector should block user input events for a proper delay from that
// timestamp. The tracked list contains native windows which are encapsulated in
// a window host implementation for specific platforms (WindowTreeHost on aura)
// or NativeWidgetMac on Mac. When a window is destroyed, it is removed from the
// tracked list.
class VIEWS_EXPORT WindowsStationarityMonitor {};

}  // namespace views

#endif  // UI_VIEWS_WINDOWS_STATIONARITY_MONITOR_H_