Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef LineLayoutBox_h | |
| 6 #define LineLayoutBox_h | |
| 7 | |
| 8 #include "core/layout/api/LineLayoutItem.h" | |
| 9 #include "platform/LayoutUnit.h" | |
| 10 | |
| 11 namespace blink { | |
| 12 | |
| 13 class LayoutBox; | |
| 14 | |
| 15 class LineLayoutBox : public LineLayoutItem { | |
| 16 public: | |
| 17 LineLayoutBox(LayoutBox*); | |
| 18 LineLayoutBox(const LineLayoutItem&); | |
| 19 LineLayoutBox() { } | |
| 20 | |
| 21 void setLogicalHeight(LayoutUnit size); | |
| 22 LayoutUnit logicalHeight() const; | |
| 23 | |
| 24 private: | |
| 25 LayoutBox* box(); | |
|
leviw_travelin_and_unemployed
2015/06/08 18:14:28
For consistency, this should be toBox().
| |
| 26 const LayoutBox* box() const; | |
| 27 }; | |
| 28 | |
| 29 } // namespace blink | |
| 30 | |
| 31 #endif // LineLayoutBox_h | |
| OLD | NEW |