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

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

Issue 134593005: Update SVG classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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
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 21 matching lines...) Expand all
32 namespace WebCore { 32 namespace WebCore {
33 33
34 class Element; 34 class Element;
35 class FrameView; 35 class FrameView;
36 class ImageBuffer; 36 class ImageBuffer;
37 class Page; 37 class Page;
38 class RenderBox; 38 class RenderBox;
39 class SVGImageChromeClient; 39 class SVGImageChromeClient;
40 class SVGImageForContainer; 40 class SVGImageForContainer;
41 41
42 class SVGImage : public Image { 42 class SVGImage FINAL : public Image {
43 public: 43 public:
44 static PassRefPtr<SVGImage> create(ImageObserver* observer) 44 static PassRefPtr<SVGImage> create(ImageObserver* observer)
45 { 45 {
46 return adoptRef(new SVGImage(observer)); 46 return adoptRef(new SVGImage(observer));
47 } 47 }
48 48
49 static bool isInSVGImage(const Element*); 49 static bool isInSVGImage(const Element*);
50 50
51 RenderBox* embeddedContentBox() const; 51 RenderBox* embeddedContentBox() const;
52 52
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 m_image->setImageObserver(m_observer); 119 m_image->setImageObserver(m_observer);
120 } 120 }
121 private: 121 private:
122 Image* m_image; 122 Image* m_image;
123 ImageObserver* m_observer; 123 ImageObserver* m_observer;
124 }; 124 };
125 125
126 } 126 }
127 127
128 #endif // SVGImage_h 128 #endif // SVGImage_h
OLDNEW
« no previous file with comments | « Source/core/svg/animation/SVGSMILElement.h ('k') | Source/core/svg/graphics/SVGImageChromeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698