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

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

Issue 10448067: Merge 117482 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1132/
Patch Set: Created 8 years, 6 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
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 886 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 LayoutUnit negativeMargin() const { return m_negativeMargin; } 897 LayoutUnit negativeMargin() const { return m_negativeMargin; }
898 LayoutUnit margin() const { return m_positiveMargin - m_negativeMargin; } 898 LayoutUnit margin() const { return m_positiveMargin - m_negativeMargin; }
899 }; 899 };
900 900
901 void layoutBlockChild(RenderBox* child, MarginInfo&, LayoutUnit& previousFlo atLogicalBottom, LayoutUnit& maxFloatLogicalBottom); 901 void layoutBlockChild(RenderBox* child, MarginInfo&, LayoutUnit& previousFlo atLogicalBottom, LayoutUnit& maxFloatLogicalBottom);
902 void adjustPositionedBlock(RenderBox* child, const MarginInfo&); 902 void adjustPositionedBlock(RenderBox* child, const MarginInfo&);
903 void adjustFloatingBlock(const MarginInfo&); 903 void adjustFloatingBlock(const MarginInfo&);
904 bool handleSpecialChild(RenderBox* child, const MarginInfo&); 904 bool handleSpecialChild(RenderBox* child, const MarginInfo&);
905 bool handleFloatingChild(RenderBox* child, const MarginInfo&); 905 bool handleFloatingChild(RenderBox* child, const MarginInfo&);
906 bool handlePositionedChild(RenderBox* child, const MarginInfo&); 906 bool handlePositionedChild(RenderBox* child, const MarginInfo&);
907 bool handleRunInChild(RenderBox* child); 907
908 RenderBoxModelObject* createReplacementRunIn(RenderBoxModelObject* runIn);
909 void moveRunInUnderSiblingBlockIfNeeded(RenderObject* runIn);
910 void moveRunInToOriginalPosition(RenderObject* runIn);
911
908 LayoutUnit collapseMargins(RenderBox* child, MarginInfo&); 912 LayoutUnit collapseMargins(RenderBox* child, MarginInfo&);
909 LayoutUnit clearFloatsIfNeeded(RenderBox* child, MarginInfo&, LayoutUnit old TopPosMargin, LayoutUnit oldTopNegMargin, LayoutUnit yPos); 913 LayoutUnit clearFloatsIfNeeded(RenderBox* child, MarginInfo&, LayoutUnit old TopPosMargin, LayoutUnit oldTopNegMargin, LayoutUnit yPos);
910 LayoutUnit estimateLogicalTopPosition(RenderBox* child, const MarginInfo&, L ayoutUnit& estimateWithoutPagination); 914 LayoutUnit estimateLogicalTopPosition(RenderBox* child, const MarginInfo&, L ayoutUnit& estimateWithoutPagination);
911 void determineLogicalLeftPositionForChild(RenderBox* child); 915 void determineLogicalLeftPositionForChild(RenderBox* child);
912 void handleAfterSideOfBlock(LayoutUnit top, LayoutUnit bottom, MarginInfo&); 916 void handleAfterSideOfBlock(LayoutUnit top, LayoutUnit bottom, MarginInfo&);
913 void setCollapsedBottomMargin(const MarginInfo&); 917 void setCollapsedBottomMargin(const MarginInfo&);
914 // End helper functions and structs used by layoutBlockChildren. 918 // End helper functions and structs used by layoutBlockChildren.
915 919
916 // Helper function for layoutInlineChildren() 920 // Helper function for layoutInlineChildren()
917 RootInlineBox* createLineBoxesFromBidiRuns(BidiRunList<BidiRun>&, const Inli neIterator& end, LineInfo&, VerticalPositionCache&, BidiRun* trailingSpaceRun); 921 RootInlineBox* createLineBoxesFromBidiRuns(BidiRunList<BidiRun>&, const Inli neIterator& end, LineInfo&, VerticalPositionCache&, BidiRun* trailingSpaceRun);
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
1131 static String string(const int value); 1135 static String string(const int value);
1132 }; 1136 };
1133 template<> struct ValueToString<RenderBlock::FloatingObject*> { 1137 template<> struct ValueToString<RenderBlock::FloatingObject*> {
1134 static String string(const RenderBlock::FloatingObject*); 1138 static String string(const RenderBlock::FloatingObject*);
1135 }; 1139 };
1136 #endif 1140 #endif
1137 1141
1138 } // namespace WebCore 1142 } // namespace WebCore
1139 1143
1140 #endif // RenderBlock_h 1144 #endif // RenderBlock_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/runin/run-in-parent-block-child-add-expected.txt ('k') | Source/WebCore/rendering/RenderBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698