| 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, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r
ights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 474 protected: | 474 protected: |
| 475 RenderObjectChildList m_children; | 475 RenderObjectChildList m_children; |
| 476 RenderLineBoxList m_lineBoxes; // All of the root line boxes created for t
his block flow. For example, <div>Hello<br>world.</div> will have two total lin
es for the <div>. | 476 RenderLineBoxList m_lineBoxes; // All of the root line boxes created for t
his block flow. For example, <div>Hello<br>world.</div> will have two total lin
es for the <div>. |
| 477 | 477 |
| 478 LayoutUnit m_pageLogicalOffset; | 478 LayoutUnit m_pageLogicalOffset; |
| 479 | 479 |
| 480 unsigned m_hasMarginBeforeQuirk : 1; // Note these quirk values can't be put
in RenderBlockRareData since they are set too frequently. | 480 unsigned m_hasMarginBeforeQuirk : 1; // Note these quirk values can't be put
in RenderBlockRareData since they are set too frequently. |
| 481 unsigned m_hasMarginAfterQuirk : 1; | 481 unsigned m_hasMarginAfterQuirk : 1; |
| 482 unsigned m_beingDestroyed : 1; | 482 unsigned m_beingDestroyed : 1; |
| 483 unsigned m_hasMarkupTruncation : 1; | 483 unsigned m_hasMarkupTruncation : 1; |
| 484 unsigned m_hasBorderOrPaddingLogicalWidthChanged : 1; | 484 unsigned m_widthAvailableToChildrenChanged : 1; |
| 485 mutable unsigned m_hasOnlySelfCollapsingChildren : 1; | 485 mutable unsigned m_hasOnlySelfCollapsingChildren : 1; |
| 486 mutable unsigned m_descendantsWithFloatsMarkedForLayout : 1; | 486 mutable unsigned m_descendantsWithFloatsMarkedForLayout : 1; |
| 487 | 487 |
| 488 // RenderRubyBase objects need to be able to split and merge, moving their c
hildren around | 488 // RenderRubyBase objects need to be able to split and merge, moving their c
hildren around |
| 489 // (calling moveChildTo, moveAllChildrenTo, and makeChildrenNonInline). | 489 // (calling moveChildTo, moveAllChildrenTo, and makeChildrenNonInline). |
| 490 friend class RenderRubyBase; | 490 friend class RenderRubyBase; |
| 491 // FIXME-BLOCKFLOW: Remove this when the line layout stuff has all moved out
of RenderBlock | 491 // FIXME-BLOCKFLOW: Remove this when the line layout stuff has all moved out
of RenderBlock |
| 492 friend class LineBreaker; | 492 friend class LineBreaker; |
| 493 | 493 |
| 494 // FIXME: This is temporary as we move code that accesses block flow | 494 // FIXME: This is temporary as we move code that accesses block flow |
| 495 // member variables out of RenderBlock and into RenderBlockFlow. | 495 // member variables out of RenderBlock and into RenderBlockFlow. |
| 496 friend class RenderBlockFlow; | 496 friend class RenderBlockFlow; |
| 497 }; | 497 }; |
| 498 | 498 |
| 499 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); | 499 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); |
| 500 | 500 |
| 501 } // namespace blink | 501 } // namespace blink |
| 502 | 502 |
| 503 #endif // RenderBlock_h | 503 #endif // RenderBlock_h |
| OLD | NEW |