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

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

Issue 10191012: Merge 113597 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 8 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
« no previous file with comments | « ManualTests/svg-text-float-not-removed-crash.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 void addVisualOverflowFromTheme(); 437 void addVisualOverflowFromTheme();
438 438
439 virtual void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint&); 439 virtual void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint&);
440 440
441 #if ENABLE(SVG) 441 #if ENABLE(SVG)
442 // Only used by RenderSVGText, which explicitely overrides RenderBlock::layo utBlock(), do NOT use for anything else. 442 // Only used by RenderSVGText, which explicitely overrides RenderBlock::layo utBlock(), do NOT use for anything else.
443 void forceLayoutInlineChildren() 443 void forceLayoutInlineChildren()
444 { 444 {
445 LayoutUnit repaintLogicalTop = 0; 445 LayoutUnit repaintLogicalTop = 0;
446 LayoutUnit repaintLogicalBottom = 0; 446 LayoutUnit repaintLogicalBottom = 0;
447 clearFloats(NormalLayoutPass);
447 layoutInlineChildren(true, repaintLogicalTop, repaintLogicalBottom); 448 layoutInlineChildren(true, repaintLogicalTop, repaintLogicalBottom);
448 } 449 }
449 #endif 450 #endif
450 451
451 void computeInitialRegionRangeForBlock(); 452 void computeInitialRegionRangeForBlock();
452 void computeRegionRangeForBlock(); 453 void computeRegionRangeForBlock();
453 private: 454 private:
454 virtual RenderObjectChildList* virtualChildren() { return children(); } 455 virtual RenderObjectChildList* virtualChildren() { return children(); }
455 virtual const RenderObjectChildList* virtualChildren() const { return childr en(); } 456 virtual const RenderObjectChildList* virtualChildren() const { return childr en(); }
456 457
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
1107 static String string(const int value); 1108 static String string(const int value);
1108 }; 1109 };
1109 template<> struct ValueToString<RenderBlock::FloatingObject*> { 1110 template<> struct ValueToString<RenderBlock::FloatingObject*> {
1110 static String string(const RenderBlock::FloatingObject*); 1111 static String string(const RenderBlock::FloatingObject*);
1111 }; 1112 };
1112 #endif 1113 #endif
1113 1114
1114 } // namespace WebCore 1115 } // namespace WebCore
1115 1116
1116 #endif // RenderBlock_h 1117 #endif // RenderBlock_h
OLDNEW
« no previous file with comments | « ManualTests/svg-text-float-not-removed-crash.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698