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

Side by Side Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.h

Issue 2463703003: blink: Cleanup core class forward declarations (Closed)
Patch Set: Remove redundant empty lines Created 4 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) Research In Motion Limited 2010. All rights reserved. 2 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 19 matching lines...) Expand all
30 enum LayoutSVGResourceType { 30 enum LayoutSVGResourceType {
31 MaskerResourceType, 31 MaskerResourceType,
32 MarkerResourceType, 32 MarkerResourceType,
33 PatternResourceType, 33 PatternResourceType,
34 LinearGradientResourceType, 34 LinearGradientResourceType,
35 RadialGradientResourceType, 35 RadialGradientResourceType,
36 FilterResourceType, 36 FilterResourceType,
37 ClipperResourceType 37 ClipperResourceType
38 }; 38 };
39 39
40 class PaintLayer;
41
42 class LayoutSVGResourceContainer : public LayoutSVGHiddenContainer { 40 class LayoutSVGResourceContainer : public LayoutSVGHiddenContainer {
43 public: 41 public:
44 explicit LayoutSVGResourceContainer(SVGElement*); 42 explicit LayoutSVGResourceContainer(SVGElement*);
45 ~LayoutSVGResourceContainer() override; 43 ~LayoutSVGResourceContainer() override;
46 44
47 virtual void removeAllClientsFromCache(bool markForInvalidation = true) = 0; 45 virtual void removeAllClientsFromCache(bool markForInvalidation = true) = 0;
48 virtual void removeClientFromCache(LayoutObject*, 46 virtual void removeClientFromCache(LayoutObject*,
49 bool markForInvalidation = true) = 0; 47 bool markForInvalidation = true) = 0;
50 48
51 void layout() override; 49 void layout() override;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 isSVGResourceContainer()); 141 isSVGResourceContainer());
144 142
145 #define DEFINE_LAYOUT_SVG_RESOURCE_TYPE_CASTS(thisType, typeName) \ 143 #define DEFINE_LAYOUT_SVG_RESOURCE_TYPE_CASTS(thisType, typeName) \
146 DEFINE_TYPE_CASTS(thisType, LayoutSVGResourceContainer, resource, \ 144 DEFINE_TYPE_CASTS(thisType, LayoutSVGResourceContainer, resource, \
147 resource->resourceType() == typeName, \ 145 resource->resourceType() == typeName, \
148 resource.resourceType() == typeName) 146 resource.resourceType() == typeName)
149 147
150 } // namespace blink 148 } // namespace blink
151 149
152 #endif 150 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698