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

Side by Side Diff: Source/core/rendering/svg/RenderSVGResourceContainer.h

Issue 468933002: Rename Repaint to paintInvalidation in svg, part 2. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 | « no previous file | Source/core/rendering/svg/RenderSVGResourceContainer.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) 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 void addClientRenderLayer(RenderLayer*); 45 void addClientRenderLayer(RenderLayer*);
46 void removeClientRenderLayer(RenderLayer*); 46 void removeClientRenderLayer(RenderLayer*);
47 47
48 void invalidateCacheAndMarkForLayout(SubtreeLayoutScope* = 0); 48 void invalidateCacheAndMarkForLayout(SubtreeLayoutScope* = 0);
49 49
50 protected: 50 protected:
51 // When adding modes, make sure we don't overflow m_invalidationMask below. 51 // When adding modes, make sure we don't overflow m_invalidationMask below.
52 enum InvalidationMode { 52 enum InvalidationMode {
53 LayoutAndBoundariesInvalidation = 1 << 0, 53 LayoutAndBoundariesInvalidation = 1 << 0,
54 BoundariesInvalidation = 1 << 1, 54 BoundariesInvalidation = 1 << 1,
55 RepaintInvalidation = 1 << 2, 55 PaintInvalidation = 1 << 2,
56 ParentOnlyInvalidation = 1 << 3 56 ParentOnlyInvalidation = 1 << 3
57 }; 57 };
58 58
59 // Used from the invalidateClient/invalidateClients methods from classes, in heriting from us. 59 // Used from the invalidateClient/invalidateClients methods from classes, in heriting from us.
60 void markAllClientsForInvalidation(InvalidationMode); 60 void markAllClientsForInvalidation(InvalidationMode);
61 void markAllClientLayersForInvalidation(); 61 void markAllClientLayersForInvalidation();
62 void markClientForInvalidation(RenderObject*, InvalidationMode); 62 void markClientForInvalidation(RenderObject*, InvalidationMode);
63 63
64 void clearInvalidationMask() { m_invalidationMask = 0; } 64 void clearInvalidationMask() { m_invalidationMask = 0; }
65 65
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 return container->cast<Renderer>(); 105 return container->cast<Renderer>();
106 106
107 return 0; 107 return 0;
108 } 108 }
109 109
110 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGResourceContainer, isSVGResourceContain er()); 110 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGResourceContainer, isSVGResourceContain er());
111 111
112 } 112 }
113 113
114 #endif 114 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/svg/RenderSVGResourceContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698