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

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

Issue 17327003: Move pushMappingToContainer to RenderBoxModelObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 bool backgroundHasOpaqueTopLayer() const; 605 bool backgroundHasOpaqueTopLayer() const;
606 606
607 void computePositionedLogicalWidth(LogicalExtentComputedValues&, RenderRegio n* = 0, LayoutUnit offsetFromLogicalTopOfFirstPage = 0) const; 607 void computePositionedLogicalWidth(LogicalExtentComputedValues&, RenderRegio n* = 0, LayoutUnit offsetFromLogicalTopOfFirstPage = 0) const;
608 608
609 LayoutUnit computeIntrinsicLogicalWidthUsing(Length logicalWidthLength, Layo utUnit availableLogicalWidth, LayoutUnit borderAndPadding) const; 609 LayoutUnit computeIntrinsicLogicalWidthUsing(Length logicalWidthLength, Layo utUnit availableLogicalWidth, LayoutUnit borderAndPadding) const;
610 LayoutUnit computeIntrinsicLogicalContentHeightUsing(Length logicalHeightLen gth, LayoutUnit intrinsicContentHeight, LayoutUnit borderAndPadding) const; 610 LayoutUnit computeIntrinsicLogicalContentHeightUsing(Length logicalHeightLen gth, LayoutUnit intrinsicContentHeight, LayoutUnit borderAndPadding) const;
611 611
612 virtual bool shouldComputeSizeAsReplaced() const { return isReplaced() && !i sInlineBlockOrInlineTable(); } 612 virtual bool shouldComputeSizeAsReplaced() const { return isReplaced() && !i sInlineBlockOrInlineTable(); }
613 613
614 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed = 0) const OVERRIDE; 614 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed = 0) const OVERRIDE;
615 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj ect*, RenderGeometryMap&) const OVERRIDE;
616 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c onst; 615 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c onst;
617 616
618 void paintRootBoxFillLayers(const PaintInfo&); 617 void paintRootBoxFillLayers(const PaintInfo&);
619 618
620 RenderObject* splitAnonymousBoxesAroundChild(RenderObject* beforeChild); 619 RenderObject* splitAnonymousBoxesAroundChild(RenderObject* beforeChild);
621 620
622 private: 621 private:
623 void updateExclusionShapeOutsideInfoAfterStyleChange(const ExclusionShapeVal ue* shapeOutside, const ExclusionShapeValue* oldShapeOutside); 622 void updateExclusionShapeOutsideInfoAfterStyleChange(const ExclusionShapeVal ue* shapeOutside, const ExclusionShapeValue* oldShapeOutside);
624 623
625 bool includeVerticalScrollbarSize() const; 624 bool includeVerticalScrollbarSize() const;
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 if (UNLIKELY(m_inlineBoxWrapper != 0)) 735 if (UNLIKELY(m_inlineBoxWrapper != 0))
737 deleteLineBoxWrapper(); 736 deleteLineBoxWrapper();
738 } 737 }
739 738
740 m_inlineBoxWrapper = boxWrapper; 739 m_inlineBoxWrapper = boxWrapper;
741 } 740 }
742 741
743 } // namespace WebCore 742 } // namespace WebCore
744 743
745 #endif // RenderBox_h 744 #endif // RenderBox_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/RenderBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698