blob: 432464847dea16ed04d06d63210fcce18326db06 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "services/ws/window_service_delegate.h"
#include "services/ws/window_manager_interface.h"
namespace ws {
bool WindowServiceDelegate::StoreAndSetCursor(aura::Window* window,
ui::Cursor cursor) {
return false;
}
void WindowServiceDelegate::RunWindowMoveLoop(aura::Window* window,
mojom::MoveLoopSource source,
const gfx::Point& cursor,
int window_component,
DoneCallback callback) {
std::move(callback).Run(false);
}
void WindowServiceDelegate::RunDragLoop(
aura::Window* window,
const ui::OSExchangeData& data,
const gfx::Point& screen_location,
uint32_t drag_operation,
ui::DragDropTypes::DragEventSource source,
DragDropCompletedCallback callback) {
std::move(callback).Run(ui::DragDropTypes::DRAG_NONE);
}
ui::SystemInputInjector* WindowServiceDelegate::GetSystemInputInjector() {
return nullptr;
}
aura::Window* WindowServiceDelegate::GetTopmostWindowAtPoint(
const gfx::Point& location_in_screen,
const std::set<aura::Window*>& ignore,
aura::Window** real_topmost) {
return nullptr;
}
std::unique_ptr<WindowManagerInterface>
WindowServiceDelegate::CreateWindowManagerInterface(
WindowTree* window_tree,
const std::string& name,
mojo::ScopedInterfaceEndpointHandle handle) {
return nullptr;
}
} // namespace ws