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

Side by Side Diff: Source/core/svg/graphics/SVGImage.h

Issue 344693003: Reduce forward declarations in core/svg (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 months 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
« no previous file with comments | « Source/core/svg/SVGURIReference.h ('k') | Source/core/svg/graphics/SVGImageCache.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org> 2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org>
3 * Copyright (C) 2009 Apple Inc. All rights reserved. 3 * Copyright (C) 2009 Apple 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 15 matching lines...) Expand all
26 26
27 #ifndef SVGImage_h 27 #ifndef SVGImage_h
28 #define SVGImage_h 28 #define SVGImage_h
29 29
30 #include "platform/graphics/Image.h" 30 #include "platform/graphics/Image.h"
31 #include "platform/heap/Handle.h" 31 #include "platform/heap/Handle.h"
32 #include "platform/weborigin/KURL.h" 32 #include "platform/weborigin/KURL.h"
33 33
34 namespace WebCore { 34 namespace WebCore {
35 35
36 class Element;
37 class FrameView; 36 class FrameView;
38 class ImageBuffer;
39 class Page; 37 class Page;
40 class RenderBox; 38 class RenderBox;
41 class SVGImageChromeClient; 39 class SVGImageChromeClient;
42 class SVGImageForContainer; 40 class SVGImageForContainer;
43 41
44 class SVGImage FINAL : public Image { 42 class SVGImage FINAL : public Image {
45 public: 43 public:
46 static PassRefPtr<SVGImage> create(ImageObserver* observer) 44 static PassRefPtr<SVGImage> create(ImageObserver* observer)
47 { 45 {
48 return adoptRef(new SVGImage(observer)); 46 return adoptRef(new SVGImage(observer));
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 m_image->setImageObserver(m_observer); 122 m_image->setImageObserver(m_observer);
125 } 123 }
126 private: 124 private:
127 Image* m_image; 125 Image* m_image;
128 ImageObserver* m_observer; 126 ImageObserver* m_observer;
129 }; 127 };
130 128
131 } 129 }
132 130
133 #endif // SVGImage_h 131 #endif // SVGImage_h
OLDNEW
« no previous file with comments | « Source/core/svg/SVGURIReference.h ('k') | Source/core/svg/graphics/SVGImageCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698