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

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

Issue 15447002: Remove ~1750 superfluous includes from core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebase a few hours Created 7 years, 7 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) 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 18 matching lines...) Expand all
29 29
30 #include "core/svg/graphics/SVGImage.h" 30 #include "core/svg/graphics/SVGImage.h"
31 31
32 #include "core/loader/DocumentLoader.h" 32 #include "core/loader/DocumentLoader.h"
33 #include "core/page/FrameView.h" 33 #include "core/page/FrameView.h"
34 #include "core/page/Settings.h" 34 #include "core/page/Settings.h"
35 #include "core/platform/graphics/GraphicsContextStateSaver.h" 35 #include "core/platform/graphics/GraphicsContextStateSaver.h"
36 #include "core/platform/graphics/ImageBuffer.h" 36 #include "core/platform/graphics/ImageBuffer.h"
37 #include "core/platform/graphics/ImageObserver.h" 37 #include "core/platform/graphics/ImageObserver.h"
38 #include "core/platform/graphics/IntRect.h" 38 #include "core/platform/graphics/IntRect.h"
39 #include "core/rendering/style/RenderStyle.h"
40 #include "core/rendering/svg/RenderSVGRoot.h" 39 #include "core/rendering/svg/RenderSVGRoot.h"
41 #include "core/svg/SVGDocument.h" 40 #include "core/svg/SVGDocument.h"
42 #include "core/svg/SVGSVGElement.h" 41 #include "core/svg/SVGSVGElement.h"
43 #include "core/svg/graphics/SVGImageChromeClient.h" 42 #include "core/svg/graphics/SVGImageChromeClient.h"
44 43
45 namespace WebCore { 44 namespace WebCore {
46 45
47 SVGImage::SVGImage(ImageObserver* observer) 46 SVGImage::SVGImage(ImageObserver* observer)
48 : Image(observer) 47 : Image(observer)
49 { 48 {
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 void SVGImage::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const 370 void SVGImage::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
372 { 371 {
373 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CachedResou rceImage); 372 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CachedResou rceImage);
374 Image::reportMemoryUsage(memoryObjectInfo); 373 Image::reportMemoryUsage(memoryObjectInfo);
375 info.addMember(m_chromeClient, "chromeClient"); 374 info.addMember(m_chromeClient, "chromeClient");
376 info.addMember(m_page, "page"); 375 info.addMember(m_page, "page");
377 } 376 }
378 377
379 } 378 }
380 379
OLDNEW
« no previous file with comments | « Source/core/svg/animation/SVGSMILElement.cpp ('k') | Source/core/svg/graphics/SVGImageForContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698