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

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

Issue 926193003: Move rendering/RenderBox to layout/LayoutBox. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
« no previous file with comments | « Source/core/layout/LayoutFieldset.cpp ('k') | Source/core/layout/LayoutFrameSet.h » ('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) 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 // Always create a Layer for the LayoutFlowThread so that we 63 // Always create a Layer for the LayoutFlowThread so that we
64 // can easily avoid drawing the children directly. 64 // can easily avoid drawing the children directly.
65 virtual LayerType layerTypeRequired() const override final { return NormalLa yer; } 65 virtual LayerType layerTypeRequired() const override final { return NormalLa yer; }
66 66
67 // Skip past a column spanner during flow thread layout. Spanners are not la id out inside the 67 // Skip past a column spanner during flow thread layout. Spanners are not la id out inside the
68 // flow thread, since the flow thread is not in a spanner's containing block chain (since the 68 // flow thread, since the flow thread is not in a spanner's containing block chain (since the
69 // containing block is the multicol container). If the spanner follows right after a column set 69 // containing block is the multicol container). If the spanner follows right after a column set
70 // (as opposed to following another spanner), we may have to stretch the flo w thread to ensure 70 // (as opposed to following another spanner), we may have to stretch the flo w thread to ensure
71 // completely filled columns in the preceding column set. Return this adjust ment, if any. 71 // completely filled columns in the preceding column set. Return this adjust ment, if any.
72 virtual LayoutUnit skipColumnSpanner(RenderBox*, LayoutUnit logicalTopInFlow Thread) { return LayoutUnit(); } 72 virtual LayoutUnit skipColumnSpanner(LayoutBox*, LayoutUnit logicalTopInFlow Thread) { return LayoutUnit(); }
73 73
74 virtual void flowThreadDescendantWasInserted(LayoutObject*) { } 74 virtual void flowThreadDescendantWasInserted(LayoutObject*) { }
75 virtual void flowThreadDescendantWillBeRemoved(LayoutObject*) { } 75 virtual void flowThreadDescendantWillBeRemoved(LayoutObject*) { }
76 76
77 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct ion) override final; 77 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct ion) override final;
78 78
79 virtual void addRegionToThread(LayoutMultiColumnSet*) = 0; 79 virtual void addRegionToThread(LayoutMultiColumnSet*) = 0;
80 virtual void removeRegionFromThread(LayoutMultiColumnSet*); 80 virtual void removeRegionFromThread(LayoutMultiColumnSet*);
81 81
82 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic alTop, LogicalExtentComputedValues&) const override; 82 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic alTop, LogicalExtentComputedValues&) const override;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 }; 167 };
168 168
169 template <> struct ValueToString<LayoutMultiColumnSet*> { 169 template <> struct ValueToString<LayoutMultiColumnSet*> {
170 static String string(const LayoutMultiColumnSet* value) { return String::for mat("%p", value); } 170 static String string(const LayoutMultiColumnSet* value) { return String::for mat("%p", value); }
171 }; 171 };
172 #endif 172 #endif
173 173
174 } // namespace blink 174 } // namespace blink
175 175
176 #endif // LayoutFlowThread_h 176 #endif // LayoutFlowThread_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutFieldset.cpp ('k') | Source/core/layout/LayoutFrameSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698