| OLD | NEW |
| 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 14 matching lines...) Expand all Loading... |
| 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 "platform/Timer.h" | 31 #include "platform/Timer.h" |
| 32 #include "platform/heap/Handle.h" | 32 #include "platform/heap/Handle.h" |
| 33 #include "platform/loader/fetch/Resource.h" | 33 #include "platform/loader/fetch/Resource.h" |
| 34 #include "platform/loader/fetch/ResourceClient.h" | 34 #include "platform/loader/fetch/ResourceClient.h" |
| 35 #include "wtf/RefPtr.h" | 35 #include "platform/wtf/RefPtr.h" |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 class FetchRequest; | 39 class FetchRequest; |
| 40 class ResourceFetcher; | 40 class ResourceFetcher; |
| 41 class FontCustomPlatformData; | 41 class FontCustomPlatformData; |
| 42 class FontResourceClient; | 42 class FontResourceClient; |
| 43 | 43 |
| 44 class CORE_EXPORT FontResource final : public Resource { | 44 class CORE_EXPORT FontResource final : public Resource { |
| 45 public: | 45 public: |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 // Only the RemoteFontFaceSources clients can prevent lowering of loading | 131 // Only the RemoteFontFaceSources clients can prevent lowering of loading |
| 132 // priority of the remote fonts. Set the default to true to prevent | 132 // priority of the remote fonts. Set the default to true to prevent |
| 133 // other clients from incorrectly returning false. | 133 // other clients from incorrectly returning false. |
| 134 return true; | 134 return true; |
| 135 } | 135 } |
| 136 }; | 136 }; |
| 137 | 137 |
| 138 } // namespace blink | 138 } // namespace blink |
| 139 | 139 |
| 140 #endif | 140 #endif |
| OLD | NEW |