OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2007 David Smith (catfish.man@gmail.com) | 4 * (C) 2007 David Smith (catfish.man@gmail.com) |
5 * Copyright (C) 2003-2013 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003-2013 Apple Inc. All rights reserved. |
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
7 * Copyright (C) 2013 Google Inc. All rights reserved. | 7 * Copyright (C) 2013 Google Inc. All rights reserved. |
8 * | 8 * |
9 * Redistribution and use in source and binary forms, with or without | 9 * Redistribution and use in source and binary forms, with or without |
10 * modification, are permitted provided that the following conditions are | 10 * modification, are permitted provided that the following conditions are |
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
583 void makeChildrenNonInline(LayoutObject* insertionPoint = nullptr); | 583 void makeChildrenNonInline(LayoutObject* insertionPoint = nullptr); |
584 void childBecameNonInline(LayoutObject* child) final; | 584 void childBecameNonInline(LayoutObject* child) final; |
585 | 585 |
586 void updateLogicalWidthForAlignment(const ETextAlign&, | 586 void updateLogicalWidthForAlignment(const ETextAlign&, |
587 const RootInlineBox*, | 587 const RootInlineBox*, |
588 BidiRun* trailingSpaceRun, | 588 BidiRun* trailingSpaceRun, |
589 LayoutUnit& logicalLeft, | 589 LayoutUnit& logicalLeft, |
590 LayoutUnit& totalLogicalWidth, | 590 LayoutUnit& totalLogicalWidth, |
591 LayoutUnit& availableLogicalWidth, | 591 LayoutUnit& availableLogicalWidth, |
592 unsigned expansionOpportunityCount); | 592 unsigned expansionOpportunityCount); |
593 void checkForPaginationLogicalHeightChange( | 593 void checkForPaginationLogicalHeightChange(LayoutUnit& pageLogicalHeight); |
594 LayoutUnit& pageLogicalHeight, | |
595 bool& pageLogicalHeightChanged, | |
596 bool& hasSpecifiedPageLogicalHeight); | |
597 | 594 |
598 bool shouldBreakAtLineToAvoidWidow() const { | 595 bool shouldBreakAtLineToAvoidWidow() const { |
599 return m_rareData && m_rareData->m_lineBreakToAvoidWidow >= 0; | 596 return m_rareData && m_rareData->m_lineBreakToAvoidWidow >= 0; |
600 } | 597 } |
601 void clearShouldBreakAtLineToAvoidWidow() const; | 598 void clearShouldBreakAtLineToAvoidWidow() const; |
602 int lineBreakToAvoidWidow() const { | 599 int lineBreakToAvoidWidow() const { |
603 return m_rareData ? m_rareData->m_lineBreakToAvoidWidow : -1; | 600 return m_rareData ? m_rareData->m_lineBreakToAvoidWidow : -1; |
604 } | 601 } |
605 void setBreakAtLineToAvoidWidow(int); | 602 void setBreakAtLineToAvoidWidow(int); |
606 void clearDidBreakAtLineToAvoidWidow(); | 603 void clearDidBreakAtLineToAvoidWidow(); |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
944 void positionDialog(); | 941 void positionDialog(); |
945 | 942 |
946 // END METHODS DEFINED IN LayoutBlockFlowLine | 943 // END METHODS DEFINED IN LayoutBlockFlowLine |
947 }; | 944 }; |
948 | 945 |
949 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); | 946 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); |
950 | 947 |
951 } // namespace blink | 948 } // namespace blink |
952 | 949 |
953 #endif // LayoutBlockFlow_h | 950 #endif // LayoutBlockFlow_h |
OLD | NEW |