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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 RenderLayerModelObject* paintContainer) 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 invalidateTreeIfNeeded(const PaintInvalidationState&) override; | 338 virtual void invalidatePaintOfSubtreesIfNeeded(const PaintInvalidationState&
childPaintInvalidationState) override; |
339 | 339 |
340 private: | 340 private: |
341 virtual RenderObjectChildList* virtualChildren() override final { return chi
ldren(); } | 341 virtual RenderObjectChildList* virtualChildren() override final { return chi
ldren(); } |
342 virtual const RenderObjectChildList* virtualChildren() const override final
{ return children(); } | 342 virtual const RenderObjectChildList* virtualChildren() const override final
{ return children(); } |
343 | 343 |
344 virtual const char* renderName() const override; | 344 virtual const char* renderName() const override; |
345 | 345 |
346 virtual bool isRenderBlock() const override final { return true; } | 346 virtual bool isRenderBlock() const override final { return true; } |
347 | 347 |
348 void makeChildrenNonInline(RenderObject* insertionPoint = 0); | 348 void makeChildrenNonInline(RenderObject* insertionPoint = 0); |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 // FIXME: This is temporary as we move code that accesses block flow | 494 // FIXME: This is temporary as we move code that accesses block flow |
495 // member variables out of RenderBlock and into RenderBlockFlow. | 495 // member variables out of RenderBlock and into RenderBlockFlow. |
496 friend class RenderBlockFlow; | 496 friend class RenderBlockFlow; |
497 }; | 497 }; |
498 | 498 |
499 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); | 499 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); |
500 | 500 |
501 } // namespace blink | 501 } // namespace blink |
502 | 502 |
503 #endif // RenderBlock_h | 503 #endif // RenderBlock_h |
OLD | NEW |