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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutBox.h

Issue 815833005: [css-grid] Handle min-content/max-content with orthogonal flows (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch rebased. Created 5 years, 1 month 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 * 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 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 void clearOverrideLogicalContentWidth(); 504 void clearOverrideLogicalContentWidth();
505 505
506 LayoutUnit overrideContainingBlockContentLogicalWidth() const; 506 LayoutUnit overrideContainingBlockContentLogicalWidth() const;
507 LayoutUnit overrideContainingBlockContentLogicalHeight() const; 507 LayoutUnit overrideContainingBlockContentLogicalHeight() const;
508 bool hasOverrideContainingBlockLogicalWidth() const; 508 bool hasOverrideContainingBlockLogicalWidth() const;
509 bool hasOverrideContainingBlockLogicalHeight() const; 509 bool hasOverrideContainingBlockLogicalHeight() const;
510 void setOverrideContainingBlockContentLogicalWidth(LayoutUnit); 510 void setOverrideContainingBlockContentLogicalWidth(LayoutUnit);
511 void setOverrideContainingBlockContentLogicalHeight(LayoutUnit); 511 void setOverrideContainingBlockContentLogicalHeight(LayoutUnit);
512 void clearContainingBlockOverrideSize(); 512 void clearContainingBlockOverrideSize();
513 void clearOverrideContainingBlockContentLogicalHeight(); 513 void clearOverrideContainingBlockContentLogicalHeight();
514 LayoutUnit overrideContainingBlockContentWidth() const;
515 LayoutUnit overrideContainingBlockContentHeight() const;
516 bool hasOverrideContainingBlockWidth() const;
517 bool hasOverrideContainingBlockHeight() const;
514 518
515 LayoutUnit extraInlineOffset() const; 519 LayoutUnit extraInlineOffset() const;
516 LayoutUnit extraBlockOffset() const; 520 LayoutUnit extraBlockOffset() const;
517 void setExtraInlineOffset(LayoutUnit inlineOffest); 521 void setExtraInlineOffset(LayoutUnit inlineOffest);
518 void setExtraBlockOffset(LayoutUnit blockOffest); 522 void setExtraBlockOffset(LayoutUnit blockOffest);
519 void clearExtraInlineAndBlockOffests(); 523 void clearExtraInlineAndBlockOffests();
520 524
521 LayoutSize offsetFromContainer(const LayoutObject*, const LayoutPoint&, bool * offsetDependsOnPoint = nullptr) const override; 525 LayoutSize offsetFromContainer(const LayoutObject*, const LayoutPoint&, bool * offsetDependsOnPoint = nullptr) const override;
522 526
523 LayoutUnit adjustBorderBoxLogicalWidthForBoxSizing(LayoutUnit width) const; 527 LayoutUnit adjustBorderBoxLogicalWidthForBoxSizing(LayoutUnit width) const;
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
1054 if (UNLIKELY(inlineBoxWrapper() != nullptr)) 1058 if (UNLIKELY(inlineBoxWrapper() != nullptr))
1055 deleteLineBoxWrapper(); 1059 deleteLineBoxWrapper();
1056 } 1060 }
1057 1061
1058 ensureRareData().m_inlineBoxWrapper = boxWrapper; 1062 ensureRareData().m_inlineBoxWrapper = boxWrapper;
1059 } 1063 }
1060 1064
1061 } // namespace blink 1065 } // namespace blink
1062 1066
1063 #endif // LayoutBox_h 1067 #endif // LayoutBox_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698