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

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

Issue 2391383002: Moving platform tracing things into platform/tracing. (Closed)
Patch Set: Created 4 years, 2 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 29 matching lines...) Expand all
40 #include "core/paint/TransformRecorder.h" 40 #include "core/paint/TransformRecorder.h"
41 #include "core/svg/SVGDocumentExtensions.h" 41 #include "core/svg/SVGDocumentExtensions.h"
42 #include "core/svg/SVGFEImageElement.h" 42 #include "core/svg/SVGFEImageElement.h"
43 #include "core/svg/SVGImageElement.h" 43 #include "core/svg/SVGImageElement.h"
44 #include "core/svg/SVGSVGElement.h" 44 #include "core/svg/SVGSVGElement.h"
45 #include "core/svg/animation/SMILTimeContainer.h" 45 #include "core/svg/animation/SMILTimeContainer.h"
46 #include "core/svg/graphics/SVGImageChromeClient.h" 46 #include "core/svg/graphics/SVGImageChromeClient.h"
47 #include "platform/EventDispatchForbiddenScope.h" 47 #include "platform/EventDispatchForbiddenScope.h"
48 #include "platform/LengthFunctions.h" 48 #include "platform/LengthFunctions.h"
49 #include "platform/ScriptForbiddenScope.h" 49 #include "platform/ScriptForbiddenScope.h"
50 #include "platform/TraceEvent.h"
51 #include "platform/geometry/IntRect.h" 50 #include "platform/geometry/IntRect.h"
52 #include "platform/graphics/GraphicsContext.h" 51 #include "platform/graphics/GraphicsContext.h"
53 #include "platform/graphics/ImageBuffer.h" 52 #include "platform/graphics/ImageBuffer.h"
54 #include "platform/graphics/ImageObserver.h" 53 #include "platform/graphics/ImageObserver.h"
55 #include "platform/graphics/paint/ClipRecorder.h" 54 #include "platform/graphics/paint/ClipRecorder.h"
56 #include "platform/graphics/paint/CullRect.h" 55 #include "platform/graphics/paint/CullRect.h"
57 #include "platform/graphics/paint/DrawingRecorder.h" 56 #include "platform/graphics/paint/DrawingRecorder.h"
58 #include "platform/graphics/paint/SkPictureBuilder.h" 57 #include "platform/graphics/paint/SkPictureBuilder.h"
58 #include "platform/tracing/TraceEvent.h"
59 #include "third_party/skia/include/core/SkPicture.h" 59 #include "third_party/skia/include/core/SkPicture.h"
60 #include "wtf/PassRefPtr.h" 60 #include "wtf/PassRefPtr.h"
61 61
62 namespace blink { 62 namespace blink {
63 63
64 SVGImage::SVGImage(ImageObserver* observer) 64 SVGImage::SVGImage(ImageObserver* observer)
65 : Image(observer), m_hasPendingTimelineRewind(false) {} 65 : Image(observer), m_hasPendingTimelineRewind(false) {}
66 66
67 SVGImage::~SVGImage() { 67 SVGImage::~SVGImage() {
68 if (m_page) { 68 if (m_page) {
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 } 622 }
623 623
624 return m_page ? SizeAvailable : SizeUnavailable; 624 return m_page ? SizeAvailable : SizeUnavailable;
625 } 625 }
626 626
627 String SVGImage::filenameExtension() const { 627 String SVGImage::filenameExtension() const {
628 return "svg"; 628 return "svg";
629 } 629 }
630 630
631 } // namespace blink 631 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintTiming.cpp ('k') | third_party/WebKit/Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698