OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "chrome/browser/extensions/api/system_display/display_info_provider.h" | 5 #include "chrome/browser/extensions/api/system_display/display_info_provider.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 | 8 |
9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "ui/gfx/display.h" | 10 #include "ui/gfx/display.h" |
11 #include "ui/gfx/dpi_win.h" | |
12 #include "ui/gfx/size.h" | 11 #include "ui/gfx/size.h" |
| 12 #include "ui/gfx/win/dpi.h" |
13 | 13 |
14 namespace extensions { | 14 namespace extensions { |
15 | 15 |
16 using api::system_display::Bounds; | 16 using api::system_display::Bounds; |
17 using api::system_display::DisplayUnitInfo; | 17 using api::system_display::DisplayUnitInfo; |
18 | 18 |
19 namespace { | 19 namespace { |
20 | 20 |
21 BOOL CALLBACK EnumMonitorCallback(HMONITOR monitor, | 21 BOOL CALLBACK EnumMonitorCallback(HMONITOR monitor, |
22 HDC hdc, | 22 HDC hdc, |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 return false; | 86 return false; |
87 } | 87 } |
88 | 88 |
89 void DisplayInfoProvider::UpdateDisplayUnitInfoForPlatform( | 89 void DisplayInfoProvider::UpdateDisplayUnitInfoForPlatform( |
90 const gfx::Display& display, | 90 const gfx::Display& display, |
91 extensions::api::system_display::DisplayUnitInfo* unit) { | 91 extensions::api::system_display::DisplayUnitInfo* unit) { |
92 NOTIMPLEMENTED(); | 92 NOTIMPLEMENTED(); |
93 } | 93 } |
94 | 94 |
95 } // namespace extensions | 95 } // namespace extensions |
OLD | NEW |