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 | 42 |
43 public: | 43 public: |
44 virtual void DecodedSizeChangedTo(const Image*, size_t new_size) = 0; | 44 virtual void DecodedSizeChangedTo(const Image*, size_t new_size) = 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 // See the comment of Image::SetData(). |
| 52 virtual void AsyncLoadCompleted(const Image*) = 0; |
| 53 |
51 DEFINE_INLINE_VIRTUAL_TRACE() {} | 54 DEFINE_INLINE_VIRTUAL_TRACE() {} |
52 }; | 55 }; |
53 | 56 |
54 } // namespace blink | 57 } // namespace blink |
55 | 58 |
56 #endif | 59 #endif |
OLD | NEW |