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

Side by Side Diff: Source/core/layout/LayoutReplaced.h

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/layout/LayoutQuote.cpp ('k') | Source/core/layout/LayoutReplaced.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 * Copyright (C) 2004, 2005, 2006, 2007, 2009 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2009 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 virtual void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, doub le& intrinsicRatio) const override; 63 virtual void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, doub le& intrinsicRatio) const override;
64 64
65 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Layo utUnit& maxLogicalWidth) const override final; 65 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Layo utUnit& maxLogicalWidth) const override final;
66 66
67 virtual LayoutUnit intrinsicContentLogicalHeight() const { return intrinsicL ogicalHeight(); } 67 virtual LayoutUnit intrinsicContentLogicalHeight() const { return intrinsicL ogicalHeight(); }
68 68
69 virtual LayoutUnit minimumReplacedHeight() const { return LayoutUnit(); } 69 virtual LayoutUnit minimumReplacedHeight() const { return LayoutUnit(); }
70 70
71 virtual void setSelectionState(SelectionState) override final; 71 virtual void setSelectionState(SelectionState) override final;
72 72
73 virtual void styleDidChange(StyleDifference, const LayoutStyle* oldStyle) ov erride; 73 virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;
74 74
75 void setIntrinsicSize(const LayoutSize& intrinsicSize) { m_intrinsicSize = i ntrinsicSize; } 75 void setIntrinsicSize(const LayoutSize& intrinsicSize) { m_intrinsicSize = i ntrinsicSize; }
76 virtual void intrinsicSizeChanged(); 76 virtual void intrinsicSizeChanged();
77 77
78 virtual LayoutBox* embeddedContentBox() const { return 0; } 78 virtual LayoutBox* embeddedContentBox() const { return 0; }
79 79
80 private: 80 private:
81 virtual void computePreferredLogicalWidths() override final; 81 virtual void computePreferredLogicalWidths() override final;
82 82
83 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxMo delObject* paintInvalidationContainer, const PaintInvalidationState* = 0) const override; 83 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxMo delObject* paintInvalidationContainer, const PaintInvalidationState* = 0) const override;
84 84
85 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) override f inal; 85 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) override f inal;
86 86
87 virtual bool canBeSelectionLeaf() const override { return true; } 87 virtual bool canBeSelectionLeaf() const override { return true; }
88 88
89 virtual LayoutRect selectionRectForPaintInvalidation(const LayoutBoxModelObj ect* paintInvalidationContainer) const override final; 89 virtual LayoutRect selectionRectForPaintInvalidation(const LayoutBoxModelObj ect* paintInvalidationContainer) const override final;
90 void computeAspectRatioInformationForLayoutBox(LayoutBox*, FloatSize& constr ainedSize, double& intrinsicRatio) const; 90 void computeAspectRatioInformationForLayoutBox(LayoutBox*, FloatSize& constr ainedSize, double& intrinsicRatio) const;
91 91
92 mutable LayoutSize m_intrinsicSize; 92 mutable LayoutSize m_intrinsicSize;
93 }; 93 };
94 94
95 } 95 }
96 96
97 #endif 97 #endif
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutQuote.cpp ('k') | Source/core/layout/LayoutReplaced.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698