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_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_WIN_H_ 6#define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_WIN_H_ 7 8#include "ui/gfx/screen_win.h" 9#include "ui/views/views_export.h" 10 11namespace views { 12 13class VIEWS_EXPORT DesktopScreenWin : public gfx::ScreenWin { 14public: 15 DesktopScreenWin(); 16 virtual ~DesktopScreenWin(); 17 18 private: 19 // Overridden from gfx::ScreenWin: 20 virtual bool IsDIPEnabled() OVERRIDE; 21 virtual gfx::Display GetDisplayMatching( 22 const gfx::Rect& match_rect) const OVERRIDE; 23 virtual HWND GetHWNDFromNativeView(gfx::NativeView window) const OVERRIDE; 24 virtual gfx::NativeWindow GetNativeWindowFromHWND(HWND hwnd) const OVERRIDE; 25 26 DISALLOW_COPY_AND_ASSIGN(DesktopScreenWin); 27}; 28 29} // namespace views 30 31#endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_WIN_H_ 32