| 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 #ifndef RemoteFontFaceSource_h | 5 #ifndef RemoteFontFaceSource_h |
| 6 #define RemoteFontFaceSource_h | 6 #define RemoteFontFaceSource_h |
| 7 | 7 |
| 8 #include "core/css/CSSFontFaceSource.h" | 8 #include "core/css/CSSFontFaceSource.h" |
| 9 #include "core/fetch/FontResource.h" | 9 #include "core/loader/resource/FontResource.h" |
| 10 #include "wtf/Allocator.h" | 10 #include "wtf/Allocator.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class CSSFontSelector; | 14 class CSSFontSelector; |
| 15 | 15 |
| 16 enum FontDisplay { | 16 enum FontDisplay { |
| 17 FontDisplayAuto, | 17 FontDisplayAuto, |
| 18 FontDisplayBlock, | 18 FontDisplayBlock, |
| 19 FontDisplaySwap, | 19 FontDisplaySwap, |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 Member<CSSFontSelector> m_fontSelector; | 116 Member<CSSFontSelector> m_fontSelector; |
| 117 const FontDisplay m_display; | 117 const FontDisplay m_display; |
| 118 DisplayPeriod m_period; | 118 DisplayPeriod m_period; |
| 119 FontLoadHistograms m_histograms; | 119 FontLoadHistograms m_histograms; |
| 120 bool m_isInterventionTriggered; | 120 bool m_isInterventionTriggered; |
| 121 }; | 121 }; |
| 122 | 122 |
| 123 } // namespace blink | 123 } // namespace blink |
| 124 | 124 |
| 125 #endif | 125 #endif |
| OLD | NEW |