| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2     Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) | 2     Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) | 
| 3     Copyright (C) 2001 Dirk Mueller <mueller@kde.org> | 3     Copyright (C) 2001 Dirk Mueller <mueller@kde.org> | 
| 4     Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) | 4     Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) | 
| 5     Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. | 5     Copyright (C) 2004, 2005, 2006, 2007 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 92 | 92 | 
| 93     virtual bool shouldPauseAnimation(const Image*); | 93     virtual bool shouldPauseAnimation(const Image*); | 
| 94     virtual void animationAdvanced(const Image*); | 94     virtual void animationAdvanced(const Image*); | 
| 95     virtual void changedInRect(const Image*, const IntRect&); | 95     virtual void changedInRect(const Image*, const IntRect&); | 
| 96 | 96 | 
| 97     virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE; | 97     virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE; | 
| 98 | 98 | 
| 99 private: | 99 private: | 
| 100     void clear(); | 100     void clear(); | 
| 101 | 101 | 
|  | 102     void setCustomAcceptHeader(); | 
| 102     void createImage(); | 103     void createImage(); | 
| 103     void clearImage(); | 104     void clearImage(); | 
| 104     // If not null, changeRect is the changed part of the image. | 105     // If not null, changeRect is the changed part of the image. | 
| 105     void notifyObservers(const IntRect* changeRect = 0); | 106     void notifyObservers(const IntRect* changeRect = 0); | 
| 106     virtual PurgePriority purgePriority() const { return PurgeFirst; } | 107     virtual PurgePriority purgePriority() const { return PurgeFirst; } | 
| 107 | 108 | 
| 108     virtual void switchClientsToRevalidatedResource() OVERRIDE; | 109     virtual void switchClientsToRevalidatedResource() OVERRIDE; | 
| 109 | 110 | 
| 110     typedef pair<IntSize, float> SizeAndZoom; | 111     typedef pair<IntSize, float> SizeAndZoom; | 
| 111     typedef HashMap<const CachedImageClient*, SizeAndZoom> ContainerSizeRequests
     ; | 112     typedef HashMap<const CachedImageClient*, SizeAndZoom> ContainerSizeRequests
     ; | 
| 112     ContainerSizeRequests m_pendingContainerSizeRequests; | 113     ContainerSizeRequests m_pendingContainerSizeRequests; | 
| 113 | 114 | 
| 114     RefPtr<Image> m_image; | 115     RefPtr<Image> m_image; | 
| 115 #if ENABLE(SVG) | 116 #if ENABLE(SVG) | 
| 116     OwnPtr<SVGImageCache> m_svgImageCache; | 117     OwnPtr<SVGImageCache> m_svgImageCache; | 
| 117 #endif | 118 #endif | 
| 118 }; | 119 }; | 
| 119 | 120 | 
| 120 } | 121 } | 
| 121 | 122 | 
| 122 #endif | 123 #endif | 
| OLD | NEW | 
|---|