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

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

Issue 2463703003: blink: Cleanup core class forward declarations (Closed)
Patch Set: Remove redundant empty lines Created 4 years, 1 month 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 LineLayoutBlockFlow_h 5 #ifndef LineLayoutBlockFlow_h
6 #define LineLayoutBlockFlow_h 6 #define LineLayoutBlockFlow_h
7 7
8 #include "core/layout/FloatingObjects.h" 8 #include "core/layout/FloatingObjects.h"
9 #include "core/layout/LayoutBlockFlow.h" 9 #include "core/layout/LayoutBlockFlow.h"
10 #include "core/layout/api/LineLayoutBox.h" 10 #include "core/layout/api/LineLayoutBox.h"
11 #include "platform/LayoutUnit.h" 11 #include "platform/LayoutUnit.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class LayoutBlockFlow; 15 class LayoutBlockFlow;
16 class FloatingObject; 16 class FloatingObject;
17 class LineInfo;
18 class LineWidth; 17 class LineWidth;
19 18
20 class LineLayoutBlockFlow : public LineLayoutBox { 19 class LineLayoutBlockFlow : public LineLayoutBox {
21 public: 20 public:
22 explicit LineLayoutBlockFlow(LayoutBlockFlow* blockFlow) 21 explicit LineLayoutBlockFlow(LayoutBlockFlow* blockFlow)
23 : LineLayoutBox(blockFlow) {} 22 : LineLayoutBox(blockFlow) {}
24 23
25 explicit LineLayoutBlockFlow(const LineLayoutItem& item) 24 explicit LineLayoutBlockFlow(const LineLayoutItem& item)
26 : LineLayoutBox(item) { 25 : LineLayoutBox(item) {
27 SECURITY_DCHECK(!item || item.isLayoutBlockFlow()); 26 SECURITY_DCHECK(!item || item.isLayoutBlockFlow());
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 private: 198 private:
200 LayoutBlockFlow* toBlockFlow() { return toLayoutBlockFlow(layoutObject()); }; 199 LayoutBlockFlow* toBlockFlow() { return toLayoutBlockFlow(layoutObject()); };
201 const LayoutBlockFlow* toBlockFlow() const { 200 const LayoutBlockFlow* toBlockFlow() const {
202 return toLayoutBlockFlow(layoutObject()); 201 return toLayoutBlockFlow(layoutObject());
203 }; 202 };
204 }; 203 };
205 204
206 } // namespace blink 205 } // namespace blink
207 206
208 #endif // LineLayoutBlockFlow_h 207 #endif // LineLayoutBlockFlow_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698