#include "ui/views/widget/desktop_aura/desktop_native_cursor_manager.h"
#include "base/trace_event/trace_event.h"
#include "ui/aura/client/cursor_shape_client.h"
#include "ui/aura/window_event_dispatcher.h"
#include "ui/aura/window_tree_host.h"
#include "ui/base/cursor/mojom/cursor_type.mojom-shared.h"
#include "ui/wm/core/cursor_loader.h"
namespace views {
DesktopNativeCursorManager::DesktopNativeCursorManager() { … }
DesktopNativeCursorManager::~DesktopNativeCursorManager() { … }
void DesktopNativeCursorManager::AddHost(aura::WindowTreeHost* host) { … }
void DesktopNativeCursorManager::RemoveHost(aura::WindowTreeHost* host) { … }
void DesktopNativeCursorManager::SetDisplay(
const display::Display& display,
wm::NativeCursorManagerDelegate* delegate) { … }
void DesktopNativeCursorManager::SetCursor(
gfx::NativeCursor cursor,
wm::NativeCursorManagerDelegate* delegate) { … }
void DesktopNativeCursorManager::SetVisibility(
bool visible,
wm::NativeCursorManagerDelegate* delegate) { … }
void DesktopNativeCursorManager::SetCursorSize(
ui::CursorSize cursor_size,
wm::NativeCursorManagerDelegate* delegate) { … }
void DesktopNativeCursorManager::SetMouseEventsEnabled(
bool enabled,
wm::NativeCursorManagerDelegate* delegate) { … }
void DesktopNativeCursorManager::InitCursorSizeObserver(
wm::NativeCursorManagerDelegate* delegate) { … }
}