OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "content/browser/renderer_host/pepper/pepper_truetype_font.h" | 5 #include "content/browser/renderer_host/pepper/pepper_truetype_font.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
| 8 #include <algorithm> |
8 #include <set> | 9 #include <set> |
9 | 10 |
10 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
12 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
13 #include "base/sys_byteorder.h" | 14 #include "base/sys_byteorder.h" |
14 #include "base/win/scoped_gdi_object.h" | 15 #include "base/win/scoped_gdi_object.h" |
15 #include "base/win/scoped_hdc.h" | 16 #include "base/win/scoped_hdc.h" |
16 #include "base/win/scoped_select_object.h" | 17 #include "base/win/scoped_select_object.h" |
17 #include "ppapi/c/dev/ppb_truetype_font_dev.h" | 18 #include "ppapi/c/dev/ppb_truetype_font_dev.h" |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 } | 228 } |
228 | 229 |
229 } // namespace | 230 } // namespace |
230 | 231 |
231 // static | 232 // static |
232 PepperTrueTypeFont* PepperTrueTypeFont::Create() { | 233 PepperTrueTypeFont* PepperTrueTypeFont::Create() { |
233 return new PepperTrueTypeFontWin(); | 234 return new PepperTrueTypeFontWin(); |
234 } | 235 } |
235 | 236 |
236 } // namespace content | 237 } // namespace content |
OLD | NEW |