OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "ui/gfx/win/physical_size.h" | 5 #include "ui/gfx/win/physical_size.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 #include <setupapi.h> | 8 #include <setupapi.h> |
9 | 9 |
10 #include <iostream> | 10 #include <iostream> |
11 | 11 |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/memory/free_deleter.h" |
13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
14 #include "base/scoped_generic.h" | 15 #include "base/scoped_generic.h" |
15 #include "base/strings/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
16 #include "base/win/registry.h" | 17 #include "base/win/registry.h" |
17 | 18 |
18 // This GUID {E6F07B5F-EE97-4A90-B076-33F57BF4EAA7} was taken from | 19 // This GUID {E6F07B5F-EE97-4A90-B076-33F57BF4EAA7} was taken from |
19 // https://msdn.microsoft.com/en-us/library/windows/hardware/ff545901.aspx | 20 // https://msdn.microsoft.com/en-us/library/windows/hardware/ff545901.aspx |
20 const GUID GUID_DEVICEINTERFACE_MONITOR = { | 21 const GUID GUID_DEVICEINTERFACE_MONITOR = { |
21 0xE6F07B5F, | 22 0xE6F07B5F, |
22 0xEE97, | 23 0xEE97, |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 } | 154 } |
154 break; | 155 break; |
155 } | 156 } |
156 } | 157 } |
157 } | 158 } |
158 } | 159 } |
159 return out; | 160 return out; |
160 } | 161 } |
161 | 162 |
162 } // namespace gfx | 163 } // namespace gfx |
OLD | NEW |