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

Side by Side Diff: Source/core/layout/LayoutFlexibleBox.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
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 virtual void paintChildren(const PaintInfo&, const LayoutPoint&) override fi nal; 57 virtual void paintChildren(const PaintInfo&, const LayoutPoint&) override fi nal;
58 58
59 bool isHorizontalFlow() const; 59 bool isHorizontalFlow() const;
60 60
61 OrderIterator& orderIterator() { return m_orderIterator; } 61 OrderIterator& orderIterator() { return m_orderIterator; }
62 62
63 protected: 63 protected:
64 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Layo utUnit& maxLogicalWidth) const override; 64 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Layo utUnit& maxLogicalWidth) const override;
65 65
66 virtual void styleDidChange(StyleDifference, const LayoutStyle* oldStyle) ov erride; 66 virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;
67 virtual void removeChild(LayoutObject*) override; 67 virtual void removeChild(LayoutObject*) override;
68 68
69 private: 69 private:
70 enum FlexSign { 70 enum FlexSign {
71 PositiveFlexibility, 71 PositiveFlexibility,
72 NegativeFlexibility, 72 NegativeFlexibility,
73 }; 73 };
74 74
75 enum PositionedLayoutMode { 75 enum PositionedLayoutMode {
76 FlipForRowReverse, 76 FlipForRowReverse,
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 165
166 mutable OrderIterator m_orderIterator; 166 mutable OrderIterator m_orderIterator;
167 int m_numberOfInFlowChildrenOnFirstLine; 167 int m_numberOfInFlowChildrenOnFirstLine;
168 }; 168 };
169 169
170 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFlexibleBox, isFlexibleBox()); 170 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFlexibleBox, isFlexibleBox());
171 171
172 } // namespace blink 172 } // namespace blink
173 173
174 #endif // LayoutFlexibleBox_h 174 #endif // LayoutFlexibleBox_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutFileUploadControl.cpp ('k') | Source/core/layout/LayoutFlexibleBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698