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

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

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/svg/SVGPaint.cpp ('k') | Source/core/svg/graphics/SVGImage.cpp » ('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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 virtual bool isSVGImage() const { return true; } 53 virtual bool isSVGImage() const { return true; }
54 virtual IntSize size() const OVERRIDE { return m_intrinsicSize; } 54 virtual IntSize size() const OVERRIDE { return m_intrinsicSize; }
55 55
56 virtual bool hasRelativeWidth() const; 56 virtual bool hasRelativeWidth() const;
57 virtual bool hasRelativeHeight() const; 57 virtual bool hasRelativeHeight() const;
58 58
59 virtual void startAnimation(bool /*catchUpIfNecessary*/ = true) OVERRIDE; 59 virtual void startAnimation(bool /*catchUpIfNecessary*/ = true) OVERRIDE;
60 virtual void stopAnimation() OVERRIDE; 60 virtual void stopAnimation() OVERRIDE;
61 virtual void resetAnimation() OVERRIDE; 61 virtual void resetAnimation() OVERRIDE;
62 62
63 virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE;
64
65 virtual PassNativeImagePtr nativeImageForCurrentFrame() OVERRIDE; 63 virtual PassNativeImagePtr nativeImageForCurrentFrame() OVERRIDE;
66 64
67 private: 65 private:
68 friend class SVGImageChromeClient; 66 friend class SVGImageChromeClient;
69 friend class SVGImageForContainer; 67 friend class SVGImageForContainer;
70 68
71 virtual ~SVGImage(); 69 virtual ~SVGImage();
72 70
73 virtual String filenameExtension() const; 71 virtual String filenameExtension() const;
74 72
(...skipping 19 matching lines...) Expand all
94 CompositeOperator, const FloatRect&); 92 CompositeOperator, const FloatRect&);
95 93
96 OwnPtr<SVGImageChromeClient> m_chromeClient; 94 OwnPtr<SVGImageChromeClient> m_chromeClient;
97 OwnPtr<Page> m_page; 95 OwnPtr<Page> m_page;
98 IntSize m_intrinsicSize; 96 IntSize m_intrinsicSize;
99 }; 97 };
100 } 98 }
101 99
102 #endif // ENABLE(SVG) 100 #endif // ENABLE(SVG)
103 #endif // SVGImage_h 101 #endif // SVGImage_h
OLDNEW
« no previous file with comments | « Source/core/svg/SVGPaint.cpp ('k') | Source/core/svg/graphics/SVGImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698