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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 protected: | 318 protected: |
319 virtual void addOverflowFromChildren(); | 319 virtual void addOverflowFromChildren(); |
320 void addOverflowFromPositionedObjects(); | 320 void addOverflowFromPositionedObjects(); |
321 void addOverflowFromBlockChildren(); | 321 void addOverflowFromBlockChildren(); |
322 void addVisualOverflowFromTheme(); | 322 void addVisualOverflowFromTheme(); |
323 | 323 |
324 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition
alOffset, const RenderLayerModelObject* paintContainer = 0) const OVERRIDE; | 324 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition
alOffset, const RenderLayerModelObject* paintContainer = 0) const OVERRIDE; |
325 | 325 |
326 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; | 326 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; |
327 | 327 |
328 void computeRegionRangeForBlock(RenderFlowThread*); | |
329 | |
330 void updateBlockChildDirtyBitsBeforeLayout(bool relayoutChildren, RenderBox*
); | 328 void updateBlockChildDirtyBitsBeforeLayout(bool relayoutChildren, RenderBox*
); |
331 | 329 |
332 virtual bool isInlineBlockOrInlineTable() const OVERRIDE FINAL { return isIn
line() && isReplaced(); } | 330 virtual bool isInlineBlockOrInlineTable() const OVERRIDE FINAL { return isIn
line() && isReplaced(); } |
333 | 331 |
334 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) OVERRIDE; | 332 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) OVERRIDE; |
335 | 333 |
336 private: | 334 private: |
337 virtual RenderObjectChildList* virtualChildren() OVERRIDE FINAL { return chi
ldren(); } | 335 virtual RenderObjectChildList* virtualChildren() OVERRIDE FINAL { return chi
ldren(); } |
338 virtual const RenderObjectChildList* virtualChildren() const OVERRIDE FINAL
{ return children(); } | 336 virtual const RenderObjectChildList* virtualChildren() const OVERRIDE FINAL
{ return children(); } |
339 | 337 |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 // FIXME: This is temporary as we move code that accesses block flow | 505 // FIXME: This is temporary as we move code that accesses block flow |
508 // member variables out of RenderBlock and into RenderBlockFlow. | 506 // member variables out of RenderBlock and into RenderBlockFlow. |
509 friend class RenderBlockFlow; | 507 friend class RenderBlockFlow; |
510 }; | 508 }; |
511 | 509 |
512 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); | 510 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); |
513 | 511 |
514 } // namespace blink | 512 } // namespace blink |
515 | 513 |
516 #endif // RenderBlock_h | 514 #endif // RenderBlock_h |
OLD | NEW |