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

Side by Side Diff: Source/core/rendering/svg/ReferenceFilterBuilder.h

Issue 99103006: Moving GraphicsContext and dependencies from core to platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final patch - fixes Android Created 7 years 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. 2 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved.
3 * Copyright (C) 2013 Google Inc. All rights reserved. 3 * Copyright (C) 2013 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above 9 * 1. Redistributions of source code must retain the above
10 * copyright notice, this list of conditions and the following 10 * copyright notice, this list of conditions and the following
(...skipping 14 matching lines...) Expand all
25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
26 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF 26 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
27 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE. 28 * SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef ReferenceFilterBuilder_h 31 #ifndef ReferenceFilterBuilder_h
32 #define ReferenceFilterBuilder_h 32 #define ReferenceFilterBuilder_h
33 33
34 #include "core/fetch/DocumentResourceReference.h" 34 #include "core/fetch/DocumentResourceReference.h"
35 #include "core/platform/graphics/filters/FilterEffect.h" 35 #include "platform/graphics/filters/FilterEffect.h"
36 #include "wtf/HashMap.h" 36 #include "wtf/HashMap.h"
37 #include "wtf/PassRefPtr.h" 37 #include "wtf/PassRefPtr.h"
38 38
39 namespace WebCore { 39 namespace WebCore {
40 40
41 class Filter; 41 class Filter;
42 class FilterEffect; 42 class FilterEffect;
43 class FilterOperation; 43 class FilterOperation;
44 class ReferenceFilterOperation; 44 class ReferenceFilterOperation;
45 class RenderObject; 45 class RenderObject;
46 46
47 class ReferenceFilterBuilder { 47 class ReferenceFilterBuilder {
48 public: 48 public:
49 static DocumentResourceReference* documentResourceReference(const FilterOper ation*); 49 static DocumentResourceReference* documentResourceReference(const FilterOper ation*);
50 static void setDocumentResourceReference(const FilterOperation*, PassOwnPtr< DocumentResourceReference>); 50 static void setDocumentResourceReference(const FilterOperation*, PassOwnPtr< DocumentResourceReference>);
51 static void clearDocumentResourceReference(const FilterOperation*); 51 static void clearDocumentResourceReference(const FilterOperation*);
52 52
53 static PassRefPtr<FilterEffect> build(Filter*, RenderObject* renderer, Filte rEffect* previousEffect, const ReferenceFilterOperation*); 53 static PassRefPtr<FilterEffect> build(Filter*, RenderObject* renderer, Filte rEffect* previousEffect, const ReferenceFilterOperation*);
54 54
55 private: 55 private:
56 static HashMap<const FilterOperation*, OwnPtr<DocumentResourceReference> >* documentResourceReferences; 56 static HashMap<const FilterOperation*, OwnPtr<DocumentResourceReference> >* documentResourceReferences;
57 }; 57 };
58 58
59 } 59 }
60 60
61 #endif // ReferenceFilterBuilder_h 61 #endif // ReferenceFilterBuilder_h
OLDNEW
« no previous file with comments | « Source/core/rendering/style/StylePendingImage.h ('k') | Source/core/rendering/svg/RenderSVGContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698