blob: 5ebf8869162a924b13b61d320bf72e231d55d64a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// 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_
#include "ui/aura/aura_export.h"
#include "ui/gfx/screen_win.h"
namespace aura {
class AURA_EXPORT DesktopScreenWin : public gfx::ScreenWin {
public:
DesktopScreenWin();
virtual ~DesktopScreenWin();
private:
// Overridden from gfx::ScreenWin:
virtual bool IsDIPEnabled() OVERRIDE;
virtual gfx::Display GetDisplayMatching(
const gfx::Rect& match_rect) const OVERRIDE;
virtual HWND GetHWNDFromNativeView(gfx::NativeView window) const OVERRIDE;
virtual gfx::NativeWindow GetNativeWindowFromHWND(HWND hwnd) const OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(DesktopScreenWin);
};
} // namespace aura
#endif // UI_AURA_DESKTOP_DESKTOP_SCREEN_WIN_H_
|