OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2007 David Smith (catfish.man@gmail.com) | 4 * (C) 2007 David Smith (catfish.man@gmail.com) |
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r
ights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 // Delay update scrollbar until finishDelayRepaint() will be | 311 // Delay update scrollbar until finishDelayRepaint() will be |
312 // called. This function is used when a flexbox is laying out its | 312 // called. This function is used when a flexbox is laying out its |
313 // descendant. If multiple calls are made to startDelayRepaint(), | 313 // descendant. If multiple calls are made to startDelayRepaint(), |
314 // finishDelayRepaint() will do nothing until finishDelayRepaint() | 314 // finishDelayRepaint() will do nothing until finishDelayRepaint() |
315 // is called the same number of times. | 315 // is called the same number of times. |
316 static void startDelayUpdateScrollInfo(); | 316 static void startDelayUpdateScrollInfo(); |
317 static void finishDelayUpdateScrollInfo(); | 317 static void finishDelayUpdateScrollInfo(); |
318 | 318 |
319 void updateScrollInfoAfterLayout(); | 319 void updateScrollInfoAfterLayout(); |
320 | 320 |
321 virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle) O
VERRIDE; | 321 virtual void styleWillChange(StyleDifference, const RenderStyle& newStyle) O
VERRIDE; |
322 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV
ERRIDE; | 322 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV
ERRIDE; |
323 | 323 |
324 virtual bool hasLineIfEmpty() const; | 324 virtual bool hasLineIfEmpty() const; |
325 | 325 |
326 bool simplifiedLayout(); | 326 bool simplifiedLayout(); |
327 virtual void simplifiedNormalFlowLayout(); | 327 virtual void simplifiedNormalFlowLayout(); |
328 | 328 |
329 void setDesiredColumnCountAndWidth(int, LayoutUnit); | 329 void setDesiredColumnCountAndWidth(int, LayoutUnit); |
330 | 330 |
331 public: | 331 public: |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 // FIXME: This is temporary as we move code that accesses block flow | 548 // FIXME: This is temporary as we move code that accesses block flow |
549 // member variables out of RenderBlock and into RenderBlockFlow. | 549 // member variables out of RenderBlock and into RenderBlockFlow. |
550 friend class RenderBlockFlow; | 550 friend class RenderBlockFlow; |
551 }; | 551 }; |
552 | 552 |
553 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); | 553 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); |
554 | 554 |
555 } // namespace WebCore | 555 } // namespace WebCore |
556 | 556 |
557 #endif // RenderBlock_h | 557 #endif // RenderBlock_h |
OLD | NEW |