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

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

Issue 2458823002: Don't establish LayoutState for LayoutTableRow objects. (Closed)
Patch Set: Created 4 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) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 public: 68 public:
69 // Constructor for root LayoutState created by LayoutView 69 // Constructor for root LayoutState created by LayoutView
70 LayoutState(LayoutUnit pageLogicalHeight, 70 LayoutState(LayoutUnit pageLogicalHeight,
71 bool pageLogicalHeightChanged, 71 bool pageLogicalHeightChanged,
72 LayoutView&); 72 LayoutView&);
73 // Constructor for sub-tree layout and orthogonal writing-mode roots 73 // Constructor for sub-tree layout and orthogonal writing-mode roots
74 explicit LayoutState(LayoutObject& root); 74 explicit LayoutState(LayoutObject& root);
75 75
76 LayoutState(LayoutBox&, 76 LayoutState(LayoutBox&,
77 const LayoutSize& offset,
78 LayoutUnit pageLogicalHeight = LayoutUnit(), 77 LayoutUnit pageLogicalHeight = LayoutUnit(),
79 bool pageHeightLogicalChanged = false, 78 bool pageHeightLogicalChanged = false,
80 bool containingBlockLogicalWidthChanged = false); 79 bool containingBlockLogicalWidthChanged = false);
81 80
82 ~LayoutState(); 81 ~LayoutState();
83 82
84 bool isPaginated() const { return m_isPaginated; } 83 bool isPaginated() const { return m_isPaginated; }
85 84
86 // The page logical offset is the object's offset from the top of the page in 85 // The page logical offset is the object's offset from the top of the page in
87 // the page progression direction (so an x-offset in vertical text and a 86 // the page progression direction (so an x-offset in vertical text and a
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 // The height we need to make available for repeating table headers in 134 // The height we need to make available for repeating table headers in
136 // paginated layout. 135 // paginated layout.
137 LayoutUnit m_heightOffsetForTableHeaders; 136 LayoutUnit m_heightOffsetForTableHeaders;
138 137
139 LayoutObject& m_layoutObject; 138 LayoutObject& m_layoutObject;
140 }; 139 };
141 140
142 } // namespace blink 141 } // namespace blink
143 142
144 #endif // LayoutState_h 143 #endif // LayoutState_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutMedia.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698