| 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) 2006 Allan Sandfeld Jensen (kde@carewolf.com) | 4 * (C) 2006 Allan Sandfeld Jensen (kde@carewolf.com) |
| 5 * (C) 2006 Samuel Weinig (sam.weinig@gmail.com) | 5 * (C) 2006 Samuel Weinig (sam.weinig@gmail.com) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights
reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect,
unsigned maxDepthToTest) const override final; | 71 virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect,
unsigned maxDepthToTest) const override final; |
| 72 virtual bool computeBackgroundIsKnownToBeObscured() override final; | 72 virtual bool computeBackgroundIsKnownToBeObscured() override final; |
| 73 | 73 |
| 74 virtual LayoutUnit minimumReplacedHeight() const override; | 74 virtual LayoutUnit minimumReplacedHeight() const override; |
| 75 | 75 |
| 76 virtual void notifyFinished(Resource*) override final; | 76 virtual void notifyFinished(Resource*) override final; |
| 77 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct
ion) override final; | 77 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct
ion) override final; |
| 78 | 78 |
| 79 virtual bool boxShadowShouldBeAppliedToBackground(BackgroundBleedAvoidance,
InlineFlowBox*) const override final; | 79 virtual bool boxShadowShouldBeAppliedToBackground(BackgroundBleedAvoidance,
InlineFlowBox*) const override final; |
| 80 | 80 |
| 81 void paintInvalidationOrMarkForLayout(const IntRect* = 0); | |
| 82 void updateIntrinsicSizeIfNeeded(const LayoutSize& newSize); | 81 void updateIntrinsicSizeIfNeeded(const LayoutSize& newSize); |
| 83 // Update the size of the image to be rendered. Object-fit may cause this to
be different from the CSS box's content rect. | 82 // Update the size of the image to be rendered. Object-fit may cause this to
be different from the CSS box's content rect. |
| 84 void updateInnerContentRect(); | 83 void updateInnerContentRect(); |
| 85 | 84 |
| 86 void paintAreaElementFocusRing(PaintInfo&); | 85 void paintAreaElementFocusRing(PaintInfo&); |
| 87 | 86 |
| 88 OwnPtr<RenderImageResource> m_imageResource; | 87 OwnPtr<RenderImageResource> m_imageResource; |
| 89 float m_imageDevicePixelRatio; | 88 float m_imageDevicePixelRatio; |
| 90 | 89 |
| 91 friend class RenderImageScaleObserver; | 90 friend class RenderImageScaleObserver; |
| 92 }; | 91 }; |
| 93 | 92 |
| 94 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderImage, isRenderImage()); | 93 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderImage, isRenderImage()); |
| 95 | 94 |
| 96 } // namespace blink | 95 } // namespace blink |
| 97 | 96 |
| 98 #endif // SKY_ENGINE_CORE_RENDERING_RENDERIMAGE_H_ | 97 #endif // SKY_ENGINE_CORE_RENDERING_RENDERIMAGE_H_ |
| OLD | NEW |