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

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

Issue 2727093002: Account for perspective and preserve-3d in mapToVisualRectInAncestorSpace (Closed)
Patch Set: none Created 3 years, 9 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. 2 * Copyright (C) 2011 Adobe Systems Incorporated. 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 * 7 *
8 * 1. Redistributions of source code must retain the above 8 * 1. Redistributions of source code must retain the above
9 * copyright notice, this list of conditions and the following 9 * copyright notice, this list of conditions and the following
10 * disclaimer. 10 * disclaimer.
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 LogicalExtentComputedValues&) const override; 108 LogicalExtentComputedValues&) const override;
109 109
110 bool hasColumnSets() const { return m_multiColumnSetList.size(); } 110 bool hasColumnSets() const { return m_multiColumnSetList.size(); }
111 111
112 void validateColumnSets(); 112 void validateColumnSets();
113 void invalidateColumnSets() { m_columnSetsInvalidated = true; } 113 void invalidateColumnSets() { m_columnSetsInvalidated = true; }
114 bool hasValidColumnSetInfo() const { 114 bool hasValidColumnSetInfo() const {
115 return !m_columnSetsInvalidated && !m_multiColumnSetList.isEmpty(); 115 return !m_columnSetsInvalidated && !m_multiColumnSetList.isEmpty();
116 } 116 }
117 117
118 bool mapToVisualRectInAncestorSpace( 118 bool mapToVisualRectInAncestorSpaceInternal(
119 const LayoutBoxModelObject* ancestor, 119 const LayoutBoxModelObject* ancestor,
120 LayoutRect&, 120 TransformState&,
121 VisualRectFlags = DefaultVisualRectFlags) const override; 121 VisualRectFlags = DefaultVisualRectFlags) const override;
122 122
123 LayoutUnit pageLogicalHeightForOffset(LayoutUnit); 123 LayoutUnit pageLogicalHeightForOffset(LayoutUnit);
124 LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit, PageBoundaryRule); 124 LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit, PageBoundaryRule);
125 125
126 virtual void contentWasLaidOut( 126 virtual void contentWasLaidOut(
127 LayoutUnit logicalBottomInFlowThreadAfterPagination) = 0; 127 LayoutUnit logicalBottomInFlowThreadAfterPagination) = 0;
128 virtual bool canSkipLayout(const LayoutBox&) const = 0; 128 virtual bool canSkipLayout(const LayoutBox&) const = 0;
129 129
130 virtual MultiColumnLayoutState multiColumnLayoutState() const = 0; 130 virtual MultiColumnLayoutState multiColumnLayoutState() const = 0;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 struct ValueToString<LayoutMultiColumnSet*> { 204 struct ValueToString<LayoutMultiColumnSet*> {
205 static String toString(const LayoutMultiColumnSet* value) { 205 static String toString(const LayoutMultiColumnSet* value) {
206 return String::format("%p", value); 206 return String::format("%p", value);
207 } 207 }
208 }; 208 };
209 #endif 209 #endif
210 210
211 } // namespace blink 211 } // namespace blink
212 212
213 #endif // LayoutFlowThread_h 213 #endif // LayoutFlowThread_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBox.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutFlowThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698