| 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 "config.h" | 5 #include "config.h" |
| 6 #include "core/css/resolver/FontBuilder.h" | 6 #include "core/css/resolver/FontBuilder.h" |
| 7 | 7 |
| 8 #include "core/css/CSSFontSelector.h" | 8 #include "core/css/CSSFontSelector.h" |
| 9 #include "core/dom/Document.h" | 9 #include "core/dom/Document.h" |
| 10 #include "core/dom/StyleEngine.h" | 10 #include "core/dom/StyleEngine.h" |
| 11 #include "core/frame/Settings.h" | 11 #include "core/frame/Settings.h" |
| 12 #include "core/layout/style/ComputedStyle.h" | 12 #include "core/style/ComputedStyle.h" |
| 13 #include "core/testing/DummyPageHolder.h" | 13 #include "core/testing/DummyPageHolder.h" |
| 14 #include "platform/text/LocaleToScriptMapping.h" | 14 #include "platform/text/LocaleToScriptMapping.h" |
| 15 | 15 |
| 16 #include <gtest/gtest.h> | 16 #include <gtest/gtest.h> |
| 17 | 17 |
| 18 namespace blink { | 18 namespace blink { |
| 19 | 19 |
| 20 class FontBuilderTest { | 20 class FontBuilderTest { |
| 21 public: | 21 public: |
| 22 FontBuilderTest() | 22 FontBuilderTest() |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 FunctionPair(fontStyleBase, fontStyleValue), | 157 FunctionPair(fontStyleBase, fontStyleValue), |
| 158 FunctionPair(fontVariantBase, fontVariantValue), | 158 FunctionPair(fontVariantBase, fontVariantValue), |
| 159 FunctionPair(fontVariantLigaturesBase, fontVariantLigaturesValue), | 159 FunctionPair(fontVariantLigaturesBase, fontVariantLigaturesValue), |
| 160 FunctionPair(fontTextRenderingBase, fontTextRenderingValue), | 160 FunctionPair(fontTextRenderingBase, fontTextRenderingValue), |
| 161 FunctionPair(fontKerningBase, fontKerningValue), | 161 FunctionPair(fontKerningBase, fontKerningValue), |
| 162 FunctionPair(fontFontSmoothingBase, fontFontSmoothingValue), | 162 FunctionPair(fontFontSmoothingBase, fontFontSmoothingValue), |
| 163 FunctionPair(fontSizeBase, fontSizeValue), | 163 FunctionPair(fontSizeBase, fontSizeValue), |
| 164 FunctionPair(fontScriptBase, fontScriptValue))); | 164 FunctionPair(fontScriptBase, fontScriptValue))); |
| 165 | 165 |
| 166 } // namespace blink | 166 } // namespace blink |
| OLD | NEW |