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 "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/bind_helpers.h" | 6 #include "base/bind_helpers.h" |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "base/memory/singleton.h" | 10 #include "base/memory/singleton.h" |
10 #include "base/win/registry.h" | 11 #include "base/win/registry.h" |
11 #include "ui/gfx/font_render_params.h" | 12 #include "ui/gfx/font_render_params.h" |
12 #include "ui/gfx/win/direct_write.h" | 13 #include "ui/gfx/win/direct_write.h" |
13 #include "ui/gfx/win/singleton_hwnd_observer.h" | 14 #include "ui/gfx/win/singleton_hwnd_observer.h" |
14 | 15 |
15 namespace gfx { | 16 namespace gfx { |
16 | 17 |
17 namespace { | 18 namespace { |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 | 104 |
104 FontRenderParams GetFontRenderParams(const FontRenderParamsQuery& query, | 105 FontRenderParams GetFontRenderParams(const FontRenderParamsQuery& query, |
105 std::string* family_out) { | 106 std::string* family_out) { |
106 if (family_out) | 107 if (family_out) |
107 NOTIMPLEMENTED(); | 108 NOTIMPLEMENTED(); |
108 // Customized font rendering settings are not supported, only defaults. | 109 // Customized font rendering settings are not supported, only defaults. |
109 return CachedFontRenderParams::GetInstance()->GetParams(); | 110 return CachedFontRenderParams::GetInstance()->GetParams(); |
110 } | 111 } |
111 | 112 |
112 } // namespace gfx | 113 } // namespace gfx |
OLD | NEW |