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

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

Issue 148823002: *** DO NOT LAND *** Measure the size and complexity of the old multicol implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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 | « Source/core/rendering/RenderBlockFlow.cpp ('k') | Source/core/rendering/RenderBox.cpp » ('j') | 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 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 539
540 virtual LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositio nMode = PositionOnContainingLine) const OVERRIDE; 540 virtual LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositio nMode = PositionOnContainingLine) const OVERRIDE;
541 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode , LinePositionMode = PositionOnContainingLine) const OVERRIDE; 541 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode , LinePositionMode = PositionOnContainingLine) const OVERRIDE;
542 542
543 virtual LayoutUnit offsetLeft() const OVERRIDE; 543 virtual LayoutUnit offsetLeft() const OVERRIDE;
544 virtual LayoutUnit offsetTop() const OVERRIDE; 544 virtual LayoutUnit offsetTop() const OVERRIDE;
545 545
546 LayoutPoint flipForWritingModeForChild(const RenderBox* child, const LayoutP oint&) const; 546 LayoutPoint flipForWritingModeForChild(const RenderBox* child, const LayoutP oint&) const;
547 LayoutUnit flipForWritingMode(LayoutUnit position) const; // The offset is i n the block direction (y for horizontal writing modes, x for vertical writing mo des). 547 LayoutUnit flipForWritingMode(LayoutUnit position) const; // The offset is i n the block direction (y for horizontal writing modes, x for vertical writing mo des).
548 LayoutPoint flipForWritingMode(const LayoutPoint&) const; 548 LayoutPoint flipForWritingMode(const LayoutPoint&) const;
549 LayoutPoint flipForWritingModeIncludingColumns(const LayoutPoint&) const;
550 LayoutSize flipForWritingMode(const LayoutSize&) const; 549 LayoutSize flipForWritingMode(const LayoutSize&) const;
551 void flipForWritingMode(LayoutRect&) const; 550 void flipForWritingMode(LayoutRect&) const;
552 FloatPoint flipForWritingMode(const FloatPoint&) const; 551 FloatPoint flipForWritingMode(const FloatPoint&) const;
553 void flipForWritingMode(FloatRect&) const; 552 void flipForWritingMode(FloatRect&) const;
554 // These represent your location relative to your container as a physical of fset. 553 // These represent your location relative to your container as a physical of fset.
555 // In layout related methods you almost always want the logical location (e. g. x() and y()). 554 // In layout related methods you almost always want the logical location (e. g. x() and y()).
556 LayoutPoint topLeftLocation() const; 555 LayoutPoint topLeftLocation() const;
557 LayoutSize topLeftLocationOffset() const; 556 LayoutSize topLeftLocationOffset() const;
558 557
559 LayoutRect logicalVisualOverflowRectForPropagation(RenderStyle*) const; 558 LayoutRect logicalVisualOverflowRectForPropagation(RenderStyle*) const;
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
757 if (UNLIKELY(m_inlineBoxWrapper != 0)) 756 if (UNLIKELY(m_inlineBoxWrapper != 0))
758 deleteLineBoxWrapper(); 757 deleteLineBoxWrapper();
759 } 758 }
760 759
761 m_inlineBoxWrapper = boxWrapper; 760 m_inlineBoxWrapper = boxWrapper;
762 } 761 }
763 762
764 } // namespace WebCore 763 } // namespace WebCore
765 764
766 #endif // RenderBox_h 765 #endif // RenderBox_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderBlockFlow.cpp ('k') | Source/core/rendering/RenderBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698