| 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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 Node* nodeForHitTest() const; | 319 Node* nodeForHitTest() const; |
| 320 | 320 |
| 321 void paintContents(PaintInfo&, const LayoutPoint&); | 321 void paintContents(PaintInfo&, const LayoutPoint&); |
| 322 void paintSelection(PaintInfo&, const LayoutPoint&); | 322 void paintSelection(PaintInfo&, const LayoutPoint&); |
| 323 void paintCarets(PaintInfo&, const LayoutPoint&); | 323 void paintCarets(PaintInfo&, const LayoutPoint&); |
| 324 | 324 |
| 325 bool hasCaret() const; | 325 bool hasCaret() const; |
| 326 | 326 |
| 327 bool hitTestContents(const HitTestRequest&, HitTestResult&, const HitTestLoc
ation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction)
; | 327 bool hitTestContents(const HitTestRequest&, HitTestResult&, const HitTestLoc
ation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction)
; |
| 328 | 328 |
| 329 virtual bool isPointInOverflowControl(HitTestResult&, const LayoutPoint& loc
ationInContainer, const LayoutPoint& accumulatedOffset); | |
| 330 | |
| 331 void computeBlockPreferredLogicalWidths(LayoutUnit& minLogicalWidth, LayoutU
nit& maxLogicalWidth) const; | 329 void computeBlockPreferredLogicalWidths(LayoutUnit& minLogicalWidth, LayoutU
nit& maxLogicalWidth) const; |
| 332 | 330 |
| 333 // Obtains the nearest enclosing block (including this block) that contribut
es a first-line style to our inline | 331 // Obtains the nearest enclosing block (including this block) that contribut
es a first-line style to our inline |
| 334 // children. | 332 // children. |
| 335 virtual RenderBlock* firstLineBlock() const override; | 333 virtual RenderBlock* firstLineBlock() const override; |
| 336 | 334 |
| 337 virtual LayoutRect rectWithOutlineForPaintInvalidation(const RenderLayerMode
lObject* paintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalid
ationState* = 0) const override final; | 335 virtual LayoutRect rectWithOutlineForPaintInvalidation(const RenderLayerMode
lObject* paintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalid
ationState* = 0) const override final; |
| 338 | 336 |
| 339 virtual RenderObject* hoverAncestor() const override final; | 337 virtual RenderObject* hoverAncestor() const override final; |
| 340 virtual void childBecameNonInline(RenderObject* child) override final; | 338 virtual void childBecameNonInline(RenderObject* child) override final; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 // FIXME: This is temporary as we move code that accesses block flow | 401 // FIXME: This is temporary as we move code that accesses block flow |
| 404 // member variables out of RenderBlock and into RenderBlockFlow. | 402 // member variables out of RenderBlock and into RenderBlockFlow. |
| 405 friend class RenderBlockFlow; | 403 friend class RenderBlockFlow; |
| 406 }; | 404 }; |
| 407 | 405 |
| 408 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); | 406 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); |
| 409 | 407 |
| 410 } // namespace blink | 408 } // namespace blink |
| 411 | 409 |
| 412 #endif // RenderBlock_h | 410 #endif // RenderBlock_h |
| OLD | NEW |