| 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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 void checkPositionedObjectsNeedLayout(); | 260 void checkPositionedObjectsNeedLayout(); |
| 261 void showLineTreeAndMark(const InlineBox* = 0, const char* = 0, const Inline
Box* = 0, const char* = 0, const RenderObject* = 0) const; | 261 void showLineTreeAndMark(const InlineBox* = 0, const char* = 0, const Inline
Box* = 0, const char* = 0, const RenderObject* = 0) const; |
| 262 #endif | 262 #endif |
| 263 | 263 |
| 264 LayoutSize logicalOffsetFromShapeAncestorContainer(const RenderBlock* contai
ner) const; | 264 LayoutSize logicalOffsetFromShapeAncestorContainer(const RenderBlock* contai
ner) const; |
| 265 | 265 |
| 266 // inline-block elements paint all phases atomically. This function ensures
that. Certain other elements | 266 // inline-block elements paint all phases atomically. This function ensures
that. Certain other elements |
| 267 // (grid items, flex items) require this behavior as well, and this function
exists as a helper for them. | 267 // (grid items, flex items) require this behavior as well, and this function
exists as a helper for them. |
| 268 // It is expected that the caller will call this function independent of the
value of paintInfo.phase. | 268 // It is expected that the caller will call this function independent of the
value of paintInfo.phase. |
| 269 static void paintAsInlineBlock(RenderObject*, PaintInfo&, const LayoutPoint&
); | 269 static void paintAsInlineBlock(RenderObject*, PaintInfo&, const LayoutPoint&
); |
| 270 |
| 271 bool recalcChildOverflowAfterStyleChange(); |
| 272 bool recalcOverflowAfterStyleChange(); |
| 273 |
| 270 protected: | 274 protected: |
| 271 virtual void willBeDestroyed() OVERRIDE; | 275 virtual void willBeDestroyed() OVERRIDE; |
| 272 | 276 |
| 273 void dirtyForLayoutFromPercentageHeightDescendants(SubtreeLayoutScope&); | 277 void dirtyForLayoutFromPercentageHeightDescendants(SubtreeLayoutScope&); |
| 274 | 278 |
| 275 virtual void layout() OVERRIDE; | 279 virtual void layout() OVERRIDE; |
| 276 virtual bool updateImageLoadingPriorities() OVERRIDE FINAL; | 280 virtual bool updateImageLoadingPriorities() OVERRIDE FINAL; |
| 277 | 281 |
| 278 enum PositionedLayoutBehavior { | 282 enum PositionedLayoutBehavior { |
| 279 DefaultLayout, | 283 DefaultLayout, |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 548 // FIXME: This is temporary as we move code that accesses block flow | 552 // FIXME: This is temporary as we move code that accesses block flow |
| 549 // member variables out of RenderBlock and into RenderBlockFlow. | 553 // member variables out of RenderBlock and into RenderBlockFlow. |
| 550 friend class RenderBlockFlow; | 554 friend class RenderBlockFlow; |
| 551 }; | 555 }; |
| 552 | 556 |
| 553 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); | 557 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); |
| 554 | 558 |
| 555 } // namespace WebCore | 559 } // namespace WebCore |
| 556 | 560 |
| 557 #endif // RenderBlock_h | 561 #endif // RenderBlock_h |
| OLD | NEW |