Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(889)

Side by Side Diff: third_party/WebKit/Source/core/css/RemoteFontFaceSource.h

Issue 2501543002: Loading: move FontResource to core/loader/resource (Closed)
Patch Set: one rebase error for webkit_unit_tests build Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/FontFaceCache.cpp ('k') | third_party/WebKit/Source/core/fetch/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698