Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Side by Side Diff: third_party/WebKit/Source/platform/graphics/Image.h

Issue 2466383004: blink: Cleanup class forward declarations (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 25 matching lines...) Expand all
36 #include "platform/graphics/ImageObserver.h" 36 #include "platform/graphics/ImageObserver.h"
37 #include "platform/graphics/ImageOrientation.h" 37 #include "platform/graphics/ImageOrientation.h"
38 #include "third_party/skia/include/core/SkRefCnt.h" 38 #include "third_party/skia/include/core/SkRefCnt.h"
39 #include "wtf/Assertions.h" 39 #include "wtf/Assertions.h"
40 #include "wtf/Noncopyable.h" 40 #include "wtf/Noncopyable.h"
41 #include "wtf/PassRefPtr.h" 41 #include "wtf/PassRefPtr.h"
42 #include "wtf/RefPtr.h" 42 #include "wtf/RefPtr.h"
43 #include "wtf/ThreadSafeRefCounted.h" 43 #include "wtf/ThreadSafeRefCounted.h"
44 #include "wtf/text/WTFString.h" 44 #include "wtf/text/WTFString.h"
45 45
46 class SkBitmap;
47 class SkCanvas; 46 class SkCanvas;
48 class SkImage; 47 class SkImage;
49 class SkMatrix; 48 class SkMatrix;
50 class SkPaint; 49 class SkPaint;
51 50
52 namespace blink { 51 namespace blink {
53 52
54 class FloatPoint; 53 class FloatPoint;
55 class FloatRect; 54 class FloatRect;
56 class FloatSize; 55 class FloatSize;
57 class GraphicsContext; 56 class GraphicsContext;
58 class Length;
59 class Image; 57 class Image;
60 58
61 class PLATFORM_EXPORT Image : public ThreadSafeRefCounted<Image> { 59 class PLATFORM_EXPORT Image : public ThreadSafeRefCounted<Image> {
62 friend class GeneratedImage; 60 friend class GeneratedImage;
63 friend class CrossfadeGeneratedImage; 61 friend class CrossfadeGeneratedImage;
64 friend class GradientGeneratedImage; 62 friend class GradientGeneratedImage;
65 friend class GraphicsContext; 63 friend class GraphicsContext;
66 WTF_MAKE_NONCOPYABLE(Image); 64 WTF_MAKE_NONCOPYABLE(Image);
67 65
68 public: 66 public:
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 bool m_imageObserverDisabled; 219 bool m_imageObserverDisabled;
222 }; 220 };
223 221
224 #define DEFINE_IMAGE_TYPE_CASTS(typeName) \ 222 #define DEFINE_IMAGE_TYPE_CASTS(typeName) \
225 DEFINE_TYPE_CASTS(typeName, Image, image, image->is##typeName(), \ 223 DEFINE_TYPE_CASTS(typeName, Image, image, image->is##typeName(), \
226 image.is##typeName()) 224 image.is##typeName())
227 225
228 } // namespace blink 226 } // namespace blink
229 227
230 #endif 228 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698