| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008, 2011 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 bool isLocal() const; | 52 bool isLocal() const; |
| 53 bool isLoading() const; | 53 bool isLoading() const; |
| 54 bool isLoaded() const; | 54 bool isLoaded() const; |
| 55 bool isValid() const; | 55 bool isValid() const; |
| 56 | 56 |
| 57 FontResource* resource() { return m_font.get(); } | 57 FontResource* resource() { return m_font.get(); } |
| 58 void setFontFace(CSSFontFace* face) { m_face = face; } | 58 void setFontFace(CSSFontFace* face) { m_face = face; } |
| 59 | 59 |
| 60 virtual void didStartFontLoad(FontResource*) OVERRIDE; | 60 virtual void didStartFontLoad(FontResource*) OVERRIDE; |
| 61 virtual void fontLoaded(FontResource*) OVERRIDE; | 61 virtual void fontLoaded(FontResource*) OVERRIDE; |
| 62 virtual void fontLoadWaitLimitExceeded(FontResource*) OVERRIDE; |
| 62 | 63 |
| 63 PassRefPtr<SimpleFontData> getFontData(const FontDescription&); | 64 PassRefPtr<SimpleFontData> getFontData(const FontDescription&); |
| 64 | 65 |
| 65 #if ENABLE(SVG_FONTS) | 66 #if ENABLE(SVG_FONTS) |
| 66 SVGFontFaceElement* svgFontFaceElement() const; | 67 SVGFontFaceElement* svgFontFaceElement() const; |
| 67 void setSVGFontFaceElement(PassRefPtr<SVGFontFaceElement>); | 68 void setSVGFontFaceElement(PassRefPtr<SVGFontFaceElement>); |
| 68 bool isSVGFontFaceSource() const; | 69 bool isSVGFontFaceSource() const; |
| 69 void setHasExternalSVGFont(bool value) { m_hasExternalSVGFont = value; } | 70 void setHasExternalSVGFont(bool value) { m_hasExternalSVGFont = value; } |
| 70 #endif | 71 #endif |
| 71 | 72 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 99 #if ENABLE(SVG_FONTS) | 100 #if ENABLE(SVG_FONTS) |
| 100 RefPtr<SVGFontFaceElement> m_svgFontFaceElement; | 101 RefPtr<SVGFontFaceElement> m_svgFontFaceElement; |
| 101 RefPtr<SVGFontElement> m_externalSVGFontElement; | 102 RefPtr<SVGFontElement> m_externalSVGFontElement; |
| 102 bool m_hasExternalSVGFont; | 103 bool m_hasExternalSVGFont; |
| 103 #endif | 104 #endif |
| 104 }; | 105 }; |
| 105 | 106 |
| 106 } | 107 } |
| 107 | 108 |
| 108 #endif | 109 #endif |
| OLD | NEW |