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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 void setDesiredColumnCountAndWidth(int, LayoutUnit); | 320 void setDesiredColumnCountAndWidth(int, LayoutUnit); |
321 | 321 |
322 public: | 322 public: |
323 virtual void computeOverflow(LayoutUnit oldClientAfterEdge, bool = false); | 323 virtual void computeOverflow(LayoutUnit oldClientAfterEdge, bool = false); |
324 protected: | 324 protected: |
325 virtual void addOverflowFromChildren(); | 325 virtual void addOverflowFromChildren(); |
326 void addOverflowFromPositionedObjects(); | 326 void addOverflowFromPositionedObjects(); |
327 void addOverflowFromBlockChildren(); | 327 void addOverflowFromBlockChildren(); |
328 void addVisualOverflowFromTheme(); | 328 void addVisualOverflowFromTheme(); |
329 | 329 |
330 virtual void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& addit
ionalOffset, const RenderLayerModelObject* paintContainer) const override; | 330 virtual void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& addit
ionalOffset) const override; |
331 | 331 |
332 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const override; | 332 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const override; |
333 | 333 |
334 void updateBlockChildDirtyBitsBeforeLayout(bool relayoutChildren, RenderBox*
); | 334 void updateBlockChildDirtyBitsBeforeLayout(bool relayoutChildren, RenderBox*
); |
335 | 335 |
336 virtual bool isInlineBlockOrInlineTable() const override final { return isIn
line() && isReplaced(); } | 336 virtual bool isInlineBlockOrInlineTable() const override final { return isIn
line() && isReplaced(); } |
337 | 337 |
338 virtual void invalidatePaintOfSubtreesIfNeeded(const PaintInvalidationState&
childPaintInvalidationState) override; | 338 virtual void invalidatePaintOfSubtreesIfNeeded(const PaintInvalidationState&
childPaintInvalidationState) override; |
339 | 339 |
340 private: | 340 private: |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 // FIXME: This is temporary as we move code that accesses block flow | 495 // FIXME: This is temporary as we move code that accesses block flow |
496 // member variables out of RenderBlock and into RenderBlockFlow. | 496 // member variables out of RenderBlock and into RenderBlockFlow. |
497 friend class RenderBlockFlow; | 497 friend class RenderBlockFlow; |
498 }; | 498 }; |
499 | 499 |
500 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); | 500 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); |
501 | 501 |
502 } // namespace blink | 502 } // namespace blink |
503 | 503 |
504 #endif // RenderBlock_h | 504 #endif // RenderBlock_h |
OLD | NEW |