| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 } | 89 } |
| 90 void adjustBlockDirectionPosition(float delta) | 90 void adjustBlockDirectionPosition(float delta) |
| 91 { | 91 { |
| 92 if (isHorizontal()) | 92 if (isHorizontal()) |
| 93 adjustPosition(0, delta); | 93 adjustPosition(0, delta); |
| 94 else | 94 else |
| 95 adjustPosition(delta, 0); | 95 adjustPosition(delta, 0); |
| 96 } | 96 } |
| 97 | 97 |
| 98 virtual void paint(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, Layou
tUnit lineBottom); | 98 virtual void paint(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, Layou
tUnit lineBottom); |
| 99 virtual void paintDecorationStyle(PaintInfo&, const LayoutPoint&, LayoutUnit
lineTop, LayoutUnit lineBottom, float decorationThickness) { }; |
| 100 virtual void getPaintDecorationSyle(PaintInfo&, const LayoutPoint&, float *)
{ }; |
| 99 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit
lineTop, LayoutUnit lineBottom); | 101 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit
lineTop, LayoutUnit lineBottom); |
| 100 | 102 |
| 101 // InlineBoxes are allocated out of the rendering partition. | 103 // InlineBoxes are allocated out of the rendering partition. |
| 102 void* operator new(size_t); | 104 void* operator new(size_t); |
| 103 void operator delete(void*); | 105 void operator delete(void*); |
| 104 | 106 |
| 105 #ifndef NDEBUG | 107 #ifndef NDEBUG |
| 106 void showTreeForThis() const; | 108 void showTreeForThis() const; |
| 107 void showLineTreeForThis() const; | 109 void showLineTreeForThis() const; |
| 108 | 110 |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 | 445 |
| 444 } // namespace WebCore | 446 } // namespace WebCore |
| 445 | 447 |
| 446 #ifndef NDEBUG | 448 #ifndef NDEBUG |
| 447 // Outside the WebCore namespace for ease of invocation from gdb. | 449 // Outside the WebCore namespace for ease of invocation from gdb. |
| 448 void showTree(const WebCore::InlineBox*); | 450 void showTree(const WebCore::InlineBox*); |
| 449 void showLineTree(const WebCore::InlineBox*); | 451 void showLineTree(const WebCore::InlineBox*); |
| 450 #endif | 452 #endif |
| 451 | 453 |
| 452 #endif // InlineBox_h | 454 #endif // InlineBox_h |
| OLD | NEW |