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

Side by Side Diff: third_party/WebKit/Source/core/loader/resource/FontResource.h

Issue 2584423002: Loading: move core/fetch to platform/loader/fetch (Closed)
Patch Set: another try Created 3 years, 10 months 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 /* 1 /*
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 10 matching lines...) Expand all
21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #ifndef FontResource_h 26 #ifndef FontResource_h
27 #define FontResource_h 27 #define FontResource_h
28 28
29 #include "base/gtest_prod_util.h" 29 #include "base/gtest_prod_util.h"
30 #include "core/CoreExport.h" 30 #include "core/CoreExport.h"
31 #include "core/fetch/Resource.h"
32 #include "core/fetch/ResourceClient.h"
33 #include "platform/Timer.h" 31 #include "platform/Timer.h"
34 #include "platform/fonts/FontOrientation.h" 32 #include "platform/fonts/FontOrientation.h"
35 #include "platform/heap/Handle.h" 33 #include "platform/heap/Handle.h"
34 #include "platform/loader/fetch/Resource.h"
35 #include "platform/loader/fetch/ResourceClient.h"
36 #include <memory> 36 #include <memory>
37 37
38 namespace blink { 38 namespace blink {
39 39
40 class FetchRequest; 40 class FetchRequest;
41 class ResourceFetcher; 41 class ResourceFetcher;
42 class FontPlatformData; 42 class FontPlatformData;
43 class FontCustomPlatformData; 43 class FontCustomPlatformData;
44 class FontResourceClient; 44 class FontResourceClient;
45 class FontVariationSettings; 45 class FontVariationSettings;
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 // Only the RemoteFontFaceSources clients can prevent lowering of loading 140 // Only the RemoteFontFaceSources clients can prevent lowering of loading
141 // priority of the remote fonts. Set the default to true to prevent 141 // priority of the remote fonts. Set the default to true to prevent
142 // other clients from incorrectly returning false. 142 // other clients from incorrectly returning false.
143 return true; 143 return true;
144 } 144 }
145 }; 145 };
146 146
147 } // namespace blink 147 } // namespace blink
148 148
149 #endif 149 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698