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

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

Issue 319183004: Prefer to forward-declare GraphicsContext in headers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: schenney nit (pare down platform/geometry/ includes to *Rect.h) 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org> 2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org>
3 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved.
4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 29 matching lines...) Expand all
40 #include "core/page/Chrome.h" 40 #include "core/page/Chrome.h"
41 #include "core/rendering/style/RenderStyle.h" 41 #include "core/rendering/style/RenderStyle.h"
42 #include "core/rendering/svg/RenderSVGRoot.h" 42 #include "core/rendering/svg/RenderSVGRoot.h"
43 #include "core/svg/SVGDocumentExtensions.h" 43 #include "core/svg/SVGDocumentExtensions.h"
44 #include "core/svg/SVGFEImageElement.h" 44 #include "core/svg/SVGFEImageElement.h"
45 #include "core/svg/SVGImageElement.h" 45 #include "core/svg/SVGImageElement.h"
46 #include "core/svg/SVGSVGElement.h" 46 #include "core/svg/SVGSVGElement.h"
47 #include "core/svg/animation/SMILTimeContainer.h" 47 #include "core/svg/animation/SMILTimeContainer.h"
48 #include "core/svg/graphics/SVGImageChromeClient.h" 48 #include "core/svg/graphics/SVGImageChromeClient.h"
49 #include "platform/LengthFunctions.h" 49 #include "platform/LengthFunctions.h"
50 #include "platform/TraceEvent.h"
50 #include "platform/geometry/IntRect.h" 51 #include "platform/geometry/IntRect.h"
51 #include "platform/graphics/GraphicsContextStateSaver.h" 52 #include "platform/graphics/GraphicsContextStateSaver.h"
52 #include "platform/graphics/ImageBuffer.h" 53 #include "platform/graphics/ImageBuffer.h"
53 #include "platform/graphics/ImageObserver.h" 54 #include "platform/graphics/ImageObserver.h"
54 #include "wtf/PassRefPtr.h" 55 #include "wtf/PassRefPtr.h"
55 56
56 namespace WebCore { 57 namespace WebCore {
57 58
58 SVGImage::SVGImage(ImageObserver* observer) 59 SVGImage::SVGImage(ImageObserver* observer)
59 : Image(observer) 60 : Image(observer)
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 423
423 return m_page; 424 return m_page;
424 } 425 }
425 426
426 String SVGImage::filenameExtension() const 427 String SVGImage::filenameExtension() const
427 { 428 {
428 return "svg"; 429 return "svg";
429 } 430 }
430 431
431 } 432 }
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/RenderSVGResourceMasker.h ('k') | Source/platform/graphics/BitmapImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698