Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Side by Side Diff: Source/core/rendering/RenderLayerFilterInfo.cpp

Issue 18707002: Reduce number of header includes in SVG (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add Samsung copyright Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/rendering/svg/ReferenceFilterBuilder.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. 2 * Copyright (C) 2012 Adobe Systems Incorporated. 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 * 7 *
8 * 1. Redistributions of source code must retain the above 8 * 1. Redistributions of source code must retain the above
9 * copyright notice, this list of conditions and the following 9 * copyright notice, this list of conditions and the following
10 * disclaimer. 10 * disclaimer.
(...skipping 19 matching lines...) Expand all
30 #include "config.h" 30 #include "config.h"
31 31
32 #include "core/rendering/RenderLayerFilterInfo.h" 32 #include "core/rendering/RenderLayerFilterInfo.h"
33 33
34 #include "core/loader/cache/CachedDocument.h" 34 #include "core/loader/cache/CachedDocument.h"
35 #include "core/loader/cache/CachedSVGDocumentReference.h" 35 #include "core/loader/cache/CachedSVGDocumentReference.h"
36 #include "core/platform/graphics/filters/custom/CustomFilterOperation.h" 36 #include "core/platform/graphics/filters/custom/CustomFilterOperation.h"
37 #include "core/platform/graphics/filters/custom/CustomFilterProgram.h" 37 #include "core/platform/graphics/filters/custom/CustomFilterProgram.h"
38 #include "core/rendering/FilterEffectRenderer.h" 38 #include "core/rendering/FilterEffectRenderer.h"
39 #include "core/rendering/RenderLayer.h" 39 #include "core/rendering/RenderLayer.h"
40 #include "core/rendering/svg/RenderSVGResourceContainer.h"
40 #include "core/svg/SVGElement.h" 41 #include "core/svg/SVGElement.h"
41 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" 42 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h"
42 #include "core/svg/graphics/filters/SVGFilter.h" 43 #include "core/svg/graphics/filters/SVGFilter.h"
43 44
44 namespace WebCore { 45 namespace WebCore {
45 46
46 RenderLayerFilterInfoMap* RenderLayerFilterInfo::s_filterMap = 0; 47 RenderLayerFilterInfoMap* RenderLayerFilterInfo::s_filterMap = 0;
47 48
48 RenderLayerFilterInfo* RenderLayerFilterInfo::filterInfoForRenderLayer(const Ren derLayer* layer) 49 RenderLayerFilterInfo* RenderLayerFilterInfo::filterInfoForRenderLayer(const Ren derLayer* layer)
49 { 50 {
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 182
182 void RenderLayerFilterInfo::removeCustomFilterClients() 183 void RenderLayerFilterInfo::removeCustomFilterClients()
183 { 184 {
184 for (size_t i = 0; i < m_cachedCustomFilterPrograms.size(); ++i) 185 for (size_t i = 0; i < m_cachedCustomFilterPrograms.size(); ++i)
185 m_cachedCustomFilterPrograms.at(i)->removeClient(this); 186 m_cachedCustomFilterPrograms.at(i)->removeClient(this);
186 m_cachedCustomFilterPrograms.clear(); 187 m_cachedCustomFilterPrograms.clear();
187 } 188 }
188 189
189 } // namespace WebCore 190 } // namespace WebCore
190 191
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/rendering/svg/ReferenceFilterBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698