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