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

Side by Side Diff: Source/core/rendering/RenderFlowThread.h

Issue 688703003: [New Multicolumn] Add RenderMultiColumnSpannerSet. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: There won't ever be any intervening non-multicol fragmentation contexts. Created 6 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
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/rendering/RenderMultiColumnFlowThread.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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 virtual bool isRenderFlowThread() const override final { return true; } 60 virtual bool isRenderFlowThread() const override final { return true; }
61 virtual bool isRenderMultiColumnFlowThread() const { return false; } 61 virtual bool isRenderMultiColumnFlowThread() const { return false; }
62 virtual bool isRenderPagedFlowThread() const { return false; } 62 virtual bool isRenderPagedFlowThread() const { return false; }
63 63
64 virtual void layout() override; 64 virtual void layout() override;
65 65
66 // Always create a RenderLayer for the RenderFlowThread so that we 66 // Always create a RenderLayer for the RenderFlowThread so that we
67 // can easily avoid drawing the children directly. 67 // can easily avoid drawing the children directly.
68 virtual LayerType layerTypeRequired() const override final { return NormalLa yer; } 68 virtual LayerType layerTypeRequired() const override final { return NormalLa yer; }
69 69
70 virtual void flowThreadDescendantWasInserted(RenderObject*) { }
71
70 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct ion) override final; 72 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct ion) override final;
71 73
72 virtual void addRegionToThread(RenderMultiColumnSet*) = 0; 74 virtual void addRegionToThread(RenderMultiColumnSet*) = 0;
73 virtual void removeRegionFromThread(RenderMultiColumnSet*); 75 virtual void removeRegionFromThread(RenderMultiColumnSet*);
74 76
75 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic alTop, LogicalExtentComputedValues&) const override; 77 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic alTop, LogicalExtentComputedValues&) const override;
76 78
77 bool hasRegions() const { return m_multiColumnSetList.size(); } 79 bool hasRegions() const { return m_multiColumnSetList.size(); }
78 80
79 void validateRegions(); 81 void validateRegions();
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 }; 187 };
186 188
187 template <> struct ValueToString<RenderMultiColumnSet*> { 189 template <> struct ValueToString<RenderMultiColumnSet*> {
188 static String string(const RenderMultiColumnSet* value) { return String::for mat("%p", value); } 190 static String string(const RenderMultiColumnSet* value) { return String::for mat("%p", value); }
189 }; 191 };
190 #endif 192 #endif
191 193
192 } // namespace blink 194 } // namespace blink
193 195
194 #endif // RenderFlowThread_h 196 #endif // RenderFlowThread_h
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/rendering/RenderMultiColumnFlowThread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698