| 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 bool containsFloat(LayoutBox*) const; | 152 bool containsFloat(LayoutBox*) const; |
| 153 | 153 |
| 154 void removeFloatingObjects(); | 154 void removeFloatingObjects(); |
| 155 | 155 |
| 156 void addChild(LayoutObject* newChild, LayoutObject* beforeChild = nullptr) o
verride; | 156 void addChild(LayoutObject* newChild, LayoutObject* beforeChild = nullptr) o
verride; |
| 157 void removeChild(LayoutObject*) override; | 157 void removeChild(LayoutObject*) override; |
| 158 | 158 |
| 159 void moveAllChildrenIncludingFloatsTo(LayoutBlock* toBlock, bool fullRemoveI
nsert); | 159 void moveAllChildrenIncludingFloatsTo(LayoutBlock* toBlock, bool fullRemoveI
nsert); |
| 160 | 160 |
| 161 void childBecameFloatingOrOutOfFlow(LayoutBox* child); | 161 void childBecameFloatingOrOutOfFlow(LayoutBox* child); |
| 162 void collapseAnonymousBlockChild(LayoutBlockFlow* child); |
| 162 | 163 |
| 163 bool generatesLineBoxesForInlineChild(LayoutObject*); | 164 bool generatesLineBoxesForInlineChild(LayoutObject*); |
| 164 | 165 |
| 165 LayoutUnit logicalTopForFloat(const FloatingObject& floatingObject) const {
return isHorizontalWritingMode() ? floatingObject.y() : floatingObject.x(); } | 166 LayoutUnit logicalTopForFloat(const FloatingObject& floatingObject) const {
return isHorizontalWritingMode() ? floatingObject.y() : floatingObject.x(); } |
| 166 LayoutUnit logicalBottomForFloat(const FloatingObject& floatingObject) const
{ return isHorizontalWritingMode() ? floatingObject.maxY() : floatingObject.max
X(); } | 167 LayoutUnit logicalBottomForFloat(const FloatingObject& floatingObject) const
{ return isHorizontalWritingMode() ? floatingObject.maxY() : floatingObject.max
X(); } |
| 167 LayoutUnit logicalLeftForFloat(const FloatingObject& floatingObject) const {
return isHorizontalWritingMode() ? floatingObject.x() : floatingObject.y(); } | 168 LayoutUnit logicalLeftForFloat(const FloatingObject& floatingObject) const {
return isHorizontalWritingMode() ? floatingObject.x() : floatingObject.y(); } |
| 168 LayoutUnit logicalRightForFloat(const FloatingObject& floatingObject) const
{ return isHorizontalWritingMode() ? floatingObject.maxX() : floatingObject.maxY
(); } | 169 LayoutUnit logicalRightForFloat(const FloatingObject& floatingObject) const
{ return isHorizontalWritingMode() ? floatingObject.maxX() : floatingObject.maxY
(); } |
| 169 LayoutUnit logicalWidthForFloat(const FloatingObject& floatingObject) const
{ return isHorizontalWritingMode() ? floatingObject.width() : floatingObject.hei
ght(); } | 170 LayoutUnit logicalWidthForFloat(const FloatingObject& floatingObject) const
{ return isHorizontalWritingMode() ? floatingObject.width() : floatingObject.hei
ght(); } |
| 170 | 171 |
| 171 void setLogicalTopForFloat(FloatingObject& floatingObject, LayoutUnit logica
lTop) | 172 void setLogicalTopForFloat(FloatingObject& floatingObject, LayoutUnit logica
lTop) |
| (...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 649 | 650 |
| 650 // END METHODS DEFINED IN LayoutBlockFlowLine | 651 // END METHODS DEFINED IN LayoutBlockFlowLine |
| 651 | 652 |
| 652 }; | 653 }; |
| 653 | 654 |
| 654 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); | 655 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); |
| 655 | 656 |
| 656 } // namespace blink | 657 } // namespace blink |
| 657 | 658 |
| 658 #endif // LayoutBlockFlow_h | 659 #endif // LayoutBlockFlow_h |
| OLD | NEW |