| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2007, 2008, 2009 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2007, 2008, 2009 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
| 5 * Copyright (C) 2009 Google, Inc. | 5 * Copyright (C) 2009 Google, Inc. |
| 6 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 | 223 |
| 224 LayoutRect LayoutSVGRoot::visualOverflowRect() const { | 224 LayoutRect LayoutSVGRoot::visualOverflowRect() const { |
| 225 LayoutRect rect = LayoutReplaced::selfVisualOverflowRect(); | 225 LayoutRect rect = LayoutReplaced::selfVisualOverflowRect(); |
| 226 if (!shouldApplyViewportClip()) | 226 if (!shouldApplyViewportClip()) |
| 227 rect.unite(contentsVisualOverflowRect()); | 227 rect.unite(contentsVisualOverflowRect()); |
| 228 return rect; | 228 return rect; |
| 229 } | 229 } |
| 230 | 230 |
| 231 LayoutRect LayoutSVGRoot::overflowClipRect(const LayoutPoint& location, | 231 LayoutRect LayoutSVGRoot::overflowClipRect(const LayoutPoint& location, |
| 232 OverlayScrollbarClipBehavior) const { | 232 OverlayScrollbarClipBehavior) const { |
| 233 return LayoutRect(pixelSnappedIntRect( | 233 return LayoutRect(pixelSnappedIntRect(LayoutReplaced::overflowClipRect( |
| 234 LayoutReplaced::overflowClipRect(location, IgnoreOverlayScrollbarSize))); | 234 location, IgnorePlatformOverlayScrollbarSize))); |
| 235 } | 235 } |
| 236 | 236 |
| 237 void LayoutSVGRoot::paintReplaced(const PaintInfo& paintInfo, | 237 void LayoutSVGRoot::paintReplaced(const PaintInfo& paintInfo, |
| 238 const LayoutPoint& paintOffset) const { | 238 const LayoutPoint& paintOffset) const { |
| 239 SVGRootPainter(*this).paintReplaced(paintInfo, paintOffset); | 239 SVGRootPainter(*this).paintReplaced(paintInfo, paintOffset); |
| 240 } | 240 } |
| 241 | 241 |
| 242 void LayoutSVGRoot::willBeDestroyed() { | 242 void LayoutSVGRoot::willBeDestroyed() { |
| 243 SVGResourcesCache::clientDestroyed(this); | 243 SVGResourcesCache::clientDestroyed(this); |
| 244 LayoutReplaced::willBeDestroyed(); | 244 LayoutReplaced::willBeDestroyed(); |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 484 if (result.addNodeToListBasedTestResult(node(), locationInContainer, | 484 if (result.addNodeToListBasedTestResult(node(), locationInContainer, |
| 485 boundsRect) == StopHitTesting) | 485 boundsRect) == StopHitTesting) |
| 486 return true; | 486 return true; |
| 487 } | 487 } |
| 488 } | 488 } |
| 489 | 489 |
| 490 return false; | 490 return false; |
| 491 } | 491 } |
| 492 | 492 |
| 493 } // namespace blink | 493 } // namespace blink |
| OLD | NEW |