| 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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 DisplayItemClient displayItemClient() const { return toDisplayItemClient(thi
s); } | 308 DisplayItemClient displayItemClient() const { return toDisplayItemClient(thi
s); } |
| 309 | 309 |
| 310 #define ADD_BOOLEAN_BITFIELD(name, Name) \ | 310 #define ADD_BOOLEAN_BITFIELD(name, Name) \ |
| 311 private:\ | 311 private:\ |
| 312 unsigned m_##name : 1;\ | 312 unsigned m_##name : 1;\ |
| 313 public:\ | 313 public:\ |
| 314 bool name() const { return m_##name; }\ | 314 bool name() const { return m_##name; }\ |
| 315 void set##Name(bool name) { m_##name = name; }\ | 315 void set##Name(bool name) { m_##name = name; }\ |
| 316 | 316 |
| 317 class InlineBoxBitfields { | 317 class InlineBoxBitfields { |
| 318 DISALLOW_ALLOCATION(); |
| 318 public: | 319 public: |
| 319 InlineBoxBitfields(bool firstLine = false, bool constructed = false, boo
l dirty = false, bool extracted = false, bool isHorizontal = true) | 320 InlineBoxBitfields(bool firstLine = false, bool constructed = false, boo
l dirty = false, bool extracted = false, bool isHorizontal = true) |
| 320 : m_firstLine(firstLine) | 321 : m_firstLine(firstLine) |
| 321 , m_constructed(constructed) | 322 , m_constructed(constructed) |
| 322 , m_bidiEmbeddingLevel(0) | 323 , m_bidiEmbeddingLevel(0) |
| 323 , m_dirty(dirty) | 324 , m_dirty(dirty) |
| 324 , m_extracted(extracted) | 325 , m_extracted(extracted) |
| 325 , m_hasVirtualLogicalHeight(false) | 326 , m_hasVirtualLogicalHeight(false) |
| 326 , m_isHorizontal(isHorizontal) | 327 , m_isHorizontal(isHorizontal) |
| 327 , m_endsWithBreak(false) | 328 , m_endsWithBreak(false) |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 | 449 |
| 449 } // namespace blink | 450 } // namespace blink |
| 450 | 451 |
| 451 #ifndef NDEBUG | 452 #ifndef NDEBUG |
| 452 // Outside the WebCore namespace for ease of invocation from gdb. | 453 // Outside the WebCore namespace for ease of invocation from gdb. |
| 453 void showTree(const blink::InlineBox*); | 454 void showTree(const blink::InlineBox*); |
| 454 void showLineTree(const blink::InlineBox*); | 455 void showLineTree(const blink::InlineBox*); |
| 455 #endif | 456 #endif |
| 456 | 457 |
| 457 #endif // InlineBox_h | 458 #endif // InlineBox_h |
| OLD | NEW |