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

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

Issue 2176633002: [css-grid] Avoid the HashMap for the override containing block size (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | third_party/WebKit/Source/core/layout/LayoutBox.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 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 void clearOverrideLogicalContentWidth(); 545 void clearOverrideLogicalContentWidth();
546 546
547 LayoutUnit overrideContainingBlockContentLogicalWidth() const; 547 LayoutUnit overrideContainingBlockContentLogicalWidth() const;
548 LayoutUnit overrideContainingBlockContentLogicalHeight() const; 548 LayoutUnit overrideContainingBlockContentLogicalHeight() const;
549 bool hasOverrideContainingBlockLogicalWidth() const; 549 bool hasOverrideContainingBlockLogicalWidth() const;
550 bool hasOverrideContainingBlockLogicalHeight() const; 550 bool hasOverrideContainingBlockLogicalHeight() const;
551 void setOverrideContainingBlockContentLogicalWidth(LayoutUnit); 551 void setOverrideContainingBlockContentLogicalWidth(LayoutUnit);
552 void setOverrideContainingBlockContentLogicalHeight(LayoutUnit); 552 void setOverrideContainingBlockContentLogicalHeight(LayoutUnit);
553 void clearContainingBlockOverrideSize(); 553 void clearContainingBlockOverrideSize();
554 void clearOverrideContainingBlockContentLogicalHeight(); 554 void clearOverrideContainingBlockContentLogicalHeight();
555 LayoutUnit overrideContainingBlockContentWidth() const;
556 LayoutUnit overrideContainingBlockContentHeight() const;
557 bool hasOverrideContainingBlockWidth() const;
558 bool hasOverrideContainingBlockHeight() const;
559 555
560 LayoutUnit extraInlineOffset() const; 556 LayoutUnit extraInlineOffset() const;
561 LayoutUnit extraBlockOffset() const; 557 LayoutUnit extraBlockOffset() const;
562 void setExtraInlineOffset(LayoutUnit inlineOffest); 558 void setExtraInlineOffset(LayoutUnit inlineOffest);
563 void setExtraBlockOffset(LayoutUnit blockOffest); 559 void setExtraBlockOffset(LayoutUnit blockOffest);
564 void clearExtraInlineAndBlockOffests(); 560 void clearExtraInlineAndBlockOffests();
565 561
566 LayoutSize offsetFromContainer(const LayoutObject*) const override; 562 LayoutSize offsetFromContainer(const LayoutObject*) const override;
567 563
568 LayoutUnit adjustBorderBoxLogicalWidthForBoxSizing(float width) const; 564 LayoutUnit adjustBorderBoxLogicalWidthForBoxSizing(float width) const;
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
1236 || breakValue == BreakLeft 1232 || breakValue == BreakLeft
1237 || breakValue == BreakPage 1233 || breakValue == BreakPage
1238 || breakValue == BreakRecto 1234 || breakValue == BreakRecto
1239 || breakValue == BreakRight 1235 || breakValue == BreakRight
1240 || breakValue == BreakVerso; 1236 || breakValue == BreakVerso;
1241 } 1237 }
1242 1238
1243 } // namespace blink 1239 } // namespace blink
1244 1240
1245 #endif // LayoutBox_h 1241 #endif // LayoutBox_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698