OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org> | 2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org> |
3 * Copyright (C) 2009 Apple Inc. All rights reserved. | 3 * Copyright (C) 2009 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 // thus also independent of current zoom level. | 82 // thus also independent of current zoom level. |
83 FloatSize concreteObjectSize(const FloatSize& defaultObjectSize) const; | 83 FloatSize concreteObjectSize(const FloatSize& defaultObjectSize) const; |
84 | 84 |
85 // DisplayItemClient methods. | 85 // DisplayItemClient methods. |
86 String debugName() const final { return "SVGImage"; } | 86 String debugName() const final { return "SVGImage"; } |
87 LayoutRect visualRect() const override; | 87 LayoutRect visualRect() const override; |
88 | 88 |
89 bool hasIntrinsicDimensions() const; | 89 bool hasIntrinsicDimensions() const; |
90 | 90 |
91 private: | 91 private: |
| 92 DISPLAY_ITEM_CACHE_STATUS_UNCACHEABLE_IMPLEMENTATION |
| 93 |
92 friend class AXLayoutObject; | 94 friend class AXLayoutObject; |
93 friend class SVGImageChromeClient; | 95 friend class SVGImageChromeClient; |
94 friend class SVGImageForContainer; | 96 friend class SVGImageForContainer; |
95 | 97 |
96 ~SVGImage() override; | 98 ~SVGImage() override; |
97 | 99 |
98 String filenameExtension() const override; | 100 String filenameExtension() const override; |
99 | 101 |
100 IntSize containerSize() const; | 102 IntSize containerSize() const; |
101 bool usesContainerSize() const override { return true; } | 103 bool usesContainerSize() const override { return true; } |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 { | 148 { |
147 m_image->setImageObserverDisabled(false); | 149 m_image->setImageObserverDisabled(false); |
148 } | 150 } |
149 private: | 151 private: |
150 Image* m_image; | 152 Image* m_image; |
151 }; | 153 }; |
152 | 154 |
153 } // namespace blink | 155 } // namespace blink |
154 | 156 |
155 #endif // SVGImage_h | 157 #endif // SVGImage_h |
OLD | NEW |