Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(690)

Side by Side Diff: ui/aura/desktop/desktop_screen_win.h

Issue 10540091: Rename gfx::Monitor to gfx::Display (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_
OLDNEW
« no previous file with comments | « ui/aura/aura.gyp ('k') | ui/aura/desktop/desktop_screen_win.cc » ('j') | ui/gfx/screen.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698