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

Side by Side Diff: Source/core/rendering/RenderMultiColumnSet.h

Issue 478733002: Rename repaint to paintInvalidation for remaining methods. (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 | « Source/core/rendering/RenderListBox.h ('k') | Source/core/rendering/RenderMultiColumnSet.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 Apple Inc. All rights reserved. 2 * Copyright (C) 2012 Apple Inc. 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 void expandToEncompassFlowThreadContentsIfNeeded(); 111 void expandToEncompassFlowThreadContentsIfNeeded();
112 112
113 void attachRegion(); 113 void attachRegion();
114 void detachRegion(); 114 void detachRegion();
115 115
116 // This method represents the logical height of the entire flow thread porti on used by the region or set. 116 // This method represents the logical height of the entire flow thread porti on used by the region or set.
117 // For RenderRegions it matches logicalPaginationHeight(), but for sets it i s the height of all the pages 117 // For RenderRegions it matches logicalPaginationHeight(), but for sets it i s the height of all the pages
118 // or columns added together. 118 // or columns added together.
119 LayoutUnit logicalHeightOfAllFlowThreadContent() const { return logicalHeigh tInFlowThread(); } 119 LayoutUnit logicalHeightOfAllFlowThreadContent() const { return logicalHeigh tInFlowThread(); }
120 120
121 void repaintFlowThreadContent(const LayoutRect& repaintRect) const; 121 void paintInvalidationForFlowThreadContent(const LayoutRect& paintInvalidati onRect) const;
122 122
123 // The top of the nearest page inside the region. For RenderRegions, this is just the logical top of the 123 // The top of the nearest page inside the region. For RenderRegions, this is just the logical top of the
124 // flow thread portion we contain. For sets, we have to figure out the top o f the nearest column or 124 // flow thread portion we contain. For sets, we have to figure out the top o f the nearest column or
125 // page. 125 // page.
126 LayoutUnit pageLogicalTopForOffset(LayoutUnit offset) const; 126 LayoutUnit pageLogicalTopForOffset(LayoutUnit offset) const;
127 127
128 void collectLayerFragments(LayerFragments&, const LayoutRect& layerBoundingB ox, const LayoutRect& dirtyRect); 128 void collectLayerFragments(LayerFragments&, const LayoutRect& layerBoundingB ox, const LayoutRect& dirtyRect);
129 129
130 private: 130 private:
131 RenderMultiColumnSet(RenderFlowThread*); 131 RenderMultiColumnSet(RenderFlowThread*);
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 }; 206 };
207 Vector<ContentRun, 1> m_contentRuns; 207 Vector<ContentRun, 1> m_contentRuns;
208 }; 208 };
209 209
210 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderMultiColumnSet, isRenderMultiColumnSet()); 210 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderMultiColumnSet, isRenderMultiColumnSet());
211 211
212 } // namespace blink 212 } // namespace blink
213 213
214 #endif // RenderMultiColumnSet_h 214 #endif // RenderMultiColumnSet_h
215 215
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderListBox.h ('k') | Source/core/rendering/RenderMultiColumnSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698