Add ability for NetLogLogger to gather data from more than just NetLog
[chromium-blink-merge.git] / ui / views / widget / desktop_aura / desktop_screen_win.h
blob59776a6ee078b1e3df9f3b2dc1285d36d0c4b3a4
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.
5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_WIN_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_WIN_H_
8 #include "ui/gfx/screen_win.h"
9 #include "ui/views/views_export.h"
11 namespace views {
13 class VIEWS_EXPORT DesktopScreenWin : public gfx::ScreenWin {
14 public:
15 DesktopScreenWin();
16 virtual ~DesktopScreenWin();
18 private:
19 // Overridden from gfx::ScreenWin:
20 virtual gfx::Display GetDisplayMatching(
21 const gfx::Rect& match_rect) const override;
22 virtual HWND GetHWNDFromNativeView(gfx::NativeView window) const override;
23 virtual gfx::NativeWindow GetNativeWindowFromHWND(HWND hwnd) const override;
25 DISALLOW_COPY_AND_ASSIGN(DesktopScreenWin);
28 } // namespace views
30 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_WIN_H_