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

Side by Side Diff: ui/gfx/win/physical_size.cc

Issue 1837483003: Move base::FreeDeleter into its own header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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
OLDNEW
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
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
OLDNEW
« base/memory/scoped_ptr.h ('K') | « ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698