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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 toDisplayItemClient(thi
s); } |
| 303 // Invalidate display item clients in the whole sub inline box tree. |
| 304 void invalidateDisplayItemClientsRecursively(); |
303 | 305 |
304 #define ADD_BOOLEAN_BITFIELD(name, Name) \ | 306 #define ADD_BOOLEAN_BITFIELD(name, Name) \ |
305 private:\ | 307 private:\ |
306 unsigned m_##name : 1;\ | 308 unsigned m_##name : 1;\ |
307 public:\ | 309 public:\ |
308 bool name() const { return m_##name; }\ | 310 bool name() const { return m_##name; }\ |
309 void set##Name(bool name) { m_##name = name; }\ | 311 void set##Name(bool name) { m_##name = name; }\ |
310 | 312 |
311 class InlineBoxBitfields { | 313 class InlineBoxBitfields { |
312 DISALLOW_NEW(); | 314 DISALLOW_NEW(); |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
450 | 452 |
451 } // namespace blink | 453 } // namespace blink |
452 | 454 |
453 #ifndef NDEBUG | 455 #ifndef NDEBUG |
454 // Outside the WebCore namespace for ease of invocation from gdb. | 456 // Outside the WebCore namespace for ease of invocation from gdb. |
455 void showTree(const blink::InlineBox*); | 457 void showTree(const blink::InlineBox*); |
456 void showLineTree(const blink::InlineBox*); | 458 void showLineTree(const blink::InlineBox*); |
457 #endif | 459 #endif |
458 | 460 |
459 #endif // InlineBox_h | 461 #endif // InlineBox_h |
OLD | NEW |