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

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintLayerFilterInfo.h

Issue 1413233005: tracing: Report ResourceClients and the reason for not deletable for web-caches (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reflected haraken's comments. Created 5 years, 1 month 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
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 public: 54 public:
55 static PaintLayerFilterInfo* filterInfoForLayer(const PaintLayer*); 55 static PaintLayerFilterInfo* filterInfoForLayer(const PaintLayer*);
56 static PaintLayerFilterInfo* createFilterInfoForLayerIfNeeded(PaintLayer*); 56 static PaintLayerFilterInfo* createFilterInfoForLayerIfNeeded(PaintLayer*);
57 static void removeFilterInfoForLayer(PaintLayer*); 57 static void removeFilterInfoForLayer(PaintLayer*);
58 58
59 FilterEffectBuilder* builder() const { return m_builder.get(); } 59 FilterEffectBuilder* builder() const { return m_builder.get(); }
60 void setBuilder(PassRefPtrWillBeRawPtr<FilterEffectBuilder>); 60 void setBuilder(PassRefPtrWillBeRawPtr<FilterEffectBuilder>);
61 61
62 void updateReferenceFilterClients(const FilterOperations&); 62 void updateReferenceFilterClients(const FilterOperations&);
63 void notifyFinished(Resource*) override; 63 void notifyFinished(Resource*) override;
64 String debugName() const override { return "PaintLayerFilterInfo"; }
64 void removeReferenceFilterClients(); 65 void removeReferenceFilterClients();
65 66
66 private: 67 private:
67 PaintLayerFilterInfo(PaintLayer*); 68 PaintLayerFilterInfo(PaintLayer*);
68 ~PaintLayerFilterInfo() override; 69 ~PaintLayerFilterInfo() override;
69 70
70 PaintLayer* m_layer; 71 PaintLayer* m_layer;
71 72
72 RefPtrWillBePersistent<FilterEffectBuilder> m_builder; 73 RefPtrWillBePersistent<FilterEffectBuilder> m_builder;
73 74
74 static PaintLayerFilterInfoMap* s_filterMap; 75 static PaintLayerFilterInfoMap* s_filterMap;
75 WillBePersistentHeapVector<RefPtrWillBeMember<Element>> m_internalSVGReferen ces; 76 WillBePersistentHeapVector<RefPtrWillBeMember<Element>> m_internalSVGReferen ces;
76 Vector<ResourcePtr<DocumentResource>> m_externalSVGReferences; 77 Vector<ResourcePtr<DocumentResource>> m_externalSVGReferences;
77 }; 78 };
78 79
79 } // namespace blink 80 } // namespace blink
80 81
81 82
82 #endif // PaintLayerFilterInfo_h 83 #endif // PaintLayerFilterInfo_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/TextTrackLoader.h ('k') | third_party/WebKit/Source/core/style/StyleFetchedImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698