| Index: ui/aura/screen_aura.cc
|
| diff --git a/ui/aura/screen_aura.cc b/ui/aura/screen_aura.cc
|
| deleted file mode 100644
|
| index 27e070e2b44b0d17e90e8018964c4355366d6d36..0000000000000000000000000000000000000000
|
| --- a/ui/aura/screen_aura.cc
|
| +++ /dev/null
|
| @@ -1,66 +0,0 @@
|
| -// Copyright (c) 2012 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/aura/screen_aura.h"
|
| -
|
| -#include "base/logging.h"
|
| -#include "ui/aura/root_window.h"
|
| -#include "ui/aura/window.h"
|
| -#include "ui/gfx/native_widget_types.h"
|
| -
|
| -namespace aura {
|
| -
|
| -ScreenAura::ScreenAura(RootWindow* root_window) : root_window_(root_window) {
|
| -}
|
| -
|
| -ScreenAura::~ScreenAura() {
|
| -}
|
| -
|
| -gfx::Point ScreenAura::GetCursorScreenPointImpl() {
|
| - return root_window_->last_mouse_location();
|
| -}
|
| -
|
| -gfx::Rect ScreenAura::GetMonitorWorkAreaNearestWindowImpl(
|
| - gfx::NativeWindow window) {
|
| - return GetWorkAreaBounds();
|
| -}
|
| -
|
| -gfx::Rect ScreenAura::GetMonitorAreaNearestWindowImpl(
|
| - gfx::NativeWindow window) {
|
| - return GetBounds();
|
| -}
|
| -
|
| -gfx::Rect ScreenAura::GetMonitorWorkAreaNearestPointImpl(
|
| - const gfx::Point& point) {
|
| - return GetWorkAreaBounds();
|
| -}
|
| -
|
| -gfx::Rect ScreenAura::GetMonitorAreaNearestPointImpl(const gfx::Point& point) {
|
| - return GetBounds();
|
| -}
|
| -
|
| -gfx::NativeWindow ScreenAura::GetWindowAtCursorScreenPointImpl() {
|
| - const gfx::Point point = GetCursorScreenPoint();
|
| - return root_window_->GetTopWindowContainingPoint(point);
|
| -}
|
| -
|
| -gfx::Rect ScreenAura::GetBounds() {
|
| - return gfx::Rect(root_window_->bounds().size());
|
| -}
|
| -
|
| -gfx::Rect ScreenAura::GetWorkAreaBounds() {
|
| - gfx::Rect bounds(GetBounds());
|
| - bounds.Inset(work_area_insets_);
|
| - return bounds;
|
| -}
|
| -
|
| -gfx::Size ScreenAura::GetPrimaryMonitorSizeImpl() {
|
| - return GetMonitorWorkAreaNearestPoint(gfx::Point()).size();
|
| -}
|
| -
|
| -int ScreenAura::GetNumMonitorsImpl() {
|
| - return 1;
|
| -}
|
| -
|
| -} // namespace aura
|
|
|