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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 DefaultLayout, | 203 DefaultLayout, |
204 ForcedLayoutAfterContainingBlockMoved | 204 ForcedLayoutAfterContainingBlockMoved |
205 }; | 205 }; |
206 | 206 |
207 void layoutPositionedObjects(bool relayoutChildren, PositionedLayoutBehavior
= DefaultLayout); | 207 void layoutPositionedObjects(bool relayoutChildren, PositionedLayoutBehavior
= DefaultLayout); |
208 | 208 |
209 LayoutUnit marginIntrinsicLogicalWidthForChild(RenderBox* child) const; | 209 LayoutUnit marginIntrinsicLogicalWidthForChild(RenderBox* child) const; |
210 | 210 |
211 int beforeMarginInLineDirection(LineDirectionMode) const; | 211 int beforeMarginInLineDirection(LineDirectionMode) const; |
212 | 212 |
213 virtual void paint(PaintInfo&, const LayoutPoint&) override; | 213 virtual void paint(PaintInfo&, const LayoutPoint&, Vector<RenderBox*>& layer
s) override; |
214 virtual void paintObject(PaintInfo&, const LayoutPoint&) override; | 214 void paintObject(PaintInfo&, const LayoutPoint&, Vector<RenderBox*>& layers)
; |
215 virtual void paintChildren(PaintInfo&, const LayoutPoint&); | 215 virtual void paintChildren(PaintInfo&, const LayoutPoint&, Vector<RenderBox*
>& layers); |
216 | 216 |
217 virtual void adjustInlineDirectionLineBounds(unsigned /* expansionOpportunit
yCount */, float& /* logicalLeft */, float& /* logicalWidth */) const { } | 217 virtual void adjustInlineDirectionLineBounds(unsigned /* expansionOpportunit
yCount */, float& /* logicalLeft */, float& /* logicalWidth */) const { } |
218 | 218 |
219 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Layo
utUnit& maxLogicalWidth) const override; | 219 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Layo
utUnit& maxLogicalWidth) const override; |
220 virtual void computePreferredLogicalWidths() override; | 220 virtual void computePreferredLogicalWidths() override; |
221 | 221 |
222 virtual int firstLineBoxBaseline() const override; | 222 virtual int firstLineBoxBaseline() const override; |
223 virtual int inlineBlockBaseline(LineDirectionMode) const override; | 223 virtual int inlineBlockBaseline(LineDirectionMode) const override; |
224 virtual int lastLineBoxBaseline(LineDirectionMode) const; | 224 virtual int lastLineBoxBaseline(LineDirectionMode) const; |
225 | 225 |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 // member variables out of RenderBlock and into RenderBlockFlow. | 316 // member variables out of RenderBlock and into RenderBlockFlow. |
317 friend class RenderBlockFlow; | 317 friend class RenderBlockFlow; |
318 friend class RenderParagraph; | 318 friend class RenderParagraph; |
319 }; | 319 }; |
320 | 320 |
321 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); | 321 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); |
322 | 322 |
323 } // namespace blink | 323 } // namespace blink |
324 | 324 |
325 #endif // SKY_ENGINE_CORE_RENDERING_RENDERBLOCK_H_ | 325 #endif // SKY_ENGINE_CORE_RENDERING_RENDERBLOCK_H_ |
OLD | NEW |