| 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 16 matching lines...) Expand all Loading... |
| 27 #ifndef Image_h | 27 #ifndef Image_h |
| 28 #define Image_h | 28 #define Image_h |
| 29 | 29 |
| 30 #include "platform/PlatformExport.h" | 30 #include "platform/PlatformExport.h" |
| 31 #include "platform/geometry/IntRect.h" | 31 #include "platform/geometry/IntRect.h" |
| 32 #include "platform/graphics/Color.h" | 32 #include "platform/graphics/Color.h" |
| 33 #include "platform/graphics/GraphicsTypes.h" | 33 #include "platform/graphics/GraphicsTypes.h" |
| 34 #include "platform/graphics/ImageAnimationPolicy.h" | 34 #include "platform/graphics/ImageAnimationPolicy.h" |
| 35 #include "platform/graphics/ImageObserver.h" | 35 #include "platform/graphics/ImageObserver.h" |
| 36 #include "platform/graphics/ImageOrientation.h" | 36 #include "platform/graphics/ImageOrientation.h" |
| 37 #include "third_party/skia/include/core/SkCanvas.h" | |
| 38 #include "wtf/Assertions.h" | 37 #include "wtf/Assertions.h" |
| 39 #include "wtf/Noncopyable.h" | 38 #include "wtf/Noncopyable.h" |
| 40 #include "wtf/PassRefPtr.h" | 39 #include "wtf/PassRefPtr.h" |
| 41 #include "wtf/RefCounted.h" | 40 #include "wtf/RefCounted.h" |
| 42 #include "wtf/RefPtr.h" | 41 #include "wtf/RefPtr.h" |
| 43 #include "wtf/text/WTFString.h" | 42 #include "wtf/text/WTFString.h" |
| 44 | 43 |
| 45 class SkBitmap; | 44 class SkBitmap; |
| 45 class SkCanvas; |
| 46 class SkImage; | 46 class SkImage; |
| 47 | 47 |
| 48 namespace blink { | 48 namespace blink { |
| 49 | 49 |
| 50 class FloatPoint; | 50 class FloatPoint; |
| 51 class FloatRect; | 51 class FloatRect; |
| 52 class FloatSize; | 52 class FloatSize; |
| 53 class GraphicsContext; | 53 class GraphicsContext; |
| 54 class Length; | 54 class Length; |
| 55 class SharedBuffer; | 55 class SharedBuffer; |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 UntracedMember<ImageObserver> m_imageObserver; | 167 UntracedMember<ImageObserver> m_imageObserver; |
| 168 bool m_imageObserverDisabled; | 168 bool m_imageObserverDisabled; |
| 169 }; | 169 }; |
| 170 | 170 |
| 171 #define DEFINE_IMAGE_TYPE_CASTS(typeName) \ | 171 #define DEFINE_IMAGE_TYPE_CASTS(typeName) \ |
| 172 DEFINE_TYPE_CASTS(typeName, Image, image, image->is##typeName(), image.is##t
ypeName()) | 172 DEFINE_TYPE_CASTS(typeName, Image, image, image->is##typeName(), image.is##t
ypeName()) |
| 173 | 173 |
| 174 } // namespace blink | 174 } // namespace blink |
| 175 | 175 |
| 176 #endif | 176 #endif |
| OLD | NEW |