OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. | 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. |
3 * All rights reserved. | 3 * All rights reserved. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 | 319 |
320 virtual bool canAccommodateEllipsis(bool ltr, | 320 virtual bool canAccommodateEllipsis(bool ltr, |
321 LayoutUnit blockEdge, | 321 LayoutUnit blockEdge, |
322 LayoutUnit ellipsisWidth) const; | 322 LayoutUnit ellipsisWidth) const; |
323 // visibleLeftEdge, visibleRightEdge are in the parent's coordinate system. | 323 // visibleLeftEdge, visibleRightEdge are in the parent's coordinate system. |
324 virtual LayoutUnit placeEllipsisBox(bool ltr, | 324 virtual LayoutUnit placeEllipsisBox(bool ltr, |
325 LayoutUnit visibleLeftEdge, | 325 LayoutUnit visibleLeftEdge, |
326 LayoutUnit visibleRightEdge, | 326 LayoutUnit visibleRightEdge, |
327 LayoutUnit ellipsisWidth, | 327 LayoutUnit ellipsisWidth, |
328 LayoutUnit& truncatedWidth, | 328 LayoutUnit& truncatedWidth, |
329 bool&); | 329 bool&, |
| 330 LayoutUnit logicalLeftOffset); |
330 | 331 |
331 #if DCHECK_IS_ON() | 332 #if DCHECK_IS_ON() |
332 void setHasBadParent(); | 333 void setHasBadParent(); |
333 #endif | 334 #endif |
334 | 335 |
335 int expansion() const { return m_bitfields.expansion(); } | 336 int expansion() const { return m_bitfields.expansion(); } |
336 | 337 |
337 bool visibleToHitTestRequest(const HitTestRequest& request) const { | 338 bool visibleToHitTestRequest(const HitTestRequest& request) const { |
338 return getLineLayoutItem().visibleToHitTestRequest(request); | 339 return getLineLayoutItem().visibleToHitTestRequest(request); |
339 } | 340 } |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
569 | 570 |
570 } // namespace blink | 571 } // namespace blink |
571 | 572 |
572 #ifndef NDEBUG | 573 #ifndef NDEBUG |
573 // Outside the WebCore namespace for ease of invocation from gdb. | 574 // Outside the WebCore namespace for ease of invocation from gdb. |
574 void showTree(const blink::InlineBox*); | 575 void showTree(const blink::InlineBox*); |
575 void showLineTree(const blink::InlineBox*); | 576 void showLineTree(const blink::InlineBox*); |
576 #endif | 577 #endif |
577 | 578 |
578 #endif // InlineBox_h | 579 #endif // InlineBox_h |
OLD | NEW |