| 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 | 221 |
| 222 bool recalcChildOverflowAfterStyleChange(); | 222 bool recalcChildOverflowAfterStyleChange(); |
| 223 bool recalcOverflowAfterStyleChange(); | 223 bool recalcOverflowAfterStyleChange(); |
| 224 | 224 |
| 225 protected: | 225 protected: |
| 226 virtual void willBeDestroyed() override; | 226 virtual void willBeDestroyed() override; |
| 227 | 227 |
| 228 void dirtyForLayoutFromPercentageHeightDescendants(SubtreeLayoutScope&); | 228 void dirtyForLayoutFromPercentageHeightDescendants(SubtreeLayoutScope&); |
| 229 | 229 |
| 230 virtual void layout() override; | 230 virtual void layout() override; |
| 231 virtual bool updateImageLoadingPriorities() override final; | |
| 232 | 231 |
| 233 enum PositionedLayoutBehavior { | 232 enum PositionedLayoutBehavior { |
| 234 DefaultLayout, | 233 DefaultLayout, |
| 235 ForcedLayoutAfterContainingBlockMoved | 234 ForcedLayoutAfterContainingBlockMoved |
| 236 }; | 235 }; |
| 237 | 236 |
| 238 void layoutPositionedObjects(bool relayoutChildren, PositionedLayoutBehavior
= DefaultLayout); | 237 void layoutPositionedObjects(bool relayoutChildren, PositionedLayoutBehavior
= DefaultLayout); |
| 239 | 238 |
| 240 LayoutUnit marginIntrinsicLogicalWidthForChild(RenderBox* child) const; | 239 LayoutUnit marginIntrinsicLogicalWidthForChild(RenderBox* child) const; |
| 241 | 240 |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 // FIXME: This is temporary as we move code that accesses block flow | 398 // FIXME: This is temporary as we move code that accesses block flow |
| 400 // member variables out of RenderBlock and into RenderBlockFlow. | 399 // member variables out of RenderBlock and into RenderBlockFlow. |
| 401 friend class RenderBlockFlow; | 400 friend class RenderBlockFlow; |
| 402 }; | 401 }; |
| 403 | 402 |
| 404 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); | 403 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); |
| 405 | 404 |
| 406 } // namespace blink | 405 } // namespace blink |
| 407 | 406 |
| 408 #endif // RenderBlock_h | 407 #endif // RenderBlock_h |
| OLD | NEW |