blob: 866d0c8dbfab43d401508cbdd81452e5c86a4321 [file] [log] [blame]
// Copyright 2015 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.
namespace gfx {
class Point;
class Transform;
namespace ui {
namespace ws {
class ServerWindow;
// Find the deepest visible child of |root| that should receive an event at
// |location|. |location| is initially in the coordinate space of
// |root_window|, on return it is converted to the coordinates of the return
// value.
ServerWindow* FindDeepestVisibleWindowForEvents(
ServerWindow* root_window,
gfx::Point* location);
// Retrieve the transform to the provided |window|'s coordinate space from the
// root.
gfx::Transform GetTransformToWindow(ServerWindow* window);
} // namespace ws
} // namespace ui