Chromium Code Reviews| Index: Source/core/layout/api/LineLayoutBox.h |
| diff --git a/Source/core/layout/api/LineLayoutBox.h b/Source/core/layout/api/LineLayoutBox.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c982f6df0493b8276a5ee4797ade3760fba14505 |
| --- /dev/null |
| +++ b/Source/core/layout/api/LineLayoutBox.h |
| @@ -0,0 +1,31 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef LineLayoutBox_h |
| +#define LineLayoutBox_h |
| + |
| +#include "core/layout/api/LineLayoutItem.h" |
| +#include "platform/LayoutUnit.h" |
| + |
| +namespace blink { |
| + |
| +class LayoutBox; |
| + |
| +class LineLayoutBox : public LineLayoutItem { |
| +public: |
| + LineLayoutBox(LayoutBox*); |
| + LineLayoutBox(const LineLayoutItem&); |
| + LineLayoutBox() { } |
| + |
| + void setLogicalHeight(LayoutUnit size); |
| + LayoutUnit logicalHeight() const; |
| + |
| +private: |
| + LayoutBox* box(); |
|
leviw_travelin_and_unemployed
2015/06/08 18:14:28
For consistency, this should be toBox().
|
| + const LayoutBox* box() const; |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // LineLayoutBox_h |