| 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 | 141 |
| 142 virtual InlineFlowBox* createInlineFlowBox(); // Subclassed by SVG and Ruby | 142 virtual InlineFlowBox* createInlineFlowBox(); // Subclassed by SVG and Ruby |
| 143 | 143 |
| 144 virtual void dirtyLinesFromChangedChild(RenderObject* child) override final
{ m_lineBoxes.dirtyLinesFromChangedChild(this, child); } | 144 virtual void dirtyLinesFromChangedChild(RenderObject* child) override final
{ m_lineBoxes.dirtyLinesFromChangedChild(this, child); } |
| 145 | 145 |
| 146 virtual LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositio
nMode = PositionOnContainingLine) const override final; | 146 virtual LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositio
nMode = PositionOnContainingLine) const override final; |
| 147 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode
, LinePositionMode = PositionOnContainingLine) const override final; | 147 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode
, LinePositionMode = PositionOnContainingLine) const override final; |
| 148 | 148 |
| 149 virtual void updateHitTestResult(HitTestResult&, const LayoutPoint&) overrid
e final; | 149 virtual void updateHitTestResult(HitTestResult&, const LayoutPoint&) overrid
e final; |
| 150 | 150 |
| 151 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) override fina
l; | |
| 152 | |
| 153 virtual void updateFromStyle() override final; | 151 virtual void updateFromStyle() override final; |
| 154 | 152 |
| 155 void paintOutlineForLine(GraphicsContext*, const LayoutPoint&, const LayoutR
ect& prevLine, const LayoutRect& thisLine, | 153 void paintOutlineForLine(GraphicsContext*, const LayoutPoint&, const LayoutR
ect& prevLine, const LayoutRect& thisLine, |
| 156 const LayoutRect& nextLine, const Color); | 154 const LayoutRect& nextLine, const Color); |
| 157 | 155 |
| 158 RenderObjectChildList m_children; | 156 RenderObjectChildList m_children; |
| 159 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. | 157 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. |
| 160 }; | 158 }; |
| 161 | 159 |
| 162 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderInline, isRenderInline()); | 160 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderInline, isRenderInline()); |
| 163 | 161 |
| 164 } // namespace blink | 162 } // namespace blink |
| 165 | 163 |
| 166 #endif // SKY_ENGINE_CORE_RENDERING_RENDERINLINE_H_ | 164 #endif // SKY_ENGINE_CORE_RENDERING_RENDERINLINE_H_ |
| OLD | NEW |