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

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

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 8 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) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> 5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 FilterData() : m_state(Initial) { } 71 FilterData() : m_state(Initial) { }
72 }; 72 };
73 73
74 class LayoutSVGResourceFilter final : public LayoutSVGResourceContainer { 74 class LayoutSVGResourceFilter final : public LayoutSVGResourceContainer {
75 public: 75 public:
76 explicit LayoutSVGResourceFilter(SVGFilterElement*); 76 explicit LayoutSVGResourceFilter(SVGFilterElement*);
77 77
78 virtual ~LayoutSVGResourceFilter(); 78 virtual ~LayoutSVGResourceFilter();
79 virtual void destroy() override; 79 virtual void destroy() override;
80 80
81 virtual bool isChildAllowed(LayoutObject*, const LayoutStyle&) const overrid e; 81 virtual bool isChildAllowed(LayoutObject*, const ComputedStyle&) const overr ide;
82 82
83 virtual const char* name() const override { return "LayoutSVGResourceFilter" ; } 83 virtual const char* name() const override { return "LayoutSVGResourceFilter" ; }
84 virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVGResourceFilter || LayoutSVGResourceContainer::isOfType(type); } 84 virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVGResourceFilter || LayoutSVGResourceContainer::isOfType(type); }
85 85
86 virtual void removeAllClientsFromCache(bool markForInvalidation = true) over ride; 86 virtual void removeAllClientsFromCache(bool markForInvalidation = true) over ride;
87 virtual void removeClientFromCache(LayoutObject*, bool markForInvalidation = true) override; 87 virtual void removeClientFromCache(LayoutObject*, bool markForInvalidation = true) override;
88 88
89 FloatRect resourceBoundingBox(const LayoutObject*); 89 FloatRect resourceBoundingBox(const LayoutObject*);
90 90
91 PassRefPtrWillBeRawPtr<SVGFilterBuilder> buildPrimitives(SVGFilter*); 91 PassRefPtrWillBeRawPtr<SVGFilterBuilder> buildPrimitives(SVGFilter*);
(...skipping 14 matching lines...) Expand all
106 106
107 using FilterMap = WillBePersistentHeapHashMap<LayoutObject*, OwnPtrWillBeMem ber<FilterData>>; 107 using FilterMap = WillBePersistentHeapHashMap<LayoutObject*, OwnPtrWillBeMem ber<FilterData>>;
108 FilterMap m_filter; 108 FilterMap m_filter;
109 }; 109 };
110 110
111 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGResourceFilter, isSVGResourceFilter()); 111 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGResourceFilter, isSVGResourceFilter());
112 112
113 } 113 }
114 114
115 #endif 115 #endif
OLDNEW
« no previous file with comments | « Source/core/layout/svg/LayoutSVGResourceContainer.cpp ('k') | Source/core/layout/svg/LayoutSVGResourceFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698