OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 PassRefPtr<Image> image(const LayoutObject&, | 53 PassRefPtr<Image> image(const LayoutObject&, |
54 const IntSize&, | 54 const IntSize&, |
55 float) const override; | 55 float) const override; |
56 bool knownToBeOpaque(const LayoutObject&) const override; | 56 bool knownToBeOpaque(const LayoutObject&) const override; |
57 | 57 |
58 DECLARE_VIRTUAL_TRACE(); | 58 DECLARE_VIRTUAL_TRACE(); |
59 | 59 |
60 private: | 60 private: |
61 StyleGeneratedImage(const CSSImageGeneratorValue&); | 61 StyleGeneratedImage(const CSSImageGeneratorValue&); |
62 | 62 |
63 // TODO(sashab): Replace this with <const CSSImageGeneratorValue> once Member<
> | 63 // TODO(sashab): Replace this with <const CSSImageGeneratorValue> once |
64 // supports const types. | 64 // Member<> supports const types. |
65 Member<CSSImageGeneratorValue> m_imageGeneratorValue; | 65 Member<CSSImageGeneratorValue> m_imageGeneratorValue; |
66 const bool m_fixedSize; | 66 const bool m_fixedSize; |
67 }; | 67 }; |
68 | 68 |
69 DEFINE_STYLE_IMAGE_TYPE_CASTS(StyleGeneratedImage, isGeneratedImage()); | 69 DEFINE_STYLE_IMAGE_TYPE_CASTS(StyleGeneratedImage, isGeneratedImage()); |
70 | 70 |
71 } // namespace blink | 71 } // namespace blink |
72 #endif | 72 #endif |
OLD | NEW |