| 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 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 | 400 |
| 401 class InlineBoxBitfields { | 401 class InlineBoxBitfields { |
| 402 DISALLOW_NEW(); | 402 DISALLOW_NEW(); |
| 403 | 403 |
| 404 public: | 404 public: |
| 405 InlineBoxBitfields(bool firstLine = false, | 405 InlineBoxBitfields(bool firstLine = false, |
| 406 bool constructed = false, | 406 bool constructed = false, |
| 407 bool dirty = false, | 407 bool dirty = false, |
| 408 bool extracted = false, | 408 bool extracted = false, |
| 409 bool isHorizontal = true) | 409 bool isHorizontal = true) |
| 410 : m_firstLine(firstLine), | 410 : m_FirstLine(firstLine), |
| 411 m_constructed(constructed), | 411 m_Constructed(constructed), |
| 412 m_bidiEmbeddingLevel(0), | 412 m_BidiEmbeddingLevel(0), |
| 413 m_dirty(dirty), | 413 m_Dirty(dirty), |
| 414 m_extracted(extracted), | 414 m_Extracted(extracted), |
| 415 m_hasVirtualLogicalHeight(false), | 415 m_HasVirtualLogicalHeight(false), |
| 416 m_isHorizontal(isHorizontal), | 416 m_IsHorizontal(isHorizontal), |
| 417 m_endsWithBreak(false), | 417 m_EndsWithBreak(false), |
| 418 m_hasSelectedChildrenOrCanHaveLeadingExpansion(false), | 418 m_HasSelectedChildrenOrCanHaveLeadingExpansion(false), |
| 419 m_knownToHaveNoOverflow(true), | 419 m_KnownToHaveNoOverflow(true), |
| 420 m_hasEllipsisBoxOrHyphen(false), | 420 m_HasEllipsisBoxOrHyphen(false), |
| 421 m_dirOverride(false), | 421 m_DirOverride(false), |
| 422 m_isText(false), | 422 m_IsText(false), |
| 423 m_expansion(0) {} | 423 m_Expansion(0) {} |
| 424 | 424 |
| 425 // Some of these bits are actually for subclasses and moved here to compact | 425 // Some of these bits are actually for subclasses and moved here to compact |
| 426 // the structures. | 426 // the structures. |
| 427 // for this class | 427 // for this class |
| 428 ADD_BOOLEAN_BITFIELD(firstLine, FirstLine); | 428 ADD_BOOLEAN_BITFIELD(firstLine, FirstLine); |
| 429 ADD_BOOLEAN_BITFIELD(constructed, Constructed); | 429 ADD_BOOLEAN_BITFIELD(constructed, Constructed); |
| 430 | 430 |
| 431 private: | 431 private: |
| 432 // The maximium bidi level is 62: | 432 // The maximium bidi level is 62: |
| 433 // http://unicode.org/reports/tr9/#Explicit_Levels_and_Directions | 433 // http://unicode.org/reports/tr9/#Explicit_Levels_and_Directions |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 549 | 549 |
| 550 } // namespace blink | 550 } // namespace blink |
| 551 | 551 |
| 552 #ifndef NDEBUG | 552 #ifndef NDEBUG |
| 553 // Outside the WebCore namespace for ease of invocation from gdb. | 553 // Outside the WebCore namespace for ease of invocation from gdb. |
| 554 void showTree(const blink::InlineBox*); | 554 void showTree(const blink::InlineBox*); |
| 555 void showLineTree(const blink::InlineBox*); | 555 void showLineTree(const blink::InlineBox*); |
| 556 #endif | 556 #endif |
| 557 | 557 |
| 558 #endif // InlineBox_h | 558 #endif // InlineBox_h |
| OLD | NEW |