#include "ui/wm/core/compound_event_filter.h"
#include <string_view>
#include "base/check.h"
#include "base/observer_list.h"
#include "base/trace_event/trace_event.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/client/cursor_client.h"
#include "ui/aura/client/drag_drop_client.h"
#include "ui/aura/env.h"
#include "ui/aura/window.h"
#include "ui/aura/window_delegate.h"
#include "ui/aura/window_event_dispatcher.h"
#include "ui/base/cursor/mojom/cursor_type.mojom-shared.h"
#include "ui/base/hit_test.h"
#include "ui/events/event.h"
#include "ui/wm/public/activation_client.h"
namespace wm {
CompoundEventFilter::CompoundEventFilter() { … }
CompoundEventFilter::~CompoundEventFilter() { … }
gfx::NativeCursor CompoundEventFilter::CursorForWindowComponent(
int window_component) { … }
gfx::NativeCursor CompoundEventFilter::NoResizeCursorForWindowComponent(
int window_component) { … }
void CompoundEventFilter::AddHandler(ui::EventHandler* handler) { … }
void CompoundEventFilter::RemoveHandler(ui::EventHandler* handler) { … }
void CompoundEventFilter::UpdateCursor(aura::Window* target,
ui::MouseEvent* event) { … }
void CompoundEventFilter::FilterKeyEvent(ui::KeyEvent* event) { … }
void CompoundEventFilter::FilterMouseEvent(ui::MouseEvent* event) { … }
void CompoundEventFilter::FilterTouchEvent(ui::TouchEvent* event) { … }
void CompoundEventFilter::SetCursorVisibilityOnEvent(aura::Window* target,
ui::Event* event,
bool show) { … }
void CompoundEventFilter::SetMouseEventsEnableStateOnEvent(aura::Window* target,
ui::Event* event,
bool enable) { … }
void CompoundEventFilter::OnKeyEvent(ui::KeyEvent* event) { … }
void CompoundEventFilter::OnMouseEvent(ui::MouseEvent* event) { … }
void CompoundEventFilter::OnScrollEvent(ui::ScrollEvent* event) { … }
void CompoundEventFilter::OnTouchEvent(ui::TouchEvent* event) { … }
void CompoundEventFilter::OnGestureEvent(ui::GestureEvent* event) { … }
std::string_view CompoundEventFilter::GetLogContext() const { … }
}