blob: f871bb6bbcf36d55732ed83f85d29fc991ec1533 [file] [log] [blame]
// Copyright 2014 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.
#ifndef SERVICES_UI_WS_WINDOW_COORDINATE_CONVERSIONS_H_
#define SERVICES_UI_WS_WINDOW_COORDINATE_CONVERSIONS_H_
namespace gfx {
class Point;
}
namespace ui {
namespace ws {
class ServerWindow;
// Converts |point|, in the coordinates of the root, to that of |window|.
gfx::Point ConvertPointFromRootForEventDispatch(const ServerWindow* root,
const ServerWindow* window,
const gfx::Point& point);
} // namespace ws
} // namespace ui
#endif // SERVICES_UI_WS_WINDOW_COORDINATE_CONVERSIONS_H_