OLD | NEW |
| (Empty) |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef LayoutNGBlockFlow_h | |
6 #define LayoutNGBlockFlow_h | |
7 | |
8 #include "core/layout/LayoutBlockFlow.h" | |
9 | |
10 namespace blink { | |
11 | |
12 // This overrides the default layout block algorithm to use Layout NG. | |
13 class LayoutNGBlockFlow final : public LayoutBlockFlow { | |
14 public: | |
15 explicit LayoutNGBlockFlow(Element*); | |
16 ~LayoutNGBlockFlow() override = default; | |
17 | |
18 private: | |
19 bool isOfType(LayoutObjectType) const override; | |
20 }; | |
21 | |
22 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutNGBlockFlow, isLayoutNGBlockFlow()); | |
23 | |
24 } // namespace blink | |
25 | |
26 #endif // LayoutNGBlockFlow_h | |
OLD | NEW |