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