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