| 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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 virtual bool canAccommodateEllipsis(bool ltr, int blockEdge, int ellipsisWid
th) const; | 271 virtual bool canAccommodateEllipsis(bool ltr, int blockEdge, int ellipsisWid
th) const; |
| 272 // visibleLeftEdge, visibleRightEdge are in the parent's coordinate system. | 272 // visibleLeftEdge, visibleRightEdge are in the parent's coordinate system. |
| 273 virtual float placeEllipsisBox(bool ltr, float visibleLeftEdge, float visibl
eRightEdge, float ellipsisWidth, float &truncatedWidth, bool&); | 273 virtual float placeEllipsisBox(bool ltr, float visibleLeftEdge, float visibl
eRightEdge, float ellipsisWidth, float &truncatedWidth, bool&); |
| 274 | 274 |
| 275 #ifndef NDEBUG | 275 #ifndef NDEBUG |
| 276 void setHasBadParent(); | 276 void setHasBadParent(); |
| 277 #endif | 277 #endif |
| 278 | 278 |
| 279 int expansion() const { return m_bitfields.expansion(); } | 279 int expansion() const { return m_bitfields.expansion(); } |
| 280 | 280 |
| 281 bool visibleToHitTesting() const { return renderer()->style()->visibility()
== VISIBLE && renderer()->style()->pointerEvents() != PE_NONE; } | 281 bool visibleToHitTestRequest(const HitTestRequest& request) const { return r
enderer()->style()->visibility() == VISIBLE && (request.ignorePointerEventsNone(
) || renderer()->style()->pointerEvents() != PE_NONE); } |
| 282 | 282 |
| 283 EVerticalAlign verticalAlign() const { return renderer()->style(m_bitfields.
firstLine())->verticalAlign(); } | 283 EVerticalAlign verticalAlign() const { return renderer()->style(m_bitfields.
firstLine())->verticalAlign(); } |
| 284 | 284 |
| 285 // Use with caution! The type is not checked! | 285 // Use with caution! The type is not checked! |
| 286 RenderBoxModelObject* boxModelObject() const | 286 RenderBoxModelObject* boxModelObject() const |
| 287 { | 287 { |
| 288 if (!m_renderer->isText()) | 288 if (!m_renderer->isText()) |
| 289 return toRenderBoxModelObject(m_renderer); | 289 return toRenderBoxModelObject(m_renderer); |
| 290 return 0; | 290 return 0; |
| 291 } | 291 } |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 438 | 438 |
| 439 } // namespace WebCore | 439 } // namespace WebCore |
| 440 | 440 |
| 441 #ifndef NDEBUG | 441 #ifndef NDEBUG |
| 442 // Outside the WebCore namespace for ease of invocation from gdb. | 442 // Outside the WebCore namespace for ease of invocation from gdb. |
| 443 void showTree(const WebCore::InlineBox*); | 443 void showTree(const WebCore::InlineBox*); |
| 444 void showLineTree(const WebCore::InlineBox*); | 444 void showLineTree(const WebCore::InlineBox*); |
| 445 #endif | 445 #endif |
| 446 | 446 |
| 447 #endif // InlineBox_h | 447 #endif // InlineBox_h |
| OLD | NEW |