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 "public/web/win/WebFontRendering.h" | 5 #include "public/web/win/WebFontRendering.h" |
6 | 6 |
7 #include "platform/fonts/FontCache.h" | 7 #include "platform/fonts/FontCache.h" |
8 | 8 |
9 namespace blink { | 9 namespace blink { |
10 | 10 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 { | 68 { |
69 FontCache::setAntialiasedTextEnabled(enabled); | 69 FontCache::setAntialiasedTextEnabled(enabled); |
70 } | 70 } |
71 | 71 |
72 // static | 72 // static |
73 void WebFontRendering::setLCDTextEnabled(bool enabled) | 73 void WebFontRendering::setLCDTextEnabled(bool enabled) |
74 { | 74 { |
75 FontCache::setLCDTextEnabled(enabled); | 75 FontCache::setLCDTextEnabled(enabled); |
76 } | 76 } |
77 | 77 |
| 78 // static |
| 79 void WebFontRendering::setUseSkiaFontFallback(bool useSkiaFontFallback) |
| 80 { |
| 81 FontCache::setUseSkiaFontFallback(useSkiaFontFallback); |
| 82 } |
| 83 |
78 } // namespace blink | 84 } // namespace blink |
OLD | NEW |