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

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

Issue 2766943002: Do-not-commit: Count layout tree memory usage
Patch Set: Rebase, add object paint property counter Created 3 years, 8 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef LayoutMultiColumnSpannerPlaceholder_h 5 #ifndef LayoutMultiColumnSpannerPlaceholder_h
6 #define LayoutMultiColumnSpannerPlaceholder_h 6 #define LayoutMultiColumnSpannerPlaceholder_h
7 7
8 #include "core/layout/LayoutBlockFlow.h" 8 #include "core/layout/LayoutBlockFlow.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 30 matching lines...) Expand all
41 // to make sure that we enter it. 41 // to make sure that we enter it.
42 setChildNeedsLayout(MarkOnlyThis); 42 setChildNeedsLayout(MarkOnlyThis);
43 } 43 }
44 44
45 void layoutObjectInFlowThreadStyleDidChange(const ComputedStyle* oldStyle); 45 void layoutObjectInFlowThreadStyleDidChange(const ComputedStyle* oldStyle);
46 void updateMarginProperties(); 46 void updateMarginProperties();
47 47
48 const char* name() const override { 48 const char* name() const override {
49 return "LayoutMultiColumnSpannerPlaceholder"; 49 return "LayoutMultiColumnSpannerPlaceholder";
50 } 50 }
51 char objectSize() const override { return sizeof(this); }
51 52
52 protected: 53 protected:
53 void insertedIntoTree() override; 54 void insertedIntoTree() override;
54 void willBeRemovedFromTree() override; 55 void willBeRemovedFromTree() override;
55 bool needsPreferredWidthsRecalculation() const override; 56 bool needsPreferredWidthsRecalculation() const override;
56 LayoutUnit minPreferredLogicalWidth() const override; 57 LayoutUnit minPreferredLogicalWidth() const override;
57 LayoutUnit maxPreferredLogicalWidth() const override; 58 LayoutUnit maxPreferredLogicalWidth() const override;
58 void layout() override; 59 void layout() override;
59 void computeLogicalHeight(LayoutUnit logicalHeight, 60 void computeLogicalHeight(LayoutUnit logicalHeight,
60 LayoutUnit logicalTop, 61 LayoutUnit logicalTop,
(...skipping 10 matching lines...) Expand all
71 // The actual column-span:all layoutObject inside the flow thread. 72 // The actual column-span:all layoutObject inside the flow thread.
72 LayoutBox* m_layoutObjectInFlowThread; 73 LayoutBox* m_layoutObjectInFlowThread;
73 }; 74 };
74 75
75 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutMultiColumnSpannerPlaceholder, 76 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutMultiColumnSpannerPlaceholder,
76 isLayoutMultiColumnSpannerPlaceholder()); 77 isLayoutMultiColumnSpannerPlaceholder());
77 78
78 } // namespace blink 79 } // namespace blink
79 80
80 #endif 81 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.h ('k') | third_party/WebKit/Source/core/layout/LayoutObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698