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 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 static void collapseAnonymousBlockChild(RenderBlock* parent, RenderBlock* ch
ild); | 357 static void collapseAnonymousBlockChild(RenderBlock* parent, RenderBlock* ch
ild); |
358 | 358 |
359 virtual void dirtyLinesFromChangedChild(RenderObject* child) OVERRIDE FINAL
{ m_lineBoxes.dirtyLinesFromChangedChild(this, child); } | 359 virtual void dirtyLinesFromChangedChild(RenderObject* child) OVERRIDE FINAL
{ m_lineBoxes.dirtyLinesFromChangedChild(this, child); } |
360 | 360 |
361 void addChildToContinuation(RenderObject* newChild, RenderObject* beforeChil
d); | 361 void addChildToContinuation(RenderObject* newChild, RenderObject* beforeChil
d); |
362 virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObje
ct* beforeChild) OVERRIDE; | 362 virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObje
ct* beforeChild) OVERRIDE; |
363 void addChildToAnonymousColumnBlocks(RenderObject* newChild, RenderObject* b
eforeChild); | 363 void addChildToAnonymousColumnBlocks(RenderObject* newChild, RenderObject* b
eforeChild); |
364 | 364 |
365 void addChildIgnoringAnonymousColumnBlocks(RenderObject* newChild, RenderObj
ect* beforeChild = 0); | 365 void addChildIgnoringAnonymousColumnBlocks(RenderObject* newChild, RenderObj
ect* beforeChild = 0); |
366 | 366 |
| 367 void removeAnonymousWrappersIfRequired(); |
| 368 bool canRemoveAnonymousWrappers(); |
| 369 |
367 virtual bool isSelfCollapsingBlock() const OVERRIDE; | 370 virtual bool isSelfCollapsingBlock() const OVERRIDE; |
368 | 371 |
369 void insertIntoTrackedRendererMaps(RenderBox* descendant, TrackedDescendants
Map*&, TrackedContainerMap*&); | 372 void insertIntoTrackedRendererMaps(RenderBox* descendant, TrackedDescendants
Map*&, TrackedContainerMap*&); |
370 static void removeFromTrackedRendererMaps(RenderBox* descendant, TrackedDesc
endantsMap*&, TrackedContainerMap*&); | 373 static void removeFromTrackedRendererMaps(RenderBox* descendant, TrackedDesc
endantsMap*&, TrackedContainerMap*&); |
371 | 374 |
372 void createFirstLetterRenderer(RenderObject* firstLetterBlock, RenderObject*
currentChild, unsigned length); | 375 void createFirstLetterRenderer(RenderObject* firstLetterBlock, RenderObject*
currentChild, unsigned length); |
373 void updateFirstLetterStyle(RenderObject* firstLetterBlock, RenderObject* fi
rstLetterContainer); | 376 void updateFirstLetterStyle(RenderObject* firstLetterBlock, RenderObject* fi
rstLetterContainer); |
374 | 377 |
375 Node* nodeForHitTest() const; | 378 Node* nodeForHitTest() const; |
376 | 379 |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
544 // FIXME: This is temporary as we move code that accesses block flow | 547 // FIXME: This is temporary as we move code that accesses block flow |
545 // member variables out of RenderBlock and into RenderBlockFlow. | 548 // member variables out of RenderBlock and into RenderBlockFlow. |
546 friend class RenderBlockFlow; | 549 friend class RenderBlockFlow; |
547 }; | 550 }; |
548 | 551 |
549 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); | 552 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); |
550 | 553 |
551 } // namespace WebCore | 554 } // namespace WebCore |
552 | 555 |
553 #endif // RenderBlock_h | 556 #endif // RenderBlock_h |
OLD | NEW |