| 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 12 matching lines...) Expand all Loading... |
| 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 CSSFontFaceSrcValue_h | 26 #ifndef CSSFontFaceSrcValue_h |
| 27 #define CSSFontFaceSrcValue_h | 27 #define CSSFontFaceSrcValue_h |
| 28 | 28 |
| 29 #include "core/css/CSSValue.h" | 29 #include "core/css/CSSValue.h" |
| 30 #include "core/loader/resource/FontResource.h" | 30 #include "core/loader/resource/FontResource.h" |
| 31 #include "platform/loader/fetch/ResourceOwner.h" | 31 #include "platform/loader/fetch/ResourceOwner.h" |
| 32 #include "platform/weborigin/Referrer.h" | 32 #include "platform/weborigin/Referrer.h" |
| 33 #include "wtf/PassRefPtr.h" | 33 #include "platform/wtf/PassRefPtr.h" |
| 34 #include "wtf/text/WTFString.h" | 34 #include "platform/wtf/text/WTFString.h" |
| 35 | 35 |
| 36 namespace blink { | 36 namespace blink { |
| 37 | 37 |
| 38 class Document; | 38 class Document; |
| 39 | 39 |
| 40 class CSSFontFaceSrcValue : public CSSValue { | 40 class CSSFontFaceSrcValue : public CSSValue { |
| 41 public: | 41 public: |
| 42 static CSSFontFaceSrcValue* Create( | 42 static CSSFontFaceSrcValue* Create( |
| 43 const String& specified_resource, | 43 const String& specified_resource, |
| 44 const String& absolute_resource, | 44 const String& absolute_resource, |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 } | 123 } |
| 124 }; | 124 }; |
| 125 mutable Member<FontResourceHelper> fetched_; | 125 mutable Member<FontResourceHelper> fetched_; |
| 126 }; | 126 }; |
| 127 | 127 |
| 128 DEFINE_CSS_VALUE_TYPE_CASTS(CSSFontFaceSrcValue, IsFontFaceSrcValue()); | 128 DEFINE_CSS_VALUE_TYPE_CASTS(CSSFontFaceSrcValue, IsFontFaceSrcValue()); |
| 129 | 129 |
| 130 } // namespace blink | 130 } // namespace blink |
| 131 | 131 |
| 132 #endif | 132 #endif |
| OLD | NEW |