OLD | NEW |
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 #include "ui/gfx/font_fallback_win.h" | 5 #include "ui/gfx/font_fallback_win.h" |
6 | 6 |
7 #include <usp10.h> | 7 #include <usp10.h> |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 | 10 |
| 11 #include "base/macros.h" |
11 #include "base/memory/singleton.h" | 12 #include "base/memory/singleton.h" |
12 #include "base/profiler/scoped_tracker.h" | 13 #include "base/profiler/scoped_tracker.h" |
13 #include "base/strings/string_split.h" | 14 #include "base/strings/string_split.h" |
14 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.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 #include "ui/gfx/font.h" | 18 #include "ui/gfx/font.h" |
18 #include "ui/gfx/font_fallback.h" | 19 #include "ui/gfx/font_fallback.h" |
19 | 20 |
20 namespace gfx { | 21 namespace gfx { |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 font.GetFontSize()); | 325 font.GetFontSize()); |
325 found_fallback = true; | 326 found_fallback = true; |
326 } | 327 } |
327 } | 328 } |
328 DeleteEnhMetaFile(meta_file); | 329 DeleteEnhMetaFile(meta_file); |
329 | 330 |
330 return found_fallback; | 331 return found_fallback; |
331 } | 332 } |
332 | 333 |
333 } // namespace gfx | 334 } // namespace gfx |
OLD | NEW |