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

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

Issue 2562273003: Disable layout optimization when column height may be non-uniform. (Closed)
Patch Set: Created 4 years 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 209
210 LayoutUnit tallestUnbreakableLogicalHeight( 210 LayoutUnit tallestUnbreakableLogicalHeight(
211 LayoutUnit offsetInFlowThread) const; 211 LayoutUnit offsetInFlowThread) const;
212 212
213 LayoutSize columnOffset(const LayoutPoint&) const final; 213 LayoutSize columnOffset(const LayoutPoint&) const final;
214 214
215 // Do we need to set a new width and lay out? 215 // Do we need to set a new width and lay out?
216 virtual bool needsNewWidth() const; 216 virtual bool needsNewWidth() const;
217 217
218 bool isPageLogicalHeightKnown() const final; 218 bool isPageLogicalHeightKnown() const final;
219 bool mayHaveNonUniformPageLogicalHeight() const final;
219 220
220 LayoutSize flowThreadTranslationAtOffset(LayoutUnit, 221 LayoutSize flowThreadTranslationAtOffset(LayoutUnit,
221 PageBoundaryRule, 222 PageBoundaryRule,
222 CoordinateSpaceConversion) const; 223 CoordinateSpaceConversion) const;
223 LayoutSize flowThreadTranslationAtPoint(const LayoutPoint& flowThreadPoint, 224 LayoutSize flowThreadTranslationAtPoint(const LayoutPoint& flowThreadPoint,
224 CoordinateSpaceConversion) const; 225 CoordinateSpaceConversion) const;
225 226
226 LayoutPoint flowThreadPointToVisualPoint( 227 LayoutPoint flowThreadPointToVisualPoint(
227 const LayoutPoint& flowThreadPoint) const override; 228 const LayoutPoint& flowThreadPoint) const override;
228 LayoutPoint visualPointToFlowThreadPoint( 229 LayoutPoint visualPointToFlowThreadPoint(
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 // LayoutObject. 369 // LayoutObject.
369 DEFINE_TYPE_CASTS(LayoutMultiColumnFlowThread, 370 DEFINE_TYPE_CASTS(LayoutMultiColumnFlowThread,
370 LayoutFlowThread, 371 LayoutFlowThread,
371 object, 372 object,
372 object->isLayoutMultiColumnFlowThread(), 373 object->isLayoutMultiColumnFlowThread(),
373 object.isLayoutMultiColumnFlowThread()); 374 object.isLayoutMultiColumnFlowThread());
374 375
375 } // namespace blink 376 } // namespace blink
376 377
377 #endif // LayoutMultiColumnFlowThread_h 378 #endif // LayoutMultiColumnFlowThread_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698