OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 30 matching lines...) Expand all Loading... |
41 virtual ~ImageObserver(); | 41 virtual ~ImageObserver(); |
42 public: | 42 public: |
43 virtual void decodedSizeChangedTo(const Image*, size_t newSize) = 0; | 43 virtual void decodedSizeChangedTo(const Image*, size_t newSize) = 0; |
44 virtual void didDraw(const Image*) = 0; | 44 virtual void didDraw(const Image*) = 0; |
45 | 45 |
46 virtual bool shouldPauseAnimation(const Image*) = 0; | 46 virtual bool shouldPauseAnimation(const Image*) = 0; |
47 virtual void animationAdvanced(const Image*) = 0; | 47 virtual void animationAdvanced(const Image*) = 0; |
48 | 48 |
49 virtual void changedInRect(const Image*, const IntRect&) = 0; | 49 virtual void changedInRect(const Image*, const IntRect&) = 0; |
50 | 50 |
| 51 virtual void requireReloading(const Image*) {} |
| 52 |
51 DEFINE_INLINE_VIRTUAL_TRACE() { } | 53 DEFINE_INLINE_VIRTUAL_TRACE() { } |
52 }; | 54 }; |
53 | 55 |
54 } // namespace blink | 56 } // namespace blink |
55 | 57 |
56 #endif | 58 #endif |
OLD | NEW |