OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. | 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. |
4 * Copyright (C) 2013 Google Inc. All rights reserved. | 4 * Copyright (C) 2013 Google Inc. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "config.h" | 23 #include "config.h" |
24 #include "core/css/resolver/StyleResourceLoader.h" | 24 #include "core/css/resolver/StyleResourceLoader.h" |
25 | 25 |
26 #include "core/CSSPropertyNames.h" | 26 #include "core/CSSPropertyNames.h" |
27 #include "core/css/CSSCursorImageValue.h" | 27 #include "core/css/CSSCursorImageValue.h" |
28 #include "core/css/CSSImageValue.h" | 28 #include "core/css/CSSImageValue.h" |
29 #include "core/css/CSSSVGDocumentValue.h" | 29 #include "core/css/CSSSVGDocumentValue.h" |
30 #include "core/css/resolver/ElementStyleResources.h" | 30 #include "core/css/resolver/ElementStyleResources.h" |
31 #include "core/dom/Document.h" | 31 #include "core/dom/Document.h" |
32 #include "core/fetch/ResourceFetcher.h" | 32 #include "core/fetch/ResourceFetcher.h" |
33 #include "core/layout/style/ContentData.h" | 33 #include "core/style/ContentData.h" |
34 #include "core/layout/style/FillLayer.h" | 34 #include "core/style/FillLayer.h" |
35 #include "core/layout/style/ComputedStyle.h" | 35 #include "core/style/ComputedStyle.h" |
36 #include "core/layout/style/StyleFetchedImage.h" | 36 #include "core/style/StyleFetchedImage.h" |
37 #include "core/layout/style/StyleFetchedImageSet.h" | 37 #include "core/style/StyleFetchedImageSet.h" |
38 #include "core/layout/style/StyleGeneratedImage.h" | 38 #include "core/style/StyleGeneratedImage.h" |
39 #include "core/layout/style/StylePendingImage.h" | 39 #include "core/style/StylePendingImage.h" |
40 #include "core/layout/svg/ReferenceFilterBuilder.h" | 40 #include "core/layout/svg/ReferenceFilterBuilder.h" |
41 | 41 |
42 namespace blink { | 42 namespace blink { |
43 | 43 |
44 StyleResourceLoader::StyleResourceLoader(Document* document) | 44 StyleResourceLoader::StyleResourceLoader(Document* document) |
45 : m_document(document) | 45 : m_document(document) |
46 { | 46 { |
47 } | 47 } |
48 | 48 |
49 DEFINE_TRACE(StyleResourceLoader) | 49 DEFINE_TRACE(StyleResourceLoader) |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 void StyleResourceLoader::loadPendingResources(ComputedStyle* computedStyle, Ele
mentStyleResources& elementStyleResources) | 208 void StyleResourceLoader::loadPendingResources(ComputedStyle* computedStyle, Ele
mentStyleResources& elementStyleResources) |
209 { | 209 { |
210 // Start loading images referenced by this style. | 210 // Start loading images referenced by this style. |
211 loadPendingImages(computedStyle, elementStyleResources); | 211 loadPendingImages(computedStyle, elementStyleResources); |
212 | 212 |
213 // Start loading the SVG Documents referenced by this style. | 213 // Start loading the SVG Documents referenced by this style. |
214 loadPendingSVGDocuments(computedStyle, elementStyleResources); | 214 loadPendingSVGDocuments(computedStyle, elementStyleResources); |
215 } | 215 } |
216 | 216 |
217 } | 217 } |
OLD | NEW |