| 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) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2006 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2006 Allan Sandfeld Jensen (kde@carewolf.com) |
| 6 * (C) 2006 Samuel Weinig (sam.weinig@gmail.com) | 6 * (C) 2006 Samuel Weinig (sam.weinig@gmail.com) |
| 7 * Copyright (C) 2003, 2004, 2005, 2006, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
| 8 * Copyright (C) 2010 Google Inc. All rights reserved. | 8 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 9 * Copyright (C) Research In Motion Limited 2011-2012. All rights reserved. | 9 * Copyright (C) Research In Motion Limited 2011-2012. All rights reserved. |
| 10 * | 10 * |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 void RenderImage::paintReplaced(PaintInfo& paintInfo, const LayoutPoint& paintOf
fset) | 273 void RenderImage::paintReplaced(PaintInfo& paintInfo, const LayoutPoint& paintOf
fset) |
| 274 { | 274 { |
| 275 ImagePainter(*this).paintReplaced(paintInfo, paintOffset); | 275 ImagePainter(*this).paintReplaced(paintInfo, paintOffset); |
| 276 } | 276 } |
| 277 | 277 |
| 278 void RenderImage::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) | 278 void RenderImage::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) |
| 279 { | 279 { |
| 280 ImagePainter(*this).paint(paintInfo, paintOffset); | 280 ImagePainter(*this).paint(paintInfo, paintOffset); |
| 281 } | 281 } |
| 282 | 282 |
| 283 void RenderImage::paintBoxDecorationBackground(PaintInfo& paintInfo, const Layou
tPoint& paintOffset) |
| 284 { |
| 285 ImagePainter(*this).paintBoxDecorationBackground(paintInfo, paintOffset); |
| 286 } |
| 287 |
| 283 void RenderImage::areaElementFocusChanged(HTMLAreaElement* areaElement) | 288 void RenderImage::areaElementFocusChanged(HTMLAreaElement* areaElement) |
| 284 { | 289 { |
| 285 ASSERT(areaElement->imageElement() == node()); | 290 ASSERT(areaElement->imageElement() == node()); |
| 286 | 291 |
| 287 Path path = areaElement->computePath(this); | 292 Path path = areaElement->computePath(this); |
| 288 if (path.isEmpty()) | 293 if (path.isEmpty()) |
| 289 return; | 294 return; |
| 290 | 295 |
| 291 RenderStyle* areaElementStyle = areaElement->computedStyle(); | 296 RenderStyle* areaElementStyle = areaElement->computedStyle(); |
| 292 unsigned short outlineWidth = areaElementStyle->outlineWidth(); | 297 unsigned short outlineWidth = areaElementStyle->outlineWidth(); |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 return 0; | 464 return 0; |
| 460 | 465 |
| 461 ImageResource* cachedImage = m_imageResource->cachedImage(); | 466 ImageResource* cachedImage = m_imageResource->cachedImage(); |
| 462 if (cachedImage && cachedImage->image() && cachedImage->image()->isSVGImage(
)) | 467 if (cachedImage && cachedImage->image() && cachedImage->image()->isSVGImage(
)) |
| 463 return toSVGImage(cachedImage->image())->embeddedContentBox(); | 468 return toSVGImage(cachedImage->image())->embeddedContentBox(); |
| 464 | 469 |
| 465 return 0; | 470 return 0; |
| 466 } | 471 } |
| 467 | 472 |
| 468 } // namespace blink | 473 } // namespace blink |
| OLD | NEW |