| 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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 virtual float placeEllipsisBox(bool ltr, float visibleLeftEdge, float visibl
eRightEdge, float ellipsisWidth, float &truncatedWidth, bool&); | 268 virtual float placeEllipsisBox(bool ltr, float visibleLeftEdge, float visibl
eRightEdge, float ellipsisWidth, float &truncatedWidth, bool&); |
| 269 | 269 |
| 270 #ifndef NDEBUG | 270 #ifndef NDEBUG |
| 271 void setHasBadParent(); | 271 void setHasBadParent(); |
| 272 #endif | 272 #endif |
| 273 | 273 |
| 274 int expansion() const { return m_bitfields.expansion(); } | 274 int expansion() const { return m_bitfields.expansion(); } |
| 275 | 275 |
| 276 bool visibleToHitTestRequest(const HitTestRequest& request) const { return r
enderer().visibleToHitTestRequest(request); } | 276 bool visibleToHitTestRequest(const HitTestRequest& request) const { return r
enderer().visibleToHitTestRequest(request); } |
| 277 | 277 |
| 278 EVerticalAlign verticalAlign() const { return renderer().style(m_bitfields.f
irstLine())->verticalAlign(); } | 278 EVerticalAlign verticalAlign() const { return renderer().styleOrFirstLineSty
le(m_bitfields.firstLine())->verticalAlign(); } |
| 279 | 279 |
| 280 // Use with caution! The type is not checked! | 280 // Use with caution! The type is not checked! |
| 281 RenderBoxModelObject* boxModelObject() const | 281 RenderBoxModelObject* boxModelObject() const |
| 282 { | 282 { |
| 283 if (!renderer().isText()) | 283 if (!renderer().isText()) |
| 284 return toRenderBoxModelObject(&renderer()); | 284 return toRenderBoxModelObject(&renderer()); |
| 285 return 0; | 285 return 0; |
| 286 } | 286 } |
| 287 | 287 |
| 288 FloatPoint locationIncludingFlipping(); | 288 FloatPoint locationIncludingFlipping(); |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 | 439 |
| 440 } // namespace WebCore | 440 } // namespace WebCore |
| 441 | 441 |
| 442 #ifndef NDEBUG | 442 #ifndef NDEBUG |
| 443 // Outside the WebCore namespace for ease of invocation from gdb. | 443 // Outside the WebCore namespace for ease of invocation from gdb. |
| 444 void showTree(const WebCore::InlineBox*); | 444 void showTree(const WebCore::InlineBox*); |
| 445 void showLineTree(const WebCore::InlineBox*); | 445 void showLineTree(const WebCore::InlineBox*); |
| 446 #endif | 446 #endif |
| 447 | 447 |
| 448 #endif // InlineBox_h | 448 #endif // InlineBox_h |
| OLD | NEW |