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

Unified Diff: ui/aura/desktop/desktop_screen_win.h

Issue 10241005: Make win_aura work without ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: ui/aura/desktop/desktop_screen_win.h
===================================================================
--- ui/aura/desktop/desktop_screen_win.h (revision 0)
+++ ui/aura/desktop/desktop_screen_win.h (revision 0)
@@ -0,0 +1,35 @@
+// 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.
+
+#ifndef UI_AURA_DESKTOP_DESKTOP_SCREEN_WIN_H_
+#define UI_AURA_DESKTOP_DESKTOP_SCREEN_WIN_H_
+#pragma once
+
+#include "ui/aura/aura_export.h"
+#include "ui/gfx/screen_impl.h"
+
+namespace aura {
+
+class AURA_EXPORT DesktopScreenWin : public gfx::ScreenImpl {
+public:
+ DesktopScreenWin();
+ virtual ~DesktopScreenWin();
+
+ // Overridden from gfx::ScreenImpl:
+ virtual gfx::Point GetCursorScreenPoint() OVERRIDE;
+ virtual gfx::NativeWindow GetWindowAtCursorScreenPoint() OVERRIDE;
+ virtual int GetNumMonitors() OVERRIDE;
+ virtual gfx::Monitor GetMonitorNearestWindow(
+ gfx::NativeView window) const OVERRIDE;
+ virtual gfx::Monitor GetMonitorNearestPoint(
+ const gfx::Point& point) const OVERRIDE;
+ virtual gfx::Monitor GetPrimaryMonitor() const OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(DesktopScreenWin);
+};
+
+} // namespace aura
+
+#endif // UI_AURA_DESKTOP_DESKTOP_SCREEN_WIN_H_
Property changes on: ui\aura\desktop\desktop_screen_win.h
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698