| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_AURA_DESKTOP_DESKTOP_SCREEN_WIN_H_ |
| 6 #define UI_AURA_DESKTOP_DESKTOP_SCREEN_WIN_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "ui/aura/aura_export.h" |
| 10 #include "ui/gfx/screen_impl.h" |
| 11 |
| 12 namespace aura { |
| 13 |
| 14 class AURA_EXPORT DesktopScreenWin : public gfx::ScreenImpl { |
| 15 public: |
| 16 DesktopScreenWin(); |
| 17 virtual ~DesktopScreenWin(); |
| 18 |
| 19 // Overridden from gfx::ScreenImpl: |
| 20 virtual gfx::Point GetCursorScreenPoint() OVERRIDE; |
| 21 virtual gfx::NativeWindow GetWindowAtCursorScreenPoint() OVERRIDE; |
| 22 virtual int GetNumMonitors() OVERRIDE; |
| 23 virtual gfx::Monitor GetMonitorNearestWindow( |
| 24 gfx::NativeView window) const OVERRIDE; |
| 25 virtual gfx::Monitor GetMonitorNearestPoint( |
| 26 const gfx::Point& point) const OVERRIDE; |
| 27 virtual gfx::Monitor GetPrimaryMonitor() const OVERRIDE; |
| 28 |
| 29 private: |
| 30 DISALLOW_COPY_AND_ASSIGN(DesktopScreenWin); |
| 31 }; |
| 32 |
| 33 } // namespace aura |
| 34 |
| 35 #endif // UI_AURA_DESKTOP_DESKTOP_SCREEN_WIN_H_ |
| OLD | NEW |