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

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

Issue 2228843003: [LayoutNG] Change core/layout/ng to Chromium style and rename files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 2016 The Chromium Authors. All rights reserved. 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 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 LayoutNGBlockFlow_h 5 #ifndef LayoutNGBlockFlow_h
6 #define LayoutNGBlockFlow_h 6 #define LayoutNGBlockFlow_h
7 7
8 #include "core/layout/LayoutBlockFlow.h" 8 #include "core/layout/LayoutBlockFlow.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 // This overrides the default layout block algorithm to use Layout NG. 12 // This overrides the default layout block algorithm to use Layout NG.
13 class LayoutNGBlockFlow final : public LayoutBlockFlow { 13 class LayoutNGBlockFlow final : public LayoutBlockFlow {
14 public: 14 public:
15 explicit LayoutNGBlockFlow(Element*); 15 explicit LayoutNGBlockFlow(Element*);
16 ~LayoutNGBlockFlow() override = default; 16 ~LayoutNGBlockFlow() override = default;
17 17
18 private: 18 private:
19 bool isOfType(LayoutObjectType) const override; 19 bool isOfType(LayoutObjectType) const override;
20 }; 20 };
21 21
22 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutNGBlockFlow, isLayoutNGBlockFlow()); 22 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutNGBlockFlow, isLayoutNGBlockFlow());
23 23
24 } // namespace blink 24 } // namespace blink
25 25
26 #endif // LayoutNGBlockFlow_h 26 #endif // LayoutNGBlockFlow_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/NGUnits.h ('k') | third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698