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

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

Issue 2465983002: Rename "paint invalidation rect" etc. to "visual rect". (Closed)
Patch Set: - 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) 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 unsigned actualColumnCount() const; 224 unsigned actualColumnCount() const;
225 225
226 const char* name() const override { return "LayoutMultiColumnSet"; } 226 const char* name() const override { return "LayoutMultiColumnSet"; }
227 227
228 // Sets |columnRuleBounds| to the bounds of each column rule rect's painted 228 // Sets |columnRuleBounds| to the bounds of each column rule rect's painted
229 // extent, adjusted by paint offset, before pixel snapping. Returns true if 229 // extent, adjusted by paint offset, before pixel snapping. Returns true if
230 // column rules should be painted at all. 230 // column rules should be painted at all.
231 bool computeColumnRuleBounds(const LayoutPoint& paintOffset, 231 bool computeColumnRuleBounds(const LayoutPoint& paintOffset,
232 Vector<LayoutRect>& columnRuleBounds) const; 232 Vector<LayoutRect>& columnRuleBounds) const;
233 233
234 LayoutRect localOverflowRectForPaintInvalidation() const override; 234 LayoutRect localVisualRect() const override;
235 235
236 protected: 236 protected:
237 LayoutMultiColumnSet(LayoutFlowThread*); 237 LayoutMultiColumnSet(LayoutFlowThread*);
238 238
239 private: 239 private:
240 void insertedIntoTree() final; 240 void insertedIntoTree() final;
241 void willBeRemovedFromTree() final; 241 void willBeRemovedFromTree() final;
242 242
243 bool isSelfCollapsingBlock() const override { return false; } 243 bool isSelfCollapsingBlock() const override { return false; }
244 244
(...skipping 23 matching lines...) Expand all
268 LayoutUnit m_oldLogicalTop; 268 LayoutUnit m_oldLogicalTop;
269 269
270 bool m_initialHeightCalculated; 270 bool m_initialHeightCalculated;
271 }; 271 };
272 272
273 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutMultiColumnSet, isLayoutMultiColumnSet()); 273 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutMultiColumnSet, isLayoutMultiColumnSet());
274 274
275 } // namespace blink 275 } // namespace blink
276 276
277 #endif // LayoutMultiColumnSet_h 277 #endif // LayoutMultiColumnSet_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutInline.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698