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

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

Issue 2549973003: Revert commit# 415577 "Add grid/flex layout support for <fieldset>" (Closed)
Patch Set: updated TestExpectations, verified that there are no changes in images Created 4 years 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 LinePositionMode = PositionOnContainingLine) const override; 58 LinePositionMode = PositionOnContainingLine) const override;
59 int firstLineBoxBaseline() const override; 59 int firstLineBoxBaseline() const override;
60 int inlineBlockBaseline(LineDirectionMode) const override; 60 int inlineBlockBaseline(LineDirectionMode) const override;
61 IntSize originAdjustmentForScrollbars() const override; 61 IntSize originAdjustmentForScrollbars() const override;
62 bool hasTopOverflow() const override; 62 bool hasTopOverflow() const override;
63 bool hasLeftOverflow() const override; 63 bool hasLeftOverflow() const override;
64 64
65 void paintChildren(const PaintInfo&, const LayoutPoint&) const final; 65 void paintChildren(const PaintInfo&, const LayoutPoint&) const final;
66 66
67 bool isHorizontalFlow() const; 67 bool isHorizontalFlow() const;
68 virtual LayoutObject* layoutSpecialExcludedChild(bool relayoutChildren,
69 SubtreeLayoutScope&) {
70 return nullptr;
71 }
72 68
73 const OrderIterator& orderIterator() const { return m_orderIterator; } 69 const OrderIterator& orderIterator() const { return m_orderIterator; }
74 70
75 LayoutUnit crossSizeForPercentageResolution(const LayoutBox& child); 71 LayoutUnit crossSizeForPercentageResolution(const LayoutBox& child);
76 LayoutUnit mainSizeForPercentageResolution(const LayoutBox& child); 72 LayoutUnit mainSizeForPercentageResolution(const LayoutBox& child);
77 LayoutUnit childLogicalHeightForPercentageResolution(const LayoutBox& child); 73 LayoutUnit childLogicalHeightForPercentageResolution(const LayoutBox& child);
78 74
79 void clearCachedMainSizeForChild(const LayoutBox& child); 75 void clearCachedMainSizeForChild(const LayoutBox& child);
80 76
81 LayoutUnit staticMainAxisPositionForPositionedChild(const LayoutBox& child); 77 LayoutUnit staticMainAxisPositionForPositionedChild(const LayoutBox& child);
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 254
259 // This is SizeIsUnknown outside of layoutBlock() 255 // This is SizeIsUnknown outside of layoutBlock()
260 mutable SizeDefiniteness m_hasDefiniteHeight; 256 mutable SizeDefiniteness m_hasDefiniteHeight;
261 }; 257 };
262 258
263 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFlexibleBox, isFlexibleBox()); 259 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFlexibleBox, isFlexibleBox());
264 260
265 } // namespace blink 261 } // namespace blink
266 262
267 #endif // LayoutFlexibleBox_h 263 #endif // LayoutFlexibleBox_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698