Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Side by Side Diff: Source/core/rendering/RenderBlock.h

Issue 23757029: Merge 157392 "Avoid collapsing anonymous block children already ..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1599/
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 599
600 virtual const char* renderName() const; 600 virtual const char* renderName() const;
601 601
602 virtual bool isRenderBlock() const OVERRIDE FINAL { return true; } 602 virtual bool isRenderBlock() const OVERRIDE FINAL { return true; }
603 virtual bool isBlockFlow() const OVERRIDE FINAL { return (!isInline() || isR eplaced()) && !isTable(); } 603 virtual bool isBlockFlow() const OVERRIDE FINAL { return (!isInline() || isR eplaced()) && !isTable(); }
604 virtual bool isInlineBlockOrInlineTable() const OVERRIDE FINAL { return isIn line() && isReplaced(); } 604 virtual bool isInlineBlockOrInlineTable() const OVERRIDE FINAL { return isIn line() && isReplaced(); }
605 605
606 void makeChildrenNonInline(RenderObject* insertionPoint = 0); 606 void makeChildrenNonInline(RenderObject* insertionPoint = 0);
607 virtual void removeLeftoverAnonymousBlock(RenderBlock* child); 607 virtual void removeLeftoverAnonymousBlock(RenderBlock* child);
608 608
609 static void collapseAnonymousBoxChild(RenderBlock* parent, RenderObject* chi ld); 609 static void collapseAnonymousBlockChild(RenderBlock* parent, RenderBlock* ch ild);
610 void moveAllChildrenIncludingFloatsTo(RenderBlock* toBlock, bool fullRemoveI nsert); 610 void moveAllChildrenIncludingFloatsTo(RenderBlock* toBlock, bool fullRemoveI nsert);
611 611
612 virtual void dirtyLinesFromChangedChild(RenderObject* child) OVERRIDE FINAL { m_lineBoxes.dirtyLinesFromChangedChild(this, child); } 612 virtual void dirtyLinesFromChangedChild(RenderObject* child) OVERRIDE FINAL { m_lineBoxes.dirtyLinesFromChangedChild(this, child); }
613 613
614 void addChildToContinuation(RenderObject* newChild, RenderObject* beforeChil d); 614 void addChildToContinuation(RenderObject* newChild, RenderObject* beforeChil d);
615 void addChildIgnoringContinuation(RenderObject* newChild, RenderObject* befo reChild); 615 void addChildIgnoringContinuation(RenderObject* newChild, RenderObject* befo reChild);
616 void addChildToAnonymousColumnBlocks(RenderObject* newChild, RenderObject* b eforeChild); 616 void addChildToAnonymousColumnBlocks(RenderObject* newChild, RenderObject* b eforeChild);
617 617
618 void addChildIgnoringAnonymousColumnBlocks(RenderObject* newChild, RenderObj ect* beforeChild = 0); 618 void addChildIgnoringAnonymousColumnBlocks(RenderObject* newChild, RenderObj ect* beforeChild = 0);
619 619
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
1342 static String string(const int value); 1342 static String string(const int value);
1343 }; 1343 };
1344 template<> struct ValueToString<RenderBlock::FloatingObject*> { 1344 template<> struct ValueToString<RenderBlock::FloatingObject*> {
1345 static String string(const RenderBlock::FloatingObject*); 1345 static String string(const RenderBlock::FloatingObject*);
1346 }; 1346 };
1347 #endif 1347 #endif
1348 1348
1349 } // namespace WebCore 1349 } // namespace WebCore
1350 1350
1351 #endif // RenderBlock_h 1351 #endif // RenderBlock_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698