| 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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 FloatPoint flipForWritingMode(const FloatPoint&) const; | 292 FloatPoint flipForWritingMode(const FloatPoint&) const; |
| 293 void flipForWritingMode(LayoutRect&) const; | 293 void flipForWritingMode(LayoutRect&) const; |
| 294 LayoutPoint flipForWritingMode(const LayoutPoint&) const; | 294 LayoutPoint flipForWritingMode(const LayoutPoint&) const; |
| 295 | 295 |
| 296 bool knownToHaveNoOverflow() const { return m_bitfields.knownToHaveNoOverflo
w(); } | 296 bool knownToHaveNoOverflow() const { return m_bitfields.knownToHaveNoOverflo
w(); } |
| 297 void clearKnownToHaveNoOverflow(); | 297 void clearKnownToHaveNoOverflow(); |
| 298 | 298 |
| 299 bool dirOverride() const { return m_bitfields.dirOverride(); } | 299 bool dirOverride() const { return m_bitfields.dirOverride(); } |
| 300 void setDirOverride(bool dirOverride) { m_bitfields.setDirOverride(dirOverri
de); } | 300 void setDirOverride(bool dirOverride) { m_bitfields.setDirOverride(dirOverri
de); } |
| 301 | 301 |
| 302 DisplayItemClient displayItemClient() const { return toDisplayItemClient(thi
s); } | 302 DisplayItemClient displayItemClient() const { return DisplayItemClient(this)
; } |
| 303 | 303 |
| 304 #define ADD_BOOLEAN_BITFIELD(name, Name) \ | 304 #define ADD_BOOLEAN_BITFIELD(name, Name) \ |
| 305 private:\ | 305 private:\ |
| 306 unsigned m_##name : 1;\ | 306 unsigned m_##name : 1;\ |
| 307 public:\ | 307 public:\ |
| 308 bool name() const { return m_##name; }\ | 308 bool name() const { return m_##name; }\ |
| 309 void set##Name(bool name) { m_##name = name; }\ | 309 void set##Name(bool name) { m_##name = name; }\ |
| 310 | 310 |
| 311 class InlineBoxBitfields { | 311 class InlineBoxBitfields { |
| 312 DISALLOW_NEW(); | 312 DISALLOW_NEW(); |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 | 443 |
| 444 } // namespace blink | 444 } // namespace blink |
| 445 | 445 |
| 446 #ifndef NDEBUG | 446 #ifndef NDEBUG |
| 447 // Outside the WebCore namespace for ease of invocation from gdb. | 447 // Outside the WebCore namespace for ease of invocation from gdb. |
| 448 void showTree(const blink::InlineBox*); | 448 void showTree(const blink::InlineBox*); |
| 449 void showLineTree(const blink::InlineBox*); | 449 void showLineTree(const blink::InlineBox*); |
| 450 #endif | 450 #endif |
| 451 | 451 |
| 452 #endif // InlineBox_h | 452 #endif // InlineBox_h |
| OLD | NEW |