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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
74 } | 74 } |
75 | 75 |
76 protected: | 76 protected: |
77 virtual bool needsPreferredWidthsRecalculation() const override final; | 77 virtual bool needsPreferredWidthsRecalculation() const override final; |
78 virtual RenderBox* embeddedContentBox() const override final; | 78 virtual RenderBox* embeddedContentBox() const override final; |
79 virtual void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, doub le& intrinsicRatio) const override final; | 79 virtual void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, doub le& intrinsicRatio) const override final; |
80 | 80 |
81 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) override; | 81 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) override; |
82 | 82 |
83 virtual void paint(PaintInfo&, const LayoutPoint&) override final; | 83 virtual void paint(PaintInfo&, const LayoutPoint&) override final; |
84 virtual void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&); | |
mstensho (USE GERRIT)
2014/11/11 08:02:27
override?
chrishtr
2014/11/11 19:34:21
Done.
| |
85 | |
84 virtual void layout() override; | 86 virtual void layout() override; |
85 virtual bool updateImageLoadingPriorities() override final; | 87 virtual bool updateImageLoadingPriorities() override final; |
86 | 88 |
87 virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectRenderImage || RenderReplaced::isOfType(type); } | 89 virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectRenderImage || RenderReplaced::isOfType(type); } |
88 | 90 |
89 private: | 91 private: |
90 virtual const char* renderName() const override { return "RenderImage"; } | 92 virtual const char* renderName() const override { return "RenderImage"; } |
91 | 93 |
92 virtual bool isImage() const override { return true; } | 94 virtual bool isImage() const override { return true; } |
93 | 95 |
(...skipping 23 matching lines...) Expand all Loading... | |
117 float m_imageDevicePixelRatio; | 119 float m_imageDevicePixelRatio; |
118 | 120 |
119 friend class RenderImageScaleObserver; | 121 friend class RenderImageScaleObserver; |
120 }; | 122 }; |
121 | 123 |
122 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderImage, isRenderImage()); | 124 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderImage, isRenderImage()); |
123 | 125 |
124 } // namespace blink | 126 } // namespace blink |
125 | 127 |
126 #endif // RenderImage_h | 128 #endif // RenderImage_h |
OLD | NEW |