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

Side by Side Diff: third_party/WebKit/Source/core/layout/api/LineLayoutInline.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 LineLayoutInline_h 5 #ifndef LineLayoutInline_h
6 #define LineLayoutInline_h 6 #define LineLayoutInline_h
7 7
8 #include "core/layout/LayoutInline.h" 8 #include "core/layout/LayoutInline.h"
9 #include "core/layout/api/LineLayoutBoxModel.h" 9 #include "core/layout/api/LineLayoutBoxModel.h"
10 #include "platform/LayoutUnit.h" 10 #include "platform/LayoutUnit.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class ComputedStyle;
15 class LayoutInline; 14 class LayoutInline;
16 class LayoutObject;
17 15
18 class LineLayoutInline : public LineLayoutBoxModel { 16 class LineLayoutInline : public LineLayoutBoxModel {
19 public: 17 public:
20 explicit LineLayoutInline(LayoutInline* layoutInline) 18 explicit LineLayoutInline(LayoutInline* layoutInline)
21 : LineLayoutBoxModel(layoutInline) {} 19 : LineLayoutBoxModel(layoutInline) {}
22 20
23 explicit LineLayoutInline(const LineLayoutItem& item) 21 explicit LineLayoutInline(const LineLayoutItem& item)
24 : LineLayoutBoxModel(item) { 22 : LineLayoutBoxModel(item) {
25 SECURITY_DCHECK(!item || item.isLayoutInline()); 23 SECURITY_DCHECK(!item || item.isLayoutInline());
26 } 24 }
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 LayoutInline* toInline() { return toLayoutInline(layoutObject()); } 86 LayoutInline* toInline() { return toLayoutInline(layoutObject()); }
89 87
90 const LayoutInline* toInline() const { 88 const LayoutInline* toInline() const {
91 return toLayoutInline(layoutObject()); 89 return toLayoutInline(layoutObject());
92 } 90 }
93 }; 91 };
94 92
95 } // namespace blink 93 } // namespace blink
96 94
97 #endif // LineLayoutInline_h 95 #endif // LineLayoutInline_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698