| 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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 if (!layoutObject().isText()) | 272 if (!layoutObject().isText()) |
| 273 return toLayoutBoxModelObject(&layoutObject()); | 273 return toLayoutBoxModelObject(&layoutObject()); |
| 274 return 0; | 274 return 0; |
| 275 } | 275 } |
| 276 | 276 |
| 277 LayoutPoint locationIncludingFlipping(); | 277 LayoutPoint locationIncludingFlipping(); |
| 278 | 278 |
| 279 // Converts from a rect in the logical space of the InlineBox to one in the
physical space | 279 // Converts from a rect in the logical space of the InlineBox to one in the
physical space |
| 280 // of the containing block. The logical space of an InlineBox may be transpo
sed for vertical text and | 280 // of the containing block. The logical space of an InlineBox may be transpo
sed for vertical text and |
| 281 // flipped for right-to-left text. | 281 // flipped for right-to-left text. |
| 282 LayoutRect logicalRectToPhysicalRect(const LayoutRect&); | 282 void logicalRectToPhysicalRect(LayoutRect&); |
| 283 | 283 |
| 284 void flipForWritingMode(FloatRect&); | 284 void flipForWritingMode(FloatRect&); |
| 285 FloatPoint flipForWritingMode(const FloatPoint&); | 285 FloatPoint flipForWritingMode(const FloatPoint&); |
| 286 void flipForWritingMode(LayoutRect&); | 286 void flipForWritingMode(LayoutRect&); |
| 287 LayoutPoint flipForWritingMode(const LayoutPoint&); | 287 LayoutPoint flipForWritingMode(const LayoutPoint&); |
| 288 | 288 |
| 289 bool knownToHaveNoOverflow() const { return m_bitfields.knownToHaveNoOverflo
w(); } | 289 bool knownToHaveNoOverflow() const { return m_bitfields.knownToHaveNoOverflo
w(); } |
| 290 void clearKnownToHaveNoOverflow(); | 290 void clearKnownToHaveNoOverflow(); |
| 291 | 291 |
| 292 bool dirOverride() const { return m_bitfields.dirOverride(); } | 292 bool dirOverride() const { return m_bitfields.dirOverride(); } |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 | 435 |
| 436 } // namespace blink | 436 } // namespace blink |
| 437 | 437 |
| 438 #ifndef NDEBUG | 438 #ifndef NDEBUG |
| 439 // Outside the WebCore namespace for ease of invocation from gdb. | 439 // Outside the WebCore namespace for ease of invocation from gdb. |
| 440 void showTree(const blink::InlineBox*); | 440 void showTree(const blink::InlineBox*); |
| 441 void showLineTree(const blink::InlineBox*); | 441 void showLineTree(const blink::InlineBox*); |
| 442 #endif | 442 #endif |
| 443 | 443 |
| 444 #endif // InlineBox_h | 444 #endif // InlineBox_h |
| OLD | NEW |