#include "ui/views/widget/desktop_aura/window_event_filter_linux.h"
#include <optional>
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/env.h"
#include "ui/aura/window.h"
#include "ui/aura/window_delegate.h"
#include "ui/aura/window_tree_host.h"
#include "ui/base/hit_test.h"
#include "ui/base/ozone_buildflags.h"
#include "ui/display/display.h"
#include "ui/display/screen.h"
#include "ui/events/event.h"
#include "ui/events/event_utils.h"
#include "ui/linux/linux_ui.h"
#include "ui/platform_window/wm/wm_move_resize_handler.h"
#include "ui/views/widget/desktop_aura/desktop_window_tree_host_platform.h"
#include "ui/views/widget/native_widget_aura.h"
#include "ui/views/widget/widget.h"
namespace views {
WindowEventFilterLinux::WindowEventFilterLinux(
DesktopWindowTreeHostPlatform* desktop_window_tree_host,
ui::WmMoveResizeHandler* handler)
: … { … }
WindowEventFilterLinux::~WindowEventFilterLinux() { … }
void WindowEventFilterLinux::HandleLocatedEventWithHitTest(
int hit_test,
ui::LocatedEvent* event) { … }
bool WindowEventFilterLinux::HandleMouseEventWithHitTest(
int hit_test,
ui::MouseEvent* event) { … }
void WindowEventFilterLinux::OnClickedCaption(ui::MouseEvent* event,
int previous_click_component) { … }
void WindowEventFilterLinux::OnClickedMaximizeButton(ui::MouseEvent* event) { … }
void WindowEventFilterLinux::MaybeToggleMaximizedState(aura::Window* window) { … }
void WindowEventFilterLinux::LowerWindow() { … }
void WindowEventFilterLinux::MaybeDispatchHostWindowDragMovement(
int hittest,
ui::LocatedEvent* event) { … }
void WindowEventFilterLinux::OnGestureEvent(ui::GestureEvent* event) { … }
}