| 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 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 569 BidiRun* handleTrailingSpaces(BidiRunList<BidiRun>&, BidiContext*); | 569 BidiRun* handleTrailingSpaces(BidiRunList<BidiRun>&, BidiContext*); |
| 570 | 570 |
| 571 void insertIntoTrackedRendererMaps(RenderBox* descendant, TrackedDescendants
Map*&, TrackedContainerMap*&); | 571 void insertIntoTrackedRendererMaps(RenderBox* descendant, TrackedDescendants
Map*&, TrackedContainerMap*&); |
| 572 static void removeFromTrackedRendererMaps(RenderBox* descendant, TrackedDesc
endantsMap*&, TrackedContainerMap*&); | 572 static void removeFromTrackedRendererMaps(RenderBox* descendant, TrackedDesc
endantsMap*&, TrackedContainerMap*&); |
| 573 | 573 |
| 574 virtual RootInlineBox* createRootInlineBox(); // Subclassed by SVG and Ruby. | 574 virtual RootInlineBox* createRootInlineBox(); // Subclassed by SVG and Ruby. |
| 575 | 575 |
| 576 // Called to lay out the legend for a fieldset or the ruby text of a ruby ru
n. | 576 // Called to lay out the legend for a fieldset or the ruby text of a ruby ru
n. |
| 577 virtual RenderObject* layoutSpecialExcludedChild(bool /*relayoutChildren*/,
SubtreeLayoutScope&) { return 0; } | 577 virtual RenderObject* layoutSpecialExcludedChild(bool /*relayoutChildren*/,
SubtreeLayoutScope&) { return 0; } |
| 578 | 578 |
| 579 void createFirstLetterRenderer(RenderObject* firstLetterBlock, RenderObject*
currentChild); | 579 void createFirstLetterRenderer(RenderObject* firstLetterBlock, RenderObject*
currentChild, unsigned length); |
| 580 void updateFirstLetterStyle(RenderObject* firstLetterBlock, RenderObject* fi
rstLetterContainer); | 580 void updateFirstLetterStyle(RenderObject* firstLetterBlock, RenderObject* fi
rstLetterContainer); |
| 581 | 581 |
| 582 Node* nodeForHitTest() const; | 582 Node* nodeForHitTest() const; |
| 583 | 583 |
| 584 struct FloatWithRect { | 584 struct FloatWithRect { |
| 585 FloatWithRect(RenderBox* f) | 585 FloatWithRect(RenderBox* f) |
| 586 : object(f) | 586 : object(f) |
| 587 , rect(LayoutRect(f->x() - f->marginLeft(), f->y() - f->marginTop(),
f->width() + f->marginWidth(), f->height() + f->marginHeight())) | 587 , rect(LayoutRect(f->x() - f->marginLeft(), f->y() - f->marginTop(),
f->width() + f->marginWidth(), f->height() + f->marginHeight())) |
| 588 , everHadLayout(f->everHadLayout()) | 588 , everHadLayout(f->everHadLayout()) |
| 589 { | 589 { |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 885 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isRenderBlock()); | 885 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isRenderBlock()); |
| 886 return static_cast<const RenderBlock*>(object); | 886 return static_cast<const RenderBlock*>(object); |
| 887 } | 887 } |
| 888 | 888 |
| 889 // This will catch anyone doing an unnecessary cast. | 889 // This will catch anyone doing an unnecessary cast. |
| 890 void toRenderBlock(const RenderBlock*); | 890 void toRenderBlock(const RenderBlock*); |
| 891 | 891 |
| 892 } // namespace WebCore | 892 } // namespace WebCore |
| 893 | 893 |
| 894 #endif // RenderBlock_h | 894 #endif // RenderBlock_h |
| OLD | NEW |