Chromium Code Reviews| Index: Source/core/layout/api/LineLayoutText.h | 
| diff --git a/Source/core/layout/api/LineLayoutText.h b/Source/core/layout/api/LineLayoutText.h | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..98166c7c3a72e30d1ca0393dae90ab2cf6d6a858 | 
| --- /dev/null | 
| +++ b/Source/core/layout/api/LineLayoutText.h | 
| @@ -0,0 +1,38 @@ | 
| +// 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 LineLayoutText_h | 
| +#define LineLayoutText_h | 
| + | 
| +#include "core/layout/LayoutText.h" | 
| +#include "core/layout/api/LineLayoutItem.h" | 
| +#include "platform/LayoutUnit.h" | 
| +#include "platform/text/TextPath.h" | 
| +#include "wtf/Forward.h" | 
| + | 
| +namespace blink { | 
| + | 
| +class LayoutText; | 
| + | 
| +class LineLayoutText : public LineLayoutItem { | 
| +public: | 
| + LineLayoutText(LayoutText* layoutObject) : LineLayoutItem(layoutObject) { } | 
| + LineLayoutText(const LineLayoutItem&); | 
| + LineLayoutText() { } | 
| + | 
| + bool isWordBreak() const; | 
| + | 
| + bool isAllCollapsibleWhitespace() const; | 
| + | 
| + UChar characterAt(unsigned) const; | 
| + unsigned textLength() const; | 
| + | 
| +private: | 
| + LayoutText* text() { return toLayoutText(layoutObject()); } | 
| 
 
leviw_travelin_and_unemployed
2015/06/08 18:14:28
toText()
 
 | 
| + const LayoutText* text() const { return toLayoutText(layoutObject()); } | 
| +}; | 
| + | 
| +} // namespace blink | 
| + | 
| +#endif // LineLayoutText_h |