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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutPagedFlowThread.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 LayoutPagedFlowThread_h 5 #ifndef LayoutPagedFlowThread_h
6 #define LayoutPagedFlowThread_h 6 #define LayoutPagedFlowThread_h
7 7
8 #include "core/layout/LayoutMultiColumnFlowThread.h" 8 #include "core/layout/LayoutMultiColumnFlowThread.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 15 matching lines...) Expand all
26 26
27 // Return the number of pages. Will never be less than 1. 27 // Return the number of pages. Will never be less than 1.
28 int pageCount(); 28 int pageCount();
29 29
30 bool isLayoutPagedFlowThread() const override { return true; } 30 bool isLayoutPagedFlowThread() const override { return true; }
31 const char* name() const override { return "LayoutPagedFlowThread"; } 31 const char* name() const override { return "LayoutPagedFlowThread"; }
32 bool needsNewWidth() const override; 32 bool needsNewWidth() const override;
33 void updateLogicalWidth() override; 33 void updateLogicalWidth() override;
34 virtual void layout(); 34 virtual void layout();
35 35
36 char objectSize() const override { return sizeof(this); }
37
36 private: 38 private:
37 bool descendantIsValidColumnSpanner( 39 bool descendantIsValidColumnSpanner(
38 LayoutObject* /*descendant*/) const override { 40 LayoutObject* /*descendant*/) const override {
39 return false; 41 return false;
40 } 42 }
41 }; 43 };
42 44
43 } // namespace blink 45 } // namespace blink
44 46
45 #endif // LayoutPagedFlowThread_h 47 #endif // LayoutPagedFlowThread_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutPart.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698