OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) | 2 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) |
3 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006 Apple Computer, 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 23 matching lines...) Expand all Loading... |
34 #include "platform/graphics/ImageOrientation.h" | 34 #include "platform/graphics/ImageOrientation.h" |
35 #include "platform/graphics/skia/NativeImageSkia.h" | 35 #include "platform/graphics/skia/NativeImageSkia.h" |
36 #include "third_party/skia/include/core/SkXfermode.h" | 36 #include "third_party/skia/include/core/SkXfermode.h" |
37 #include "wtf/Assertions.h" | 37 #include "wtf/Assertions.h" |
38 #include "wtf/PassRefPtr.h" | 38 #include "wtf/PassRefPtr.h" |
39 #include "wtf/RefCounted.h" | 39 #include "wtf/RefCounted.h" |
40 #include "wtf/RefPtr.h" | 40 #include "wtf/RefPtr.h" |
41 #include "wtf/RetainPtr.h" | 41 #include "wtf/RetainPtr.h" |
42 #include "wtf/text/WTFString.h" | 42 #include "wtf/text/WTFString.h" |
43 | 43 |
44 namespace WebCore { | 44 namespace blink { |
45 | 45 |
46 class FloatPoint; | 46 class FloatPoint; |
47 class FloatRect; | 47 class FloatRect; |
48 class FloatSize; | 48 class FloatSize; |
49 class GraphicsContext; | 49 class GraphicsContext; |
50 class Length; | 50 class Length; |
51 class SharedBuffer; | 51 class SharedBuffer; |
52 | 52 |
53 // This class gets notified when an image creates or destroys decoded frames and
when it advances animation frames. | 53 // This class gets notified when an image creates or destroys decoded frames and
when it advances animation frames. |
54 class ImageObserver; | 54 class ImageObserver; |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 RefPtr<SharedBuffer> m_encodedImageData; | 143 RefPtr<SharedBuffer> m_encodedImageData; |
144 ImageObserver* m_imageObserver; | 144 ImageObserver* m_imageObserver; |
145 }; | 145 }; |
146 | 146 |
147 #define DEFINE_IMAGE_TYPE_CASTS(typeName) \ | 147 #define DEFINE_IMAGE_TYPE_CASTS(typeName) \ |
148 DEFINE_TYPE_CASTS(typeName, Image, image, image->is##typeName(), image.is##t
ypeName()) | 148 DEFINE_TYPE_CASTS(typeName, Image, image, image->is##typeName(), image.is##t
ypeName()) |
149 | 149 |
150 } | 150 } |
151 | 151 |
152 #endif | 152 #endif |
OLD | NEW |