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

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

Issue 1326183002: Merge ReferenceFilter into Filter (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Touchups; Rebase. Created 5 years, 3 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
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 21 matching lines...) Expand all
32 #define ReferenceFilterBuilder_h 32 #define ReferenceFilterBuilder_h
33 33
34 #include "core/fetch/DocumentResourceReference.h" 34 #include "core/fetch/DocumentResourceReference.h"
35 #include "wtf/Allocator.h" 35 #include "wtf/Allocator.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 blink { 39 namespace blink {
40 40
41 class Element; 41 class Element;
42 class Filter;
42 class FilterEffect; 43 class FilterEffect;
43 class FilterOperation; 44 class FilterOperation;
44 class ReferenceFilterOperation; 45 class ReferenceFilterOperation;
45 class ReferenceFilter;
46 46
47 class ReferenceFilterBuilder { 47 class ReferenceFilterBuilder {
48 STATIC_ONLY(ReferenceFilterBuilder); 48 STATIC_ONLY(ReferenceFilterBuilder);
49 public: 49 public:
50 static DocumentResourceReference* documentResourceReference(const FilterOper ation*); 50 static DocumentResourceReference* documentResourceReference(const FilterOper ation*);
51 static void setDocumentResourceReference(const FilterOperation*, PassOwnPtr< DocumentResourceReference>); 51 static void setDocumentResourceReference(const FilterOperation*, PassOwnPtr< DocumentResourceReference>);
52 static void clearDocumentResourceReference(const FilterOperation*); 52 static void clearDocumentResourceReference(const FilterOperation*);
53 53
54 static PassRefPtrWillBeRawPtr<ReferenceFilter> build(float zoom, Element*, F ilterEffect* previousEffect, const ReferenceFilterOperation&); 54 static PassRefPtrWillBeRawPtr<Filter> build(float zoom, Element*, FilterEffe ct* previousEffect, const ReferenceFilterOperation&);
55 55
56 private: 56 private:
57 static HashMap<const FilterOperation*, OwnPtr<DocumentResourceReference>>* d ocumentResourceReferences; 57 static HashMap<const FilterOperation*, OwnPtr<DocumentResourceReference>>* d ocumentResourceReferences;
58 }; 58 };
59 59
60 } 60 }
61 61
62 #endif // ReferenceFilterBuilder_h 62 #endif // ReferenceFilterBuilder_h
OLDNEW
« no previous file with comments | « Source/core/layout/svg/LayoutSVGResourceFilter.cpp ('k') | Source/core/layout/svg/ReferenceFilterBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698