| Index: Source/core/layout/api/LineLayoutItem.cpp
|
| diff --git a/Source/core/layout/api/LineLayoutItem.cpp b/Source/core/layout/api/LineLayoutItem.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7e1e61c8a9d792f66b59b0d749ce965d666458d6
|
| --- /dev/null
|
| +++ b/Source/core/layout/api/LineLayoutItem.cpp
|
| @@ -0,0 +1,132 @@
|
| +// 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.
|
| +
|
| +#include "config.h"
|
| +#include "core/layout/api/LineLayoutItem.h"
|
| +
|
| +#include "core/layout/LayoutObject.h"
|
| +
|
| +namespace blink {
|
| +
|
| +LineLayoutItem::LineLayoutItem(LayoutObject* layoutObject)
|
| + : m_layoutObject(layoutObject)
|
| +{
|
| +}
|
| +
|
| +const ComputedStyle* LineLayoutItem::style() const
|
| +{
|
| + return m_layoutObject->style();
|
| +}
|
| +
|
| +const ComputedStyle& LineLayoutItem::styleRef() const
|
| +{
|
| + return m_layoutObject->styleRef();
|
| +}
|
| +
|
| +LineLayoutItem LineLayoutItem::parent() const
|
| +{
|
| + return m_layoutObject->parent();
|
| +}
|
| +
|
| +LineLayoutItem LineLayoutItem::nextSibling() const
|
| +{
|
| + return m_layoutObject->nextSibling();
|
| +}
|
| +
|
| +LineLayoutItem LineLayoutItem::previousSibling() const
|
| +{
|
| + return m_layoutObject->previousSibling();
|
| +}
|
| +
|
| +LineLayoutItem LineLayoutItem::slowFirstChild() const
|
| +{
|
| + return m_layoutObject->slowFirstChild();
|
| +}
|
| +
|
| +LineLayoutItem LineLayoutItem::slowLastChild() const
|
| +{
|
| + return m_layoutObject->slowLastChild();
|
| +}
|
| +
|
| +Document& LineLayoutItem::document() const
|
| +{
|
| + return m_layoutObject->document();
|
| +}
|
| +
|
| +bool LineLayoutItem::preservesNewline() const
|
| +{
|
| + return m_layoutObject->preservesNewline();
|
| +}
|
| +
|
| +unsigned LineLayoutItem::length() const
|
| +{
|
| + return m_layoutObject->length();
|
| +}
|
| +
|
| +bool LineLayoutItem::isFloatingOrOutOfFlowPositioned() const
|
| +{
|
| + return m_layoutObject->isFloatingOrOutOfFlowPositioned();
|
| +}
|
| +
|
| +bool LineLayoutItem::isFloating() const
|
| +{
|
| + return m_layoutObject->isFloating();
|
| +}
|
| +
|
| +bool LineLayoutItem::isOutOfFlowPositioned() const
|
| +{
|
| + return m_layoutObject->isOutOfFlowPositioned();
|
| +}
|
| +
|
| +bool LineLayoutItem::isBR() const
|
| +{
|
| + return m_layoutObject->isBR();
|
| +}
|
| +
|
| +bool LineLayoutItem::isHorizontalWritingMode() const
|
| +{
|
| + return m_layoutObject->isHorizontalWritingMode();
|
| +}
|
| +
|
| +bool LineLayoutItem::isImage() const
|
| +{
|
| + return m_layoutObject->isImage();
|
| +}
|
| +
|
| +bool LineLayoutItem::isLayoutInline() const
|
| +{
|
| + return m_layoutObject->isLayoutInline();
|
| +}
|
| +
|
| +bool LineLayoutItem::isListMarker() const
|
| +{
|
| + return m_layoutObject->isListMarker();
|
| +}
|
| +
|
| +bool LineLayoutItem::isReplaced() const
|
| +{
|
| + return m_layoutObject->isReplaced();
|
| +}
|
| +
|
| +bool LineLayoutItem::isRubyRun() const
|
| +{
|
| + return m_layoutObject->isRubyRun();
|
| +}
|
| +
|
| +bool LineLayoutItem::isSVGInlineText() const
|
| +{
|
| + return m_layoutObject->isSVGInlineText();
|
| +}
|
| +
|
| +bool LineLayoutItem::isTableCell() const
|
| +{
|
| + return m_layoutObject->isTableCell();
|
| +}
|
| +
|
| +bool LineLayoutItem::isText() const
|
| +{
|
| + return m_layoutObject->isText();
|
| +}
|
| +
|
| +} // namespace blink
|
|
|