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

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

Issue 789433006: [New Multicolumn] Let a spanner's containing block be the multicol container. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Compiling release: paint invalidation state is cleared in the super class anyway. Created 6 years 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 virtual bool supportsPaintInvalidationStateCachedOffsets() const override { return false; } 59 virtual bool supportsPaintInvalidationStateCachedOffsets() const override { return false; }
60 60
61 virtual void layout() override; 61 virtual void layout() override;
62 62
63 // Always create a RenderLayer for the RenderFlowThread so that we 63 // Always create a RenderLayer for the RenderFlowThread 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 virtual void flowThreadDescendantWasInserted(RenderObject*) { } 67 virtual void flowThreadDescendantWasInserted(RenderObject*) { }
68 virtual void flowThreadDescendantWillBeRemoved(RenderObject*) { }
68 69
69 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct ion) override final; 70 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct ion) override final;
70 71
71 virtual void addRegionToThread(RenderMultiColumnSet*) = 0; 72 virtual void addRegionToThread(RenderMultiColumnSet*) = 0;
72 virtual void removeRegionFromThread(RenderMultiColumnSet*); 73 virtual void removeRegionFromThread(RenderMultiColumnSet*);
73 74
74 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic alTop, LogicalExtentComputedValues&) const override; 75 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic alTop, LogicalExtentComputedValues&) const override;
75 76
76 bool hasRegions() const { return m_multiColumnSetList.size(); } 77 bool hasRegions() const { return m_multiColumnSetList.size(); }
77 78
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 }; 174 };
174 175
175 template <> struct ValueToString<RenderMultiColumnSet*> { 176 template <> struct ValueToString<RenderMultiColumnSet*> {
176 static String string(const RenderMultiColumnSet* value) { return String::for mat("%p", value); } 177 static String string(const RenderMultiColumnSet* value) { return String::for mat("%p", value); }
177 }; 178 };
178 #endif 179 #endif
179 180
180 } // namespace blink 181 } // namespace blink
181 182
182 #endif // RenderFlowThread_h 183 #endif // RenderFlowThread_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderBox.cpp ('k') | Source/core/rendering/RenderMultiColumnFlowThread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698