| Index: ui/wm/core/coordinate_conversion.cc
|
| diff --git a/ui/wm/core/coordinate_conversion.cc b/ui/wm/core/coordinate_conversion.cc
|
| deleted file mode 100644
|
| index 6227b3783dd248f4b49173dd8c0f041228b1a919..0000000000000000000000000000000000000000
|
| --- a/ui/wm/core/coordinate_conversion.cc
|
| +++ /dev/null
|
| @@ -1,29 +0,0 @@
|
| -// 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.
|
| -
|
| -#include "ui/wm/core/coordinate_conversion.h"
|
| -
|
| -#include "ui/aura/client/screen_position_client.h"
|
| -#include "ui/gfx/point.h"
|
| -
|
| -namespace wm {
|
| -
|
| -void ConvertPointToScreen(const aura::Window* window, gfx::Point* point) {
|
| - DCHECK(window);
|
| - DCHECK(window->GetRootWindow());
|
| - DCHECK(aura::client::GetScreenPositionClient(window->GetRootWindow()));
|
| - aura::client::GetScreenPositionClient(window->GetRootWindow())->
|
| - ConvertPointToScreen(window, point);
|
| -}
|
| -
|
| -void ConvertPointFromScreen(const aura::Window* window,
|
| - gfx::Point* point_in_screen) {
|
| - DCHECK(window);
|
| - DCHECK(window->GetRootWindow());
|
| - DCHECK(aura::client::GetScreenPositionClient(window->GetRootWindow()));
|
| - aura::client::GetScreenPositionClient(window->GetRootWindow())->
|
| - ConvertPointFromScreen(window, point_in_screen);
|
| -}
|
| -
|
| -} // namespace wm
|
|
|