OLD | NEW |
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 22 matching lines...) Expand all Loading... |
33 | 33 |
34 LayoutMultiColumnFlowThread::LayoutMultiColumnFlowThread() | 34 LayoutMultiColumnFlowThread::LayoutMultiColumnFlowThread() |
35 : m_lastSetWorkedOn(0) | 35 : m_lastSetWorkedOn(0) |
36 , m_columnCount(1) | 36 , m_columnCount(1) |
37 , m_columnHeightAvailable(0) | 37 , m_columnHeightAvailable(0) |
38 , m_inBalancingPass(false) | 38 , m_inBalancingPass(false) |
39 , m_needsColumnHeightsRecalculation(false) | 39 , m_needsColumnHeightsRecalculation(false) |
40 , m_progressionIsInline(true) | 40 , m_progressionIsInline(true) |
41 , m_isBeingEvacuated(false) | 41 , m_isBeingEvacuated(false) |
42 { | 42 { |
43 setFlowThreadState(InsideInFlowThread); | 43 setIsInsideFlowThread(true); |
44 } | 44 } |
45 | 45 |
46 LayoutMultiColumnFlowThread::~LayoutMultiColumnFlowThread() | 46 LayoutMultiColumnFlowThread::~LayoutMultiColumnFlowThread() |
47 { | 47 { |
48 } | 48 } |
49 | 49 |
50 LayoutMultiColumnFlowThread* LayoutMultiColumnFlowThread::createAnonymous(Docume
nt& document, const ComputedStyle& parentStyle) | 50 LayoutMultiColumnFlowThread* LayoutMultiColumnFlowThread::createAnonymous(Docume
nt& document, const ComputedStyle& parentStyle) |
51 { | 51 { |
52 LayoutMultiColumnFlowThread* layoutObject = new LayoutMultiColumnFlowThread(
); | 52 LayoutMultiColumnFlowThread* layoutObject = new LayoutMultiColumnFlowThread(
); |
53 layoutObject->setDocumentForAnonymous(&document); | 53 layoutObject->setDocumentForAnonymous(&document); |
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
730 } | 730 } |
731 | 731 |
732 bool LayoutMultiColumnFlowThread::isPageLogicalHeightKnown() const | 732 bool LayoutMultiColumnFlowThread::isPageLogicalHeightKnown() const |
733 { | 733 { |
734 if (LayoutMultiColumnSet* columnSet = lastMultiColumnSet()) | 734 if (LayoutMultiColumnSet* columnSet = lastMultiColumnSet()) |
735 return columnSet->pageLogicalHeight(); | 735 return columnSet->pageLogicalHeight(); |
736 return false; | 736 return false; |
737 } | 737 } |
738 | 738 |
739 } | 739 } |
OLD | NEW |