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

Side by Side Diff: Source/core/layout/LayerFilterInfo.h

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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/layout/LayerClipper.cpp ('k') | Source/core/layout/LayerFilterInfo.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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 class LayerFilterInfo; 46 class LayerFilterInfo;
47 47
48 typedef HashMap<const Layer*, LayerFilterInfo*> LayerFilterInfoMap; 48 typedef HashMap<const Layer*, LayerFilterInfo*> LayerFilterInfoMap;
49 49
50 class LayerFilterInfo final : public DocumentResourceClient { 50 class LayerFilterInfo final : public DocumentResourceClient {
51 public: 51 public:
52 static LayerFilterInfo* filterInfoForLayer(const Layer*); 52 static LayerFilterInfo* filterInfoForLayer(const Layer*);
53 static LayerFilterInfo* createFilterInfoForLayerIfNeeded(Layer*); 53 static LayerFilterInfo* createFilterInfoForLayerIfNeeded(Layer*);
54 static void removeFilterInfoForLayer(Layer*); 54 static void removeFilterInfoForLayer(Layer*);
55 55
56 FilterEffectRenderer* renderer() const { return m_renderer.get(); } 56 FilterEffectRenderer* layoutObject() const { return m_renderer.get(); }
57 void setRenderer(PassRefPtrWillBeRawPtr<FilterEffectRenderer>); 57 void setRenderer(PassRefPtrWillBeRawPtr<FilterEffectRenderer>);
58 58
59 void updateReferenceFilterClients(const FilterOperations&); 59 void updateReferenceFilterClients(const FilterOperations&);
60 virtual void notifyFinished(Resource*) override; 60 virtual void notifyFinished(Resource*) override;
61 void removeReferenceFilterClients(); 61 void removeReferenceFilterClients();
62 62
63 private: 63 private:
64 LayerFilterInfo(Layer*); 64 LayerFilterInfo(Layer*);
65 virtual ~LayerFilterInfo(); 65 virtual ~LayerFilterInfo();
66 66
67 Layer* m_layer; 67 Layer* m_layer;
68 68
69 RefPtrWillBePersistent<FilterEffectRenderer> m_renderer; 69 RefPtrWillBePersistent<FilterEffectRenderer> m_renderer;
70 70
71 static LayerFilterInfoMap* s_filterMap; 71 static LayerFilterInfoMap* s_filterMap;
72 WillBePersistentHeapVector<RefPtrWillBeMember<Element>> m_internalSVGReferen ces; 72 WillBePersistentHeapVector<RefPtrWillBeMember<Element>> m_internalSVGReferen ces;
73 Vector<ResourcePtr<DocumentResource>> m_externalSVGReferences; 73 Vector<ResourcePtr<DocumentResource>> m_externalSVGReferences;
74 }; 74 };
75 75
76 } // namespace blink 76 } // namespace blink
77 77
78 78
79 #endif // LayerFilterInfo_h 79 #endif // LayerFilterInfo_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayerClipper.cpp ('k') | Source/core/layout/LayerFilterInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698