| 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) 2005 Allan Sandfeld Jensen (kde@carewolf.com) | 4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) |
| 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) | 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) |
| 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. | 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. |
| 7 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. | 7 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 592 | 592 |
| 593 return box; | 593 return box; |
| 594 } | 594 } |
| 595 | 595 |
| 596 void RenderBox::addFocusRingRects(Vector<IntRect>& rects, const LayoutPoint& add
itionalOffset, const RenderLayerModelObject*) | 596 void RenderBox::addFocusRingRects(Vector<IntRect>& rects, const LayoutPoint& add
itionalOffset, const RenderLayerModelObject*) |
| 597 { | 597 { |
| 598 if (!size().isEmpty()) | 598 if (!size().isEmpty()) |
| 599 rects.append(pixelSnappedIntRect(additionalOffset, size())); | 599 rects.append(pixelSnappedIntRect(additionalOffset, size())); |
| 600 } | 600 } |
| 601 | 601 |
| 602 void RenderBox::addLayerHitTestRects(LayerHitTestRects& layerRects, const Render
Layer* currentLayer, const LayoutPoint& layerOffset) const | 602 void RenderBox::addLayerHitTestRects(LayerHitTestRects& layerRects, const Render
Layer* currentLayer, const LayoutPoint& layerOffset, const LayoutRect& container
Rect) const |
| 603 { | 603 { |
| 604 LayoutPoint adjustedLayerOffset = layerOffset + locationOffset(); | 604 LayoutPoint adjustedLayerOffset = layerOffset + locationOffset(); |
| 605 RenderBoxModelObject::addLayerHitTestRects(layerRects, currentLayer, adjuste
dLayerOffset); | 605 RenderBoxModelObject::addLayerHitTestRects(layerRects, currentLayer, adjuste
dLayerOffset, containerRect); |
| 606 } | 606 } |
| 607 | 607 |
| 608 void RenderBox::computeSelfHitTestRects(Vector<LayoutRect>& rects, const LayoutP
oint& layerOffset) const | 608 void RenderBox::computeSelfHitTestRects(Vector<LayoutRect>& rects, const LayoutP
oint& layerOffset) const |
| 609 { | 609 { |
| 610 if (!size().isEmpty()) | 610 if (!size().isEmpty()) |
| 611 rects.append(LayoutRect(layerOffset, size())); | 611 rects.append(LayoutRect(layerOffset, size())); |
| 612 } | 612 } |
| 613 | 613 |
| 614 LayoutRect RenderBox::reflectionBox() const | 614 LayoutRect RenderBox::reflectionBox() const |
| 615 { | 615 { |
| (...skipping 4072 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4688 } | 4688 } |
| 4689 | 4689 |
| 4690 if (didSplitParentAnonymousBoxes) | 4690 if (didSplitParentAnonymousBoxes) |
| 4691 markBoxForRelayoutAfterSplit(this); | 4691 markBoxForRelayoutAfterSplit(this); |
| 4692 | 4692 |
| 4693 ASSERT(beforeChild->parent() == this); | 4693 ASSERT(beforeChild->parent() == this); |
| 4694 return beforeChild; | 4694 return beforeChild; |
| 4695 } | 4695 } |
| 4696 | 4696 |
| 4697 } // namespace WebCore | 4697 } // namespace WebCore |
| OLD | NEW |