| 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/loader/resource/FontResource.h" | 9 #include "core/loader/resource/FontResource.h" |
| 10 #include "wtf/Allocator.h" | 10 #include "platform/wtf/Allocator.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class CSSFontSelector; | 14 class CSSFontSelector; |
| 15 class FontCustomPlatformData; | 15 class FontCustomPlatformData; |
| 16 | 16 |
| 17 enum FontDisplay { | 17 enum FontDisplay { |
| 18 kFontDisplayAuto, | 18 kFontDisplayAuto, |
| 19 kFontDisplayBlock, | 19 kFontDisplayBlock, |
| 20 kFontDisplaySwap, | 20 kFontDisplaySwap, |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 | 129 |
| 130 const FontDisplay display_; | 130 const FontDisplay display_; |
| 131 DisplayPeriod period_; | 131 DisplayPeriod period_; |
| 132 FontLoadHistograms histograms_; | 132 FontLoadHistograms histograms_; |
| 133 bool is_intervention_triggered_; | 133 bool is_intervention_triggered_; |
| 134 }; | 134 }; |
| 135 | 135 |
| 136 } // namespace blink | 136 } // namespace blink |
| 137 | 137 |
| 138 #endif | 138 #endif |
| OLD | NEW |