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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_screen_win.h

Issue 672823002: Remove IsDIPEnabled from Screen (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dpi-cleanup-1
Patch Set: rebase Created 6 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
« no previous file with comments | « ui/gfx/screen_win.cc ('k') | ui/views/widget/desktop_aura/desktop_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_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_WIN_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_WIN_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_WIN_H_
7 7
8 #include "ui/gfx/screen_win.h" 8 #include "ui/gfx/screen_win.h"
9 #include "ui/views/views_export.h" 9 #include "ui/views/views_export.h"
10 10
11 namespace views { 11 namespace views {
12 12
13 class VIEWS_EXPORT DesktopScreenWin : public gfx::ScreenWin { 13 class VIEWS_EXPORT DesktopScreenWin : public gfx::ScreenWin {
14 public: 14 public:
15 DesktopScreenWin(); 15 DesktopScreenWin();
16 virtual ~DesktopScreenWin(); 16 virtual ~DesktopScreenWin();
17 17
18 private: 18 private:
19 // Overridden from gfx::ScreenWin: 19 // Overridden from gfx::ScreenWin:
20 virtual bool IsDIPEnabled() override;
21 virtual gfx::Display GetDisplayMatching( 20 virtual gfx::Display GetDisplayMatching(
22 const gfx::Rect& match_rect) const override; 21 const gfx::Rect& match_rect) const override;
23 virtual HWND GetHWNDFromNativeView(gfx::NativeView window) const override; 22 virtual HWND GetHWNDFromNativeView(gfx::NativeView window) const override;
24 virtual gfx::NativeWindow GetNativeWindowFromHWND(HWND hwnd) const override; 23 virtual gfx::NativeWindow GetNativeWindowFromHWND(HWND hwnd) const override;
25 24
26 DISALLOW_COPY_AND_ASSIGN(DesktopScreenWin); 25 DISALLOW_COPY_AND_ASSIGN(DesktopScreenWin);
27 }; 26 };
28 27
29 } // namespace views 28 } // namespace views
30 29
31 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_WIN_H_ 30 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_WIN_H_
OLDNEW
« no previous file with comments | « ui/gfx/screen_win.cc ('k') | ui/views/widget/desktop_aura/desktop_screen_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698