| 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 "CSSPropertyNames.h" | 26 #include "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/CSSShaderValue.h" | 30 #include "core/css/CSSShaderValue.h" |
| 31 #include "core/css/resolver/ElementStyleResources.h" | 31 #include "core/css/resolver/ElementStyleResources.h" |
| 32 #include "core/fetch/ResourceFetcher.h" | 32 #include "core/fetch/ResourceFetcher.h" |
| 33 #include "core/platform/graphics/filters/custom/CustomFilterOperation.h" | |
| 34 #include "core/rendering/style/ContentData.h" | 33 #include "core/rendering/style/ContentData.h" |
| 35 #include "core/rendering/style/CursorList.h" | 34 #include "core/rendering/style/CursorList.h" |
| 36 #include "core/rendering/style/FillLayer.h" | 35 #include "core/rendering/style/FillLayer.h" |
| 37 #include "core/rendering/style/RenderStyle.h" | 36 #include "core/rendering/style/RenderStyle.h" |
| 38 #include "core/rendering/style/StyleCustomFilterProgram.h" | 37 #include "core/rendering/style/StyleCustomFilterProgram.h" |
| 39 #include "core/rendering/style/StyleCustomFilterProgramCache.h" | 38 #include "core/rendering/style/StyleCustomFilterProgramCache.h" |
| 40 #include "core/rendering/style/StyleFetchedImage.h" | 39 #include "core/rendering/style/StyleFetchedImage.h" |
| 41 #include "core/rendering/style/StyleFetchedImageSet.h" | 40 #include "core/rendering/style/StyleFetchedImageSet.h" |
| 42 #include "core/rendering/style/StyleFetchedShader.h" | 41 #include "core/rendering/style/StyleFetchedShader.h" |
| 43 #include "core/rendering/style/StyleGeneratedImage.h" | 42 #include "core/rendering/style/StyleGeneratedImage.h" |
| 44 #include "core/rendering/style/StylePendingImage.h" | 43 #include "core/rendering/style/StylePendingImage.h" |
| 45 #include "core/rendering/style/StylePendingShader.h" | 44 #include "core/rendering/style/StylePendingShader.h" |
| 46 #include "core/rendering/svg/ReferenceFilterBuilder.h" | 45 #include "core/rendering/svg/ReferenceFilterBuilder.h" |
| 46 #include "platform/graphics/filters/custom/CustomFilterOperation.h" |
| 47 | 47 |
| 48 namespace WebCore { | 48 namespace WebCore { |
| 49 | 49 |
| 50 StyleResourceLoader::StyleResourceLoader(ResourceFetcher* fetcher) | 50 StyleResourceLoader::StyleResourceLoader(ResourceFetcher* fetcher) |
| 51 : m_customFilterProgramCache(StyleCustomFilterProgramCache::create()) | 51 : m_customFilterProgramCache(StyleCustomFilterProgramCache::create()) |
| 52 , m_fetcher(fetcher) | 52 , m_fetcher(fetcher) |
| 53 { | 53 { |
| 54 } | 54 } |
| 55 | 55 |
| 56 void StyleResourceLoader::loadPendingSVGDocuments(RenderStyle* renderStyle, cons
t ElementStyleResources& elementStyleResources) | 56 void StyleResourceLoader::loadPendingSVGDocuments(RenderStyle* renderStyle, cons
t ElementStyleResources& elementStyleResources) |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 loadPendingImages(renderStyle, elementStyleResources); | 248 loadPendingImages(renderStyle, elementStyleResources); |
| 249 | 249 |
| 250 // Start loading the shaders referenced by this style. | 250 // Start loading the shaders referenced by this style. |
| 251 loadPendingShaders(renderStyle, elementStyleResources); | 251 loadPendingShaders(renderStyle, elementStyleResources); |
| 252 | 252 |
| 253 // Start loading the SVG Documents referenced by this style. | 253 // Start loading the SVG Documents referenced by this style. |
| 254 loadPendingSVGDocuments(renderStyle, elementStyleResources); | 254 loadPendingSVGDocuments(renderStyle, elementStyleResources); |
| 255 } | 255 } |
| 256 | 256 |
| 257 } | 257 } |
| OLD | NEW |