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

Side by Side Diff: ui/gfx/screen_win.h

Issue 11363124: Move DisplayManager and DisplayChangeObserverX11 from aura to ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix rebase Created 8 years, 1 month 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
« no previous file with comments | « ui/gfx/screen_mac.mm ('k') | ui/gfx/screen_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_GFX_SCREEN_WIN_H_ 5 #ifndef UI_GFX_SCREEN_WIN_H_
6 #define UI_GFX_SCREEN_WIN_H_ 6 #define UI_GFX_SCREEN_WIN_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "ui/base/ui_export.h" 9 #include "ui/base/ui_export.h"
10 #include "ui/gfx/screen.h" 10 #include "ui/gfx/screen.h"
(...skipping 11 matching lines...) Expand all
22 virtual gfx::Point GetCursorScreenPoint() OVERRIDE; 22 virtual gfx::Point GetCursorScreenPoint() OVERRIDE;
23 virtual gfx::NativeWindow GetWindowAtCursorScreenPoint() OVERRIDE; 23 virtual gfx::NativeWindow GetWindowAtCursorScreenPoint() OVERRIDE;
24 virtual int GetNumDisplays() OVERRIDE; 24 virtual int GetNumDisplays() OVERRIDE;
25 virtual gfx::Display GetDisplayNearestWindow( 25 virtual gfx::Display GetDisplayNearestWindow(
26 gfx::NativeView window) const OVERRIDE; 26 gfx::NativeView window) const OVERRIDE;
27 virtual gfx::Display GetDisplayNearestPoint( 27 virtual gfx::Display GetDisplayNearestPoint(
28 const gfx::Point& point) const OVERRIDE; 28 const gfx::Point& point) const OVERRIDE;
29 virtual gfx::Display GetDisplayMatching( 29 virtual gfx::Display GetDisplayMatching(
30 const gfx::Rect& match_rect) const OVERRIDE; 30 const gfx::Rect& match_rect) const OVERRIDE;
31 virtual gfx::Display GetPrimaryDisplay() const OVERRIDE; 31 virtual gfx::Display GetPrimaryDisplay() const OVERRIDE;
32 virtual void AddObserver(DisplayObserver* observer) OVERRIDE;
33 virtual void RemoveObserver(DisplayObserver* observer) OVERRIDE;
32 34
33 // Returns the HWND associated with the NativeView. 35 // Returns the HWND associated with the NativeView.
34 virtual HWND GetHWNDFromNativeView(NativeView window) const; 36 virtual HWND GetHWNDFromNativeView(NativeView window) const;
35 37
36 // Returns the NativeView associated with the HWND. 38 // Returns the NativeView associated with the HWND.
37 virtual NativeWindow GetNativeWindowFromHWND(HWND hwnd) const; 39 virtual NativeWindow GetNativeWindowFromHWND(HWND hwnd) const;
38 40
39 private: 41 private:
40 DISALLOW_COPY_AND_ASSIGN(ScreenWin); 42 DISALLOW_COPY_AND_ASSIGN(ScreenWin);
41 }; 43 };
42 44
43 } // namespace gfx 45 } // namespace gfx
44 46
45 #endif // UI_GFX_SCREEN_WIN_H_ 47 #endif // UI_GFX_SCREEN_WIN_H_
OLDNEW
« no previous file with comments | « ui/gfx/screen_mac.mm ('k') | ui/gfx/screen_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698