| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 void generateLineBoxRects(GeneratorContext& yield) const; | 107 void generateLineBoxRects(GeneratorContext& yield) const; |
| 108 template<typename GeneratorContext> | 108 template<typename GeneratorContext> |
| 109 void generateCulledLineBoxRects(GeneratorContext& yield, const RenderInline*
container) const; | 109 void generateCulledLineBoxRects(GeneratorContext& yield, const RenderInline*
container) const; |
| 110 | 110 |
| 111 virtual void layout() override final { ASSERT_NOT_REACHED(); } // Do nothing
for layout() | 111 virtual void layout() override final { ASSERT_NOT_REACHED(); } // Do nothing
for layout() |
| 112 | 112 |
| 113 virtual void paint(PaintInfo&, const LayoutPoint&, Vector<RenderBox*>& layer
s) override final; | 113 virtual void paint(PaintInfo&, const LayoutPoint&, Vector<RenderBox*>& layer
s) override final; |
| 114 | 114 |
| 115 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset) override f
inal; | 115 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset) override f
inal; |
| 116 | 116 |
| 117 virtual LayerType layerTypeRequired() const override { return createsGroup()
|| hasClipPath() ? NormalLayer : NoLayer; } | 117 virtual LayerType layerTypeRequired() const override { return NoLayer; } |
| 118 | 118 |
| 119 virtual LayoutUnit offsetLeft() const override final; | 119 virtual LayoutUnit offsetLeft() const override final; |
| 120 virtual LayoutUnit offsetTop() const override final; | 120 virtual LayoutUnit offsetTop() const override final; |
| 121 virtual LayoutUnit offsetWidth() const override final { return linesBounding
Box().width(); } | 121 virtual LayoutUnit offsetWidth() const override final { return linesBounding
Box().width(); } |
| 122 virtual LayoutUnit offsetHeight() const override final { return linesBoundin
gBox().height(); } | 122 virtual LayoutUnit offsetHeight() const override final { return linesBoundin
gBox().height(); } |
| 123 | 123 |
| 124 virtual void mapLocalToContainer(const RenderLayerModelObject* paintInvalida
tionContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip) const
override; | 124 virtual void mapLocalToContainer(const RenderLayerModelObject* paintInvalida
tionContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip) const
override; |
| 125 | 125 |
| 126 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) override f
inal; | 126 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) override f
inal; |
| 127 | 127 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 144 | 144 |
| 145 RenderObjectChildList m_children; | 145 RenderObjectChildList m_children; |
| 146 RenderLineBoxList m_lineBoxes; // All of the line boxes created for this i
nline flow. For example, <i>Hello<br>world.</i> will have two <i> line boxes. | 146 RenderLineBoxList m_lineBoxes; // All of the line boxes created for this i
nline flow. For example, <i>Hello<br>world.</i> will have two <i> line boxes. |
| 147 }; | 147 }; |
| 148 | 148 |
| 149 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderInline, isRenderInline()); | 149 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderInline, isRenderInline()); |
| 150 | 150 |
| 151 } // namespace blink | 151 } // namespace blink |
| 152 | 152 |
| 153 #endif // SKY_ENGINE_CORE_RENDERING_RENDERINLINE_H_ | 153 #endif // SKY_ENGINE_CORE_RENDERING_RENDERINLINE_H_ |
| OLD | NEW |