OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2008, Google Inc. All rights reserved. | 2 * Copyright (c) 2008, Google 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 17 matching lines...) Expand all Loading... |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef NativeImageSkia_h | 31 #ifndef NativeImageSkia_h |
32 #define NativeImageSkia_h | 32 #define NativeImageSkia_h |
33 | 33 |
34 #include "SkBitmap.h" | 34 #include "SkBitmap.h" |
35 #include "SkRect.h" | 35 #include "SkRect.h" |
36 #include "SkSize.h" | 36 #include "SkSize.h" |
37 #include "SkXfermode.h" | 37 #include "SkXfermode.h" |
38 #include "core/platform/graphics/GraphicsTypes.h" | |
39 #include "platform/geometry/IntSize.h" | 38 #include "platform/geometry/IntSize.h" |
| 39 #include "platform/graphics/GraphicsTypes.h" |
40 #include "wtf/Forward.h" | 40 #include "wtf/Forward.h" |
41 #include "wtf/PassRefPtr.h" | 41 #include "wtf/PassRefPtr.h" |
42 #include "wtf/RefCounted.h" | 42 #include "wtf/RefCounted.h" |
43 | 43 |
44 class SkMatrix; | 44 class SkMatrix; |
45 class SkPaint; | 45 class SkPaint; |
46 | 46 |
47 namespace WebCore { | 47 namespace WebCore { |
48 | 48 |
49 class FloatPoint; | 49 class FloatPoint; |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 // those requests individually are small and would not otherwise be cached. | 198 // those requests individually are small and would not otherwise be cached. |
199 // | 199 // |
200 // We also track scaling information and destination subset for the scaled | 200 // We also track scaling information and destination subset for the scaled |
201 // image. See comments for ImageResourceInfo. | 201 // image. See comments for ImageResourceInfo. |
202 mutable ImageResourceInfo m_cachedImageInfo; | 202 mutable ImageResourceInfo m_cachedImageInfo; |
203 mutable int m_resizeRequests; | 203 mutable int m_resizeRequests; |
204 }; | 204 }; |
205 | 205 |
206 } | 206 } |
207 #endif // NativeImageSkia_h | 207 #endif // NativeImageSkia_h |
OLD | NEW |