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 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 | 418 |
419 // For InlineFlowBox and InlineTextBox | 419 // For InlineFlowBox and InlineTextBox |
420 bool extracted() const { return m_bitfields.extracted(); } | 420 bool extracted() const { return m_bitfields.extracted(); } |
421 | 421 |
422 LayoutPoint m_topLeft; | 422 LayoutPoint m_topLeft; |
423 LayoutUnit m_logicalWidth; | 423 LayoutUnit m_logicalWidth; |
424 | 424 |
425 private: | 425 private: |
426 InlineBoxBitfields m_bitfields; | 426 InlineBoxBitfields m_bitfields; |
427 | 427 |
428 DISPLAY_ITEM_CACHE_STATUS_IMPLEMENTATION | |
429 | |
430 #if ENABLE(ASSERT) | 428 #if ENABLE(ASSERT) |
431 bool m_hasBadParent; | 429 bool m_hasBadParent; |
432 #endif | 430 #endif |
433 }; | 431 }; |
434 | 432 |
435 #if !ENABLE(ASSERT) | 433 #if !ENABLE(ASSERT) |
436 inline InlineBox::~InlineBox() | 434 inline InlineBox::~InlineBox() |
437 { | 435 { |
438 } | 436 } |
439 #endif | 437 #endif |
(...skipping 13 matching lines...) Expand all Loading... |
453 | 451 |
454 } // namespace blink | 452 } // namespace blink |
455 | 453 |
456 #ifndef NDEBUG | 454 #ifndef NDEBUG |
457 // Outside the WebCore namespace for ease of invocation from gdb. | 455 // Outside the WebCore namespace for ease of invocation from gdb. |
458 void showTree(const blink::InlineBox*); | 456 void showTree(const blink::InlineBox*); |
459 void showLineTree(const blink::InlineBox*); | 457 void showLineTree(const blink::InlineBox*); |
460 #endif | 458 #endif |
461 | 459 |
462 #endif // InlineBox_h | 460 #endif // InlineBox_h |
OLD | NEW |