| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |